diff --git a/clang-tools-extra/clangd/Quality.cpp b/clang-tools-extra/clangd/Quality.cpp --- a/clang-tools-extra/clangd/Quality.cpp +++ b/clang-tools-extra/clangd/Quality.cpp @@ -501,12 +501,24 @@ SymbolRelevanceSignals::DerivedSignals Derived = Relevance.calculateDerivedSignals(); - E.setIsNameInContext(Derived.NameMatchesContext); - E.setIsForbidden(Relevance.Forbidden); + int NumMatch = 0; + if (Relevance.ContextWords) { + for (const auto &Word : Relevance.ContextWords->keys()) { + if (Relevance.Name.contains_lower(Word)) { + ++NumMatch; + } + } + } + E.setIsNameInContext(NumMatch > 0); + E.setNumNameInContext(NumMatch); + E.setFractionNameInContext( + Relevance.ContextWords && Relevance.ContextWords->size() > 0 + ? NumMatch * 1.0 / Relevance.ContextWords->size() + : 0); E.setIsInBaseClass(Relevance.InBaseClass); - E.setFileProximityDistance(Derived.FileProximityDistance); + E.setFileProximityDistanceCost(Derived.FileProximityDistance); E.setSemaFileProximityScore(Relevance.SemaFileProximityScore); - E.setSymbolScopeDistance(Derived.ScopeProximityDistance); + E.setSymbolScopeDistanceCost(Derived.ScopeProximityDistance); E.setSemaSaysInScope(Relevance.SemaSaysInScope); E.setScope(Relevance.Scope); E.setContextKind(Relevance.Context); @@ -514,7 +526,6 @@ E.setHadContextType(Relevance.HadContextType); E.setHadSymbolType(Relevance.HadSymbolType); E.setTypeMatchesPreferred(Relevance.TypeMatchesPreferred); - E.setFilterLength(Relevance.FilterLength); DecisionForestScores Scores; // Exponentiating DecisionForest prediction makes the score of each tree a @@ -525,6 +536,9 @@ // data that needs fixits is not-feasible. if (Relevance.NeedsFixIts) Scores.ExcludingName *= 0.5; + if (Relevance.Forbidden) + Scores.ExcludingName *= 0; + // NameMatch should be a multiplier on total score to support rescoring. Scores.Total = Relevance.NameMatch * Scores.ExcludingName; return Scores; diff --git a/clang-tools-extra/clangd/quality/model/features.json b/clang-tools-extra/clangd/quality/model/features.json --- a/clang-tools-extra/clangd/quality/model/features.json +++ b/clang-tools-extra/clangd/quality/model/features.json @@ -1,8 +1,4 @@ [ - { - "name": "FilterLength", - "kind": "NUMBER" - }, { "name": "IsDeprecated", "kind": "NUMBER" @@ -20,11 +16,15 @@ "kind": "NUMBER" }, { - "name": "IsNameInContext", + "name": "NumNameInContext", "kind": "NUMBER" }, { - "name": "IsForbidden", + "name": "FractionNameInContext", + "kind": "NUMBER" + }, + { + "name": "IsNameInContext", "kind": "NUMBER" }, { @@ -32,7 +32,7 @@ "kind": "NUMBER" }, { - "name": "FileProximityDistance", + "name": "FileProximityDistanceCost", "kind": "NUMBER" }, { @@ -40,7 +40,7 @@ "kind": "NUMBER" }, { - "name": "SymbolScopeDistance", + "name": "SymbolScopeDistanceCost", "kind": "NUMBER" }, { @@ -81,4 +81,4 @@ "type": "clang::clangd::SymbolRelevanceSignals::AccessibleScope", "header": "Quality.h" } -] \ No newline at end of file +] diff --git a/clang-tools-extra/clangd/quality/model/forest.json b/clang-tools-extra/clangd/quality/model/forest.json --- a/clang-tools-extra/clangd/quality/model/forest.json +++ b/clang-tools-extra/clangd/quality/model/forest.json @@ -6,2217 +6,1254 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.19533346593379974 - }, - "else": { - "operation": "boost", - "score": 0.19669055938720703 - } + "operation": "boost", + "score": 0.1970273107290268 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1875191479921341 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.038249850273132324 - }, - "else": { - "operation": "boost", - "score": 0.19255712628364563 - } - }, - "else": { - "operation": "boost", - "score": 0.0008015634957700968 - } - } + "operation": "boost", + "score": -0.10492532700300217 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, "then": { "operation": "boost", - "score": 0.19354674220085144 + "score": 0.19298601150512695 }, "else": { "operation": "boost", - "score": 0.19672870635986328 + "score": 0.19516006112098694 } }, "else": { "operation": "boost", - "score": 0.19304229319095612 + "score": 0.19164785742759705 } } } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.19608449935913086 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.19283226132392883 - }, - "else": { - "operation": "boost", - "score": 0.18191476166248322 - } - } + "operation": "boost", + "score": 0.006307594478130341 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443558.5, + "threshold": 424244.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.19799521565437317 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.19947533309459686 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.19875085353851318 - }, - "else": { - "operation": "boost", - "score": 0.18936631083488464 - } - } - } + "operation": "boost", + "score": 0.19869807362556458 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.19835087656974792 + "score": 0.14942441880702972 }, "else": { "operation": "boost", - "score": 0.18986621499061584 + "score": 0.1965150088071823 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.0, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.18233279883861542 - } + "operation": "boost", + "score": 0.15890617668628693 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistanceCost", + "threshold": 39.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.18800073862075806 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.19828557968139648 + "score": 0.18952670693397522 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.20000000298023224 + "score": 0.1604052633047104 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } + "operation": "boost", + "score": 0.17782676219940186 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "NumNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4491.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7051.0, - "then": { - "operation": "boost", - "score": 0.19677825272083282 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - }, - "else": { - "operation": "boost", - "score": 0.18643628060817719 - } + "operation": "boost", + "score": 0.18670964241027832 }, "else": { "operation": "boost", - "score": 0.1641821414232254 + "score": 0.14165668189525604 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19803.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.17932546138763428 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23090.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Expression" + "FunctionScope", + "GlobalScope" ], "then": { - "operation": "boost", - "score": 0.19904161989688873 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09486537426710129 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.16269299387931824 + }, + "else": { + "operation": "boost", + "score": 0.06480171531438828 + } + } + }, + "else": { + "operation": "boost", + "score": -8.339667692780495e-05 + } }, "else": { "operation": "boost", - "score": 0.1994200497865677 + "score": -0.13945826888084412 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 }, "else": { "operation": "boost", - "score": 0.19392213225364685 + "score": 0.13875418901443481 } } }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16867470741271973 - }, - "else": { - "operation": "boost", - "score": 0.18983542919158936 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.012881728820502758 - } - } - }, - "else": { - "operation": "boost", - "score": 0.15168944001197815 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1912827491760254 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.19387505948543549 - }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, "then": { "operation": "boost", - "score": 0.19920213520526886 + "score": 0.17618303000926971 }, "else": { "operation": "boost", - "score": 0.1538866013288498 + "score": 0.09861121326684952 } }, "else": { "operation": "boost", - "score": 0.18721753358840942 + "score": -0.04543353617191315 } } } - }, - "else": { - "operation": "boost", - "score": 0.1785055547952652 } }, "else": { - "operation": "boost", - "score": 0.17693720757961273 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "NumNameInContext", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.19539889693260193 + }, + "else": { + "operation": "boost", + "score": 0.15436846017837524 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.18368329107761383 + "score": -0.15700146555900574 }, "else": { "operation": "boost", - "score": -0.013765337876975536 + "score": 0.19722077250480652 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1677456796169281 - }, - "else": { - "operation": "boost", - "score": 0.06016721948981285 - } + "operation": "boost", + "score": 0.04461604356765747 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.19849012792110443 - }, - "else": { - "operation": "boost", - "score": 0.18763314187526703 - } + "operation": "boost", + "score": 0.008813080377876759 }, "else": { "operation": "boost", - "score": 0.12005230039358139 + "score": -0.19911359250545502 } } - }, - "else": { - "operation": "boost", - "score": 0.13989154994487762 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2504.0, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.1625605672597885 - } - }, - "else": { - "operation": "boost", - "score": -0.02582113817334175 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1521744430065155 - }, - "else": { - "operation": "boost", - "score": 0.07462543994188309 - } - }, - "else": { - "operation": "boost", - "score": 0.06317751854658127 } - }, - "else": { - "operation": "boost", - "score": -0.027393395081162453 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.19370104372501373 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25976.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "boost", + "score": 0.1969956010580063 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13489769399166107 + }, + "else": { + "operation": "boost", + "score": 0.1837356984615326 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.1838480830192566 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37666.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - }, - "else": { - "operation": "boost", - "score": 0.19862937927246094 - } + "operation": "boost", + "score": 0.10698114335536957 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350855.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.20000000298023224 + "score": 0.1656939536333084 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71881.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - }, - "else": { - "operation": "boost", - "score": 0.16305941343307495 - } - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } + "operation": "boost", + "score": 0.14506708085536957 } } - }, - "else": { - "operation": "boost", - "score": 0.19675719738006592 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 170888.5, - "then": { - "operation": "boost", - "score": 0.17461903393268585 - }, - "else": { - "operation": "boost", - "score": 0.1930556446313858 - } + "operation": "boost", + "score": 0.06330600380897522 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14596906304359436 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.19937188923358917 - }, - "else": { - "operation": "boost", - "score": 0.187881201505661 - } + "operation": "boost", + "score": 0.19920119643211365 }, "else": { "operation": "boost", - "score": 0.17833831906318665 + "score": 0.1372806280851364 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.17501217126846313 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_UnionTag" + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18666.0, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.1908876597881317 - } + "operation": "boost", + "score": 0.14633552730083466 }, "else": { "operation": "boost", - "score": 0.17472603917121887 + "score": 0.07951510697603226 } + }, + "else": { + "operation": "boost", + "score": 0.03787053003907204 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1980476826429367 + "score": 0.06573343276977539 }, "else": { "operation": "boost", - "score": 0.10176723450422287 + "score": -0.048965923488140106 } } - }, - "else": { - "operation": "boost", - "score": 0.16014410555362701 } }, + "else": { + "operation": "boost", + "score": -0.1932513415813446 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.19761313498020172 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1834273636341095 + }, + "else": { + "operation": "boost", + "score": 0.1514042168855667 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 69539.5, + "threshold": 108163.5, "then": { + "operation": "boost", + "score": -0.20000000298023224 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } + "operation": "boost", + "score": 0.18605412542819977 }, "else": { "operation": "boost", - "score": 0.1969286948442459 + "score": 0.15973368287086487 } - }, - "else": { - "operation": "boost", - "score": 0.17839567363262177 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.17280472815036774 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.16046667098999023 + }, + "else": { + "operation": "boost", + "score": 0.09177519381046295 + } }, "else": { "operation": "boost", - "score": 0.12647944688796997 + "score": 0.06863135099411011 } } - }, - "else": { - "operation": "boost", - "score": 0.11802919209003448 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", "CCC_SymbolOrNewName", - "CCC_Statement", "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_Type", + "CCC_UnionTag" ], "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.19306901097297668 + }, + "else": { + "operation": "boost", + "score": 0.18478761613368988 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 42846.5, + "threshold": 20597.0, + "then": { + "operation": "boost", + "score": 0.19419915974140167 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.18616393208503723 + }, + "else": { + "operation": "boost", + "score": 0.1020292416214943 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.19941894710063934 + "score": 0.1800059676170349 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.19921576976776123 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "boost", - "score": 0.19614481925964355 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.1981440782546997 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } + "operation": "boost", + "score": 0.19942399859428406 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], "then": { "operation": "boost", - "score": 0.19817236065864563 + "score": 0.19034187495708466 }, "else": { "operation": "boost", - "score": 0.1877955049276352 + "score": 0.15801025927066803 } } }, "else": { "operation": "boost", - "score": 0.17418637871742249 + "score": 0.17943941056728363 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121087.0, - "then": { - "operation": "boost", - "score": 0.19916342198848724 - }, - "else": { - "operation": "boost", - "score": 0.1787724494934082 - } + "operation": "boost", + "score": 0.19471041858196259 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.19931510090827942 + "score": 0.17364506423473358 }, "else": { "operation": "boost", - "score": 0.17779812216758728 + "score": 0.18847665190696716 } }, "else": { "operation": "boost", - "score": 0.17781588435173035 + "score": 0.10526332259178162 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1855955868959427 }, "else": { - "operation": "boost", - "score": 0.06444863229990005 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Destructor", - "Operator", - "Constructor", "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.19240888953208923 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.14621421694755554 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - } - } + "operation": "boost", + "score": -0.20000000298023224 }, "else": { "operation": "boost", - "score": 0.1773659735918045 + "score": 0.18978017568588257 } }, "else": { "operation": "boost", - "score": 0.15703141689300537 + "score": 0.0991196259856224 } }, "else": { - "operation": "boost", - "score": 0.018572721630334854 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.19570596516132355 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.1939573884010315 + }, + "else": { + "operation": "boost", + "score": 0.18379583954811096 + } + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.026990002021193504 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.18159659206867218 + }, + "else": { + "operation": "boost", + "score": 0.11501937359571457 + } }, "else": { - "operation": "boost", - "score": -0.12391144037246704 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1647741198539734 + }, + "else": { + "operation": "boost", + "score": 0.18153995275497437 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1247122511267662 + }, + "else": { + "operation": "boost", + "score": 0.15734350681304932 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.061142247170209885 - } - }, - "else": { - "operation": "boost", - "score": -0.12079951167106628 - } - } - } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1733504682779312 - }, - "else": { - "operation": "boost", - "score": 0.1731099635362625 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.17385268211364746 - }, - "else": { - "operation": "boost", - "score": 0.17445120215415955 } - }, - "else": { - "operation": "boost", - "score": 0.1748499721288681 } - }, - "else": { - "operation": "boost", - "score": 0.17169058322906494 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 52191.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.17628850042819977 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.17707902193069458 - }, - "else": { - "operation": "boost", - "score": 0.17092837393283844 - } - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Macro", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.001039095688611269 - }, - "else": { - "operation": "boost", - "score": 0.1761353611946106 - } - }, - "else": { - "operation": "boost", - "score": 0.16320472955703735 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.17153580486774445 - }, - "else": { - "operation": "boost", - "score": 0.1719209849834442 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 62580.5, "then": { - "operation": "boost", - "score": 0.1728522926568985 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.17353105545043945 + "score": 0.196611225605011 }, "else": { - "operation": "boost", - "score": -0.018497085198760033 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1737327128648758 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 108817.5, "then": { "operation": "boost", - "score": -0.20791785418987274 + "score": 0.1923811435699463 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1754288375377655 - }, - "else": { - "operation": "boost", - "score": 0.17585204541683197 - } + "operation": "boost", + "score": 0.17330411076545715 } - }, - "else": { - "operation": "boost", - "score": 0.15891949832439423 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1743224859237671 - }, - "else": { - "operation": "boost", - "score": -0.030446210876107216 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1254286766052246 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.17337630689144135 - }, - "else": { - "operation": "boost", - "score": 0.17240653932094574 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1645682454109192 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1762663573026657 - }, - "else": { - "operation": "boost", - "score": 0.17096033692359924 } }, "else": { "operation": "boost", - "score": 0.1735181212425232 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.17327235639095306 - }, - "else": { - "operation": "boost", - "score": 0.17361842095851898 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.1732286959886551 - }, - "else": { - "operation": "boost", - "score": 0.17090068757534027 - } + "score": 0.11955298483371735 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1749802976846695 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.17330048978328705 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 549246.0, + "threshold": 78490.0, "then": { "operation": "boost", - "score": 0.17637899518013 + "score": 0.1935829222202301 }, "else": { "operation": "boost", - "score": 0.17305228114128113 + "score": 0.09394174814224243 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.17394539713859558 }, "else": { - "operation": "boost", - "score": 0.17339584231376648 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.15205422043800354 + "score": 0.19089017808437347 }, "else": { "operation": "boost", - "score": 0.17429384589195251 + "score": 0.039421748369932175 } }, "else": { - "operation": "boost", - "score": 0.17422351241111755 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "boost", + "score": 0.17443816363811493 + }, + "else": { + "operation": "boost", + "score": 0.1975041776895523 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.059975720942020416 + }, + "else": { + "operation": "boost", + "score": 0.16343006491661072 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.16159118711948395 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" ], "then": { - "operation": "boost", - "score": 0.17042915523052216 - }, - "else": { - "operation": "boost", - "score": 0.043860942125320435 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1756647527217865 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.17122158408164978 - }, - "else": { - "operation": "boost", - "score": 0.1625131517648697 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { + "operation": "boost", + "score": 0.17903363704681396 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.1729537546634674 + "score": 0.09564231336116791 }, "else": { "operation": "boost", - "score": 0.1738344430923462 + "score": 0.17966283857822418 } - }, - "else": { - "operation": "boost", - "score": 0.17084209620952606 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1922399252653122 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 20509.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 218625.5, - "then": { - "operation": "boost", - "score": 0.17049680650234222 - }, - "else": { - "operation": "boost", - "score": 0.17364922165870667 - } + "operation": "boost", + "score": 0.1600474864244461 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95499.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.12834183871746063 + "score": -0.036370277404785156 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1699805110692978 - }, - "else": { - "operation": "boost", - "score": 0.17316903173923492 - } - }, - "else": { - "operation": "boost", - "score": 0.17185594141483307 - } + "operation": "boost", + "score": 0.0436660572886467 } } }, "else": { - "operation": "boost", - "score": 0.16755996644496918 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { "operation": "boost", - "score": 0.15891848504543304 + "score": 0.1444838047027588 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.18068403005599976 - }, - "else": { - "operation": "boost", - "score": 0.14138923585414886 - } - }, - "else": { - "operation": "boost", - "score": 0.1631210446357727 - } - }, - "else": { - "operation": "boost", - "score": 0.16948504745960236 - } + "operation": "boost", + "score": 0.0826253741979599 } - }, - "else": { - "operation": "boost", - "score": 0.04588872194290161 } } } }, "else": { - "operation": "boost", - "score": 0.07471071928739548 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 122.0, + "threshold": 2615.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1730729192495346 - }, - "else": { - "operation": "boost", - "score": 0.17053326964378357 - } + "operation": "boost", + "score": 0.14758464694023132 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1807948499917984 - }, - "else": { - "operation": "boost", - "score": 0.16088688373565674 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.16796031594276428 + "score": -0.015689551830291748 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.17062979936599731 - }, - "else": { - "operation": "boost", - "score": -0.00790400430560112 - } - }, - "else": { - "operation": "boost", - "score": 0.10638996958732605 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1319.0, - "then": { - "operation": "boost", - "score": 0.17001742124557495 - }, - "else": { - "operation": "boost", - "score": 0.12740346789360046 - } - } + "operation": "boost", + "score": 0.14435838162899017 } }, "else": { "operation": "boost", - "score": -0.01228698343038559 + "score": -0.12128043919801712 } - }, - "else": { - "operation": "boost", - "score": -0.14724932610988617 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 75472.0, + "threshold": 673.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21492.0, "then": { "operation": "boost", - "score": 0.17391082644462585 + "score": 0.17493310570716858 }, "else": { "operation": "boost", - "score": 0.17289558053016663 + "score": 0.12352735549211502 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.17304491996765137 + "score": -0.09618733078241348 }, "else": { - "operation": "boost", - "score": 0.15597844123840332 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10752751678228378 + }, + "else": { + "operation": "boost", + "score": -0.035924121737480164 + } } } }, "else": { - "operation": "boost", - "score": 0.17003630101680756 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44558.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_Statement", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { "operation": "boost", - "score": 0.17202283442020416 + "score": -0.07294262945652008 }, "else": { "operation": "boost", - "score": 0.17053745687007904 + "score": -0.15115617215633392 } }, "else": { - "operation": "boost", - "score": 0.16913868486881256 - } - }, - "else": { - "operation": "boost", - "score": 0.16861175000667572 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.16723182797431946 + "score": 0.14826877415180206 }, "else": { "operation": "boost", - "score": 0.17773769795894623 + "score": 0.01976003311574459 } }, "else": { "operation": "boost", - "score": 0.14760884642601013 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.17750349640846252 - }, - "else": { - "operation": "boost", - "score": 0.17766523361206055 + "score": -0.06604892760515213 } } }, @@ -2225,338 +1262,65 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220112.0, - "then": { - "operation": "boost", - "score": 0.17075440287590027 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121087.0, - "then": { - "operation": "boost", - "score": 0.17415137588977814 - }, - "else": { - "operation": "boost", - "score": 0.1738666445016861 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.1460210531949997 - }, - "else": { - "operation": "boost", - "score": 0.17380395531654358 - } - } + "operation": "boost", + "score": -0.08097416162490845 }, "else": { "operation": "boost", - "score": 0.16987277567386627 + "score": 0.058513566851615906 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.1731444001197815 - }, - "else": { - "operation": "boost", - "score": 0.1657407134771347 - } - }, - "else": { - "operation": "boost", - "score": 0.1747535616159439 - } - }, - "else": { - "operation": "boost", - "score": 0.16402532160282135 - } - }, - "else": { - "operation": "boost", - "score": 0.15844541788101196 - } - }, - "else": { - "operation": "boost", - "score": 0.15409699082374573 - } - }, - "else": { - "operation": "boost", - "score": 0.15230365097522736 - } + "operation": "boost", + "score": -0.17401087284088135 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1643076390028 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.17266905307769775 - }, - "else": { - "operation": "boost", - "score": -0.0333033986389637 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 33.5, - "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.1547447293996811 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.17015288770198822 - }, - "else": { - "operation": "boost", - "score": 0.15064777433872223 - } - }, - "else": { - "operation": "boost", - "score": 0.1726255863904953 - } + "operation": "boost", + "score": 0.16864584386348724 }, "else": { "operation": "boost", - "score": 0.05149541795253754 + "score": 0.08100750297307968 } - }, - "else": { - "operation": "boost", - "score": 0.062293633818626404 } }, "else": { - "operation": "boost", - "score": -0.152507945895195 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.16948175430297852 - }, - "else": { - "operation": "boost", - "score": 0.12080799788236618 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.1711902618408203 - }, - "else": { - "operation": "boost", - "score": 0.17533309757709503 - } - }, - "else": { - "operation": "boost", - "score": 0.17266814410686493 - } - } - }, - "else": { "operation": "boost", - "score": 0.1660798341035843 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.16466857492923737 - }, - "else": { - "operation": "boost", - "score": 0.14148353040218353 - } + "score": -0.07934795320034027 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.12589889764785767 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.16085197031497955 - }, - "else": { - "operation": "boost", - "score": 0.1500079184770584 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05477355793118477 - } + "operation": "boost", + "score": 0.04381459951400757 } } } - }, - "else": { - "operation": "boost", - "score": -0.15091364085674286 } } } @@ -2570,45 +1334,21 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.15396717190742493 - }, - "else": { - "operation": "boost", - "score": 0.1531326323747635 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.15424948930740356 - }, - "else": { - "operation": "boost", - "score": 0.15181264281272888 - } - } + "operation": "boost", + "score": 0.17080119252204895 }, "else": { "operation": "if_greater", @@ -2616,1889 +1356,1087 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.15588527917861938 + "score": 0.16884683072566986 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1562241017818451 - }, - "else": { - "operation": "boost", - "score": 0.15400546789169312 - } + "operation": "boost", + "score": 0.16965043544769287 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15544523298740387 + "score": -0.13122344017028809 }, "else": { "operation": "boost", - "score": 0.14508500695228577 + "score": 0.16857142746448517 } } } }, "else": { + "operation": "boost", + "score": 0.02058301866054535 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 424244.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.15143021941184998 - }, - "else": { - "operation": "boost", - "score": 0.15172122418880463 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1525789499282837 - }, - "else": { - "operation": "boost", - "score": 0.15320010483264923 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15295350551605225 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17009080946445465 - }, - "else": { - "operation": "boost", - "score": 0.15475565195083618 - } - }, - "else": { - "operation": "boost", - "score": 0.1412745714187622 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.15332281589508057 - }, - "else": { - "operation": "boost", - "score": -0.08178834617137909 - } - } - } - } + "operation": "boost", + "score": 0.1713443547487259 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10300616174936295 + "score": 0.1531279981136322 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1522054225206375 - }, - "else": { - "operation": "boost", - "score": 0.1529308706521988 - } - }, - "else": { - "operation": "boost", - "score": 0.15269339084625244 - } + "operation": "boost", + "score": 0.1707134246826172 } }, "else": { "operation": "boost", - "score": 0.1440243422985077 + "score": 0.15209516882896423 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 39.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.15337632596492767 - }, - "else": { - "operation": "boost", - "score": 0.15416307747364044 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Symbol" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1530337929725647 - }, - "else": { - "operation": "boost", - "score": 0.15331102907657623 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.15299098193645477 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.16704440116882324 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15127478539943695 + }, + "else": { + "operation": "boost", + "score": 0.16340629756450653 + } + } }, "else": { - "operation": "boost", - "score": 0.1497684270143509 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.16303226351737976 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16553179919719696 + }, + "else": { + "operation": "boost", + "score": 0.13720722496509552 + } + }, + "else": { + "operation": "boost", + "score": -0.044721461832523346 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.14694420993328094 + }, + "else": { + "operation": "boost", + "score": 0.1044926792383194 + } + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.15437668561935425 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "boost", - "score": 0.15304860472679138 - }, - "else": { - "operation": "boost", - "score": 0.1531568467617035 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.15336363017559052 }, "else": { - "operation": "boost", - "score": 0.15297596156597137 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12698757648468018 + "score": 0.16929800808429718 }, "else": { "operation": "boost", - "score": 0.1538107991218567 + "score": 0.13251914083957672 } }, - "else": { - "operation": "boost", - "score": 0.15351207554340363 - } - }, - "else": { - "operation": "boost", - "score": 0.1381033957004547 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1508995145559311 - }, - "else": { - "operation": "boost", - "score": -0.022871391847729683 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.15285758674144745 - }, - "else": { - "operation": "boost", - "score": 0.1553458422422409 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15086820721626282 - }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FileScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.15464331209659576 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.15543821454048157 + }, + "else": { + "operation": "boost", + "score": 0.16909195482730865 + } + }, + "else": { + "operation": "boost", + "score": 0.03577881306409836 + } }, "else": { "operation": "boost", - "score": 0.14913100004196167 + "score": -0.09946514666080475 } } - }, - "else": { - "operation": "boost", - "score": 0.14124099910259247 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1531168818473816 + "score": -0.1698521226644516 }, "else": { - "operation": "boost", - "score": 0.1504388153553009 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 218625.5, + "operation": "boost", + "score": 0.16949501633644104 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.15092475712299347 + "score": 0.16630683839321136 }, "else": { "operation": "boost", - "score": 0.1537080556154251 + "score": 0.15487730503082275 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95499.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09187895059585571 + "score": 0.16542880237102509 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "boost", + "score": 0.12245187908411026 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.1498764008283615 + "score": 0.15743094682693481 }, "else": { "operation": "boost", - "score": 0.1530529260635376 + "score": 0.14504404366016388 } - }, - "else": { - "operation": "boost", - "score": 0.15155918896198273 } } + }, + "else": { + "operation": "boost", + "score": 0.08147435635328293 } - }, - "else": { - "operation": "boost", - "score": 0.14690779149532318 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.1404583901166916 + "score": 0.16072402894496918 + }, + "else": { + "operation": "boost", + "score": 0.151018425822258 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.16968144476413727 + }, + "else": { + "operation": "boost", + "score": 0.14149019122123718 + } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.15822046995162964 - }, - "else": { - "operation": "boost", - "score": 0.1194673553109169 - } + "operation": "boost", + "score": 0.1477314680814743 }, "else": { "operation": "boost", - "score": 0.14314158260822296 + "score": 0.10128161311149597 } }, "else": { "operation": "boost", - "score": 0.14910759031772614 + "score": 0.04533401504158974 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08636608719825745 }, "else": { "operation": "boost", - "score": 0.02436218596994877 + "score": -0.07798636704683304 } } } }, "else": { "operation": "boost", - "score": 0.05193212255835533 + "score": -0.16870714724063873 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { + "operation": "boost", + "score": 0.17045937478542328 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 114.0, + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.15348438918590546 - }, - "else": { - "operation": "boost", - "score": 0.1426544338464737 - } - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.15978623926639557 + "score": 0.16632699966430664 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.15455810725688934 - }, - "else": { - "operation": "boost", - "score": 0.13847200572490692 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14818798005580902 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 176731.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.15054772794246674 - }, - "else": { - "operation": "boost", - "score": -0.004111700225621462 - } - }, - "else": { - "operation": "boost", - "score": 0.0870794951915741 - } + "operation": "boost", + "score": -0.16779406368732452 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6621.5, + "threshold": 6450.5, "then": { "operation": "boost", - "score": 0.151849627494812 + "score": 0.16552692651748657 }, "else": { "operation": "boost", - "score": 0.10928419977426529 + "score": 0.152414470911026 } } + }, + "else": { + "operation": "boost", + "score": 0.10557645559310913 } - }, - "else": { - "operation": "boost", - "score": -0.06837106496095657 } }, "else": { - "operation": "boost", - "score": -0.12758612632751465 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75472.0, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1535707414150238 - }, - "else": { - "operation": "boost", - "score": 0.1526758372783661 - } + "operation": "boost", + "score": 0.1562318503856659 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15281569957733154 + "score": 0.14936451613903046 }, "else": { "operation": "boost", - "score": 0.1336551457643509 + "score": 0.08604030311107635 } } - }, - "else": { - "operation": "boost", - "score": 0.1506338119506836 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Function", - "Namespace" + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.20534925162792206 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.15588101744651794 - }, - "else": { - "operation": "boost", - "score": 0.1561584621667862 - } - } + "operation": "boost", + "score": 0.1706983745098114 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.15305066108703613 - }, - "else": { - "operation": "boost", - "score": 0.14640307426452637 - } + "operation": "boost", + "score": 0.16732017695903778 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.1682843267917633 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220112.0, + "threshold": 5349.5, "then": { "operation": "boost", - "score": 0.15146464109420776 + "score": 0.1694512814283371 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121087.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, - "then": { - "operation": "boost", - "score": 0.15379232168197632 - }, - "else": { - "operation": "boost", - "score": 0.1538122594356537 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": -0.2077629417181015 - }, - "else": { - "operation": "boost", - "score": 0.15381106734275818 - } - } + "operation": "boost", + "score": 0.1671976000070572 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.13581416010856628 - }, - "else": { - "operation": "boost", - "score": 0.1529514640569687 - } + "operation": "boost", + "score": 0.17154660820960999 } }, "else": { - "operation": "boost", - "score": 0.14979501068592072 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44558.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 272340.0, - "then": { - "operation": "boost", - "score": -0.23428891599178314 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146873.0, - "then": { - "operation": "boost", - "score": 0.14691652357578278 - }, - "else": { - "operation": "boost", - "score": 0.15132135152816772 - } - }, - "else": { - "operation": "boost", - "score": 0.15198349952697754 - } - } + "operation": "boost", + "score": 0.16449801623821259 }, "else": { "operation": "boost", - "score": 0.14768342673778534 + "score": 0.13886868953704834 } }, "else": { - "operation": "boost", - "score": 0.14401467144489288 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "boost", - "score": 0.15334844589233398 - }, - "else": { - "operation": "boost", - "score": 0.1562812775373459 - } + "operation": "boost", + "score": 0.16352130472660065 }, "else": { "operation": "boost", - "score": 0.1426417976617813 + "score": 0.17276112735271454 } }, "else": { - "operation": "boost", - "score": 0.12952971458435059 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15898099541664124 + }, + "else": { + "operation": "boost", + "score": 0.16471685469150543 + } } - }, - "else": { - "operation": "boost", - "score": 0.1279214322566986 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14486345648765564 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15605702996253967 - }, - "else": { - "operation": "boost", - "score": 0.1497890204191208 - } - }, - "else": { - "operation": "boost", - "score": -0.039107292890548706 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 33.5, - "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.15042981505393982 - }, - "else": { - "operation": "boost", - "score": 0.13413147628307343 - } + "operation": "boost", + "score": -0.175074964761734 }, "else": { "operation": "boost", - "score": 0.1516924500465393 + "score": 0.16702626645565033 } }, "else": { "operation": "boost", - "score": 0.044244393706321716 + "score": 0.15169982612133026 } }, "else": { - "operation": "boost", - "score": 0.05591406673192978 - } - }, - "else": { - "operation": "boost", - "score": -0.13154757022857666 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_UnionTag" + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.15261682868003845 + "score": 0.16357260942459106 }, "else": { - "operation": "boost", - "score": 0.11798620223999023 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.1711229532957077 + }, + "else": { + "operation": "boost", + "score": 0.1692265123128891 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.1491556018590927 + "score": 0.17147164046764374 }, "else": { - "operation": "boost", - "score": 0.15496468544006348 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.16860151290893555 + }, + "else": { + "operation": "boost", + "score": 0.15392252802848816 + } + }, + "else": { + "operation": "boost", + "score": 0.1560467630624771 + } } } }, "else": { - "operation": "boost", - "score": 0.14844773709774017 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.16579733788967133 + }, + "else": { + "operation": "boost", + "score": 0.04777759313583374 + } + }, + "else": { + "operation": "boost", + "score": 0.12190522253513336 + } } - }, - "else": { - "operation": "boost", - "score": 0.1429975926876068 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.14405442774295807 + "score": 0.1604202538728714 }, "else": { "operation": "boost", - "score": 0.12508608400821686 + "score": 0.16888529062271118 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "boost", + "score": 0.1607930213212967 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.10664967447519302 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1307990849018097 + }, + "else": { + "operation": "boost", + "score": 0.16417934000492096 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1417326182126999 + "score": 0.13161303102970123 }, "else": { "operation": "boost", - "score": 0.13152086734771729 + "score": 0.14982688426971436 } } - }, - "else": { - "operation": "boost", - "score": 0.07656025886535645 } } } } - }, - "else": { - "operation": "boost", - "score": -0.133283793926239 - } - } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.14132735133171082 - }, - "else": { - "operation": "boost", - "score": 0.14014697074890137 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.14121687412261963 - }, - "else": { - "operation": "boost", - "score": 0.13855332136154175 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 52191.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14277209341526031 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.14264418184757233 - }, - "else": { - "operation": "boost", - "score": 0.1411043107509613 - } - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Macro", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.14192305505275726 - }, - "else": { - "operation": "boost", - "score": 0.13119500875473022 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1381283849477768 - }, - "else": { - "operation": "boost", - "score": 0.13858456909656525 - } - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13935180008411407 - }, - "else": { - "operation": "boost", - "score": 0.1399143785238266 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13919265568256378 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "feature": "NumReferences", + "threshold": 62580.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], "then": { + "operation": "boost", + "score": 0.1725209802389145 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 108817.5, "then": { "operation": "boost", - "score": 0.14157257974147797 + "score": 0.16865934431552887 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.15300801396369934 - }, - "else": { - "operation": "boost", - "score": 0.14089390635490417 - } + "operation": "boost", + "score": 0.1616566777229309 } - }, - "else": { - "operation": "boost", - "score": 0.12141555547714233 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1396026909351349 - }, - "else": { - "operation": "boost", - "score": -0.04582589119672775 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09115998446941376 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.139500692486763 - }, - "else": { - "operation": "boost", - "score": 0.13843801617622375 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1298855096101761 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.14106346666812897 }, "else": { "operation": "boost", - "score": 0.14031049609184265 + "score": 0.12199915200471878 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13984468579292297 - }, - "else": { - "operation": "boost", - "score": 0.14017435908317566 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 478260.0, + "threshold": 78490.0, "then": { "operation": "boost", - "score": 0.13970209658145905 + "score": 0.17000022530555725 }, "else": { "operation": "boost", - "score": 0.13570933043956757 + "score": 0.10624748468399048 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.14103291928768158 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "boost", - "score": 0.13988569378852844 - }, - "else": { - "operation": "boost", - "score": 0.14001934230327606 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.13996073603630066 }, "else": { - "operation": "boost", - "score": 0.13938522338867188 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.1134493425488472 + "score": 0.16653694212436676 }, "else": { - "operation": "boost", - "score": 0.14004194736480713 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09417004138231277 + }, + "else": { + "operation": "boost", + "score": -0.02576316148042679 + } } }, "else": { - "operation": "boost", - "score": 0.13992975652217865 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.16499853134155273 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06868483871221542 + }, + "else": { + "operation": "boost", + "score": 0.15608295798301697 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.12371889501810074 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_Type" + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" ], "then": { - "operation": "boost", - "score": 0.1373530626296997 - }, - "else": { - "operation": "boost", - "score": -0.01099332980811596 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14127114415168762 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.13742958009243011 - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FileScope" + "CCC_Statement", + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": 0.1407044529914856 - }, - "else": { - "operation": "boost", - "score": 0.13620653748512268 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12713909149169922 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304.0, - "then": { - "operation": "boost", - "score": 0.13972711563110352 + "score": 0.1651707887649536 }, "else": { - "operation": "boost", - "score": 0.13715477287769318 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "boost", - "score": 0.1405167132616043 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95499.0, - "then": { - "operation": "boost", - "score": 0.08063444495201111 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13560201227664948 - }, - "else": { - "operation": "boost", - "score": 0.13991540670394897 - } - }, - "else": { - "operation": "boost", - "score": 0.13820381462574005 - } - } - } + "operation": "boost", + "score": 0.11021314561367035 }, "else": { "operation": "boost", - "score": 0.13303056359291077 + "score": 0.1693732887506485 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1689857840538025 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20509.0, "then": { "operation": "boost", - "score": 0.1273270547389984 + "score": 0.15500111877918243 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_Namespace", + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.14389507472515106 + "score": 0.15263903141021729 }, "else": { "operation": "boost", - "score": 0.11207016557455063 + "score": 0.17775259912014008 } }, "else": { "operation": "boost", - "score": 0.12905986607074738 + "score": -0.0015365395229309797 } }, "else": { "operation": "boost", - "score": 0.13542282581329346 + "score": 0.014164520427584648 } } }, "else": { - "operation": "boost", - "score": 0.009600312449038029 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06500580906867981 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.13959991931915283 - }, - "else": { - "operation": "boost", - "score": 0.12794062495231628 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14553101360797882 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.13906612992286682 - }, - "else": { - "operation": "boost", - "score": 0.12487947940826416 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "boost", + "score": 0.1448994129896164 + }, + "else": { + "operation": "boost", + "score": 0.0861087366938591 + } } } } @@ -4507,3040 +2445,3475 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", + "Destructor", "Function", - "Namespace" + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2615.5, "then": { "operation": "boost", - "score": 0.13425131142139435 + "score": 0.1492609828710556 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.13701224327087402 - }, - "else": { - "operation": "boost", - "score": -0.0031157447956502438 - } - }, - "else": { - "operation": "boost", - "score": 0.07433127611875534 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6621.5, - "then": { - "operation": "boost", - "score": 0.1385771930217743 - }, - "else": { - "operation": "boost", - "score": 0.09549877792596817 - } - } + "operation": "boost", + "score": 0.010207350365817547 } }, "else": { "operation": "boost", - "score": -0.06276673823595047 + "score": 0.14791369438171387 } }, "else": { "operation": "boost", - "score": -0.11261919885873795 + "score": -0.13928842544555664 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75472.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 670.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14037735760211945 + "score": 0.14530658721923828 }, "else": { "operation": "boost", - "score": 0.1392742246389389 + "score": -0.11045386642217636 } }, "else": { + "operation": "boost", + "score": -0.15785080194473267 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", - "Namespace" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { - "operation": "boost", - "score": 0.13973192870616913 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.15312351286411285 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 673.5, + "then": { + "operation": "boost", + "score": 0.1169862225651741 + }, + "else": { + "operation": "boost", + "score": 0.028882766142487526 + } + } }, "else": { - "operation": "boost", - "score": 0.1212882250547409 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12494514882564545 + }, + "else": { + "operation": "boost", + "score": -0.10753640532493591 + } } - } - }, - "else": { - "operation": "boost", - "score": 0.1371743530035019 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.18263313174247742 + "score": 0.05892568081617355 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "boost", - "score": 0.14184363186359406 + "score": -0.09174440056085587 }, "else": { "operation": "boost", - "score": 0.1419159173965454 + "score": -0.16126444935798645 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1503359079360962 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13982658088207245 + "score": 0.15963847935199738 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.13457348942756653 - }, - "else": { - "operation": "boost", - "score": 0.14224322140216827 - } + "operation": "boost", + "score": 0.09925279021263123 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, + "operation": "boost", + "score": -0.10569842904806137 + }, + "else": { + "operation": "boost", + "score": 0.05864229425787926 + } + } + } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15229535102844238 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.15046553313732147 + }, + "else": { + "operation": "boost", + "score": 0.15126243233680725 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11232098937034607 + }, + "else": { + "operation": "boost", + "score": 0.1502094715833664 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0189053937792778 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 424244.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15301726758480072 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1332457959651947 + }, + "else": { + "operation": "boost", + "score": 0.15242359042167664 + } + }, + "else": { + "operation": "boost", + "score": 0.13365139067173004 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 39.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1485733985900879 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13270336389541626 + }, + "else": { + "operation": "boost", + "score": 0.14494916796684265 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.14500021934509277 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220112.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1385136842727661 + "score": 0.14674684405326843 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121087.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, - "then": { - "operation": "boost", - "score": 0.14080794155597687 - }, - "else": { - "operation": "boost", - "score": 0.14041678607463837 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": -0.17007437348365784 - }, - "else": { - "operation": "boost", - "score": 0.1404382884502411 - } - } + "operation": "boost", + "score": 0.12220322340726852 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.12266673892736435 - }, - "else": { - "operation": "boost", - "score": 0.13949155807495117 - } + "operation": "boost", + "score": -0.04138435050845146 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.1292455792427063 }, "else": { "operation": "boost", - "score": 0.13634338974952698 + "score": 0.09050043672323227 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1504640132188797 }, "else": { + "operation": "boost", + "score": 0.11469417065382004 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.14173327386379242 + }, + "else": { + "operation": "boost", + "score": 0.15040287375450134 + } + }, + "else": { + "operation": "boost", + "score": 0.02203204482793808 + } + }, + "else": { + "operation": "boost", + "score": -0.09102858603000641 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1516505777835846 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15074218809604645 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.14791250228881836 + }, + "else": { + "operation": "boost", + "score": 0.13627324998378754 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42846.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.14650315046310425 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 272340.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.19527609646320343 + "score": 0.10487604886293411 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146873.0, - "then": { - "operation": "boost", - "score": 0.13438640534877777 - }, - "else": { - "operation": "boost", - "score": 0.13821831345558167 - } + "operation": "boost", + "score": 0.13914361596107483 }, "else": { "operation": "boost", - "score": 0.13880455493927002 + "score": 0.12677161395549774 } } - }, - "else": { - "operation": "boost", - "score": 0.1338840126991272 } }, "else": { "operation": "boost", - "score": 0.13083583116531372 + "score": 0.06974995136260986 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1413843184709549 + }, + "else": { + "operation": "boost", + "score": 0.1378934383392334 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Type", - "Namespace" + "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, + "operation": "boost", + "score": 0.15090744197368622 + }, + "else": { + "operation": "boost", + "score": 0.1250816136598587 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.14209319651126862 - }, - "else": { - "operation": "boost", - "score": 0.13518792390823364 - } - }, - "else": { - "operation": "boost", - "score": 0.1425664722919464 - } + "operation": "boost", + "score": 0.13016828894615173 }, "else": { "operation": "boost", - "score": 0.12801359593868256 + "score": 0.0906544104218483 } }, "else": { "operation": "boost", - "score": 0.1155828982591629 + "score": 0.04241118207573891 } - }, - "else": { - "operation": "boost", - "score": 0.11161486804485321 } } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07573500275611877 + }, + "else": { + "operation": "boost", + "score": -0.06677867472171783 + } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14192871749401093 - }, - "else": { - "operation": "boost", - "score": 0.1344141662120819 - } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13136006891727448 - }, - "else": { - "operation": "boost", - "score": -0.034344382584095 - } + "operation": "boost", + "score": -0.14995400607585907 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 32.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { + "operation": "boost", + "score": 0.15215343236923218 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": 0.14859846234321594 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, "then": { "operation": "boost", - "score": 0.13588464260101318 + "score": -0.1486622542142868 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6450.5, "then": { "operation": "boost", - "score": 0.12343572080135345 + "score": 0.14664432406425476 }, "else": { "operation": "boost", - "score": 0.13770294189453125 + "score": 0.1341649442911148 } } }, "else": { "operation": "boost", - "score": -0.00043427685159258544 + "score": 0.09247835725545883 } - }, - "else": { - "operation": "boost", - "score": 0.06393055617809296 } }, "else": { - "operation": "boost", - "score": -0.11721540242433548 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.13767579197883606 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13211779296398163 + }, + "else": { + "operation": "boost", + "score": 0.07251094281673431 + } + } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Namespace", + "CCC_Type", "CCC_UnionTag" ], "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.1516115516424179 + }, + "else": { + "operation": "boost", + "score": 0.14835670590400696 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.14929066598415375 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_UnionTag" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5349.5, "then": { "operation": "boost", - "score": 0.13875740766525269 + "score": 0.15047454833984375 }, "else": { "operation": "boost", - "score": 0.10628057271242142 + "score": 0.14815135300159454 } }, "else": { + "operation": "boost", + "score": 0.15395553410053253 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13674995303153992 + "score": 0.14545537531375885 }, "else": { "operation": "boost", - "score": 0.14141340553760529 + "score": 0.12058647722005844 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14671483635902405 + }, + "else": { + "operation": "boost", + "score": 0.15495337545871735 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1409185230731964 + }, + "else": { + "operation": "boost", + "score": 0.1464795470237732 + } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.14781226217746735 }, "else": { "operation": "boost", - "score": 0.1344074010848999 + "score": 0.13484029471874237 } }, "else": { - "operation": "boost", - "score": 0.12903906404972076 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.144512340426445 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.15244720876216888 + }, + "else": { + "operation": "boost", + "score": 0.1500474214553833 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.151300311088562 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.15012964606285095 + }, + "else": { + "operation": "boost", + "score": 0.1365198940038681 + } + }, + "else": { + "operation": "boost", + "score": 0.13810108602046967 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.14680303633213043 + }, + "else": { + "operation": "boost", + "score": 0.021743804216384888 + } + }, + "else": { + "operation": "boost", + "score": 0.10420667380094528 + } + } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.12999244034290314 + "score": 0.14176741242408752 }, "else": { "operation": "boost", - "score": 0.11292148381471634 + "score": 0.15041328966617584 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.08346706628799438 + "score": 0.14222349226474762 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.1275223046541214 + "score": 0.11362037062644958 }, "else": { "operation": "boost", - "score": 0.11693461984395981 + "score": 0.1455935537815094 } }, "else": { "operation": "boost", - "score": 0.08824971318244934 + "score": 0.12745007872581482 } } } } } - }, - "else": { - "operation": "boost", - "score": -0.1204330176115036 - } - } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.13238316774368286 - }, - "else": { - "operation": "boost", - "score": 0.13121181726455688 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.13223955035209656 - }, - "else": { - "operation": "boost", - "score": 0.12952646613121033 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 52191.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13374334573745728 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.13333725929260254 - }, - "else": { - "operation": "boost", - "score": 0.13222922384738922 - } - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Macro", + "Namespace" ], - "then": { - "operation": "boost", - "score": 0.13269884884357452 - }, - "else": { - "operation": "boost", - "score": 0.11836336553096771 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 62580.5, "then": { - "operation": "boost", - "score": 0.1288728266954422 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.15508578717708588 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108817.5, + "then": { + "operation": "boost", + "score": 0.1506611406803131 + }, + "else": { + "operation": "boost", + "score": 0.14352184534072876 + } + } }, "else": { "operation": "boost", - "score": 0.12941282987594604 + "score": 0.10249080508947372 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.13013486564159393 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { + "operation": "boost", + "score": 0.15202684700489044 + }, + "else": { + "operation": "boost", + "score": 0.08953730762004852 + } }, "else": { - "operation": "boost", - "score": 0.13074102997779846 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12940353155136108 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.14311252534389496 + "score": 0.14768977463245392 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.13243570923805237 + "score": 0.08673255890607834 }, "else": { "operation": "boost", - "score": 0.13122738897800446 + "score": -0.028328537940979004 } } }, "else": { - "operation": "boost", - "score": 0.1016077995300293 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12997625768184662 - }, - "else": { - "operation": "boost", - "score": -0.040684185922145844 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.1471627652645111 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05823113024234772 + }, + "else": { + "operation": "boost", + "score": 0.13854600489139557 + } + } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10368392616510391 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1302323192358017 - }, - "else": { - "operation": "boost", - "score": 0.12906840443611145 - } - } }, "else": { - "operation": "boost", - "score": 0.11941647529602051 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.13129131495952606 - }, - "else": { - "operation": "boost", - "score": 0.13192588090896606 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Symbol" + "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.13072632253170013 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.14814265072345734 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09703253954648972 + }, + "else": { + "operation": "boost", + "score": 0.15294736623764038 + } + } }, "else": { - "operation": "boost", - "score": 0.13111430406570435 - } - }, - "else": { - "operation": "if_member", + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.15033230185508728 + }, + "else": { + "operation": "boost", + "score": -0.05343735218048096 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.005734036210924387 + }, + "else": { + "operation": "boost", + "score": 0.09584422409534454 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1471850723028183 + }, + "else": { + "operation": "boost", + "score": 0.1287938803434372 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20509.0, + "then": { + "operation": "boost", + "score": 0.1397043913602829 + }, + "else": { + "operation": "boost", + "score": 0.07543952763080597 + } + }, + "else": { + "operation": "boost", + "score": 0.15282219648361206 + } + }, + "else": { + "operation": "boost", + "score": 0.006239415146410465 + } + } + } + }, + "else": { + "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.13053598999977112 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2615.5, + "then": { + "operation": "boost", + "score": 0.13125552237033844 + }, + "else": { + "operation": "boost", + "score": 0.0067842998541891575 + } + }, + "else": { + "operation": "boost", + "score": 0.12934809923171997 + } }, "else": { "operation": "boost", - "score": 0.12571308016777039 + "score": -0.12101104110479355 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.13187165558338165 - }, - "else": { - "operation": "boost", - "score": 0.13084447383880615 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.1306358128786087 - }, - "else": { - "operation": "boost", - "score": 0.12976807355880737 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.128361314535141 - }, - "else": { - "operation": "boost", - "score": 0.11277836561203003 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12835869193077087 - }, - "else": { - "operation": "boost", - "score": -0.023818938061594963 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13170671463012695 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 673.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 21492.0, "then": { "operation": "boost", - "score": 0.048748381435871124 + "score": 0.14635606110095978 }, "else": { "operation": "boost", - "score": 0.1687382161617279 + "score": 0.1106741651892662 } }, "else": { - "operation": "boost", - "score": 0.12794850766658783 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0789332166314125 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10488138347864151 + }, + "else": { + "operation": "boost", + "score": -0.056663040071725845 + } + } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.13076971471309662 - }, - "else": { - "operation": "boost", - "score": 0.12486705929040909 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11771033704280853 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.13041375577449799 + "score": -0.14052613079547882 }, "else": { - "operation": "boost", - "score": 0.1275501847267151 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.1315421760082245 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95499.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07199150323867798 + "score": 0.13231100142002106 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12587197124958038 - }, - "else": { - "operation": "boost", - "score": 0.13085277378559113 - } - }, - "else": { - "operation": "boost", - "score": 0.12865211069583893 - } + "operation": "boost", + "score": 0.026040226221084595 } + }, + "else": { + "operation": "boost", + "score": -0.07909336686134338 } }, "else": { - "operation": "boost", - "score": 0.12273207306861877 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11718671768903732 + "score": 0.05377653241157532 }, "else": { "operation": "boost", - "score": 0.12471770495176315 + "score": -0.14198435842990875 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12804220616817474 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13851292431354523 }, "else": { "operation": "boost", - "score": 0.014503761194646358 + "score": 0.07915130257606506 } } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.08026197552680969 + }, + "else": { + "operation": "boost", + "score": 0.046585436910390854 + } } - }, - "else": { - "operation": "boost", - "score": 0.06020234897732735 } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14027617871761322 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1384020298719406 + }, + "else": { + "operation": "boost", + "score": 0.1392662674188614 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09687822312116623 + }, + "else": { + "operation": "boost", + "score": 0.13809612393379211 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.017146291211247444 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 424244.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.14106890559196472 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12053101509809494 }, "else": { + "operation": "boost", + "score": 0.14043724536895752 + } + }, + "else": { + "operation": "boost", + "score": 0.12059909105300903 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 39.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", "CCC_SymbolOrNewName", - "CCC_EnumTag", "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.12997157871723175 - }, - "else": { - "operation": "boost", - "score": 0.11862269788980484 - } - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.1311863362789154 + "score": 0.136396124958992 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12945899367332458 + "score": 0.1200137659907341 }, "else": { "operation": "boost", - "score": 0.11355147510766983 + "score": 0.13253413140773773 } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Namespace" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.12396207451820374 + "score": 0.13259655237197876 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12704111635684967 - }, - "else": { - "operation": "boost", - "score": -0.0040860529989004135 - } - }, - "else": { - "operation": "boost", - "score": 0.05860279127955437 - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6621.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1289561539888382 + "score": 0.13415446877479553 }, "else": { "operation": "boost", - "score": 0.08492990583181381 + "score": 0.10936389118432999 } + }, + "else": { + "operation": "boost", + "score": -0.03606373816728592 } } }, "else": { - "operation": "boost", - "score": -0.04187201336026192 - } - }, - "else": { - "operation": "boost", - "score": -0.0990992933511734 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25286.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63648.0, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", + "CCC_Namespace", "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "boost", - "score": 0.1312725692987442 + "score": 0.11651987582445145 }, "else": { "operation": "boost", - "score": 0.1298857033252716 + "score": 0.07897063344717026 } - }, - "else": { - "operation": "boost", - "score": 0.12814205884933472 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205835.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13102613389492035 + "score": 0.1381164938211441 }, "else": { "operation": "boost", - "score": 0.12507092952728271 + "score": 0.10189694166183472 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.16530804336071014 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.1321810781955719 + "score": -0.13304990530014038 }, "else": { "operation": "boost", - "score": 0.13202622532844543 + "score": 0.1381932944059372 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.13061551749706268 }, "else": { "operation": "boost", - "score": 0.12765207886695862 + "score": 0.02088886871933937 } + }, + "else": { + "operation": "boost", + "score": -0.08323707431554794 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "boost", + "score": -0.13949863612651825 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220112.0, - "then": { - "operation": "boost", - "score": 0.12939037382602692 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121087.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, - "then": { - "operation": "boost", - "score": 0.1318351775407791 - }, - "else": { - "operation": "boost", - "score": 0.13116788864135742 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": -0.15203113853931427 - }, - "else": { - "operation": "boost", - "score": 0.13121187686920166 - } - } - } + "operation": "boost", + "score": 0.13851186633110046 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32947.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.12226037681102753 + "score": 0.13546068966388702 }, "else": { "operation": "boost", - "score": 0.13142964243888855 + "score": 0.12333247810602188 } } }, "else": { - "operation": "boost", - "score": 0.1273355633020401 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42846.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.13379442691802979 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 272340.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.18162168562412262 + "score": 0.0928204357624054 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146873.0, - "then": { - "operation": "boost", - "score": 0.12471718341112137 - }, - "else": { - "operation": "boost", - "score": 0.12899793684482574 - } + "operation": "boost", + "score": 0.12639573216438293 }, "else": { "operation": "boost", - "score": 0.12968407571315765 + "score": 0.11347981542348862 } } - }, - "else": { - "operation": "boost", - "score": 0.1254672110080719 } }, "else": { "operation": "boost", - "score": 0.12161669135093689 + "score": 0.0601702556014061 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12793539464473724 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Type", - "Namespace" + "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_Symbol", "CCC_TopLevel", - "CCC_Symbol" + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, + "operation": "boost", + "score": 0.1396014243364334 + }, + "else": { + "operation": "boost", + "score": 0.08910182863473892 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "boost", - "score": 0.1297278106212616 - }, - "else": { - "operation": "boost", - "score": 0.1327129304409027 - } + "operation": "boost", + "score": 0.11761044710874557 }, "else": { "operation": "boost", - "score": 0.11826545745134354 + "score": 0.08181355893611908 } }, "else": { "operation": "boost", - "score": 0.10787418484687805 + "score": 0.03722731024026871 } - }, - "else": { - "operation": "boost", - "score": 0.10073628276586533 } } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06741133332252502 + }, + "else": { + "operation": "boost", + "score": -0.058771226555109024 + } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13208577036857605 - }, - "else": { - "operation": "boost", - "score": 0.12299049645662308 - } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12118544429540634 - }, - "else": { - "operation": "boost", - "score": -0.022672263905405998 - } + "operation": "boost", + "score": -0.13776852190494537 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 33.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { + "operation": "boost", + "score": 0.14038771390914917 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": 0.13692551851272583 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, "then": { "operation": "boost", - "score": 0.12579523026943207 + "score": -0.1364395171403885 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6450.5, "then": { "operation": "boost", - "score": 0.11066359281539917 + "score": 0.1339026838541031 }, "else": { "operation": "boost", - "score": 0.12745356559753418 + "score": 0.12116461247205734 } } }, "else": { "operation": "boost", - "score": 0.007513059303164482 + "score": 0.08089909702539444 } - }, - "else": { - "operation": "boost", - "score": 0.05783577263355255 } }, "else": { - "operation": "boost", - "score": -0.10240945965051651 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.12444785982370377 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11961252987384796 + }, + "else": { + "operation": "boost", + "score": 0.06314817816019058 + } + } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Namespace", + "CCC_Type", "CCC_UnionTag" ], "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.13902103900909424 + }, + "else": { + "operation": "boost", + "score": 0.13570816814899445 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.13682542741298676 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_UnionTag" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5930.0, "then": { "operation": "boost", - "score": 0.12924227118492126 + "score": 0.13807246088981628 }, "else": { "operation": "boost", - "score": 0.09228869527578354 + "score": 0.13554522395133972 } }, "else": { + "operation": "boost", + "score": 0.14199858903884888 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1260734647512436 + "score": 0.13256163895130157 }, "else": { "operation": "boost", - "score": 0.1321878731250763 + "score": 0.10716212540864944 } - } - }, - "else": { - "operation": "boost", - "score": 0.12410110980272293 - } - }, - "else": { - "operation": "boost", - "score": 0.1182960495352745 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 259.5, - "then": { - "operation": "boost", - "score": 0.12673504650592804 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1179983913898468 }, "else": { - "operation": "boost", - "score": 0.09180619567632675 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.06974900513887405 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 73487.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12627074122428894 + "score": 0.13550786674022675 }, "else": { "operation": "boost", - "score": 0.1159939169883728 + "score": 0.143375962972641 } }, "else": { - "operation": "boost", - "score": 0.105562724173069 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12846247851848602 + }, + "else": { + "operation": "boost", + "score": 0.1341373324394226 + } } - }, - "else": { - "operation": "boost", - "score": 0.08278460055589676 } } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Constructor", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1516893357038498 - }, - "else": { - "operation": "boost", - "score": 0.02150256559252739 - } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.12400064617395401 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.13521887362003326 + }, + "else": { + "operation": "boost", + "score": 0.12205123901367188 + } }, "else": { - "operation": "boost", - "score": -0.13037718832492828 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.13127586245536804 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.1401970386505127 + }, + "else": { + "operation": "boost", + "score": 0.13723386824131012 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.13811492919921875 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.13786378502845764 + }, + "else": { + "operation": "boost", + "score": 0.12508316338062286 + } + }, + "else": { + "operation": "boost", + "score": 0.12529897689819336 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.13420186936855316 + }, + "else": { + "operation": "boost", + "score": 0.018928291276097298 + } + }, + "else": { + "operation": "boost", + "score": 0.09215444326400757 + } + } } }, "else": { - "operation": "boost", - "score": -0.00011980631097685546 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.12899604439735413 + }, + "else": { + "operation": "boost", + "score": 0.13794782757759094 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.12928789854049683 + }, + "else": { + "operation": "boost", + "score": 0.11798160523176193 + } + } } } } } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.12587770819664001 - }, - "else": { - "operation": "boost", - "score": 0.12447214126586914 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12573689222335815 - }, - "else": { - "operation": "boost", - "score": 0.12263109534978867 - } - } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 52191.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1272842437028885 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12666495144367218 - }, - "else": { - "operation": "boost", - "score": 0.12638694047927856 - } - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Macro", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.12598751485347748 - }, - "else": { - "operation": "boost", - "score": 0.11127940565347672 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.12186058610677719 - }, - "else": { - "operation": "boost", - "score": 0.1225079894065857 - } - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12328121066093445 - }, - "else": { - "operation": "boost", - "score": 0.12399512529373169 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1221235990524292 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "feature": "NumReferences", + "threshold": 62580.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], "then": { + "operation": "boost", + "score": 0.14349539577960968 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 108817.5, "then": { "operation": "boost", - "score": -0.13367854058742523 + "score": 0.13870957493782043 }, "else": { "operation": "boost", - "score": 0.12455291301012039 + "score": 0.1312221884727478 } - }, - "else": { - "operation": "boost", - "score": 0.09020587056875229 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1228397861123085 - }, - "else": { - "operation": "boost", - "score": -0.044322870671749115 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09089649468660355 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12336272746324539 - }, - "else": { - "operation": "boost", - "score": 0.12214123457670212 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1115230917930603 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1245139092206955 }, "else": { "operation": "boost", - "score": 0.12518806755542755 + "score": 0.09002068638801575 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.12419634312391281 - }, - "else": { - "operation": "boost", - "score": 0.12440799176692963 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 478260.0, + "threshold": 78490.0, "then": { "operation": "boost", - "score": 0.12356136739253998 + "score": 0.14022508263587952 }, "else": { "operation": "boost", - "score": 0.11891496181488037 + "score": 0.0798695757985115 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12517571449279785 - }, - "else": { - "operation": "boost", - "score": 0.12404220551252365 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.12363939732313156 - }, - "else": { - "operation": "boost", - "score": 0.12263202667236328 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.12107010185718536 }, "else": { - "operation": "boost", - "score": 0.10164695233106613 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12085331976413727 - }, - "else": { - "operation": "boost", - "score": -0.00734816724434495 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12498895078897476 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.1352328360080719 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.03827841207385063 + "score": 0.0757773369550705 }, "else": { "operation": "boost", - "score": 0.1632082611322403 + "score": -0.028413616120815277 } - }, - "else": { - "operation": "boost", - "score": 0.12081331759691238 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "boost", - "score": 0.12380734086036682 + "score": 0.134999617934227 }, "else": { - "operation": "boost", - "score": 0.1173727810382843 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05297345295548439 + }, + "else": { + "operation": "boost", + "score": 0.1259843409061432 + } } } - }, - "else": { - "operation": "boost", - "score": 0.10954398661851883 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.12339581549167633 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.1405000239610672 + }, + "else": { + "operation": "boost", + "score": 0.11944756656885147 + } }, "else": { - "operation": "boost", - "score": 0.12020380795001984 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.07254661619663239 + }, + "else": { + "operation": "boost", + "score": 0.13354851305484772 + } + }, + "else": { + "operation": "boost", + "score": 0.14159318804740906 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.1248498484492302 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.13521228730678558 + }, + "else": { + "operation": "boost", + "score": -0.05175580084323883 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91203.0, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "boost", - "score": 0.0866250991821289 + "score": -0.00013325239706318825 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12050491571426392 - }, - "else": { - "operation": "boost", - "score": 0.12410426884889603 - } - }, - "else": { - "operation": "boost", - "score": 0.12148863822221756 - } + "operation": "boost", + "score": 0.08398263901472092 } } }, "else": { - "operation": "boost", - "score": 0.11517553776502609 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13461798429489136 + }, + "else": { + "operation": "boost", + "score": 0.11726795136928558 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.10950405895709991 + "score": 0.09588909894227982 }, "else": { "operation": "boost", - "score": 0.11708949506282806 + "score": 0.13960492610931396 } }, "else": { - "operation": "boost", - "score": -0.001054544234648347 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1457492709159851 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0016738876001909375 + }, + "else": { + "operation": "boost", + "score": 0.06424921751022339 + } + } } } } }, "else": { - "operation": "boost", - "score": 0.010330276563763618 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.12294292449951172 - }, - "else": { - "operation": "boost", - "score": 0.10960251092910767 - } - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2615.5, "then": { "operation": "boost", - "score": -0.13495953381061554 + "score": 0.1198052391409874 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.12190599739551544 + "score": 0.005204482469707727 }, "else": { "operation": "boost", - "score": 0.10364782065153122 + "score": 0.11521003395318985 } } + }, + "else": { + "operation": "boost", + "score": -0.10744839906692505 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 673.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21492.0, "then": { "operation": "boost", - "score": 0.11612097173929214 + "score": 0.13387064635753632 }, "else": { "operation": "boost", - "score": -0.11969910562038422 + "score": 0.09868115186691284 } }, "else": { - "operation": "boost", - "score": 0.05254447087645531 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.13320574164390564 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "boost", + "score": -0.07225030660629272 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11994793266057968 - }, - "else": { - "operation": "boost", - "score": -0.01041330210864544 - } + "operation": "boost", + "score": 0.090534508228302 }, "else": { "operation": "boost", - "score": 0.07259354740381241 + "score": -0.04981289058923721 } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.11717651039361954 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6621.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12172023952007294 + "score": 0.11967655271291733 }, "else": { "operation": "boost", - "score": 0.08926698565483093 + "score": 0.024068892002105713 } + }, + "else": { + "operation": "boost", + "score": -0.06922228634357452 } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.047991134226322174 }, "else": { "operation": "boost", - "score": 0.008554327301681042 + "score": -0.1375555396080017 } - }, - "else": { - "operation": "boost", - "score": -0.08983761072158813 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25286.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 63648.0, + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12465094774961472 - }, - "else": { - "operation": "boost", - "score": 0.1230480819940567 - } + "operation": "boost", + "score": 0.11524554342031479 }, "else": { "operation": "boost", - "score": 0.12104270607233047 + "score": 0.07563339918851852 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205835.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.12430502474308014 + "score": -0.06926216185092926 }, "else": { "operation": "boost", - "score": 0.11714440584182739 + "score": 0.03923378139734268 } } - }, - "else": { + } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13218621909618378 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1300591379404068 + }, + "else": { + "operation": "boost", + "score": 0.130961611866951 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0848785787820816 + }, + "else": { + "operation": "boost", + "score": 0.12964262068271637 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01475172396749258 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 424244.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13273310661315918 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11011315137147903 + }, + "else": { + "operation": "boost", + "score": 0.1320129930973053 + } + }, + "else": { + "operation": "boost", + "score": 0.11145352572202682 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 39.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.15667559206485748 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12493136525154114 - }, - "else": { - "operation": "boost", - "score": 0.12485748529434204 - } - } + "operation": "boost", + "score": 0.1277197301387787 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12369400262832642 + "score": 0.11018656194210052 }, "else": { "operation": "boost", - "score": 0.1196770966053009 + "score": 0.12349254637956619 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Namespace" ], "then": { + "operation": "boost", + "score": 0.12354519218206406 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220112.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12227573245763779 + "score": 0.12568232417106628 }, "else": { "operation": "boost", - "score": 0.12405123561620712 + "score": 0.09922802448272705 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32947.0, - "then": { - "operation": "boost", - "score": 0.1150340884923935 - }, - "else": { - "operation": "boost", - "score": 0.12440533190965652 - } + "operation": "boost", + "score": -0.029426006600260735 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10598810017108917 }, "else": { "operation": "boost", - "score": 0.11965116113424301 + "score": 0.06944558024406433 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12928181886672974 }, "else": { + "operation": "boost", + "score": 0.09035993367433548 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.12008111923933029 + }, + "else": { + "operation": "boost", + "score": 0.12961725890636444 + } + }, + "else": { + "operation": "boost", + "score": 0.019855936989188194 + } + }, + "else": { + "operation": "boost", + "score": -0.08033233880996704 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13110211491584778 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13009746372699738 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.12667934596538544 + }, + "else": { + "operation": "boost", + "score": 0.1134251058101654 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42846.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.12500230967998505 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 272340.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.16854263842105865 + "score": 0.08279073983430862 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.12125788629055023 + "score": 0.11692527681589127 }, "else": { "operation": "boost", - "score": 0.12276632338762283 + "score": 0.10297778248786926 } } - }, - "else": { - "operation": "boost", - "score": 0.11826757341623306 } }, "else": { "operation": "boost", - "score": 0.11407013982534409 + "score": 0.05169079452753067 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1198098435997963 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Type", - "Namespace" + "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_Symbol", "CCC_TopLevel", - "CCC_Symbol" + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, + "operation": "boost", + "score": 0.13099399209022522 + }, + "else": { + "operation": "boost", + "score": 0.07936863601207733 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "boost", - "score": 0.12214037775993347 - }, - "else": { - "operation": "boost", - "score": 0.1254485845565796 - } + "operation": "boost", + "score": 0.10729032009840012 }, "else": { "operation": "boost", - "score": 0.1091567799448967 + "score": 0.07453133910894394 } }, "else": { "operation": "boost", - "score": 0.09913092106580734 + "score": 0.03326258808374405 } - }, - "else": { - "operation": "boost", - "score": 0.09204074740409851 } } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06102824956178665 + }, + "else": { + "operation": "boost", + "score": -0.05188321694731712 + } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12489776313304901 - }, - "else": { - "operation": "boost", - "score": 0.11439701169729233 - } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1132378950715065 - }, - "else": { - "operation": "boost", - "score": -0.01760932244360447 - } + "operation": "boost", + "score": -0.12925612926483154 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 33.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { + "operation": "boost", + "score": 0.13216887414455414 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": 0.12822479009628296 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, "then": { "operation": "boost", - "score": 0.11838161200284958 + "score": -0.12790387868881226 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6450.5, "then": { "operation": "boost", - "score": 0.10264015942811966 + "score": 0.12466850876808167 }, "else": { "operation": "boost", - "score": 0.1196630671620369 + "score": 0.11101918667554855 } } }, "else": { "operation": "boost", - "score": 0.0028017389122396708 + "score": 0.07258813083171844 } - }, - "else": { - "operation": "boost", - "score": 0.05296313017606735 } }, "else": { - "operation": "boost", - "score": -0.09572849422693253 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.11490809172391891 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11103085428476334 + }, + "else": { + "operation": "boost", + "score": 0.053574319928884506 + } + } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Namespace", + "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.12733213603496552 + }, + "else": { + "operation": "boost", + "score": 0.13225343823432922 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.12807393074035645 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_UnionTag" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5930.0, "then": { "operation": "boost", - "score": 0.12265865504741669 + "score": 0.12938199937343597 }, "else": { "operation": "boost", - "score": 0.07906555384397507 + "score": 0.12648600339889526 } }, "else": { + "operation": "boost", + "score": 0.1334737092256546 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11729124188423157 + "score": 0.12310579419136047 }, "else": { "operation": "boost", - "score": 0.12574072182178497 + "score": 0.09634672850370407 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.5, + "then": { + "operation": "boost", + "score": 0.13390423357486725 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11906753480434418 + }, + "else": { + "operation": "boost", + "score": 0.12506374716758728 + } } } - }, - "else": { - "operation": "boost", - "score": 0.11634153127670288 } - }, - "else": { - "operation": "boost", - "score": 0.11047732830047607 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ @@ -7548,140 +5921,666 @@ ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 259.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.11901907622814178 + "score": 0.1261405348777771 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10952675342559814 - }, - "else": { - "operation": "boost", - "score": 0.08210990577936172 - } + "operation": "boost", + "score": 0.11235614120960236 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.06038171425461769 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.1215856671333313 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.13146726787090302 + }, + "else": { + "operation": "boost", + "score": 0.1279810667037964 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1289408951997757 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.12905703485012054 + }, + "else": { + "operation": "boost", + "score": 0.11523205041885376 + } + }, + "else": { + "operation": "boost", + "score": 0.11542798578739166 + } + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.10851171612739563 + "score": 0.12516458332538605 }, "else": { "operation": "boost", - "score": 0.09581243246793747 + "score": -0.22471219301223755 } }, "else": { "operation": "boost", - "score": 0.07328794151544571 + "score": 0.0817975178360939 } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.11950986087322235 + }, + "else": { + "operation": "boost", + "score": 0.1290421485900879 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.1202448382973671 + }, + "else": { + "operation": "boost", + "score": 0.10796602070331573 + } + } } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Constructor", - "Namespace" - ], + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52191.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "CCC_TopLevel" ], "then": { + "operation": "boost", + "score": 0.13991065323352814 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 281590.5, "then": { "operation": "boost", - "score": 0.12956663966178894 + "score": 0.13269546627998352 }, "else": { "operation": "boost", - "score": 0.1555223912000656 + "score": 0.12681595981121063 } + } + }, + "else": { + "operation": "boost", + "score": 0.07883468270301819 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { + "operation": "boost", + "score": 0.1319267302751541 }, "else": { "operation": "boost", - "score": 0.02503075823187828 + "score": 0.07471520453691483 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.11497645825147629 + "score": 0.1261170506477356 }, "else": { - "operation": "boost", - "score": -0.12325362116098404 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.06578359007835388 + }, + "else": { + "operation": "boost", + "score": -0.024922605603933334 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.12601648271083832 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.046420253813266754 + }, + "else": { + "operation": "boost", + "score": 0.11612967401742935 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.131972536444664 + }, + "else": { + "operation": "boost", + "score": 0.10966937243938446 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.06688376516103745 + }, + "else": { + "operation": "boost", + "score": 0.12494406849145889 + } + }, + "else": { "operation": "boost", - "score": 0.022166235372424126 + "score": 0.13345526158809662 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.12381131947040558 + }, + "else": { + "operation": "boost", + "score": -0.04847811162471771 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.010963642038404942 + }, + "else": { + "operation": "boost", + "score": 0.07378796488046646 + } + } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.16447512805461884 + "score": -0.12507084012031555 + }, + "else": { + "operation": "boost", + "score": 0.10816715657711029 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.08461324870586395 + }, + "else": { + "operation": "boost", + "score": 0.12783223390579224 + } + }, + "else": { + "operation": "boost", + "score": 0.000680825556628406 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2615.5, + "then": { + "operation": "boost", + "score": 0.11546836793422699 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.0021524596959352493 + }, + "else": { + "operation": "boost", + "score": 0.09921697527170181 + } + }, + "else": { + "operation": "boost", + "score": -0.09852996468544006 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 673.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21492.0, + "then": { + "operation": "boost", + "score": 0.1248442754149437 + }, + "else": { + "operation": "boost", + "score": 0.08869346976280212 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12601225078105927 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.0649673193693161 + }, + "else": { + "operation": "boost", + "score": -0.03535696119070053 + } + }, + "else": { + "operation": "boost", + "score": -0.06717780977487564 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.10738255828619003 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10966802388429642 + }, + "else": { + "operation": "boost", + "score": 0.020388251170516014 + } + }, + "else": { + "operation": "boost", + "score": -0.0613226443529129 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.061059415340423584 }, "else": { "operation": "boost", - "score": 0.10485164821147919 + "score": 0.048817507922649384 } + }, + "else": { + "operation": "boost", + "score": -0.12901060283184052 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10512399673461914 }, "else": { "operation": "boost", - "score": -0.08246518671512604 + "score": 0.06604607403278351 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0604998841881752 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1009465679526329 + }, + "else": { + "operation": "boost", + "score": 0.0292171873152256 + } + }, + "else": { + "operation": "boost", + "score": -0.0039026245940476656 + } } } } @@ -7698,45 +6597,21 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.12119611352682114 - }, - "else": { - "operation": "boost", - "score": 0.1197219043970108 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12104137241840363 - }, - "else": { - "operation": "boost", - "score": 0.11682932823896408 - } - } + "operation": "boost", + "score": 0.12633147835731506 }, "else": { "operation": "if_greater", @@ -7744,1831 +6619,1608 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12241791933774948 + "score": 0.12394796311855316 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1217925027012825 - }, - "else": { - "operation": "boost", - "score": 0.1215435341000557 - } + "operation": "boost", + "score": 0.12492799013853073 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12102727591991425 + "score": -0.07567253708839417 }, "else": { "operation": "boost", - "score": 0.10602554678916931 + "score": 0.12337252497673035 } } } }, "else": { + "operation": "boost", + "score": 0.013267513364553452 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 424244.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.12677042186260223 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11662206798791885 - }, - "else": { - "operation": "boost", - "score": 0.11734418570995331 - } - }, - "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11821065843105316 + "score": 0.10176095366477966 }, "else": { "operation": "boost", - "score": 0.11898418515920639 + "score": 0.12587934732437134 } + }, + "else": { + "operation": "boost", + "score": 0.10269111394882202 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.12684358656406403 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 298482.5, "then": { "operation": "boost", - "score": 0.1167450025677681 + "score": 0.041670821607112885 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_Symbol", + "CCC_TopLevel" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12399277836084366 - }, - "else": { - "operation": "boost", - "score": 0.11929808557033539 - } - }, - "else": { - "operation": "boost", - "score": 0.07740702480077744 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11728805303573608 - }, - "else": { - "operation": "boost", - "score": -0.030664870515465736 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01899571903049946 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11813230812549591 + "operation": "boost", + "score": 0.1274237185716629 }, "else": { "operation": "boost", - "score": 0.1162342056632042 + "score": 0.1122320368885994 } } - }, - "else": { - "operation": "boost", - "score": 0.10403391718864441 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12293189764022827 - }, - "else": { - "operation": "boost", - "score": 0.11413019895553589 - } - }, - "else": { - "operation": "boost", - "score": 0.11956767737865448 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11944061517715454 - }, - "else": { - "operation": "boost", - "score": 0.11952733993530273 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, - "then": { - "operation": "boost", - "score": 0.11842282861471176 - }, - "else": { - "operation": "boost", - "score": 0.11376825720071793 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12033944576978683 - }, - "else": { - "operation": "boost", - "score": 0.11907438188791275 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 39.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" + "Namespace", + "Variable" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], - "then": { - "operation": "boost", - "score": 0.11845660209655762 - }, - "else": { - "operation": "boost", - "score": 0.1169799193739891 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.11526694148778915 - }, - "else": { - "operation": "boost", - "score": 0.09653716534376144 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11487280577421188 - }, - "else": { - "operation": "boost", - "score": -0.024076901376247406 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11995402723550797 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.12133148312568665 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06319843232631683 + "score": 0.10152636468410492 }, "else": { "operation": "boost", - "score": 0.1577204167842865 + "score": 0.11664862185716629 } - }, - "else": { - "operation": "boost", - "score": 0.11532328277826309 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.1183653250336647 - }, - "else": { - "operation": "boost", - "score": 0.11301813274621964 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10293734818696976 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304.0, - "then": { - "operation": "boost", - "score": 0.11811206489801407 - }, - "else": { - "operation": "boost", - "score": 0.11472001671791077 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.11661208420991898 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.12002451717853546 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91203.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07241708785295486 + "score": 0.11904612928628922 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11455501616001129 - }, - "else": { - "operation": "boost", - "score": 0.11909585446119308 - } - }, - "else": { - "operation": "boost", - "score": 0.11590472608804703 - } + "operation": "boost", + "score": 0.09026645869016647 } + }, + "else": { + "operation": "boost", + "score": -0.02601718157529831 } - }, - "else": { - "operation": "boost", - "score": 0.10885337740182877 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Expression" + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10171493142843246 - }, - "else": { - "operation": "boost", - "score": 0.11108005046844482 - } + "operation": "boost", + "score": 0.09825242310762405 }, "else": { "operation": "boost", - "score": -0.007949978113174438 + "score": 0.061413273215293884 } } } }, - "else": { - "operation": "boost", - "score": 0.007304436527192593 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.10972098261117935 - }, - "else": { - "operation": "boost", - "score": -0.07815256714820862 - } - }, - "else": { - "operation": "boost", - "score": 0.08917643874883652 - } - }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.11700879037380219 - }, - "else": { - "operation": "boost", - "score": 0.10262138396501541 - } + "operation": "boost", + "score": 0.12301783263683319 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.1156032383441925 - }, - "else": { - "operation": "boost", - "score": 0.088108591735363 - } + "operation": "boost", + "score": 0.08187846094369888 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Function", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11409099400043488 - }, - "else": { - "operation": "boost", - "score": -0.01168738678097725 - } - }, - "else": { - "operation": "boost", - "score": 0.06518735736608505 - } + "operation": "boost", + "score": -0.11843422800302505 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6621.5, - "then": { - "operation": "boost", - "score": 0.11623498052358627 - }, - "else": { - "operation": "boost", - "score": 0.08264568448066711 - } + "operation": "boost", + "score": 0.123448446393013 } }, "else": { "operation": "boost", - "score": 0.004224621690809727 + "score": 0.019841529428958893 } }, "else": { "operation": "boost", - "score": -0.0817423090338707 + "score": -0.07612906396389008 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75472.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11981629580259323 - }, - "else": { - "operation": "boost", - "score": 0.11788350343704224 - } + "operation": "boost", + "score": -0.12502261996269226 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11884362995624542 - }, - "else": { - "operation": "boost", - "score": 0.09547129273414612 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11486894637346268 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.14092107117176056 + "score": 0.11629904806613922 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" + "FileScope", + "GlobalScope" ], - "then": { - "operation": "boost", - "score": 0.11959598958492279 - }, - "else": { - "operation": "boost", - "score": 0.11966031044721603 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11863100528717041 - }, - "else": { - "operation": "boost", - "score": 0.11341708898544312 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220112.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11722931265830994 + "score": 0.11815059930086136 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121087.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, - "then": { - "operation": "boost", - "score": 0.12044071406126022 - }, - "else": { - "operation": "boost", - "score": 0.1193011924624443 - } + "operation": "boost", + "score": 0.07377047091722488 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": -0.14053958654403687 + "score": 0.10921084880828857 }, "else": { "operation": "boost", - "score": 0.1190926730632782 + "score": 0.09456247836351395 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32947.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10887303948402405 + "score": 0.1128898486495018 }, "else": { "operation": "boost", - "score": 0.12215220928192139 + "score": 0.022949177771806717 } } - }, - "else": { - "operation": "boost", - "score": 0.11453889310359955 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "boost", + "score": 0.11258705705404282 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.1242576539516449 + }, + "else": { + "operation": "boost", + "score": 0.07118076831102371 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42846.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 272340.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.14012761414051056 + "score": 0.09961062669754028 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11575504392385483 - }, - "else": { - "operation": "boost", - "score": 0.11759170144796371 - } + "operation": "boost", + "score": 0.06876885890960693 } }, "else": { "operation": "boost", - "score": 0.11575620621442795 + "score": 0.03006095066666603 } - }, - "else": { - "operation": "boost", - "score": 0.10999485850334167 } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05509134382009506 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol" + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "boost", - "score": 0.11652491986751556 - }, - "else": { - "operation": "boost", - "score": 0.12006963789463043 - } + "operation": "boost", + "score": 0.16989587247371674 }, "else": { "operation": "boost", - "score": 0.10282241553068161 + "score": 0.052775271236896515 } }, "else": { - "operation": "boost", - "score": 0.08843041956424713 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1448560357093811 + }, + "else": { + "operation": "boost", + "score": 0.06055036187171936 + } } }, "else": { "operation": "boost", - "score": 0.08718814700841904 + "score": -0.06090119853615761 } } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11946488171815872 - }, - "else": { - "operation": "boost", - "score": 0.1076255738735199 - } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10730741918087006 - }, - "else": { - "operation": "boost", - "score": -0.019194869324564934 - } + "operation": "boost", + "score": -0.12311381846666336 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { + "operation": "boost", + "score": 0.12637147307395935 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": 0.1219838336110115 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.11493503302335739 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, + "then": { + "operation": "boost", + "score": -0.1219232901930809 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6450.5, + "then": { + "operation": "boost", + "score": 0.11768489331007004 + }, + "else": { + "operation": "boost", + "score": 0.10296797752380371 + } + } }, "else": { "operation": "boost", - "score": 0.10210377722978592 + "score": 0.0658111572265625 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.10691967606544495 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09642253071069717 + "score": 0.10321896523237228 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11438445746898651 - }, - "else": { - "operation": "boost", - "score": 0.12691329419612885 - } + "operation": "boost", + "score": 0.046348053961992264 } } - }, - "else": { - "operation": "boost", - "score": 0.054352983832359314 } - }, - "else": { - "operation": "boost", - "score": -0.01503479853272438 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Destructor", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "boost", + "score": 0.1206311360001564 + }, + "else": { + "operation": "boost", + "score": 0.12598246335983276 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.12161250412464142 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.12167051434516907 + }, + "else": { + "operation": "boost", + "score": 0.12727753818035126 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09488772600889206 + "score": 0.11597698926925659 }, "else": { "operation": "boost", - "score": 0.11902166903018951 + "score": 0.09116452932357788 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 73487.5, "then": { "operation": "boost", - "score": 0.11404117196798325 + "score": 0.1271876096725464 }, "else": { - "operation": "boost", - "score": 0.13918271660804749 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.11950811743736267 + }, + "else": { + "operation": "boost", + "score": 0.10037854313850403 + } + }, + "else": { + "operation": "boost", + "score": 0.10889916121959686 + } } } - }, - "else": { - "operation": "boost", - "score": 0.08624853193759918 } - }, - "else": { - "operation": "boost", - "score": -0.010966906324028969 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10071047395467758 - }, - "else": { - "operation": "boost", - "score": -0.11381218582391739 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.11749343574047089 - }, - "else": { - "operation": "boost", - "score": 0.12081567943096161 - } + "operation": "boost", + "score": 0.11929851770401001 }, "else": { "operation": "boost", - "score": 0.11901114881038666 + "score": 0.10453781485557556 } }, "else": { - "operation": "boost", - "score": 0.08417658507823944 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.16081175208091736 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.12131305038928986 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.12514518201351166 + }, + "else": { + "operation": "boost", + "score": 0.12112551927566528 + } + } }, "else": { - "operation": "boost", - "score": 0.15084686875343323 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09808104485273361 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.12197421491146088 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.12216728180646896 + }, + "else": { + "operation": "boost", + "score": 0.10919875651597977 + } + } + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.019576098769903183 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.148265540599823 + "score": 0.11849427968263626 }, "else": { "operation": "boost", - "score": 0.09366220235824585 + "score": -0.197727233171463 } + }, + "else": { + "operation": "boost", + "score": 0.06253930181264877 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.11189378798007965 + }, + "else": { + "operation": "boost", + "score": 0.1226276233792305 + } }, "else": { - "operation": "boost", - "score": -0.07694527506828308 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.1128840520977974 + }, + "else": { + "operation": "boost", + "score": 0.09966325014829636 + } } } } } } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11641047894954681 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11746147274971008 - }, - "else": { - "operation": "boost", - "score": 0.11300672590732574 - } - } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20775.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11875198036432266 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11799407750368118 - }, - "else": { - "operation": "boost", - "score": 0.11788005381822586 - } - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Macro", + "Namespace" ], - "then": { - "operation": "boost", - "score": 0.11725304275751114 - }, - "else": { - "operation": "boost", - "score": 0.09579700231552124 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 62580.5, "then": { - "operation": "boost", - "score": 0.11260415613651276 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1310049146413803 + }, + "else": { + "operation": "boost", + "score": 0.11830742657184601 + } }, "else": { "operation": "boost", - "score": 0.11345380544662476 + "score": 0.10937154293060303 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1142982542514801 + "score": 0.1220708116889 }, "else": { - "operation": "boost", - "score": 0.11515509337186813 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57410.0, + "then": { + "operation": "boost", + "score": 0.100596584379673 + }, + "else": { + "operation": "boost", + "score": 0.06327199935913086 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": 0.09518218040466309 + }, + "else": { + "operation": "boost", + "score": -0.005176777485758066 + } + } } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], "then": { - "operation": "boost", - "score": 0.11200570315122604 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.11895431578159332 + "score": 0.1247379332780838 }, "else": { "operation": "boost", - "score": 0.11510385572910309 + "score": 0.10344748944044113 } }, "else": { - "operation": "boost", - "score": 0.07501054555177689 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13672983646392822 + }, + "else": { + "operation": "boost", + "score": 0.06468965113162994 + } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" ], "then": { - "operation": "boost", - "score": 0.1128266453742981 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.11538015305995941 + }, + "else": { + "operation": "boost", + "score": -0.04686686396598816 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.007898946292698383 + }, + "else": { + "operation": "boost", + "score": 0.06585148721933365 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11828798055648804 + }, + "else": { + "operation": "boost", + "score": 0.10010846704244614 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13263936340808868 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.07188466936349869 + }, + "else": { + "operation": "boost", + "score": 0.015538726933300495 + } + }, + "else": { + "operation": "boost", + "score": 0.05712578445672989 + } + } + } }, "else": { - "operation": "boost", - "score": -0.030750200152397156 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2580.0, + "then": { + "operation": "boost", + "score": 0.09531768411397934 + }, + "else": { + "operation": "boost", + "score": -0.005003747530281544 + } + }, + "else": { + "operation": "boost", + "score": 0.0917908325791359 + } + }, + "else": { + "operation": "boost", + "score": -0.09242434799671173 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.09577184915542603 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09761904925107956, + "then": { + "operation": "boost", + "score": 0.10478129237890244 + }, + "else": { + "operation": "boost", + "score": 0.053068507462739944 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.09917016327381134 + }, + "else": { + "operation": "boost", + "score": 0.005759749095886946 + } + }, + "else": { + "operation": "boost", + "score": -0.053000837564468384 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2401.5, + "then": { + "operation": "boost", + "score": 0.09073173999786377 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04615847393870354 + }, + "else": { + "operation": "boost", + "score": -0.05616729333996773 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12005627155303955 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09626113623380661 + }, + "else": { + "operation": "boost", + "score": 0.058409433811903 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.03323188051581383 + }, + "else": { + "operation": "boost", + "score": 0.09230829775333405 + } + }, + "else": { + "operation": "boost", + "score": 0.012622897513210773 + } + }, + "else": { + "operation": "boost", + "score": -0.03867683932185173 + } } } } } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12200726568698883 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.00979738961905241 + "score": 0.11935454607009888 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11404508352279663 - }, - "else": { - "operation": "boost", - "score": 0.11234888434410095 - } + "operation": "boost", + "score": 0.12038695812225342 } }, "else": { "operation": "boost", - "score": 0.0990118607878685 + "score": 0.11853868514299393 } } + }, + "else": { + "operation": "boost", + "score": 0.012289801612496376 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443558.5, + "threshold": 281926.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 424244.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.12219524383544922 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11587662249803543 + "score": 0.09497188031673431 }, "else": { "operation": "boost", - "score": 0.1163925975561142 + "score": 0.12106719613075256 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.11616656929254532 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, - "then": { - "operation": "boost", - "score": 0.11462422460317612 - }, - "else": { - "operation": "boost", - "score": 0.1095297783613205 - } - } + "operation": "boost", + "score": 0.09548179060220718 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.12231266498565674 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 298482.5, "then": { "operation": "boost", - "score": 0.11691773682832718 + "score": 0.037479568272829056 }, "else": { - "operation": "boost", - "score": 0.11548912525177002 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_Symbol", + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.11462436616420746 - }, - "else": { - "operation": "boost", - "score": 0.1125241219997406 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11054060608148575 + "score": 0.12213660776615143 }, "else": { "operation": "boost", - "score": 0.0898740217089653 + "score": 0.10691746324300766 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10977572202682495 - }, - "else": { - "operation": "boost", - "score": -0.03711888939142227 - } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 39.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.11601562798023224 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.11629190295934677 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08924993872642517 + "score": 0.09452306479215622 }, "else": { "operation": "boost", - "score": 0.1542593538761139 + "score": 0.11093226075172424 } - }, - "else": { - "operation": "boost", - "score": 0.11099054664373398 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.11382551491260529 - }, - "else": { - "operation": "boost", - "score": 0.1069055050611496 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09669717401266098 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304.0, - "then": { - "operation": "boost", - "score": 0.11423131823539734 - }, - "else": { - "operation": "boost", - "score": 0.11025538295507431 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.11093156784772873 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.11651279777288437 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91203.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06432437151670456 + "score": 0.11383268237113953 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10996823012828827 - }, - "else": { - "operation": "boost", - "score": 0.11550747603178024 - } - }, - "else": { - "operation": "boost", - "score": 0.11135101318359375 - } + "operation": "boost", + "score": 0.08322066813707352 } + }, + "else": { + "operation": "boost", + "score": -0.020818689838051796 } - }, - "else": { - "operation": "boost", - "score": 0.1031254306435585 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Expression" + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.10377974063158035 + "score": 0.09124597162008286 }, "else": { "operation": "boost", - "score": 0.003141457913443446 + "score": 0.05498604476451874 } } } }, "else": { - "operation": "boost", - "score": 0.03135048598051071 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.10844844579696655 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1289406418800354 - }, - "else": { - "operation": "boost", - "score": 0.09043923765420914 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.10410875082015991 - }, - "else": { - "operation": "boost", - "score": -0.10663174837827682 - } + "score": 0.11818340420722961 }, "else": { "operation": "boost", - "score": 0.0810122862458229 + "score": 0.07542522996664047 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", @@ -9576,333 +8228,384 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11079441756010056 - }, - "else": { - "operation": "boost", - "score": -0.0028368905186653137 - } + "operation": "boost", + "score": -0.10939878225326538 }, "else": { "operation": "boost", - "score": 0.09786824882030487 + "score": 0.11877691000699997 } }, "else": { "operation": "boost", - "score": 0.04682198911905289 + "score": 0.0189349427819252 } }, "else": { "operation": "boost", - "score": -0.017825448885560036 + "score": -0.07179585844278336 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30903.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63648.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_Expression", + "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", - "score": 0.11622614413499832 - }, - "else": { - "operation": "boost", - "score": 0.11396890133619308 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32083.5, - "then": { - "operation": "boost", - "score": 0.10818535089492798 + "score": 0.11213543266057968 }, "else": { "operation": "boost", - "score": 0.15177322924137115 + "score": 0.10715899616479874 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205835.5, - "then": { - "operation": "boost", - "score": 0.1158897876739502 }, "else": { - "operation": "boost", - "score": 0.1083010584115982 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13659068942070007 + "score": -0.11461447179317474 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.11570192873477936 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.048782337456941605 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11434587836265564 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11294608563184738 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.09520072489976883 + }, + "else": { + "operation": "boost", + "score": 0.054265812039375305 + } + } + } + } }, "else": { - "operation": "boost", - "score": 0.11595240980386734 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11917995661497116 + }, + "else": { + "operation": "boost", + "score": 0.06454640626907349 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06716262549161911 + }, + "else": { + "operation": "boost", + "score": 0.027010638266801834 + } + } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11489898711442947 - }, - "else": { - "operation": "boost", - "score": 0.10894259810447693 - } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1209210529923439 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11493141204118729 + "score": 0.10842875391244888 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32947.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.1037277951836586 + "score": 0.08734987676143646 }, "else": { "operation": "boost", - "score": 0.11546321958303452 + "score": 0.023448312655091286 } } - }, - "else": { - "operation": "boost", - "score": 0.10878776013851166 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.11259423941373825 - }, - "else": { - "operation": "boost", - "score": 0.10269846767187119 - } + "operation": "boost", + "score": 0.05050477012991905 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol" + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "boost", - "score": 0.11206576228141785 - }, - "else": { - "operation": "boost", - "score": 0.11624400317668915 - } + "operation": "boost", + "score": 0.15410876274108887 }, "else": { "operation": "boost", - "score": 0.09454834461212158 + "score": 0.04789343848824501 } }, "else": { - "operation": "boost", - "score": 0.08414481580257416 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.139354407787323 + }, + "else": { + "operation": "boost", + "score": 0.06412170082330704 + } } }, "else": { "operation": "boost", - "score": 0.08010321855545044 + "score": -0.05446433648467064 } } } } + }, + "else": { + "operation": "boost", + "score": -0.1185428723692894 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { + "operation": "boost", + "score": 0.12192479521036148 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12350218743085861 - }, - "else": { - "operation": "boost", - "score": 0.14177241921424866 - } + "operation": "boost", + "score": 0.1164829358458519 }, "else": { "operation": "boost", - "score": 0.12442126870155334 + "score": 0.09763405472040176 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31239.0, + "threshold": 108163.5, "then": { + "operation": "boost", + "score": -0.1176115870475769 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220112.0, + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11594400554895401 - }, - "else": { - "operation": "boost", - "score": 0.12015494704246521 - } + "operation": "boost", + "score": 0.11300400644540787 }, "else": { "operation": "boost", - "score": 0.10632868111133575 + "score": 0.09955451637506485 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08507206290960312 }, "else": { "operation": "boost", - "score": 0.11636073887348175 + "score": 0.03734089434146881 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.11526037752628326 + }, + "else": { + "operation": "boost", + "score": 0.12129069864749908 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.11669336259365082 }, "else": { "operation": "if_member", @@ -9911,334 +8614,698 @@ "Namespace" ], "then": { - "operation": "boost", - "score": 0.10914449393749237 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2876.0, + "then": { + "operation": "boost", + "score": 0.11918322741985321 + }, + "else": { + "operation": "boost", + "score": 0.1180632933974266 + } }, "else": { - "operation": "boost", - "score": 0.07555894553661346 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1101066917181015 + }, + "else": { + "operation": "boost", + "score": 0.08356772363185883 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.5, + "then": { + "operation": "boost", + "score": 0.12212371081113815 + }, + "else": { + "operation": "boost", + "score": 0.11085257679224014 + } + } } } } }, "else": { - "operation": "boost", - "score": -0.046384941786527634 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 33.5, - "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.11392194777727127 + }, + "else": { + "operation": "boost", + "score": 0.09821224957704544 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" + "FileScope" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Unknown", - "Function", - "Type", - "Namespace" + "CCC_ParenthesizedExpression", + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.11045931279659271 + "score": 0.12100794166326523 }, "else": { "operation": "boost", - "score": -0.3470112979412079 + "score": 0.10767804831266403 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09482519328594208 + "score": 0.09175629168748856 }, "else": { - "operation": "boost", - "score": 0.10979517549276352 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.11664564907550812 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.11699502915143967 + }, + "else": { + "operation": "boost", + "score": 0.102376788854599 + } + } } } }, "else": { - "operation": "boost", - "score": 0.009964678436517715 - } - }, - "else": { - "operation": "boost", - "score": 0.044826820492744446 - } - }, - "else": { - "operation": "boost", - "score": -0.07861299812793732 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_UnionTag" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.11374770849943161 + "score": 0.11318471282720566 }, "else": { "operation": "boost", - "score": 0.06855163723230362 + "score": -0.18433918058872223 } }, "else": { "operation": "boost", - "score": 0.11702041327953339 + "score": 0.05461925268173218 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09493549913167953 }, "else": { "operation": "boost", - "score": 0.10896171629428864 + "score": 0.11477108299732208 } }, "else": { - "operation": "boost", - "score": 0.10127498209476471 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.10699354857206345 + }, + "else": { + "operation": "boost", + "score": 0.09268879890441895 + } } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20775.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62580.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.13171100616455078 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": 0.11454898864030838 + } + }, + "else": { + "operation": "boost", + "score": 0.10246049612760544 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11670512706041336 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 259.5, + "threshold": 232885.0, "then": { "operation": "boost", - "score": 0.1096913293004036 + "score": 0.06042105332016945 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0999528244137764 - }, - "else": { - "operation": "boost", - "score": 0.067432701587677 - } + "operation": "boost", + "score": 0.11842267215251923 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05393628031015396 + "score": 0.03912288323044777 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 73487.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10030659288167953 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11937885731458664 - }, - "else": { - "operation": "boost", - "score": 0.11787135899066925 - } - }, - "else": { - "operation": "boost", - "score": 0.0987827256321907 - } - }, - "else": { - "operation": "boost", - "score": 0.08006995171308517 - } - } + "operation": "boost", + "score": 0.10602197796106339 }, "else": { "operation": "boost", - "score": 0.061667975038290024 + "score": 0.0891069695353508 } } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": 0.09381265193223953 + }, + "else": { + "operation": "boost", + "score": -0.0013135613407939672 + } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Destructor", - "Operator", - "Constructor", - "Namespace" + "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "CCC_PreprocessorExpression", + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.10801086574792862 + "score": 0.12096944451332092 }, "else": { "operation": "boost", - "score": 0.13303282856941223 + "score": 0.09484327584505081 } }, "else": { - "operation": "boost", - "score": 0.021868770942091942 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13361084461212158 + }, + "else": { + "operation": "boost", + "score": 0.0729563981294632 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 809.5, "then": { "operation": "boost", - "score": -0.10379552841186523 + "score": 0.11483436077833176 }, "else": { - "operation": "boost", - "score": -0.11414434760808945 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08736086636781693 + }, + "else": { + "operation": "boost", + "score": -0.053400669246912 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11804854869842529 + }, + "else": { + "operation": "boost", + "score": 0.08605583012104034 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.010585331358015537 + }, + "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1148306354880333 + }, + "else": { + "operation": "boost", + "score": 0.0658392459154129 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.10808639228343964 + }, + "else": { + "operation": "boost", + "score": -0.041714493185281754 + } + }, + "else": { + "operation": "boost", + "score": 0.029358793050050735 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11254339665174484 + }, + "else": { + "operation": "boost", + "score": 0.0940069928765297 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.1410679966211319 + "score": 0.09432626515626907 }, "else": { "operation": "boost", - "score": 0.13966608047485352 + "score": 0.12490229308605194 } }, "else": { "operation": "boost", - "score": 0.09451880306005478 + "score": -0.015131774358451366 } }, "else": { "operation": "boost", - "score": 0.03678275644779205 + "score": -0.006745863705873489 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0009990063263103366 + }, + "else": { + "operation": "boost", + "score": 0.08536478877067566 } }, "else": { "operation": "boost", - "score": -0.07651832699775696 + "score": -0.08499255031347275 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0918155387043953 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.5, + "then": { + "operation": "boost", + "score": 0.06300879269838333 + }, + "else": { + "operation": "boost", + "score": -0.04978378117084503 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2401.5, + "then": { + "operation": "boost", + "score": 0.08532412350177765 + }, + "else": { + "operation": "boost", + "score": -0.03576504439115524 + } + }, + "else": { + "operation": "boost", + "score": -0.11611585319042206 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06953218579292297 + }, + "else": { + "operation": "boost", + "score": -0.005396819673478603 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06824968755245209 + }, + "else": { + "operation": "boost", + "score": -0.05275452509522438 + } } } } @@ -10255,614 +9322,789 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11369560658931732 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11478926241397858 - }, - "else": { - "operation": "boost", - "score": 0.10827924311161041 - } - } + "operation": "boost", + "score": 0.11875754594802856 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11592748761177063 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1152067556977272 - }, - "else": { - "operation": "boost", - "score": 0.11485791206359863 - } - } + "operation": "boost", + "score": -0.09141149371862411 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11415990442037582 - }, - "else": { - "operation": "boost", - "score": 0.08945435285568237 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10928084701299667 - }, - "else": { - "operation": "boost", - "score": 0.11012834310531616 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11105799674987793 + "score": 0.11583173274993896 }, "else": { "operation": "boost", - "score": 0.11212385445833206 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10851335525512695 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11607234179973602 - }, - "else": { - "operation": "boost", - "score": 0.11191198229789734 - } - }, - "else": { - "operation": "boost", - "score": 0.06740029156208038 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10941698402166367 - }, - "else": { - "operation": "boost", - "score": -0.01040442194789648 - } + "score": 0.11689451336860657 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.013255096040666103 }, "else": { "operation": "boost", - "score": 0.11021395772695541 + "score": 0.11472802609205246 } - }, - "else": { - "operation": "boost", - "score": 0.09297329932451248 } } + }, + "else": { + "operation": "boost", + "score": 0.011305419728159904 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443558.5, + "threshold": 281926.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 424244.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11301282048225403 - }, - "else": { - "operation": "boost", - "score": 0.11328229308128357 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.11340656131505966 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, - "then": { - "operation": "boost", - "score": 0.11155606806278229 - }, - "else": { - "operation": "boost", - "score": 0.10614977031946182 - } - } - } + "operation": "boost", + "score": 0.11873926967382431 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.11422496289014816 + "score": 0.11662090569734573 }, "else": { "operation": "boost", - "score": 0.11261291056871414 + "score": 0.08890262991189957 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "boost", + "score": 0.11879107356071472 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, "then": { "operation": "boost", - "score": 0.10902093350887299 + "score": 0.032140545547008514 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.10599817335605621 + "score": 0.11775520443916321 }, "else": { "operation": "boost", - "score": 0.0841469094157219 + "score": 0.10024236142635345 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10571350157260895 - }, - "else": { - "operation": "boost", - "score": -0.0362948402762413 - } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 39.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11292967200279236 - }, - "else": { - "operation": "boost", - "score": 0.11346691101789474 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.11219702661037445 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05147448554635048 + "score": 0.08815775066614151 }, "else": { "operation": "boost", - "score": 0.14922408759593964 + "score": 0.10621825605630875 } - }, - "else": { - "operation": "boost", - "score": 0.1070241779088974 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11009225994348526 - }, - "else": { - "operation": "boost", - "score": 0.10306692868471146 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09269571304321289 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.1060892716050148 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10946986824274063 + }, + "else": { + "operation": "boost", + "score": 0.0769311785697937 + } + }, + "else": { + "operation": "boost", + "score": -0.01868138462305069 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.08528122305870056 + }, + "else": { + "operation": "boost", + "score": 0.04834944009780884 + } + } + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1108003556728363 + "score": 0.11436542123556137 }, "else": { "operation": "boost", - "score": 0.10660836100578308 + "score": 0.06798683851957321 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.1137610375881195 + "score": -0.1012706309556961 }, "else": { + "operation": "boost", + "score": 0.11499027162790298 + } + }, + "else": { + "operation": "boost", + "score": 0.017961274832487106 + } + }, + "else": { + "operation": "boost", + "score": -0.06647530943155289 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.10743233561515808 + }, + "else": { + "operation": "boost", + "score": 0.10171238332986832 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11038874834775925 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91203.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.059029098600149155 + "score": 0.04241855442523956 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.10984078794717789 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10641951858997345 + "score": 0.10853725671768188 }, "else": { - "operation": "boost", - "score": 0.11259830743074417 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.0896000862121582 + }, + "else": { + "operation": "boost", + "score": 0.05089675635099411 + } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11497634649276733 + }, + "else": { + "operation": "boost", + "score": 0.060432568192481995 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06211823597550392 }, "else": { "operation": "boost", - "score": 0.10767178982496262 + "score": 0.024755064398050308 } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11739140003919601 }, "else": { - "operation": "boost", - "score": 0.09760589897632599 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10316433757543564 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.08062005788087845 + }, + "else": { + "operation": "boost", + "score": 0.020855357870459557 + } + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09941023588180542 + "score": 0.04503646120429039 }, "else": { - "operation": "boost", - "score": 0.0010269013000652194 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.14247189462184906 + }, + "else": { + "operation": "boost", + "score": 0.010265559889376163 + } + }, + "else": { + "operation": "boost", + "score": -0.00970158725976944 + } + }, + "else": { + "operation": "boost", + "score": -0.05700121819972992 + } } } } }, "else": { "operation": "boost", - "score": 0.041217803955078125 + "score": -0.11501043289899826 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { + "operation": "boost", + "score": 0.11866112053394318 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09947020560503006 + "score": 0.11224037408828735 }, "else": { "operation": "boost", - "score": -0.0674571767449379 + "score": 0.09252406656742096 } }, "else": { - "operation": "boost", - "score": 0.08259961009025574 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108163.5, + "then": { + "operation": "boost", + "score": -0.11405528336763382 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10851357877254486 + }, + "else": { + "operation": "boost", + "score": 0.09368475526571274 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0009452869999222457 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08966568112373352 + }, + "else": { + "operation": "boost", + "score": 0.05284883454442024 + } + } + } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.1143830195069313 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.11277537047863007 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Symbol" + "Namespace" ], "then": { - "operation": "boost", - "score": 0.12071332335472107 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2876.0, + "then": { + "operation": "boost", + "score": 0.11522064357995987 + }, + "else": { + "operation": "boost", + "score": 0.11365600675344467 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1055036261677742 + }, + "else": { + "operation": "boost", + "score": 0.0770397037267685 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.5, + "then": { + "operation": "boost", + "score": 0.11826707422733307 + }, + "else": { + "operation": "boost", + "score": 0.1060887798666954 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10961083322763443 + }, + "else": { + "operation": "boost", + "score": 0.09205096960067749 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.10430170595645905 + "score": 0.11723780632019043 }, "else": { "operation": "boost", - "score": -0.0020382446236908436 + "score": 0.10203713923692703 } }, "else": { "operation": "boost", - "score": 0.10158360749483109 + "score": 0.10318810492753983 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5587.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.112519770860672 + "score": 0.10808912664651871 }, "else": { "operation": "boost", - "score": 0.10219305008649826 + "score": 0.04769017547369003 } - }, - "else": { - "operation": "boost", - "score": 0.04247909039258957 } } }, @@ -10873,26 +10115,28 @@ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Type" + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.09804926067590714 + "score": 0.08854340761899948 }, "else": { "operation": "boost", - "score": 0.09085749834775925 + "score": 0.11043140292167664 } }, "else": { "operation": "boost", - "score": -0.02350633591413498 + "score": 0.08810285478830338 } } } @@ -10902,609 +10146,530 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 619.5, + "threshold": 20775.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5759.0, + "threshold": 62580.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.14087316393852234 + "score": 0.023185523226857185 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 82127.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, - "then": { - "operation": "boost", - "score": 0.11659557372331619 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.18985846638679504 - }, - "else": { - "operation": "boost", - "score": 0.17955699563026428 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11963826417922974 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.16637516021728516 - }, - "else": { - "operation": "boost", - "score": 0.12818646430969238 - } - } + "operation": "boost", + "score": 0.13595525920391083 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29812.0, - "then": { - "operation": "boost", - "score": 0.10967881232500076 - }, - "else": { - "operation": "boost", - "score": 0.14036574959754944 - } + "operation": "boost", + "score": 0.11386752873659134 } } }, "else": { "operation": "boost", - "score": 0.12127749621868134 + "score": 0.11031404882669449 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "boost", + "score": 0.09561421722173691 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11251743137836456 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3121.5, + "threshold": 232885.0, "then": { "operation": "boost", - "score": 0.16877815127372742 + "score": 0.05158914625644684 }, "else": { - "operation": "boost", - "score": 0.16140031814575195 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "boost", + "score": 0.10770054161548615 + }, + "else": { + "operation": "boost", + "score": 0.12250697612762451 + } } }, "else": { - "operation": "boost", - "score": 0.15932682156562805 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03221891447901726 + }, + "else": { + "operation": "boost", + "score": 0.08925529569387436 + } } }, "else": { - "operation": "boost", - "score": 0.1302957832813263 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": 0.08635824918746948 + }, + "else": { + "operation": "boost", + "score": -7.469265983672813e-05 + } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Macro" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_PreprocessorExpression", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11729203164577484 - }, - "else": { - "operation": "boost", - "score": 0.08550520241260529 - } + "operation": "boost", + "score": 0.11743985116481781 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11378417164087296 - }, - "else": { - "operation": "boost", - "score": 0.10919098556041718 - } - }, - "else": { - "operation": "boost", - "score": 0.10644859820604324 - } + "operation": "boost", + "score": 0.0892573744058609 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10395988821983337 + "score": 0.12662257254123688 }, "else": { "operation": "boost", - "score": 0.07970006763935089 + "score": 0.07183738052845001 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20966.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.09103723615407944 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 782.0, "then": { + "operation": "boost", + "score": 0.10434840619564056 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "boost", - "score": 0.11118782311677933 + "score": 0.018843552097678185 }, "else": { "operation": "boost", - "score": 0.10661789029836655 + "score": -0.07261008769273758 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11643993854522705 }, "else": { "operation": "boost", - "score": 0.09879282861948013 + "score": 0.0836709588766098 } }, "else": { - "operation": "boost", - "score": 0.11869504302740097 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.017550913617014885 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11096393316984177 + }, + "else": { + "operation": "boost", + "score": 0.059674911201000214 + } + } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56853.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.126464381814003 + "score": 0.06651464104652405 }, "else": { "operation": "boost", - "score": 0.0995582640171051 + "score": -0.01096459198743105 } }, "else": { "operation": "boost", - "score": 0.10061712563037872 + "score": 0.00837669800966978 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30877.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11476241052150726 - }, - "else": { - "operation": "boost", - "score": 0.12342588603496552 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.07165191322565079 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 903.5, - "then": { - "operation": "boost", - "score": 0.10283596068620682 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 898.5, - "then": { - "operation": "boost", - "score": 0.16123764216899872 - }, - "else": { - "operation": "boost", - "score": 0.10408595949411392 - } - } - } - } + "operation": "boost", + "score": -0.10773701220750809 }, "else": { "operation": "boost", - "score": -0.038678381592035294 + "score": 0.08850919455289841 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.12409932166337967 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20296.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11192172765731812 - }, - "else": { - "operation": "boost", - "score": 0.10062727332115173 - } + "operation": "boost", + "score": -0.06567926704883575 }, "else": { "operation": "boost", - "score": 0.09309293329715729 + "score": 0.011183121241629124 } }, "else": { "operation": "boost", - "score": 0.050923947244882584 + "score": 0.049766071140766144 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.003465155838057399 }, "else": { "operation": "boost", - "score": -0.044328365474939346 + "score": 0.07567574083805084 } + }, + "else": { + "operation": "boost", + "score": -0.07826213538646698 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 328.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10637087374925613 + "score": 0.0674118921160698 }, "else": { "operation": "boost", - "score": 0.09425932168960571 + "score": -0.039909571409225464 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "boost", - "score": 0.08839324116706848 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1107359379529953 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.08222733438014984 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.03070029616355896 + }, + "else": { + "operation": "boost", + "score": -0.04431630298495293 + } + } + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10594355314970016 + "score": -0.03226667270064354 }, "else": { "operation": "boost", - "score": 0.11176303029060364 + "score": -0.11559450626373291 } } } }, - "else": { - "operation": "boost", - "score": 0.0448327474296093 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": -0.011112953536212444 - }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.10559426248073578 + "score": 0.06400088965892792 }, "else": { "operation": "boost", - "score": 0.011213590390980244 + "score": -0.004730020184069872 } }, "else": { - "operation": "boost", - "score": 0.059349365532398224 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09845957159996033 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1184224858880043 + }, + "else": { + "operation": "boost", + "score": 0.039144642651081085 + } }, "else": { "operation": "boost", - "score": 0.12166021764278412 + "score": -0.048218775540590286 } - }, - "else": { - "operation": "boost", - "score": 0.0015377497766166925 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09971440583467484 - }, - "else": { - "operation": "boost", - "score": -0.10846680402755737 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11420679837465286 - }, - "else": { - "operation": "boost", - "score": 0.11174715310335159 - } - }, - "else": { - "operation": "boost", - "score": 0.07200779765844345 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.12945537269115448 - }, - "else": { - "operation": "boost", - "score": 0.1301424503326416 - } - }, - "else": { - "operation": "boost", - "score": 0.09117697179317474 - } - }, - "else": { - "operation": "boost", - "score": 0.03532000631093979 - } - }, - "else": { - "operation": "boost", - "score": -0.06547743082046509 } } } @@ -11521,102 +10686,74 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11138442158699036 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11260776221752167 - }, - "else": { - "operation": "boost", - "score": 0.10733778774738312 - } - } + "operation": "boost", + "score": 0.11622261255979538 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08490672707557678 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11372324079275131 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11295861750841141 + "score": 0.11301549524068832 }, "else": { "operation": "boost", - "score": 0.11316007375717163 + "score": 0.11416026949882507 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11169914901256561 }, "else": { "operation": "boost", - "score": 0.08384349197149277 + "score": 0.11154477298259735 } } } }, "else": { + "operation": "boost", + "score": 0.009700912050902843 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 424244.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10707225650548935 - }, - "else": { - "operation": "boost", - "score": 0.1091422364115715 - } + "operation": "boost", + "score": 0.11610662937164307 }, "else": { "operation": "if_greater", @@ -11624,1141 +10761,1294 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10513731092214584 + "score": 0.061868198215961456 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.1091151311993599 - }, - "else": { - "operation": "boost", - "score": 0.06257414817810059 - } - }, - "else": { - "operation": "boost", - "score": 0.10619659721851349 - } + "operation": "boost", + "score": 0.11309314519166946 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06444110721349716 - }, - "else": { - "operation": "boost", - "score": 0.10714796930551529 - } + "operation": "boost", + "score": 0.1160721406340599 }, "else": { - "operation": "boost", - "score": 0.08910759538412094 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 820317.5, + "threshold": 298482.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.11061243712902069 - }, - "else": { - "operation": "boost", - "score": 0.11085425317287445 - } + "operation": "boost", + "score": 0.0283666905015707 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Symbol" + "CCC_Symbol", + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.11122792959213257 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, - "then": { - "operation": "boost", - "score": 0.10918153822422028 - }, - "else": { - "operation": "boost", - "score": 0.10279238224029541 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11246601492166519 - }, - "else": { - "operation": "boost", - "score": 0.11033472418785095 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10581668466329575 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10220222175121307 + "score": 0.11413650959730148 }, "else": { "operation": "boost", - "score": 0.07701864093542099 + "score": 0.09358306229114532 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10273673385381699 - }, - "else": { - "operation": "boost", - "score": -0.09902960062026978 - } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 39.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11049427837133408 - }, - "else": { - "operation": "boost", - "score": 0.1109919622540474 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0563400536775589 - }, - "else": { - "operation": "boost", - "score": 0.14279907941818237 - } + "operation": "boost", + "score": 0.10891495645046234 }, "else": { "operation": "boost", - "score": 0.10404530167579651 + "score": 0.09997715801000595 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10751419514417648 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10175447165966034 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1062440276145935 + }, + "else": { + "operation": "boost", + "score": 0.07079628854990005 + } + }, + "else": { + "operation": "boost", + "score": -0.01504459697753191 + } + } }, "else": { - "operation": "boost", - "score": 0.10024666041135788 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07972396165132523 + }, + "else": { + "operation": "boost", + "score": 0.04335322231054306 + } } } }, "else": { - "operation": "boost", - "score": 0.08642741292715073 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 197.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { "operation": "boost", - "score": 0.1081802099943161 + "score": 0.11158299446105957 }, "else": { "operation": "boost", - "score": 0.10308925807476044 + "score": 0.06159818172454834 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.11159674823284149 + "score": -0.0964498519897461 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91203.0, - "then": { - "operation": "boost", - "score": 0.05997699499130249 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1030270904302597 - }, - "else": { - "operation": "boost", - "score": 0.1103455126285553 - } - }, - "else": { - "operation": "boost", - "score": 0.1049264594912529 - } - } + "operation": "boost", + "score": 0.11217091977596283 } }, "else": { "operation": "boost", - "score": 0.0933849886059761 + "score": 0.017924780026078224 } }, "else": { "operation": "boost", - "score": 0.0926477238535881 + "score": -0.06265988200902939 } } - }, - "else": { - "operation": "boost", - "score": 0.02540426142513752 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Namespace" + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_Expression", + "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", - "score": 0.101384237408638 - }, - "else": { - "operation": "boost", - "score": -0.0009319137898273766 - } - }, - "else": { - "operation": "boost", - "score": 0.09986427426338196 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 218.0, - "then": { - "operation": "boost", - "score": 0.10869486629962921 + "score": 0.10322580486536026 }, "else": { "operation": "boost", - "score": 0.07728233188390732 + "score": 0.09722563624382019 } }, "else": { - "operation": "boost", - "score": 0.01755915954709053 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1270279437303543 - }, - "else": { - "operation": "boost", - "score": 0.08725670725107193 - } - }, - "else": { - "operation": "boost", - "score": -0.010888531804084778 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 619.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3091.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19842.0, + "operation": "boost", + "score": -0.11123615503311157 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.1123083159327507 + "score": 0.10489145666360855 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.1669691652059555 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6632.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.16207823157310486 + "score": 0.10836010426282883 }, "else": { "operation": "boost", - "score": 0.16278627514839172 + "score": 0.08440050482749939 } + }, + "else": { + "operation": "boost", + "score": 0.06347216665744781 } } - }, - "else": { - "operation": "boost", - "score": 0.11949263513088226 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13967114686965942 + "score": -0.10598009079694748 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7369.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.15686967968940735 + "score": 0.07921449095010757 }, "else": { - "operation": "boost", - "score": 0.15666936337947845 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0905829519033432 + }, + "else": { + "operation": "boost", + "score": -0.02728566899895668 + } } }, "else": { - "operation": "boost", - "score": 0.12737759947776794 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.054676514118909836 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11229630559682846 + }, + "else": { + "operation": "boost", + "score": 0.030954236164689064 + } + }, + "else": { + "operation": "boost", + "score": 0.017367146909236908 + } + } } } } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13873377442359924 - }, - "else": { - "operation": "boost", - "score": 0.12413899600505829 - } } }, "else": { - "operation": "boost", - "score": 0.12007838487625122 - } - }, - "else": { - "operation": "boost", - "score": 0.12695525586605072 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11682812124490738 + "score": -0.1143074780702591 }, "else": { - "operation": "boost", - "score": 0.08102115988731384 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11149490624666214 + "score": 0.09866443276405334 }, "else": { - "operation": "boost", - "score": 0.10636093467473984 - } - }, - "else": { - "operation": "boost", - "score": 0.10275077819824219 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.09974052011966705 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.10641668736934662 - }, - "else": { - "operation": "boost", - "score": 0.021774036809802055 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4667.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32342.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.10626910626888275 + "score": 0.07467237114906311 }, "else": { "operation": "boost", - "score": 0.1523316204547882 + "score": 0.018281370401382446 } - }, - "else": { - "operation": "boost", - "score": 0.15038248896598816 } - }, - "else": { - "operation": "boost", - "score": 0.12696416676044464 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11107300966978073 + "score": 0.07240574806928635 }, "else": { "operation": "boost", - "score": 0.08117634057998657 + "score": -0.09906323999166489 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14868102967739105 - }, - "else": { - "operation": "boost", - "score": 0.0857071653008461 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.10981237143278122 - }, - "else": { - "operation": "boost", - "score": 0.10143651813268661 - } - }, - "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.11074887961149216 + "score": 0.13417595624923706 }, "else": { "operation": "boost", - "score": 0.09546219557523727 + "score": 0.059732913970947266 } }, "else": { - "operation": "boost", - "score": 0.09656242281198502 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06578553467988968 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56853.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.1256445050239563 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.002790498547255993 + }, + "else": { + "operation": "boost", + "score": 0.12675103545188904 + } + }, + "else": { + "operation": "boost", + "score": -0.015689874067902565 + } }, "else": { - "operation": "boost", - "score": 0.09372197091579437 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05581405386328697 + }, + "else": { + "operation": "boost", + "score": -0.014679930172860622 + } } - }, - "else": { - "operation": "boost", - "score": 0.09339139610528946 } }, "else": { "operation": "boost", - "score": 0.029815077781677246 + "score": -0.06267209351062775 } - }, - "else": { - "operation": "boost", - "score": -0.03532494232058525 } } } + }, + "else": { + "operation": "boost", + "score": -0.1120966300368309 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { + "operation": "boost", + "score": 0.1162441223859787 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10257167369127274 - }, - "else": { - "operation": "boost", - "score": 0.08797973394393921 - } + "operation": "boost", + "score": 0.1084330826997757 }, "else": { + "operation": "boost", + "score": 0.0868542268872261 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 108163.5, "then": { "operation": "boost", - "score": 0.08427122980356216 + "score": -0.11154373735189438 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.10323546081781387 + "score": 0.1046171560883522 }, "else": { "operation": "boost", - "score": 0.10968109965324402 + "score": 0.0880219116806984 } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07405000925064087 + }, + "else": { + "operation": "boost", + "score": 0.02793951705098152 + } } - }, - "else": { - "operation": "boost", - "score": 0.047244250774383545 } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "boost", + "score": 0.11112851649522781 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51828.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11681395024061203 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.15345625579357147 + "score": 0.11250010877847672 }, "else": { "operation": "boost", - "score": 0.14581839740276337 + "score": 0.06752335280179977 } + }, + "else": { + "operation": "boost", + "score": 0.11282245069742203 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.10881774127483368 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Namespace" ], "then": { "operation": "boost", - "score": 0.16783428192138672 + "score": 0.10575203597545624 }, "else": { - "operation": "boost", - "score": 0.09645510464906693 - } - }, - "else": { - "operation": "boost", - "score": 0.056136537343263626 - } - }, - "else": { - "operation": "boost", - "score": 0.0062573933973908424 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": 0.10512237995862961 + }, + "else": { + "operation": "boost", + "score": 0.05293648689985275 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10547604411840439 + }, + "else": { + "operation": "boost", + "score": 0.09338921308517456 + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.034604188054800034 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Destructor", - "Namespace" + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "FileScope" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.09239251166582108 + "score": 0.09562668949365616 }, "else": { "operation": "boost", - "score": 0.11535986512899399 + "score": 0.11371488869190216 } }, + "else": { + "operation": "boost", + "score": 0.10349558293819427 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10517904907464981 + }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1039481982588768 + }, + "else": { + "operation": "boost", + "score": 0.045262016355991364 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.10252160578966141 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.1031741127371788 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.10292874276638031 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.11304349452257156 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.11825152486562729 + }, + "else": { + "operation": "boost", + "score": 0.08607320487499237 + } }, "else": { "operation": "boost", - "score": 0.08833754807710648 + "score": 0.04086792469024658 } - }, - "else": { - "operation": "boost", - "score": 0.07727540284395218 } - }, - "else": { - "operation": "boost", - "score": -0.0063174511305987835 } + }, + "else": { + "operation": "boost", + "score": 0.08039990812540054 } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18585.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62580.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.016738926991820335 }, "else": { - "operation": "boost", - "score": -0.09916984289884567 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82127.0, + "then": { + "operation": "boost", + "score": 0.133000910282135 + }, + "else": { + "operation": "boost", + "score": 0.11109252274036407 + } } }, "else": { "operation": "boost", - "score": -0.1022336557507515 + "score": 0.10661464929580688 + } + }, + "else": { + "operation": "boost", + "score": 0.08798039704561234 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1090693548321724 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10912179201841354 + }, + "else": { + "operation": "boost", + "score": 0.06925846636295319 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": 0.0793924406170845 + }, + "else": { + "operation": "boost", + "score": -0.0011934232898056507 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_PreprocessorExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.11368228495121002 + }, + "else": { + "operation": "boost", + "score": 0.08380730450153351 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11972648650407791 + }, + "else": { + "operation": "boost", + "score": 0.07141368836164474 + } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "boost", + "score": 0.0830330178141594 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 800.5, "then": { "operation": "boost", - "score": 0.10261552780866623 + "score": 0.10765106230974197 }, "else": { - "operation": "boost", - "score": 0.11218585819005966 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07407286018133163 + }, + "else": { + "operation": "boost", + "score": -0.0026584379374980927 + } } }, "else": { "operation": "boost", - "score": 0.10847064852714539 + "score": -0.06372235715389252 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11385874450206757 + }, + "else": { + "operation": "boost", + "score": 0.08262083679437637 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.01860024221241474 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10707052052021027 + }, + "else": { + "operation": "boost", + "score": 0.05722584202885628 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.09861452132463455 + }, + "else": { + "operation": "boost", + "score": -0.04150616005063057 + } + }, + "else": { + "operation": "boost", + "score": 0.02310517244040966 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10392892360687256 + }, + "else": { + "operation": "boost", + "score": 0.0834164023399353 + } } }, "else": { "operation": "boost", - "score": 0.06838180124759674 + "score": 0.00021914299577474594 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 704.5, + "then": { + "operation": "boost", + "score": 0.07630355656147003 + }, + "else": { + "operation": "boost", + "score": -0.051254455000162125 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 328.5, "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0627601370215416 + }, + "else": { + "operation": "boost", + "score": -0.03490583598613739 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "boost", - "score": 0.12466690689325333 + "score": -0.07290451973676682 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.123404361307621 - }, - "else": { - "operation": "boost", - "score": 0.12836135923862457 - } - }, - "else": { - "operation": "boost", - "score": 0.07626525312662125 - } + "operation": "boost", + "score": -0.029584020376205444 }, "else": { "operation": "boost", - "score": 0.014664157293736935 + "score": -0.1125863716006279 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1155393049120903 + }, + "else": { + "operation": "boost", + "score": 0.03608322516083717 + } }, "else": { "operation": "boost", - "score": -0.06853244453668594 + "score": -0.02406221628189087 } } } @@ -12775,102 +12065,74 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1095844954252243 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11085938662290573 - }, - "else": { - "operation": "boost", - "score": 0.10426368564367294 - } - } + "operation": "boost", + "score": 0.11430513858795166 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07946090400218964 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11201436817646027 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11116715520620346 + "score": 0.11065909266471863 }, "else": { "operation": "boost", - "score": 0.11006668955087662 + "score": 0.11190256476402283 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10966736078262329 }, "else": { "operation": "boost", - "score": 0.08609756082296371 + "score": 0.10888456553220749 } } } }, "else": { + "operation": "boost", + "score": 0.009753049351274967 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 424244.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1047702357172966 - }, - "else": { - "operation": "boost", - "score": 0.1069466844201088 - } + "operation": "boost", + "score": 0.11392705142498016 }, "else": { "operation": "if_greater", @@ -12878,1164 +12140,1273 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10218971967697144 + "score": 0.05768797919154167 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.1066644936800003 - }, - "else": { - "operation": "boost", - "score": 0.05460306629538536 - } - }, - "else": { - "operation": "boost", - "score": 0.10309281945228577 - } + "operation": "boost", + "score": 0.11019829660654068 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05232534185051918 - }, - "else": { - "operation": "boost", - "score": 0.10459012538194656 - } + "operation": "boost", + "score": 0.11386457085609436 }, "else": { - "operation": "boost", - "score": 0.08369584381580353 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 820317.5, + "threshold": 298482.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10917434096336365 - }, - "else": { - "operation": "boost", - "score": 0.10839203745126724 - } + "operation": "boost", + "score": 0.026080220937728882 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Symbol" + "CCC_Symbol", + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.10950817912817001 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10726556181907654 - }, - "else": { - "operation": "boost", - "score": 0.09979444742202759 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11120191216468811 - }, - "else": { - "operation": "boost", - "score": 0.10850802809000015 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10276862233877182 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09864891320466995 + "score": 0.11130587011575699 }, "else": { "operation": "boost", - "score": 0.0712357833981514 + "score": 0.08844324946403503 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0981026217341423 - }, - "else": { - "operation": "boost", - "score": -0.08066617697477341 - } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 39.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10859359800815582 - }, - "else": { - "operation": "boost", - "score": 0.10840704292058945 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10396529734134674 - }, - "else": { - "operation": "boost", - "score": 0.1400451809167862 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10058761388063431 + "score": 0.1060781478881836 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.1043204665184021 + "score": -0.08924910426139832 }, "else": { - "operation": "boost", - "score": 0.09428401291370392 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07675500959157944 + }, + "else": { + "operation": "boost", + "score": 0.09952612221240997 + } } } - } - }, - "else": { - "operation": "boost", - "score": 0.08248349279165268 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 197.5, - "then": { - "operation": "boost", - "score": 0.10577958077192307 - }, - "else": { - "operation": "boost", - "score": 0.09969764202833176 - } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Expression" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.10910018533468246 + "score": 0.10958206653594971 }, "else": { "operation": "boost", - "score": 0.07902844995260239 + "score": 0.09466202557086945 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": 0.11675655096769333 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.10859653353691101 + "score": 0.0685330182313919 }, "else": { "operation": "boost", - "score": 0.09824615716934204 + "score": 0.036798905581235886 } - }, - "else": { - "operation": "boost", - "score": 0.09475945681333542 } } }, "else": { - "operation": "boost", - "score": -0.01022934541106224 - } - } - }, - "else": { - "operation": "boost", - "score": 0.026908719912171364 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09796370565891266 - }, - "else": { - "operation": "boost", - "score": -0.0036435374058783054 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08183826506137848 + "score": 0.1050766259431839 }, "else": { - "operation": "boost", - "score": 0.12371379882097244 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08203447610139847 + }, + "else": { + "operation": "boost", + "score": 0.014852204360067844 + } + }, + "else": { + "operation": "boost", + "score": -0.1357751488685608 + } + }, + "else": { + "operation": "boost", + "score": 0.06925924122333527 + } } }, "else": { "operation": "boost", - "score": 0.08550386875867844 + "score": 0.00621330551803112 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5587.5, - "then": { - "operation": "boost", - "score": 0.10248743742704391 - }, - "else": { - "operation": "boost", - "score": 0.035072196274995804 - } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": -0.12483438849449158 + "score": 0.10641128569841385 }, "else": { "operation": "boost", - "score": 0.08311271667480469 + "score": 0.01428006961941719 } }, "else": { "operation": "boost", - "score": -0.011554036289453506 + "score": -0.11162908375263214 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 600.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3091.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.10231655836105347 + }, + "else": { + "operation": "boost", + "score": 0.091588094830513 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09552031010389328 + }, + "else": { + "operation": "boost", + "score": 0.04014963656663895 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19842.0, + "operation": "boost", + "score": -0.10823880881071091 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.10995613038539886 + "score": 0.10206498205661774 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.1514456570148468 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6632.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression", - "CCC_Type" + "operation": "boost", + "score": 0.10540197044610977 + }, + "else": { + "operation": "boost", + "score": 0.07907576113939285 + } + }, + "else": { + "operation": "boost", + "score": 0.0626433864235878 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006869764998555183 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09901988506317139 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.14701487123966217 + "score": 0.1294819861650467 + }, + "else": { + "operation": "boost", + "score": 0.0807945653796196 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08950041234493256 + }, + "else": { + "operation": "boost", + "score": 0.04058697447180748 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06578367203474045 }, "else": { "operation": "boost", - "score": 0.14850039780139923 + "score": 0.03452669829130173 } }, "else": { "operation": "boost", - "score": 0.14767928421497345 + "score": -0.050740569829940796 } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11208412051200867 }, "else": { - "operation": "boost", - "score": 0.11515205353498459 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0038880787324160337 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.08831929415464401 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09719330072402954 + }, + "else": { + "operation": "boost", + "score": 0.05288698151707649 + } + } + } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.13335147500038147 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06890672445297241 + }, + "else": { + "operation": "boost", + "score": -0.11367207765579224 + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7369.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.1450662761926651 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1272536963224411 + }, + "else": { + "operation": "boost", + "score": 0.061460502445697784 + } }, "else": { - "operation": "boost", - "score": 0.14571928977966309 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04334687441587448 + }, + "else": { + "operation": "boost", + "score": 0.02266213856637478 + } } }, "else": { "operation": "boost", - "score": 0.12207780033349991 + "score": -0.0617765448987484 } } } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13269375264644623 - }, - "else": { - "operation": "boost", - "score": 0.11808019131422043 - } } }, "else": { "operation": "boost", - "score": 0.11384086310863495 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1141357272863388 - }, - "else": { - "operation": "boost", - "score": 0.13385005295276642 + "score": -0.10968128591775894 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 72744.5, + "threshold": 191566.0, "then": { + "operation": "boost", + "score": 0.11450736224651337 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10749109834432602 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.1155477836728096 - }, - "else": { - "operation": "boost", - "score": 0.07534542679786682 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, "then": { "operation": "boost", - "score": 0.10959935188293457 + "score": -0.10945164412260056 }, "else": { "operation": "boost", - "score": 0.10345815867185593 + "score": 0.08984068781137466 } }, "else": { "operation": "boost", - "score": 0.0988479033112526 + "score": 0.044679801911115646 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08299500495195389 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.0959782674908638 + "score": 0.08374501764774323 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.09735067188739777 - }, - "else": { - "operation": "boost", - "score": 0.026601118966937065 - } + "operation": "boost", + "score": 0.02797657996416092 } } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10043582320213318 + }, + "else": { + "operation": "boost", + "score": 0.11123453080654144 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51828.5, "then": { + "operation": "boost", + "score": 0.10783354192972183 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.1060125008225441 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4667.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32342.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.10401536524295807 + "score": 0.10230270773172379 }, "else": { "operation": "boost", - "score": 0.14311550557613373 + "score": 0.0614229179918766 } }, "else": { - "operation": "boost", - "score": 0.13512660562992096 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10156642645597458 + }, + "else": { + "operation": "boost", + "score": 0.08890587091445923 + } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1090412512421608 }, "else": { "operation": "boost", - "score": 0.1197822242975235 + "score": 0.0803273543715477 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10940157622098923 - }, - "else": { - "operation": "boost", - "score": 0.07230648398399353 - } + "operation": "boost", + "score": 0.08290252834558487 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.1396564394235611 + "score": 0.10439250618219376 }, "else": { "operation": "boost", - "score": 0.07689394801855087 + "score": 0.09664366394281387 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.1008056253194809 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, - "then": { - "operation": "boost", - "score": 0.1086459532380104 - }, - "else": { - "operation": "boost", - "score": 0.0903552919626236 - } + "operation": "boost", + "score": 0.10183198750019073 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.10799024999141693 + "score": 0.06668078154325485 }, "else": { - "operation": "boost", - "score": 0.09390223026275635 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" + "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", - "score": 0.10926280915737152 + "score": 0.13770084083080292 }, "else": { "operation": "boost", - "score": 0.06957665830850601 + "score": 0.08672243356704712 } - }, - "else": { - "operation": "boost", - "score": 0.0861545130610466 } + }, + "else": { + "operation": "boost", + "score": 0.001502872328273952 } } - }, - "else": { - "operation": "boost", - "score": 0.056223221123218536 } }, + "else": { + "operation": "boost", + "score": 0.07429377734661102 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18585.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62580.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.013410818763077259 + }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 82127.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07417521625757217 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "boost", - "score": 0.1006692424416542 - }, - "else": { - "operation": "boost", - "score": 0.1252216100692749 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08971010893583298 - } - }, - "else": { - "operation": "boost", - "score": 0.03034846857190132 - } + "operation": "boost", + "score": 0.1306021362543106 }, "else": { "operation": "boost", - "score": -0.03083433397114277 + "score": 0.10872294008731842 } } + }, + "else": { + "operation": "boost", + "score": 0.10328451544046402 + } + }, + "else": { + "operation": "boost", + "score": 0.08347876369953156 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10622762888669968 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.1054917424917221 + }, + "else": { + "operation": "boost", + "score": 0.0659128874540329 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": 0.07372178137302399 + }, + "else": { + "operation": "boost", + "score": -0.0006972107803449035 + } } } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 32.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_PreprocessorExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.107003353536129 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11313112080097198 + }, + "else": { + "operation": "boost", + "score": 0.06824296712875366 + } + } + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 160.5, "then": { + "operation": "boost", + "score": 0.08917273581027985 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.07365833222866058 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "boost", - "score": 0.09999354183673859 + "score": 0.018718749284744263 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08229856938123703 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.10112606734037399 - }, - "else": { - "operation": "boost", - "score": 0.10525105148553848 - } - } + "operation": "boost", + "score": -0.06096794828772545 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10968664288520813 }, "else": { "operation": "boost", - "score": 0.042658984661102295 + "score": 0.07967337220907211 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0949343666434288 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0118778757750988 + }, + "else": { + "operation": "boost", + "score": 0.051889970898628235 + } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.04769543185830116 }, "else": { "operation": "boost", - "score": -0.08108234405517578 + "score": 0.014834370464086533 } }, "else": { - "operation": "boost", - "score": -0.060805972665548325 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 28.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.039892133325338364 + }, + "else": { + "operation": "boost", + "score": 0.102329783141613 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", "CCC_Namespace", - "CCC_UnionTag" + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10216384381055832 - }, - "else": { - "operation": "boost", - "score": 0.11002326756715775 - } + "operation": "boost", + "score": 0.004898638930171728 }, "else": { "operation": "boost", - "score": 0.10211652517318726 + "score": -0.05365622043609619 } - }, - "else": { - "operation": "boost", - "score": 0.08989109098911285 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 328.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05762016773223877 + }, + "else": { + "operation": "boost", + "score": -0.0320189967751503 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08956414461135864 + "score": -0.02609551139175892 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "boost", - "score": 0.08172885328531265 + "score": -0.07365848869085312 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.04464532434940338 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10988599807024002 - }, - "else": { - "operation": "boost", - "score": 0.09322725981473923 - } - }, - "else": { - "operation": "boost", - "score": 0.06864874809980392 - } - } + "operation": "boost", + "score": -0.1101599857211113 } } - }, - "else": { - "operation": "boost", - "score": 0.029324455186724663 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09751439094543457 }, "else": { - "operation": "boost", - "score": -0.10570283234119415 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.11693963408470154 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.11454739421606064 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11711292713880539 - }, - "else": { - "operation": "boost", - "score": 0.12227106839418411 - } + "operation": "boost", + "score": -0.029615288600325584 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.03459428250789642 + "score": 0.060269929468631744 }, "else": { "operation": "boost", - "score": 0.08269309997558594 + "score": -0.004655881319195032 } } - }, - "else": { - "operation": "boost", - "score": 0.012452631257474422 } + }, + "else": { + "operation": "boost", + "score": -0.030893277376890182 } - }, - "else": { - "operation": "boost", - "score": -0.06894181668758392 } } } @@ -14051,1255 +13422,1353 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10818728059530258 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10962507128715515 - }, - "else": { - "operation": "boost", - "score": 0.10440175980329514 - } - } + "operation": "boost", + "score": 0.11272518336772919 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0717880055308342 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1106608584523201 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10977908223867416 + "score": 0.10868818312883377 }, "else": { "operation": "boost", - "score": 0.1094546690583229 + "score": 0.10999232530593872 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1083064079284668 }, "else": { "operation": "boost", - "score": 0.07947266846895218 + "score": 0.10645624995231628 } } } }, "else": { + "operation": "boost", + "score": 0.008864154107868671 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 424244.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.11212217062711716 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.10278452932834625 + "score": 0.10863076150417328 }, "else": { "operation": "boost", - "score": 0.10506173968315125 + "score": 0.07126577198505402 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11200720816850662 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.09937219321727753 + "score": 0.10445360839366913 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.1045994982123375 - }, - "else": { - "operation": "boost", - "score": 0.05074216052889824 - } + "operation": "boost", + "score": -0.0344865620136261 }, "else": { "operation": "boost", - "score": 0.10044308751821518 + "score": 0.08353859186172485 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07848593592643738 - }, - "else": { - "operation": "boost", - "score": 0.10226548463106155 - } - }, - "else": { - "operation": "boost", - "score": 0.07922739535570145 - } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 39.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.10777629911899567 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Symbol" + "CCC_Type" ], - "then": { - "operation": "boost", - "score": 0.107998788356781 - }, - "else": { - "operation": "boost", - "score": 0.10125678777694702 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11019746959209442 - }, - "else": { - "operation": "boost", - "score": 0.10699084401130676 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10013145208358765 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0956873968243599 - }, - "else": { - "operation": "boost", - "score": 0.06614193320274353 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09491673111915588 - }, - "else": { - "operation": "boost", - "score": -0.06793522089719772 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10685867071151733 - }, - "else": { - "operation": "boost", - "score": 0.10657093673944473 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.06470903754234314 + "score": 0.10340819507837296 }, "else": { - "operation": "boost", - "score": 0.13522189855575562 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.08478569984436035 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11143869906663895 + }, + "else": { + "operation": "boost", + "score": 0.09221696108579636 + } + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0979619026184082 - }, - "else": { - "operation": "boost", - "score": 0.09987743198871613 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07715988159179688 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 197.5, - "then": { - "operation": "boost", - "score": 0.10366126149892807 - }, - "else": { - "operation": "boost", - "score": 0.09675264358520508 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.10682743787765503 + }, + "else": { + "operation": "boost", + "score": 0.09039555490016937 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91203.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10883732885122299 + "score": 0.09975612908601761 }, "else": { "operation": "boost", - "score": 0.03907909244298935 + "score": 0.06044412776827812 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09692596644163132 - }, - "else": { - "operation": "boost", - "score": 0.10714035481214523 - } - }, - "else": { - "operation": "boost", - "score": 0.0991453304886818 - } + "operation": "boost", + "score": 0.028087567538022995 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07178671658039093 }, "else": { "operation": "boost", - "score": 0.08477269858121872 + "score": 0.0321175679564476 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.10341809689998627 }, "else": { "operation": "boost", - "score": 0.08392925560474396 + "score": 0.014873840846121311 } + }, + "else": { + "operation": "boost", + "score": -0.10566776245832443 } - }, - "else": { - "operation": "boost", - "score": 0.013027012348175049 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Operator", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09007140249013901 + "score": 0.10385134071111679 }, "else": { "operation": "boost", - "score": -0.11593618243932724 + "score": 0.07931246608495712 } }, "else": { - "operation": "boost", - "score": 0.07162822037935257 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.09154534339904785 + }, + "else": { + "operation": "boost", + "score": 0.010023502632975578 + } + }, + "else": { + "operation": "boost", + "score": 0.029872991144657135 + } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", "Function", + "Keyword", + "Macro", + "Namespace", "Type", - "Namespace" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.01943764090538025 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10489436239004135 + "score": -0.10550480335950851 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_Statement", "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "boost", - "score": 0.09493445605039597 + "score": 0.09778542816638947 }, "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08050299435853958 + }, + "else": { + "operation": "boost", + "score": 0.05794383957982063 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006409863941371441 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "boost", - "score": 0.08018583804368973 + "score": -0.09546016901731491 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1422143131494522 + }, + "else": { + "operation": "boost", + "score": 0.0945146456360817 + } + }, + "else": { + "operation": "boost", + "score": 0.0641285628080368 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0613538883626461 + }, + "else": { + "operation": "boost", + "score": 0.03098118305206299 + } + }, + "else": { + "operation": "boost", + "score": -0.05487443134188652 + } + } } } } }, - "else": { - "operation": "boost", - "score": 0.023062217980623245 - } - }, - "else": { - "operation": "boost", - "score": -0.11314450949430466 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 586.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3091.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1277266889810562 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11023149639368057 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19842.0, + "operation": "boost", + "score": 0.002292738063260913 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.10788334906101227 + "score": 0.08357780426740646 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14013652503490448 + "score": 0.09363672137260437 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6632.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.14310699701309204 - }, - "else": { - "operation": "boost", - "score": 0.1369863897562027 - } - }, - "else": { - "operation": "boost", - "score": 0.13571150600910187 - } + "operation": "boost", + "score": 0.04757379740476608 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0269073024392128 }, "else": { "operation": "boost", - "score": 0.11177453398704529 + "score": -0.1277645379304886 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7369.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.13618358969688416 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.12209545075893402 + }, + "else": { + "operation": "boost", + "score": 0.06033444404602051 + } }, "else": { - "operation": "boost", - "score": 0.13391102850437164 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0397360622882843 + }, + "else": { + "operation": "boost", + "score": 0.021838398650288582 + } } }, "else": { "operation": "boost", - "score": 0.11763742566108704 + "score": -0.057586438953876495 } } - }, - "else": { - "operation": "boost", - "score": 0.11411508917808533 } } }, "else": { "operation": "boost", - "score": 0.10797587782144547 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1307184398174286 - }, - "else": { - "operation": "boost", - "score": 0.10553183406591415 - } - }, - "else": { - "operation": "boost", - "score": 0.09535157680511475 + "score": -0.10772937536239624 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 72744.5, + "threshold": 191566.0, "then": { + "operation": "boost", + "score": 0.11302406340837479 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350855.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11024269461631775 + "score": 0.10516422986984253 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, "then": { "operation": "boost", - "score": 0.11404350399971008 + "score": -0.10813603550195694 }, "else": { "operation": "boost", - "score": 0.06525825709104538 + "score": 0.08673278242349625 } }, "else": { "operation": "boost", - "score": 0.10051321238279343 + "score": 0.043038249015808105 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07977598905563354 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.09238975495100021 + "score": 0.07872946560382843 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.091550812125206 - }, - "else": { - "operation": "boost", - "score": 0.021960949525237083 - } + "operation": "boost", + "score": 0.025403501465916634 } } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4980.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32342.0, - "then": { - "operation": "boost", - "score": 0.1018492579460144 - }, - "else": { - "operation": "boost", - "score": 0.1340516209602356 - } - }, - "else": { - "operation": "boost", - "score": 0.10788179188966751 - } - }, - "else": { - "operation": "boost", - "score": 0.11783990263938904 - } + "operation": "boost", + "score": 0.09716806560754776 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10748856514692307 - }, - "else": { - "operation": "boost", - "score": 0.06883018463850021 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13108839094638824 - }, - "else": { - "operation": "boost", - "score": 0.07307653874158859 - } - } + "operation": "boost", + "score": 0.10893315076828003 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 51828.5, "then": { + "operation": "boost", + "score": 0.1052030399441719 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.10364969819784164 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.10729516297578812 + "score": 0.09929127246141434 }, "else": { - "operation": "boost", - "score": 0.08639171719551086 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10645601153373718 + "score": 0.03150058165192604 }, "else": { "operation": "boost", - "score": 0.09029529243707657 + "score": 0.0949033722281456 } - }, - "else": { - "operation": "boost", - "score": 0.08969519287347794 } + }, + "else": { + "operation": "boost", + "score": 0.0955369621515274 } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1063150018453598 }, "else": { "operation": "boost", - "score": 0.05283517390489578 + "score": 0.07423285394906998 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "boost", + "score": 0.09277079254388809 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.04484656825661659 + "score": 0.09750732034444809 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92287.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.09891026467084885 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.08490176498889923 + "score": 0.060881201177835464 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.128379687666893 + "score": 0.1288270801305771 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232885.0, - "then": { - "operation": "boost", - "score": 0.10966116189956665 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09639009833335876 - }, - "else": { - "operation": "boost", - "score": 0.12409322708845139 - } - } + "operation": "boost", + "score": 0.08530456572771072 } } }, "else": { "operation": "boost", - "score": 0.0878198891878128 + "score": -0.001991261262446642 } - }, - "else": { - "operation": "boost", - "score": 0.04577914625406265 } } + }, + "else": { + "operation": "boost", + "score": 0.06929711252450943 } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15904.0, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "Macro", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 62580.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 82127.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.09518016874790192 + "score": -0.027602175250649452 }, "else": { "operation": "boost", - "score": 0.07756313681602478 + "score": 0.12820766866207123 } }, "else": { "operation": "boost", - "score": 0.09789445251226425 + "score": 0.10490443557500839 } }, "else": { "operation": "boost", - "score": 0.03400709852576256 + "score": 0.10017193853855133 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": 0.07893253117799759 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10261329263448715 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": -0.10993263125419617 + "score": 0.11120492219924927 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Operator", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.14999547600746155 - }, - "else": { - "operation": "boost", - "score": -0.1444183886051178 - } - }, - "else": { - "operation": "boost", - "score": 0.08946020156145096 - } - }, - "else": { - "operation": "boost", - "score": 0.13061915338039398 - } + "operation": "boost", + "score": 0.08591532707214355 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, "then": { "operation": "boost", - "score": 0.1514987200498581 + "score": 0.06915208697319031 }, "else": { "operation": "boost", - "score": 0.08941182494163513 + "score": 0.1157560646533966 } }, "else": { "operation": "boost", - "score": 0.056537892669439316 + "score": 0.00977353099733591 } }, "else": { "operation": "boost", - "score": 0.0036681299097836018 + "score": 0.07193787395954132 } } }, "else": { - "operation": "boost", - "score": -0.02546115592122078 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": 0.06615544855594635 + }, + "else": { + "operation": "boost", + "score": -0.0027607118245214224 + } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_PreprocessorExpression", + "CCC_Statement" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], + "operation": "boost", + "score": 0.10779207944869995 + }, + "else": { + "operation": "boost", + "score": 0.07833915203809738 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10893741250038147 + }, + "else": { + "operation": "boost", + "score": 0.06403456628322601 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 156.5, "then": { + "operation": "boost", + "score": 0.08927732706069946 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.08513261377811432 + "score": -0.018085381016135216 }, "else": { "operation": "boost", - "score": 0.11027774214744568 + "score": 0.07436498254537582 } + } + }, + "else": { + "operation": "boost", + "score": 0.09568463265895844 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10255438089370728 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.07958292961120605 - }, - "else": { - "operation": "boost", - "score": 0.07902790606021881 - } + "operation": "boost", + "score": 0.03029419109225273 }, "else": { "operation": "boost", - "score": -0.0001715273829177022 + "score": 0.06469162553548813 } } }, "else": { - "operation": "boost", - "score": -0.09221488982439041 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06476689875125885 + }, + "else": { + "operation": "boost", + "score": -0.012644424103200436 + } } - }, - "else": { - "operation": "boost", - "score": -0.0969264805316925 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { + "operation": "boost", + "score": 0.026118911802768707 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_Statement", + "CCC_Symbol", "CCC_SymbolOrNewName", - "CCC_Namespace" + "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 249.5, "then": { - "operation": "boost", - "score": 0.10783699154853821 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.06704962253570557 + }, + "else": { + "operation": "boost", + "score": 0.11505196243524551 + } }, "else": { "operation": "boost", - "score": 0.10367309302091599 + "score": 7.695138629060239e-05 } }, "else": { "operation": "boost", - "score": 0.05759033188223839 + "score": -0.04985201731324196 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 328.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "boost", + "score": -0.044934190809726715 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.025505777448415756 + }, + "else": { + "operation": "boost", + "score": 0.07796205580234528 + } + }, + "else": { + "operation": "boost", + "score": -0.026969511061906815 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04454370215535164 + }, + "else": { + "operation": "boost", + "score": -0.03514175862073898 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "boost", - "score": 0.11587008833885193 + "score": -0.06978398561477661 }, "else": { "operation": "boost", - "score": 0.10800515115261078 + "score": -0.10787810385227203 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10875918716192245 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0038561176043003798 + "score": -0.019568990916013718 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1174796000123024 + "score": 0.003277688752859831 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08299686014652252 - }, - "else": { - "operation": "boost", - "score": 0.04017297178506851 - } + "operation": "boost", + "score": 0.06134309247136116 } } } }, "else": { "operation": "boost", - "score": -0.06579383462667465 + "score": -0.02648966573178768 } } } @@ -15316,1580 +14785,1014 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10698916763067245 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10855970531702042 - }, - "else": { - "operation": "boost", - "score": 0.10078494250774384 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10961427539587021 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10863887518644333 - }, - "else": { - "operation": "boost", - "score": 0.1070803627371788 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10679663717746735 - }, - "else": { - "operation": "boost", - "score": 0.07802943885326385 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1008005291223526 - }, - "else": { - "operation": "boost", - "score": 0.10325590521097183 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09666267037391663 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.10243970155715942 - }, - "else": { - "operation": "boost", - "score": 0.06326586753129959 - } - }, - "else": { - "operation": "boost", - "score": 0.09780130535364151 - } - } - } + "operation": "boost", + "score": 0.11138951778411865 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07068818062543869 - }, - "else": { - "operation": "boost", - "score": 0.10014152526855469 - } + "operation": "boost", + "score": -0.06472498923540115 }, "else": { "operation": "boost", - "score": 0.07508399337530136 + "score": 0.10650491714477539 } } + }, + "else": { + "operation": "boost", + "score": 0.008406274020671844 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443558.5, + "threshold": 281926.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 424244.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.1066160798072815 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.10693669319152832 - }, - "else": { - "operation": "boost", - "score": 0.09929375350475311 - } - } + "operation": "boost", + "score": 0.11072034388780594 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.108050137758255 + "score": 0.043018776923418045 }, "else": { "operation": "boost", - "score": 0.1072666198015213 + "score": 0.10572925955057144 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.11039459705352783 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", + "CCC_ParenthesizedExpression", "CCC_Symbol", - "CCC_Type" + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.09770937263965607 + "score": 0.1014917865395546 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 298482.5, "then": { "operation": "boost", - "score": 0.09227823466062546 + "score": -0.03269942104816437 }, "else": { "operation": "boost", - "score": 0.06021488830447197 + "score": 0.07869399338960648 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09400244802236557 - }, - "else": { - "operation": "boost", - "score": -0.044961556792259216 - } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 39.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10516589879989624 - }, - "else": { - "operation": "boost", - "score": 0.10490160435438156 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06292009353637695 - }, - "else": { - "operation": "boost", - "score": 0.13367284834384918 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09567975252866745 + "score": 0.10135096311569214 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.09963613748550415 + "score": -0.07979966700077057 }, "else": { - "operation": "boost", - "score": 0.08648844808340073 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06717807799577713 + }, + "else": { + "operation": "boost", + "score": 0.09286525100469589 + } } } - } - }, - "else": { - "operation": "boost", - "score": 0.07307735830545425 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09834179282188416 - }, - "else": { - "operation": "boost", - "score": 0.08256027847528458 - } }, "else": { - "operation": "boost", - "score": 0.08104356378316879 - } - }, - "else": { - "operation": "boost", - "score": 0.0056274146772921085 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Operator", - "Function", - "Type", "Namespace" ], - "then": { - "operation": "boost", - "score": 0.08628913760185242 - }, - "else": { - "operation": "boost", - "score": -0.11438912153244019 - } - }, - "else": { - "operation": "boost", - "score": 0.06900789588689804 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { - "operation": "boost", - "score": 0.01782882772386074 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.10489346086978912 + }, + "else": { + "operation": "boost", + "score": 0.08704851567745209 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.10477197915315628 + "score": 0.11222179234027863 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.11092475801706314 + "score": 0.06718665361404419 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09153573960065842 - }, - "else": { - "operation": "boost", - "score": 0.07988076657056808 - } + "operation": "boost", + "score": 0.03659534081816673 } } } }, "else": { - "operation": "boost", - "score": 0.020866796374320984 - } - }, - "else": { - "operation": "boost", - "score": -0.11084145307540894 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 548.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3091.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.1068042516708374 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7129.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13472987711429596 + "score": 0.10004030168056488 }, "else": { - "operation": "boost", - "score": 0.13379809260368347 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22267.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.10385016351938248 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.1319226622581482 + "score": 0.07560564577579498 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6632.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.13468678295612335 - }, - "else": { - "operation": "boost", - "score": 0.1296205371618271 - } - }, - "else": { - "operation": "boost", - "score": 0.12692245841026306 - } + "operation": "boost", + "score": 0.005823640618473291 } + }, + "else": { + "operation": "boost", + "score": -0.1234467402100563 } }, "else": { "operation": "boost", - "score": 0.10930103808641434 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1285760998725891 - }, - "else": { - "operation": "boost", - "score": 0.11288796365261078 + "score": 0.06078295037150383 } } }, "else": { - "operation": "boost", - "score": 0.10977837443351746 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03311498835682869 + }, + "else": { + "operation": "boost", + "score": -0.05082540214061737 + } } } - }, - "else": { - "operation": "boost", - "score": 0.10399075597524643 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0987958088517189 + "score": 0.014565762132406235 }, "else": { "operation": "boost", - "score": 0.12915223836898804 + "score": -0.1293577402830124 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350855.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.1091126948595047 + "score": 0.1001618504524231 }, "else": { "operation": "boost", - "score": 0.09593269973993301 + "score": 0.07277096062898636 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.08938590437173843 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "ClassScope", + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08184568583965302 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.12185942381620407 - }, - "else": { - "operation": "boost", - "score": 0.10889720171689987 - } - } + "operation": "boost", + "score": 0.08747051656246185 + }, + "else": { + "operation": "boost", + "score": 0.007975660264492035 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0735492929816246 }, "else": { "operation": "boost", - "score": 0.017148753628134727 + "score": 0.04741901159286499 } } } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4667.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, + "operation": "boost", + "score": -0.10257112234830856 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.10356183350086212 + "score": 0.0938851609826088 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13821.0, - "then": { - "operation": "boost", - "score": 0.13778743147850037 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13534148037433624 - }, - "else": { - "operation": "boost", - "score": 0.1372307389974594 - } - } + "operation": "boost", + "score": 0.06641644984483719 } - }, - "else": { - "operation": "boost", - "score": 0.11807990819215775 } }, - "else": { - "operation": "boost", - "score": 0.10831144452095032 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12037666141986847 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10597112774848938 - }, - "else": { - "operation": "boost", - "score": 0.06620751321315765 - } + "operation": "boost", + "score": 0.005437145009636879 }, "else": { - "operation": "boost", - "score": 0.06679829210042953 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63566.0, + "operation": "boost", + "score": -0.09150108695030212 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.1068475991487503 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Function" + "ClassScope" ], "then": { - "operation": "boost", - "score": 0.11945769190788269 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.13422466814517975 + }, + "else": { + "operation": "boost", + "score": 0.08944039046764374 + } }, "else": { "operation": "boost", - "score": 0.08112434297800064 + "score": 0.059250608086586 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10561221837997437 + "score": 0.05744291841983795 }, "else": { "operation": "boost", - "score": 0.111052967607975 + "score": 0.02786341868340969 } }, "else": { "operation": "boost", - "score": 0.04357365518808365 + "score": -0.051800522953271866 } - }, - "else": { - "operation": "boost", - "score": 0.07591849565505981 } } - }, - "else": { - "operation": "boost", - "score": 0.0295286625623703 } - }, - "else": { - "operation": "boost", - "score": -0.04083368554711342 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10857166349887848 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12315909564495087 + "score": -0.02627704106271267 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.009303427301347256 - }, - "else": { - "operation": "boost", - "score": 0.11973530799150467 - } + "operation": "boost", + "score": 0.08837217837572098 }, "else": { "operation": "boost", - "score": 0.10602238774299622 + "score": 0.05729557201266289 } } - }, - "else": { - "operation": "boost", - "score": 0.10159583389759064 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, + "operation": "boost", + "score": 0.027118127793073654 + }, + "else": { + "operation": "boost", + "score": -0.12119340151548386 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03515598177909851 - }, - "else": { - "operation": "boost", - "score": 0.12121367454528809 - } + "operation": "boost", + "score": 0.11806726455688477 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10584300011396408 - }, - "else": { - "operation": "boost", - "score": 0.126725435256958 - } + "operation": "boost", + "score": 0.06370719522237778 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Symbol", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.11512649059295654 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006499826908111572 + }, + "else": { + "operation": "boost", + "score": 0.11052460968494415 + } }, "else": { - "operation": "boost", - "score": 0.13425853848457336 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.14686870574951172 + }, + "else": { + "operation": "boost", + "score": -0.009939918294548988 + } } }, "else": { "operation": "boost", - "score": 0.10562342405319214 + "score": 0.0005079416441731155 } } }, "else": { - "operation": "boost", - "score": 0.04769973084330559 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.06333066523075104 + }, + "else": { + "operation": "boost", + "score": -0.062219876796007156 + } } - }, - "else": { - "operation": "boost", - "score": -0.014107156544923782 } } } + }, + "else": { + "operation": "boost", + "score": -0.10596225410699844 } } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 32.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], + "operation": "boost", + "score": 0.11179395020008087 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09369350969791412 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0722113698720932 - }, - "else": { - "operation": "boost", - "score": 0.0947757139801979 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03543271869421005 - } + "operation": "boost", + "score": 0.1023588627576828 }, "else": { "operation": "boost", - "score": -0.08767537027597427 + "score": 0.06979169696569443 } - }, - "else": { - "operation": "boost", - "score": -0.05082354322075844 } }, "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07514062523841858 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.07425316423177719 + }, + "else": { + "operation": "boost", + "score": 0.022222939878702164 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Namespace", + "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.09629680961370468 - }, - "else": { - "operation": "boost", - "score": 0.10674409568309784 - } - }, - "else": { - "operation": "boost", - "score": 0.09710436314344406 - } + "operation": "boost", + "score": 0.09358696639537811 }, "else": { "operation": "boost", - "score": 0.0815439447760582 + "score": 0.10685274004936218 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 51828.5, "then": { + "operation": "boost", + "score": 0.102765753865242 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10169872641563416 - }, - "else": { - "operation": "boost", - "score": 0.08261949568986893 - } + "operation": "boost", + "score": 0.1013430655002594 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.06986016780138016 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09659988433122635 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": 0.09741976112127304 + }, + "else": { + "operation": "boost", + "score": 0.035309065133333206 + } + } }, "else": { "operation": "boost", - "score": 0.05488815903663635 + "score": 0.09198067337274551 } } - }, - "else": { - "operation": "boost", - "score": 0.021478427574038506 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09096655249595642 - }, - "else": { - "operation": "boost", - "score": -0.10164188593626022 - } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Namespace" + "FileScope" ], + "then": { + "operation": "boost", + "score": 0.10093063116073608 + }, + "else": { + "operation": "boost", + "score": 0.08887141197919846 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "Namespace" ], "then": { "operation": "boost", - "score": 0.11297492682933807 + "score": 0.0952289029955864 }, "else": { - "operation": "boost", - "score": 0.10257267951965332 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.0455186702311039 + "score": 0.09596733748912811 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1147882267832756 - }, - "else": { - "operation": "boost", - "score": 0.07828737050294876 - } + "operation": "boost", + "score": 0.03649178892374039 } - }, - "else": { - "operation": "boost", - "score": 0.01679440774023533 } + }, + "else": { + "operation": "boost", + "score": 0.06456999480724335 } - }, - "else": { - "operation": "boost", - "score": -0.05947907269001007 - } - } - } - } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10632012784481049 - }, - "else": { - "operation": "boost", - "score": 0.10770808160305023 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10860088467597961 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10772459954023361 - }, - "else": { - "operation": "boost", - "score": 0.10560904443264008 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10569486767053604 - }, - "else": { - "operation": "boost", - "score": 0.07325878739356995 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09906555712223053 - }, - "else": { - "operation": "boost", - "score": 0.10168428719043732 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09391700476408005 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.10079647600650787 - }, - "else": { - "operation": "boost", - "score": 0.04699840024113655 } - }, - "else": { - "operation": "boost", - "score": 0.09542027115821838 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09786402434110641 - }, - "else": { - "operation": "boost", - "score": 0.07065246999263763 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.1056610494852066 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.10597708076238632 - }, - "else": { - "operation": "boost", - "score": 0.09675222635269165 } } - }, - "else": { - "operation": "boost", - "score": 0.1071629524230957 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15904.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06349675357341766 - }, - "else": { - "operation": "boost", - "score": 0.09283924102783203 - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_Type" + "Macro", + "Namespace" ], - "then": { - "operation": "boost", - "score": 0.08979424834251404 - }, - "else": { - "operation": "boost", - "score": -0.041407469660043716 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 62580.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09959600120782852 - }, - "else": { - "operation": "boost", - "score": 0.1260083019733429 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10556674748659134 - }, - "else": { - "operation": "boost", - "score": 0.09287883341312408 - } - } - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FileScope" + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 82127.0, "then": { - "operation": "boost", - "score": 0.10649557411670685 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13655909895896912 + }, + "else": { + "operation": "boost", + "score": 0.11512576043605804 + } }, "else": { "operation": "boost", - "score": 0.10104721784591675 + "score": 0.10270489752292633 } }, "else": { "operation": "boost", - "score": 0.08334636688232422 + "score": 0.09765138477087021 } + }, + "else": { + "operation": "boost", + "score": 0.07426085323095322 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10000945627689362 + "score": 0.09947749227285385 }, "else": { - "operation": "boost", - "score": 0.06668178737163544 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "CCC_Symbol", + "CCC_SymbolOrNewName" ], "then": { - "operation": "boost", - "score": 0.09459489583969116 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16420.5, + "then": { + "operation": "boost", + "score": 0.09601662307977676 + }, + "else": { + "operation": "boost", + "score": 0.142336905002594 + } + }, + "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, @@ -16897,211 +15800,131 @@ "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, - "then": { - "operation": "boost", - "score": 0.10688306391239166 - }, - "else": { - "operation": "boost", - "score": 0.06320104002952576 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 200884.5, "then": { "operation": "boost", - "score": 0.10498280823230743 + "score": 0.06442137062549591 }, "else": { "operation": "boost", - "score": 0.08935269713401794 + "score": 0.11303015053272247 } }, "else": { "operation": "boost", - "score": 0.08326543122529984 + "score": 0.010863068513572216 } + }, + "else": { + "operation": "boost", + "score": 0.06755990535020828 } - }, - "else": { - "operation": "boost", - "score": -0.040638260543346405 } + }, + "else": { + "operation": "boost", + "score": 0.004285367205739021 } - }, - "else": { - "operation": "boost", - "score": -0.009992293082177639 } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "boost", - "score": 0.07612177729606628 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_PreprocessorExpression", + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1072884276509285 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09653718769550323 - }, - "else": { - "operation": "boost", - "score": 0.05693957209587097 - } - } + "operation": "boost", + "score": 0.10497681051492691 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.058724187314510345 - }, - "else": { - "operation": "boost", - "score": -0.0417984202504158 - } + "operation": "boost", + "score": 0.07064104080200195 } }, "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10428833961486816 + }, + "else": { + "operation": "boost", + "score": 0.060833532363176346 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.10294249653816223 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10048748552799225 + "score": 0.10013271123170853 }, "else": { "operation": "boost", - "score": 0.07877806574106216 + "score": 0.05524801090359688 } - }, - "else": { - "operation": "boost", - "score": -0.005733537022024393 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 251.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2908.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 22267.0, + "threshold": 156.5, "then": { "operation": "boost", - "score": 0.10259904712438583 + "score": 0.07622218132019043 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.12567929923534393 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6632.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12834948301315308 - }, - "else": { - "operation": "boost", - "score": 0.12343394011259079 - } - }, - "else": { - "operation": "boost", - "score": 0.12040301412343979 - } - } + "operation": "boost", + "score": 0.00437132827937603 } }, "else": { "operation": "boost", - "score": 0.10708080977201462 + "score": 0.0879574567079544 } }, "else": { @@ -17110,689 +15933,228 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11932878941297531 + "score": 0.05862367898225784 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12279706448316574 - }, - "else": { - "operation": "boost", - "score": 0.10967327654361725 - } + "operation": "boost", + "score": -0.009774947538971901 } } - }, - "else": { - "operation": "boost", - "score": 0.10048478096723557 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11355844885110855 - }, - "else": { - "operation": "boost", - "score": 0.138036847114563 } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { + "operation": "boost", + "score": 0.023836692795157433 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30903.0, + "threshold": 28.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.035531528294086456 + }, + "else": { + "operation": "boost", + "score": 0.09655074775218964 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07380237430334091 + "score": -0.11724168807268143 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32056.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61294.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10632220655679703 - }, - "else": { - "operation": "boost", - "score": 0.10178505629301071 - } + "operation": "boost", + "score": -0.05886528640985489 }, "else": { "operation": "boost", - "score": 0.08644653856754303 + "score": 0.009403818286955357 } }, "else": { "operation": "boost", - "score": 0.13062338531017303 + "score": 0.05528421327471733 } } }, "else": { "operation": "boost", - "score": 0.11082284152507782 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.06652258336544037 - }, - "else": { - "operation": "boost", - "score": 0.10004632920026779 + "score": -0.04614725708961487 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 250.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205835.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10537247359752655 + "score": 0.05827069655060768 }, "else": { "operation": "boost", - "score": 0.12366446852684021 + "score": -0.049424003809690475 } }, "else": { - "operation": "boost", - "score": 0.08069130778312683 - } - }, - "else": { - "operation": "boost", - "score": -0.012794425711035728 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4995.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.10193446278572083 + "score": 0.02139517106115818 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13821.0, - "then": { - "operation": "boost", - "score": 0.13050876557826996 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1278836578130722 - }, - "else": { - "operation": "boost", - "score": 0.13239659368991852 - } - } + "operation": "boost", + "score": 0.07097446918487549 } }, "else": { "operation": "boost", - "score": 0.10150875896215439 + "score": -0.02444872446358204 } - }, - "else": { - "operation": "boost", - "score": 0.11162035167217255 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12000031769275665 + "score": -0.019587771967053413 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10323052108287811 - }, - "else": { - "operation": "boost", - "score": 0.0518890805542469 - } + "operation": "boost", + "score": -0.06589969992637634 }, "else": { "operation": "boost", - "score": 0.06146992743015289 + "score": -0.1055774837732315 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10161592811346054 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, - "then": { - "operation": "boost", - "score": 0.09964592009782791 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, - "then": { - "operation": "boost", - "score": 0.12972784042358398 - }, - "else": { - "operation": "boost", - "score": 0.11909864842891693 - } - } + "operation": "boost", + "score": -0.01683119311928749 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, "then": { "operation": "boost", - "score": 0.02827148325741291 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11139904707670212 - }, - "else": { - "operation": "boost", - "score": 0.12114068120718002 - } - }, - "else": { - "operation": "boost", - "score": 0.10110590606927872 - } - }, - "else": { - "operation": "boost", - "score": 0.11512497067451477 - } - }, - "else": { - "operation": "boost", - "score": 0.10108617693185806 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, - "then": { - "operation": "boost", - "score": 0.11207287013530731 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11555.0, - "then": { - "operation": "boost", - "score": 0.0984242707490921 - }, - "else": { - "operation": "boost", - "score": 0.023848554119467735 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11628518253564835 - }, - "else": { - "operation": "boost", - "score": 0.12736395001411438 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.11177151650190353 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 812.0, - "then": { - "operation": "boost", - "score": 0.13060976564884186 - }, - "else": { - "operation": "boost", - "score": 0.13330966234207153 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05622824653983116 - } - }, - "else": { - "operation": "boost", - "score": -0.027221379801630974 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5270.5, - "then": { - "operation": "boost", - "score": 0.08766630291938782 - }, - "else": { - "operation": "boost", - "score": 0.03632405027747154 - } - }, - "else": { - "operation": "boost", - "score": -0.04583188146352768 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.0873006284236908 - }, - "else": { - "operation": "boost", - "score": 0.06344039738178253 - } - }, - "else": { - "operation": "boost", - "score": 0.08971454948186874 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11721250414848328 - }, - "else": { - "operation": "boost", - "score": 0.12968450784683228 - } - }, - "else": { - "operation": "boost", - "score": 0.12081724405288696 - } - }, - "else": { - "operation": "boost", - "score": 0.04946554824709892 - } - } - }, - "else": { - "operation": "boost", - "score": -0.01716025359928608 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08119551092386246 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.06769025325775146 - }, - "else": { - "operation": "boost", - "score": 0.07461866736412048 - } - }, - "else": { - "operation": "boost", - "score": -0.0025724724400788546 - } - } - }, - "else": { - "operation": "boost", - "score": -0.09123560041189194 - } - }, - "else": { - "operation": "boost", - "score": -0.09410659223794937 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10442037880420685 - }, - "else": { - "operation": "boost", - "score": 0.09962568432092667 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09844401478767395 + "score": 0.07802258431911469 }, "else": { "operation": "boost", - "score": 0.0790724977850914 + "score": 0.034899380058050156 } - }, - "else": { - "operation": "boost", - "score": 0.05383661761879921 } - }, - "else": { - "operation": "boost", - "score": 0.027293680235743523 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11381188780069351 - }, - "else": { - "operation": "boost", - "score": 0.09521917253732681 } }, "else": { "operation": "boost", - "score": -0.00427229842171073 + "score": -0.02368917688727379 } } } @@ -17809,618 +16171,638 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10538673400878906 - }, - "else": { - "operation": "boost", - "score": 0.10688631236553192 - } + "operation": "boost", + "score": 0.11027605086565018 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10801646113395691 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10692442953586578 - }, - "else": { - "operation": "boost", - "score": 0.10197018831968307 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10421966761350632 - }, - "else": { - "operation": "boost", - "score": 0.06721276789903641 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09628482908010483 + "score": 0.10522998124361038 }, "else": { "operation": "boost", - "score": 0.09305420517921448 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09833516925573349 - }, - "else": { - "operation": "boost", - "score": 0.10082586109638214 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.0989702120423317 - }, - "else": { - "operation": "boost", - "score": 0.043373625725507736 - } - }, - "else": { - "operation": "boost", - "score": 0.09244994074106216 - } + "score": 0.10679315030574799 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09558168798685074 }, "else": { "operation": "boost", - "score": 0.06545069813728333 + "score": 0.10198338329792023 } } + }, + "else": { + "operation": "boost", + "score": 0.007632675115019083 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443558.5, + "threshold": 281926.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 424244.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.10482154786586761 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.10529960691928864 - }, - "else": { - "operation": "boost", - "score": 0.09477247297763824 - } - } + "operation": "boost", + "score": 0.10949138551950455 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10708757489919662 + "score": 0.03973373398184776 }, "else": { "operation": "boost", - "score": 0.1062157079577446 + "score": 0.1037362664937973 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_Type" + "Macro", + "Namespace" ], "then": { "operation": "boost", - "score": 0.09555428475141525 + "score": 0.10901837795972824 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { + "operation": "boost", + "score": 0.09862742573022842 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 298482.5, "then": { "operation": "boost", - "score": 0.0559593066573143 + "score": -0.02978007309138775 }, "else": { "operation": "boost", - "score": 0.08511682599782944 + "score": 0.07429125159978867 } - }, - "else": { - "operation": "boost", - "score": -0.03806758299469948 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 34.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10642862319946289 - }, - "else": { - "operation": "boost", - "score": 0.1237359493970871 - } + "operation": "boost", + "score": 0.09905092418193817 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10441265255212784 + "score": -0.07820446789264679 }, "else": { - "operation": "boost", - "score": 0.09179113805294037 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10904605686664581 + }, + "else": { + "operation": "boost", + "score": 0.08541548997163773 + } } } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.10573612153530121 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.09075017273426056 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10937661677598953 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.05687207356095314 + }, + "else": { + "operation": "boost", + "score": 0.026429543271660805 + } + } + } }, "else": { - "operation": "boost", - "score": 0.09901473671197891 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09698328375816345 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "boost", + "score": 0.06576400995254517 + }, + "else": { + "operation": "boost", + "score": -0.010843856260180473 + } + }, + "else": { + "operation": "boost", + "score": -0.11540687084197998 + } + }, + "else": { + "operation": "boost", + "score": 0.05558444932103157 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.031128516420722008 + }, + "else": { + "operation": "boost", + "score": -0.045668650418519974 + } + } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.08339153230190277 - }, - "else": { - "operation": "boost", - "score": 0.062295470386743546 - } + "operation": "boost", + "score": 0.014546224847435951 }, "else": { "operation": "boost", - "score": 0.0878908559679985 + "score": -0.1258220672607422 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11490331590175629 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.09671885520219803 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34611.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.11925950646400452 + "score": 0.0872410386800766 }, "else": { - "operation": "boost", - "score": 0.11094824224710464 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06302237510681152 + }, + "else": { + "operation": "boost", + "score": 0.028677072376012802 + } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { - "operation": "boost", - "score": 0.04543857276439667 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10231799632310867 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09040419012308121 + }, + "else": { + "operation": "boost", + "score": 0.06207434460520744 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0020628604106605053 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.17527668178081512 + "score": -0.09437628090381622 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.06423056870698929 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1029386967420578 - }, - "else": { - "operation": "boost", - "score": 0.14474396407604218 - } + "operation": "boost", + "score": 0.0491022951900959 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09123296290636063 + "score": -0.06177801266312599 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.1479322612285614 - }, - "else": { - "operation": "boost", - "score": 0.22546294331550598 - } + "operation": "boost", + "score": 0.026890954002738 } } - }, - "else": { - "operation": "boost", - "score": 0.10141593217849731 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10686219483613968 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19434.0, + "operation": "boost", + "score": -0.026445893570780754 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11650216579437256 + "score": 0.08378932625055313 }, "else": { "operation": "boost", - "score": 0.10532116889953613 + "score": 0.05253491923213005 } - }, - "else": { - "operation": "boost", - "score": 0.08265627175569534 } } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03223631531000137 + }, + "else": { + "operation": "boost", + "score": -0.11545311659574509 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression" + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.10052715241909027 + "score": 0.11479420959949493 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.1453968584537506 - }, - "else": { - "operation": "boost", - "score": 0.1408810168504715 - } - }, - "else": { - "operation": "boost", - "score": 0.16496506333351135 - } + "operation": "boost", + "score": 0.06436183303594589 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13247358798980713 + "score": -0.03642919659614563 }, "else": { "operation": "boost", - "score": 0.14296415448188782 + "score": 0.01907278783619404 } } }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10228375345468521 - }, - "else": { - "operation": "boost", - "score": -0.031010163947939873 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0832286924123764 - }, "else": { "operation": "boost", - "score": 0.010868972167372704 + "score": -0.04899092763662338 } } } } + }, + "else": { + "operation": "boost", + "score": -0.1042642593383789 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 896.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 900.5, + "threshold": 191566.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09647728502750397 - }, - "else": { - "operation": "boost", - "score": 0.08359793573617935 - } + "operation": "boost", + "score": 0.11082863062620163 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1498386263847351 + "score": 0.10013443231582642 }, "else": { "operation": "boost", - "score": 0.12767460942268372 + "score": 0.06559499353170395 } } }, @@ -18430,425 +16812,483 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11414322257041931 + "score": 0.07103943824768066 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.06935008615255356 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, - "then": { - "operation": "boost", - "score": 0.09479658305644989 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11838682740926743 - }, - "else": { - "operation": "boost", - "score": 0.13278938829898834 - } - }, - "else": { - "operation": "boost", - "score": 0.11307501792907715 - } - } + "operation": "boost", + "score": -0.04071251302957535 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 899.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.10257268697023392 + "score": -0.009826294146478176 }, "else": { "operation": "boost", - "score": 0.14707466959953308 + "score": 0.062020882964134216 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11226537078619003 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12031852453947067 - }, - "else": { - "operation": "boost", - "score": 0.12900102138519287 - } - } - }, - "else": { - "operation": "boost", - "score": 0.032777268439531326 - } } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Destructor", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09038610011339188 + }, + "else": { + "operation": "boost", + "score": 0.10489821434020996 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51828.5, "then": { + "operation": "boost", + "score": 0.10048643499612808 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.09856394678354263 + }, + "else": { + "operation": "boost", + "score": 0.08492014557123184 + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Symbol" + "GlobalScope" ], "then": { + "operation": "boost", + "score": 0.0839146301150322 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6729.0, "then": { "operation": "boost", - "score": 0.15143056213855743 + "score": -0.015111394226551056 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13178585469722748 - }, - "else": { - "operation": "boost", - "score": 0.15510646998882294 - } + "operation": "boost", + "score": 0.08826514333486557 } - }, - "else": { - "operation": "boost", - "score": 0.15513412654399872 } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.10149285942316055 + }, + "else": { + "operation": "boost", + "score": 0.061167389154434204 + } + }, + "else": { + "operation": "boost", + "score": 0.08485722541809082 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09219783544540405 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09861258417367935 + "score": 0.09314404428005219 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace" + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.11832375079393387 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.08398330956697464 + }, + "else": { + "operation": "boost", + "score": 0.1117219477891922 + } }, "else": { "operation": "boost", - "score": 0.09649576246738434 + "score": 0.02885100431740284 } }, "else": { "operation": "boost", - "score": 0.0392170250415802 + "score": -0.01133006066083908 } } } }, "else": { - "operation": "boost", - "score": 0.05566256120800972 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09564092755317688 - }, - "else": { - "operation": "boost", - "score": 0.10817340016365051 - } - }, - "else": { - "operation": "boost", - "score": 0.07568788528442383 - } - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Function" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08783527463674545 - }, - "else": { - "operation": "boost", - "score": 0.057680584490299225 - } + "operation": "boost", + "score": 0.09178458154201508 }, "else": { "operation": "boost", - "score": -0.028664376586675644 + "score": 0.06536468118429184 } + }, + "else": { + "operation": "boost", + "score": 0.047153957188129425 } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15904.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74740.0, + "then": { + "operation": "boost", + "score": 0.13436424732208252 }, "else": { "operation": "boost", - "score": -0.056474316865205765 + "score": 0.10494104772806168 } + }, + "else": { + "operation": "boost", + "score": 0.11338748037815094 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 62580.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.11631883680820465 + "score": 0.10673645883798599 }, "else": { "operation": "boost", - "score": 0.11503197997808456 + "score": 0.08878261595964432 } }, "else": { + "operation": "boost", + "score": 0.0667901411652565 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0967678353190422 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16420.5, "then": { "operation": "boost", - "score": -0.00017354161536786705 + "score": 0.09233834594488144 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08247809112071991 - }, - "else": { - "operation": "boost", - "score": 0.054741375148296356 - } + "operation": "boost", + "score": 0.1352178454399109 } }, "else": { "operation": "boost", - "score": 0.041878316551446915 + "score": 0.050682444125413895 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09741201996803284 + }, + "else": { + "operation": "boost", + "score": 0.002299513667821884 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71306.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function", - "Namespace" + "CCC_PreprocessorExpression", + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.10024398565292358 + "score": 0.10248027741909027 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10727610439062119 - }, - "else": { - "operation": "boost", - "score": 0.1048942357301712 - } + "operation": "boost", + "score": 0.07008624821901321 } }, "else": { - "operation": "boost", - "score": 0.09744227677583694 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09990186989307404 + }, + "else": { + "operation": "boost", + "score": 0.059131499379873276 + } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.10743779689073563 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.01031743735074997 + "score": 0.1008511558175087 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1019461378455162 - }, - "else": { - "operation": "boost", - "score": 0.07705479115247726 - } + "operation": "boost", + "score": 0.09519091993570328 }, "else": { + "operation": "boost", + "score": 0.05281434580683708 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 206.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10356344282627106 - }, - "else": { - "operation": "boost", - "score": 0.10886835306882858 - } + "operation": "boost", + "score": 0.07431712001562119 }, "else": { "operation": "boost", - "score": 0.07054976373910904 + "score": 0.01732068881392479 } + }, + "else": { + "operation": "boost", + "score": 0.08644679933786392 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.02019602246582508 + }, + "else": { + "operation": "boost", + "score": 0.027992937713861465 } } } @@ -18856,202 +17296,229 @@ }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.021808460354804993 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { "operation": "boost", - "score": 0.1190328374505043 + "score": 0.019565405324101448 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": -0.11319289356470108 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], "then": { - "operation": "boost", - "score": 0.04071899503469467 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.11882944405078888 + "score": -0.06268112361431122 }, "else": { "operation": "boost", - "score": 0.1196088045835495 + "score": 0.00518062524497509 } }, "else": { "operation": "boost", - "score": 0.11199841648340225 + "score": 0.05278395116329193 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 230.5, + "then": { + "operation": "boost", + "score": 0.051749009639024734 + }, + "else": { + "operation": "boost", + "score": -0.03546789288520813 } } - }, - "else": { - "operation": "boost", - "score": 0.0935264378786087 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220112.0, + "threshold": 1824.5, "then": { "operation": "boost", - "score": 0.11229278892278671 + "score": 0.06217409297823906 }, "else": { - "operation": "boost", - "score": 0.10497727245092392 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.042156048119068146 + }, + "else": { + "operation": "boost", + "score": -0.059782493859529495 + } } }, "else": { "operation": "boost", - "score": 0.06993338465690613 + "score": -0.07848601043224335 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08124203234910965 - }, - "else": { - "operation": "boost", - "score": 0.006223167758435011 - } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.09708401560783386 + "score": 0.11176452785730362 }, "else": { "operation": "boost", - "score": 0.07005593180656433 + "score": 0.07987955212593079 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, "then": { "operation": "boost", - "score": 0.10209978371858597 + "score": 0.07664120942354202 }, "else": { + "operation": "boost", + "score": 0.02675715647637844 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.05111325904726982 + "score": 0.005377792753279209 }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.11117683351039886 + "score": 0.021258560940623283 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11561950296163559 - }, - "else": { - "operation": "boost", - "score": 0.07091665267944336 - } + "operation": "boost", + "score": 0.07121307402849197 } } }, "else": { "operation": "boost", - "score": -0.1119973435997963 + "score": -0.011718052439391613 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0015853744698688388 + }, + "else": { + "operation": "boost", + "score": 0.07537300884723663 + } + }, + "else": { + "operation": "boost", + "score": -0.05559629946947098 } } - }, - "else": { - "operation": "boost", - "score": -0.017711402848362923 } } } - }, - "else": { - "operation": "boost", - "score": -0.0651426762342453 } } } @@ -19065,833 +17532,849 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10474418103694916 - }, - "else": { - "operation": "boost", - "score": 0.10621697455644608 - } + "operation": "boost", + "score": 0.10931379348039627 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10709629952907562 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10608786344528198 - }, - "else": { - "operation": "boost", - "score": 0.10045668482780457 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10320450365543365 - }, - "else": { - "operation": "boost", - "score": 0.054816555231809616 - } - } + "operation": "boost", + "score": 0.1029914915561676 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09091218560934067 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09682422876358032 - }, - "else": { - "operation": "boost", - "score": 0.09940025955438614 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09734134376049042 - }, - "else": { - "operation": "boost", - "score": 0.09035370498895645 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09303316473960876 - }, - "else": { - "operation": "boost", - "score": 0.06207228824496269 - } - } + "operation": "boost", + "score": 0.007940222509205341 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443558.5, + "threshold": 281926.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 424244.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10833121091127396 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.10398033261299133 + "score": 0.10297077149152756 }, "else": { "operation": "boost", - "score": 0.09761158376932144 + "score": 0.0548374317586422 } - }, - "else": { - "operation": "boost", - "score": 0.1060977578163147 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" + "Macro", + "Namespace" ], "then": { "operation": "boost", - "score": 0.09310828149318695 + "score": 0.10765745490789413 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.0759270116686821 + "score": 0.09532467275857925 }, "else": { "operation": "boost", - "score": -0.045569390058517456 + "score": 0.03225594013929367 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 34.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.09669604152441025 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.05012531578540802, "then": { "operation": "boost", - "score": 0.041948575526475906 + "score": 0.09031807631254196 }, "else": { "operation": "boost", - "score": 0.11929710954427719 + "score": 0.07309982180595398 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.137372687458992 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.10296697169542313 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.08747990429401398 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10666700452566147 + }, + "else": { + "operation": "boost", + "score": 0.03935341536998749 + } + } }, "else": { - "operation": "boost", - "score": 0.08946286141872406 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09403622895479202 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0587582103908062 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.021241430193185806 + }, + "else": { + "operation": "boost", + "score": 0.044518955051898956 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0063010710291564465 + } } } - }, - "else": { - "operation": "boost", - "score": 0.09731446206569672 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.067634217441082 + "score": 0.014662949368357658 }, "else": { "operation": "boost", - "score": 0.08228632062673569 + "score": -0.12331246584653854 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.09975038468837738 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09304194152355194 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08353525400161743 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07693495601415634 + }, + "else": { + "operation": "boost", + "score": -0.056144893169403076 + } + }, + "else": { + "operation": "boost", + "score": 0.049999676644802094 + } + } + } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", "Type", - "Namespace" + "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.053090911358594894 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.10004466027021408 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.14342980086803436 + "score": 0.08639510720968246 }, "else": { "operation": "boost", - "score": 0.1480880081653595 + "score": 0.05816428363323212 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0047273277305066586 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09690210223197937 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10028191655874252 + "score": 0.04981320723891258 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.13787171244621277 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.11824428290128708 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.21891961991786957 + }, + "else": { + "operation": "boost", + "score": 0.09037838131189346 + } + } }, "else": { "operation": "boost", - "score": 0.11612097173929214 + "score": 0.02316410467028618 } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.07476432621479034 + "score": 0.023742061108350754 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.1680600941181183 + "score": 0.09290814399719238 }, "else": { "operation": "boost", - "score": 0.22579325735569 + "score": -0.09186765551567078 } } } } - }, - "else": { - "operation": "boost", - "score": 0.06906413286924362 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34611.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11721882224082947 + "score": -0.10558448731899261 }, "else": { - "operation": "boost", - "score": 0.10603485256433487 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.028905075043439865 + }, + "else": { + "operation": "boost", + "score": 0.052884042263031006 + } } }, "else": { - "operation": "boost", - "score": 0.0784236341714859 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10292021185159683 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": 0.03137695789337158 + }, + "else": { + "operation": "boost", + "score": -0.11070620268583298 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.12282005697488785 + "score": 0.11208570748567581 }, "else": { "operation": "boost", - "score": 0.10772444307804108 + "score": 0.0616023950278759 } }, "else": { - "operation": "boost", - "score": 0.08037953823804855 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006537392269819975 + }, + "else": { + "operation": "boost", + "score": 0.10239008814096451 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.13823598623275757 + }, + "else": { + "operation": "boost", + "score": -0.024524129927158356 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0009354445501230657 + } } }, "else": { "operation": "boost", - "score": 0.10328757762908936 + "score": -0.04392024502158165 } - }, - "else": { - "operation": "boost", - "score": -0.12967337667942047 } } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04169662296772003 - }, - "else": { - "operation": "boost", - "score": 0.0795278325676918 - } } + }, + "else": { + "operation": "boost", + "score": -0.10278166085481644 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 897.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 900.5, + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, - "then": { - "operation": "boost", - "score": 0.09085364639759064 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11621872335672379 - }, - "else": { - "operation": "boost", - "score": 0.12714722752571106 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16206.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16870.0, - "then": { - "operation": "boost", - "score": 0.10307790338993073 - }, - "else": { - "operation": "boost", - "score": 0.13149258494377136 - } - }, - "else": { - "operation": "boost", - "score": 0.10112842172384262 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11289148032665253 - }, - "else": { - "operation": "boost", - "score": 0.07176510244607925 - } - } - } + "operation": "boost", + "score": 0.11004095524549484 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08658129721879959 + "score": 0.09840735793113708 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10800961405038834 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10865837335586548 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11688528954982758 - }, - "else": { - "operation": "boost", - "score": 0.12524834275245667 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04201512783765793 - } - } + "operation": "boost", + "score": 0.06155102327466011 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12287326157093048 + "score": 0.06715595722198486 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13871432840824127 + "score": -0.008135493844747543 }, "else": { "operation": "boost", - "score": 0.04015637934207916 + "score": 0.04132414609193802 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_EnumTag", "CCC_Namespace", - "CCC_Symbol" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13280710577964783 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13465069234371185 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13104045391082764 - }, - "else": { - "operation": "boost", - "score": 0.14959557354450226 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.14231932163238525 - } + "operation": "boost", + "score": 0.08743086457252502 + }, + "else": { + "operation": "boost", + "score": 0.10326110571622849 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51828.5, + "then": { + "operation": "boost", + "score": 0.0980902910232544 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, "then": { - "operation": "boost", - "score": 0.09530052542686462 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 33.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11508835107088089 - }, - "else": { - "operation": "boost", - "score": 0.09224548190832138 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, - "then": { - "operation": "boost", - "score": 0.11764170974493027 - }, - "else": { - "operation": "boost", - "score": 0.11203517764806747 - } - } + "operation": "boost", + "score": 0.09542851895093918 }, "else": { "operation": "boost", - "score": 0.047768328338861465 + "score": 0.080368772149086 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.056779421865940094 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07530064880847931 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable", - "Function" + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.062291473150253296 + "score": 0.08003649860620499 }, "else": { "operation": "boost", - "score": -0.031970977783203125 + "score": 0.035610854625701904 } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.09560829401016235 }, "else": { "operation": "boost", - "score": -0.039221521466970444 + "score": 0.08121202886104584 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.11617103219032288 + "score": 0.08921173959970474 }, "else": { - "operation": "boost", - "score": 0.11528033763170242 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09051144868135452 + }, + "else": { + "operation": "boost", + "score": 0.02764124982059002 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.07003793120384216 + "score": 0.08863931894302368 }, "else": { "operation": "boost", - "score": 0.08519451320171356 + "score": 0.06159448251128197 } }, "else": { "operation": "boost", - "score": 0.026541123166680336 + "score": 0.04216604307293892 } } } @@ -19901,407 +18384,585 @@ }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 252.5, + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3091.5, + "threshold": 12855.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76669.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.13152927160263062 + }, + "else": { + "operation": "boost", + "score": 0.10479376465082169 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.12856654822826385 + }, + "else": { + "operation": "boost", + "score": 0.09809787571430206 + } + } + }, + "else": { + "operation": "boost", + "score": 0.059352029114961624 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10375940054655075 + }, + "else": { + "operation": "boost", + "score": 0.05460035800933838 + } + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.11392863839864731 + "score": 0.12411945313215256 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", + "Macro", "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22368.0, - "then": { - "operation": "boost", - "score": 0.0998341366648674 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6592.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12391141057014465 - }, - "else": { - "operation": "boost", - "score": 0.11867634207010269 - } - }, - "else": { - "operation": "boost", - "score": 0.11567235738039017 - } - }, - "else": { - "operation": "boost", - "score": 0.1093168705701828 - } - } + "operation": "boost", + "score": 0.10468999296426773 }, "else": { "operation": "boost", - "score": 0.10359320789575577 + "score": 0.033883895725011826 } }, "else": { + "operation": "boost", + "score": 0.05158054456114769 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "CCC_Statement", + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": 0.11633191257715225 + "score": 0.08933230489492416 + }, + "else": { + "operation": "boost", + "score": 0.03910089656710625 + } + }, + "else": { + "operation": "boost", + "score": 0.017344964668154716 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05281538888812065 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.048845790326595306 + }, + "else": { + "operation": "boost", + "score": -0.01693691685795784 + } }, "else": { "operation": "boost", - "score": 0.10250407457351685 + "score": -0.06395627558231354 } } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.09814955294132233 }, "else": { "operation": "boost", - "score": 0.0953805148601532 + "score": 0.09719161689281464 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.08899008482694626 + "score": 0.07751832902431488 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.009823686443269253 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09881110489368439 + }, + "else": { + "operation": "boost", + "score": 0.046716321259737015 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14379.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62580.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.10760438442230225 + }, + "else": { + "operation": "boost", + "score": 0.09071315079927444 + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" + "CCC_Symbol", + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": 0.13514560461044312 + "score": 0.093720942735672 }, "else": { "operation": "boost", - "score": 0.1244569793343544 + "score": 0.04100467637181282 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09354879707098007 + "score": 0.09329398721456528 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4980.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32947.0, + "threshold": 205637.0, "then": { "operation": "boost", - "score": 0.06449182331562042 + "score": -0.10464171320199966 }, "else": { "operation": "boost", - "score": 0.11761315166950226 + "score": 0.10239474475383759 } }, "else": { "operation": "boost", - "score": 0.09036644548177719 + "score": 0.011640964075922966 } }, "else": { "operation": "boost", - "score": 0.10312062501907349 + "score": 0.06315737217664719 } }, "else": { "operation": "boost", - "score": 0.06786078959703445 + "score": 0.0013722338480874896 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.04653679579496384, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25183.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07299456745386124 - }, - "else": { - "operation": "boost", - "score": 0.09705395251512527 - } - }, - "else": { - "operation": "boost", - "score": 0.09432007372379303 - } + "operation": "boost", + "score": 0.017038024961948395 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09065695106983185 - }, - "else": { - "operation": "boost", - "score": 0.06192973628640175 - } + "operation": "boost", + "score": -0.01871749758720398 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Symbol" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.10113269835710526 + "score": 0.07547227293252945 }, "else": { - "operation": "boost", - "score": 0.0641559436917305 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.014553462155163288 + }, + "else": { + "operation": "boost", + "score": 0.05410117283463478 + } } }, "else": { - "operation": "boost", - "score": -0.008620675653219223 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7036.0, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.10107428580522537 + "score": -0.03209961578249931 }, "else": { - "operation": "boost", - "score": 0.07091135531663895 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11218022555112839 + }, + "else": { + "operation": "boost", + "score": 0.030864017084240913 + } } }, "else": { - "operation": "boost", - "score": 0.07508769631385803 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 253.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03997389227151871 + }, + "else": { + "operation": "boost", + "score": -0.059248264878988266 + } + }, + "else": { + "operation": "boost", + "score": -0.06933102011680603 + } } - }, - "else": { - "operation": "boost", - "score": 0.026076195761561394 } - }, - "else": { - "operation": "boost", - "score": -0.021411392837762833 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.08402161300182343 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04432067275047302 }, "else": { - "operation": "boost", - "score": -0.062029335647821426 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": -0.0031900315079838037 + "score": 0.11015407741069794 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.27883991599082947 - }, - "else": { - "operation": "boost", - "score": 0.15304921567440033 - } - }, - "else": { - "operation": "boost", - "score": 0.09624151140451431 - } + "operation": "boost", + "score": 0.08141354471445084 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05250248685479164 + }, + "else": { + "operation": "boost", + "score": 0.0059635229408741 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05114782229065895 }, "else": { "operation": "boost", - "score": -0.04134067893028259 + "score": -0.013731924816966057 } }, "else": { "operation": "boost", - "score": -0.07458433508872986 + "score": -0.09262233972549438 } } } @@ -20317,160 +18978,65 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10852354764938354 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10425006598234177 + "score": 0.1032983735203743 }, "else": { "operation": "boost", - "score": 0.10557590425014496 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10628551244735718 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10527244955301285 - }, - "else": { - "operation": "boost", - "score": 0.0962231382727623 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10188669711351395 - }, - "else": { - "operation": "boost", - "score": 0.055783480405807495 - } + "score": 0.09782491624355316 } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08863522857427597 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09555763751268387 - }, - "else": { - "operation": "boost", - "score": 0.09806624054908752 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09516587108373642 - }, - "else": { - "operation": "boost", - "score": 0.08725550025701523 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09074150025844574 - }, - "else": { - "operation": "boost", - "score": 0.05729282274842262 - } - } + "operation": "boost", + "score": 0.0072029950097203255 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443558.5, + "threshold": 281926.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.10348790884017944 - }, - "else": { - "operation": "boost", - "score": 0.0960618257522583 - } + "operation": "boost", + "score": 0.1091419905424118 }, "else": { "operation": "boost", - "score": 0.10584483295679092 + "score": 0.10247695446014404 } }, "else": { @@ -20478,328 +19044,582 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_Namespace", + "CCC_Statement", "CCC_Symbol", - "CCC_Type" + "CCC_TopLevel" ], "then": { - "operation": "boost", - "score": 0.09089160710573196 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0723537802696228 + "score": 0.10773327946662903 + }, + "else": { + "operation": "boost", + "score": 0.09249448776245117 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10502982884645462 }, "else": { "operation": "boost", - "score": -0.03693278133869171 + "score": 0.03711801767349243 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 34.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.09451346844434738 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.05012531578540802, "then": { "operation": "boost", - "score": 0.04968561604619026 + "score": 0.08810502290725708 }, "else": { "operation": "boost", - "score": 0.11803045123815536 + "score": 0.06735528260469437 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.129404217004776 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.10172007232904434 + "score": 0.06115452200174332 }, "else": { - "operation": "boost", - "score": 0.08647239953279495 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08392440527677536 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0883917510509491 + }, + "else": { + "operation": "boost", + "score": 0.046204887330532074 + } + }, + "else": { + "operation": "boost", + "score": 0.028450047597289085 + } + } + }, + "else": { + "operation": "boost", + "score": 0.022218333557248116 + } } } - }, - "else": { - "operation": "boost", - "score": 0.0955289974808693 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.013620343990623951 + }, + "else": { + "operation": "boost", + "score": -0.12100532650947571 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08910807222127914 + }, + "else": { + "operation": "boost", + "score": 0.061605457216501236 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_Expression", "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.07972630858421326 + "score": 0.06082748994231224 }, "else": { - "operation": "boost", - "score": 0.058404356241226196 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06949637085199356 + }, + "else": { + "operation": "boost", + "score": 0.0345756858587265 + } } - }, - "else": { - "operation": "boost", - "score": 0.08248725533485413 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10377553105354309 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", "Type", - "Namespace" + "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08857335895299911 + "score": -0.09496340155601501 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": 0.13862812519073486 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11907033622264862 + }, + "else": { + "operation": "boost", + "score": 0.07607262581586838 + } }, "else": { - "operation": "boost", - "score": 0.14040787518024445 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.09082522988319397 + "score": 0.0824362114071846 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.13025428354740143 - }, - "else": { - "operation": "boost", - "score": 0.11371646821498871 - } + "operation": "boost", + "score": -0.24455896019935608 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.002879087347537279 - }, - "else": { - "operation": "boost", - "score": 0.15254457294940948 - } + "operation": "boost", + "score": 0.047610461711883545 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.06257394701242447 + }, + "else": { + "operation": "boost", + "score": 0.028782416135072708 + } }, "else": { - "operation": "boost", - "score": 0.06320499628782272 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12481459230184555 + }, + "else": { + "operation": "boost", + "score": 0.03474780544638634 + } } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.11552521586418152 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.07917479425668716 + }, + "else": { + "operation": "boost", + "score": 0.03682245314121246 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1213301494717598 + }, + "else": { + "operation": "boost", + "score": -0.05711158365011215 + } + } }, "else": { "operation": "boost", - "score": 0.10256966948509216 + "score": -0.10712731629610062 } }, "else": { - "operation": "boost", - "score": 0.07726706564426422 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10573814064264297 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.028260396793484688 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10294905304908752 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Type" ], "then": { "operation": "boost", - "score": 0.11907084286212921 + "score": 0.06930091232061386 }, "else": { "operation": "boost", - "score": 0.10346034914255142 + "score": 0.0298733152449131 } - }, - "else": { - "operation": "boost", - "score": 0.08232142776250839 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { - "operation": "boost", - "score": 0.10709602385759354 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10935458540916443 + }, + "else": { + "operation": "boost", + "score": 0.1254875808954239 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.13511237502098083 + }, + "else": { + "operation": "boost", + "score": 0.03468400612473488 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025550849735736847 + }, + "else": { + "operation": "boost", + "score": -0.11956846714019775 + } + }, + "else": { + "operation": "boost", + "score": -0.06782558560371399 + } + } }, "else": { - "operation": "boost", - "score": 0.08454003185033798 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06361015886068344 + }, + "else": { + "operation": "boost", + "score": -0.04695713520050049 + } } } - }, - "else": { - "operation": "boost", - "score": -0.12478349357843399 } } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03329899534583092 - }, - "else": { - "operation": "boost", - "score": 0.07359911501407623 - } } + }, + "else": { + "operation": "boost", + "score": -0.10120445489883423 } } } @@ -20807,760 +19627,767 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3082.0, + "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Namespace", - "CCC_Symbol" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.09434624761343002 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 224059.0, + "threshold": 188273.5, "then": { + "operation": "boost", + "score": 0.10383038967847824 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, "then": { - "operation": "boost", - "score": 0.09143218398094177 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 20068.5, "then": { "operation": "boost", - "score": 0.1148969978094101 + "score": 0.1029152050614357 }, "else": { - "operation": "boost", - "score": 0.12317453324794769 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08802172541618347 + }, + "else": { + "operation": "boost", + "score": 0.06623811274766922 + } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16206.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16870.0, + "threshold": 105017.5, "then": { "operation": "boost", - "score": 0.10206875205039978 + "score": -0.09803763031959534 + }, + "else": { + "operation": "boost", + "score": 0.09529575705528259 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09150465577840805 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.14782629907131195 - }, - "else": { - "operation": "boost", - "score": 0.12979531288146973 - } + "operation": "boost", + "score": 0.03227456286549568 }, "else": { "operation": "boost", - "score": 0.12134648859500885 + "score": 0.07399631291627884 } } - }, - "else": { - "operation": "boost", - "score": 0.10042542964220047 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11203036457300186 - }, - "else": { - "operation": "boost", - "score": 0.07069218903779984 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0847570151090622 + "score": 0.06305764615535736 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.06317558884620667 + }, + "else": { + "operation": "boost", + "score": 0.014386285096406937 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.11296811699867249 + "score": 0.08895917236804962 }, "else": { "operation": "boost", - "score": 0.0969642847776413 + "score": 0.0697946771979332 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10442424565553665 + "score": -0.012317130342125893 }, "else": { - "operation": "boost", - "score": 0.048773907124996185 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.1081356331706047 + }, + "else": { + "operation": "boost", + "score": 0.08595910668373108 + } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.08294099569320679 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.12083341181278229 + "score": 0.0838189572095871 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.12824268639087677 + "score": -0.04569403454661369 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1255120187997818 - }, - "else": { - "operation": "boost", - "score": 0.14027516543865204 - } + "operation": "boost", + "score": 0.09067186713218689 } } }, - "else": { - "operation": "boost", - "score": 0.13331453502178192 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06621867418289185 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.10082904249429703 + "score": -0.0015944893239066005 }, "else": { "operation": "boost", - "score": 0.08587725460529327 + "score": 0.05449357628822327 } } } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1825.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77931.0, + "then": { + "operation": "boost", + "score": 0.12886305153369904 + }, + "else": { + "operation": "boost", + "score": 0.10035528242588043 + } }, "else": { "operation": "boost", - "score": 0.05504552274942398 + "score": 0.0890495553612709 } }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.09739232808351517 + }, + "else": { + "operation": "boost", + "score": 0.07199957221746445 + } + }, + "else": { + "operation": "boost", + "score": 0.056422773748636246 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 143.5, + "threshold": 27.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "boost", + "score": 0.12123949080705643 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.08656224608421326 + "score": 0.10526005178689957 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.12643349170684814 - }, - "else": { - "operation": "boost", - "score": -0.0013380198506638408 - } + "operation": "boost", + "score": 0.03134290874004364 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12383387237787247 - }, - "else": { - "operation": "boost", - "score": 0.059307169169187546 - } + "operation": "boost", + "score": 0.0484749898314476 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Type" + "CCC_Statement", + "CCC_SymbolOrNewName" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14164914190769196 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08640710264444351 - }, - "else": { - "operation": "boost", - "score": 0.10133069008588791 - } - } + "operation": "boost", + "score": 0.08574043959379196 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08645347505807877 - }, - "else": { - "operation": "boost", - "score": 0.0563608855009079 - } + "operation": "boost", + "score": 0.008293933235108852 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.03881388157606125 - }, - "else": { - "operation": "boost", - "score": 0.0710248276591301 - } + "operation": "boost", + "score": 0.08243356645107269 } } }, "else": { "operation": "boost", - "score": -0.04636048525571823 + "score": 0.013189781457185745 } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11254443228244781 + "score": 0.04161053150892258 }, "else": { - "operation": "boost", - "score": 0.11276564002037048 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11416144669055939 - }, - "else": { - "operation": "boost", - "score": -0.1785253882408142 - } + "operation": "boost", + "score": 0.03610840439796448 }, "else": { "operation": "boost", - "score": 0.07858147472143173 + "score": -0.029025427997112274 } }, "else": { "operation": "boost", - "score": 0.05580703541636467 + "score": -0.07094211876392365 } - }, - "else": { - "operation": "boost", - "score": 0.024889592081308365 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1535.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7094.0, - "then": { + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", - "Namespace" + "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.0995875671505928 - }, - "else": { - "operation": "boost", - "score": 0.11619309335947037 - } + "operation": "boost", + "score": 0.09093733131885529 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "boost", + "score": 0.07979532331228256 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13589.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.09731516987085342 + "score": 0.10029668360948563 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9063.5, - "then": { - "operation": "boost", - "score": 0.1157984659075737 - }, - "else": { - "operation": "boost", - "score": 0.10801836103200912 - } + "operation": "boost", + "score": -0.1768762320280075 } }, "else": { - "operation": "boost", - "score": 0.07834476232528687 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09929011017084122 + "score": 0.09105715900659561 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13648.0, - "then": { - "operation": "boost", - "score": 0.12080693244934082 - }, - "else": { - "operation": "boost", - "score": 0.11793233454227448 - } + "operation": "boost", + "score": 0.060237590223550797 } - }, - "else": { - "operation": "boost", - "score": 0.08890819549560547 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { + "operation": "boost", + "score": -0.003013188485056162 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09992627799510956 + "score": 0.09457922726869583 }, "else": { - "operation": "boost", - "score": 0.0806569829583168 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, + "then": { + "operation": "boost", + "score": 0.058644942939281464 + }, + "else": { + "operation": "boost", + "score": 0.02735799364745617 + } } - }, - "else": { - "operation": "boost", - "score": 0.03422550857067108 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.0994240939617157 - }, - "else": { - "operation": "boost", - "score": 0.06373985856771469 - } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14379.0, + "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, - "then": { - "operation": "boost", - "score": -0.2111329436302185 - }, - "else": { - "operation": "boost", - "score": 0.11090930551290512 - } - }, - "else": { - "operation": "boost", - "score": 0.07088177651166916 - } + "operation": "boost", + "score": 0.09039755910634995 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 350855.0, + "threshold": 62580.5, "then": { "operation": "boost", - "score": 0.10472723841667175 + "score": 0.09156546741724014 }, "else": { - "operation": "boost", - "score": 0.06288570165634155 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74544.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "boost", - "score": 0.10382455587387085 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10440400242805481 - }, - "else": { - "operation": "boost", - "score": 0.08010875433683395 - } - } + "operation": "boost", + "score": 0.09031926840543747 }, "else": { "operation": "boost", - "score": 0.04870791360735893 + "score": 0.037005748599767685 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.0473465733230114 }, "else": { "operation": "boost", - "score": -0.02228308469057083 + "score": 0.0008149142959155142 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Namespace" + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "boost", + "score": -0.1104554682970047 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.008727574720978737 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.06857730448246002 + "score": -0.043038949370384216 }, "else": { "operation": "boost", - "score": 0.1063777431845665 + "score": 0.00815068930387497 } + }, + "else": { + "operation": "boost", + "score": 0.04634543135762215 } }, "else": { "operation": "boost", - "score": 0.10158178210258484 + "score": -0.022947324439883232 } - }, - "else": { - "operation": "boost", - "score": 0.0007161966641433537 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 1556.5, "then": { "operation": "boost", - "score": 0.07855052500963211 + "score": -0.009926775470376015 }, "else": { - "operation": "boost", - "score": 0.028328407555818558 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.08464941382408142 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03485177457332611 + }, + "else": { + "operation": "boost", + "score": -0.05935904383659363 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10537638515233994 + } + }, + "else": { + "operation": "boost", + "score": -0.07278461754322052 + } } }, "else": { - "operation": "boost", - "score": -0.09273163974285126 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09536668658256531 + }, + "else": { + "operation": "boost", + "score": 0.026844382286071777 + } + }, + "else": { + "operation": "boost", + "score": -0.0337882861495018 + } } } - }, - "else": { - "operation": "boost", - "score": -0.043929323554039 } } } @@ -21574,1254 +20401,1425 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10368882864713669 - }, - "else": { - "operation": "boost", - "score": 0.10493633896112442 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10577129572629929 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10472741723060608 - }, - "else": { - "operation": "boost", - "score": 0.0966801866889 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10083850473165512 - }, - "else": { - "operation": "boost", - "score": 0.04786746948957443 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08592279255390167 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09423716366291046 - }, - "else": { - "operation": "boost", - "score": 0.09667423367500305 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09334573894739151 - }, - "else": { - "operation": "boost", - "score": 0.08446567505598068 - } - } - } + "operation": "boost", + "score": 0.10766410827636719 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "boost", - "score": 0.08826317638158798 + "score": 0.10188520699739456 }, "else": { "operation": "boost", - "score": 0.05342940241098404 + "score": 0.09560608863830566 } } + }, + "else": { + "operation": "boost", + "score": 0.0007781512686051428 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443558.5, + "threshold": 281926.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.10293618589639664 - }, - "else": { - "operation": "boost", - "score": 0.09465999901294708 - } - }, - "else": { - "operation": "boost", - "score": 0.10569102317094803 - } + "operation": "boost", + "score": 0.10491655021905899 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_Namespace", + "CCC_Statement", "CCC_Symbol", - "CCC_Type" + "CCC_TopLevel" ], "then": { - "operation": "boost", - "score": 0.08798515796661377 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06851441413164139 + "score": 0.10644551366567612 + }, + "else": { + "operation": "boost", + "score": 0.09022273123264313 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10344266146421432 }, "else": { "operation": "boost", - "score": -0.02713131345808506 + "score": 0.03399127721786499 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 34.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.092014379799366 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.05012531578540802, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.14281749725341797 - }, - "else": { - "operation": "boost", - "score": 0.11559645086526871 - } + "operation": "boost", + "score": 0.08540398627519608 }, "else": { "operation": "boost", - "score": -0.14231549203395844 + "score": 0.06374350190162659 } - }, - "else": { - "operation": "boost", - "score": 0.08492173999547958 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09300398826599121 - }, - "else": { - "operation": "boost", - "score": 0.07523921132087708 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04875481501221657 - }, - "else": { - "operation": "boost", - "score": 0.07535311579704285 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10021496564149857 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.07889794558286667 + "score": 0.08116085082292557 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13261456787586212 - }, - "else": { - "operation": "boost", - "score": 0.13222751021385193 - } + "operation": "boost", + "score": 0.051702357828617096 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.03255408629775047 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.12390189617872238 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.013792723417282104 - }, - "else": { - "operation": "boost", - "score": 0.14082995057106018 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0651857778429985 - } + "operation": "boost", + "score": -0.038424428552389145 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.11330397427082062 + "score": 0.10346589982509613 }, "else": { - "operation": "boost", - "score": 0.09915608167648315 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.04711455851793289 + }, + "else": { + "operation": "boost", + "score": 0.018626442179083824 + } } }, "else": { - "operation": "boost", - "score": 0.07223202288150787 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09726324677467346 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08444047719240189 - }, - "else": { - "operation": "boost", - "score": 0.1298241913318634 - } - }, - "else": { - "operation": "boost", - "score": 0.09904054552316666 - } - }, - "else": { - "operation": "boost", - "score": 0.07550685852766037 - } + "operation": "boost", + "score": 0.0937814861536026 }, "else": { "operation": "boost", - "score": 0.09909835457801819 + "score": 0.023788420483469963 } }, "else": { "operation": "boost", - "score": -0.12246974557638168 + "score": -0.02381359227001667 } } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03750455752015114 - }, - "else": { - "operation": "boost", - "score": 0.06873799115419388 - } } } + }, + "else": { + "operation": "boost", + "score": -0.03788677603006363 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3005.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08513856679201126 + "score": 0.08564498275518417 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11395056545734406 - }, - "else": { - "operation": "boost", - "score": 0.12061285227537155 - } + "operation": "boost", + "score": 0.058037903159856796 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type", - "Namespace" + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Symbol" ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16206.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16870.0, - "then": { - "operation": "boost", - "score": 0.09818112850189209 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.12598338723182678 - }, - "else": { - "operation": "boost", - "score": 0.14221228659152985 - } - }, - "else": { - "operation": "boost", - "score": 0.11772455275058746 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09712732583284378 - } - }, - "else": { - "operation": "boost", - "score": 0.08177092671394348 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.08184551447629929 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10129130631685257 - }, - "else": { - "operation": "boost", - "score": 0.05048526078462601 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11157940328121185 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12262964248657227 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1211174875497818 - }, - "else": { - "operation": "boost", - "score": 0.13311508297920227 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.1282411366701126 - } + "score": 0.05676628649234772 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06105718016624451 + "score": -0.07166169583797455 }, "else": { "operation": "boost", - "score": 0.09097940474748611 + "score": 0.03238915652036667 } } - }, - "else": { - "operation": "boost", - "score": 0.05516565591096878 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.5, + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.08385226875543594 - }, - "else": { - "operation": "boost", - "score": 0.01438909862190485 - } + "operation": "boost", + "score": -0.09284079819917679 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", "Type" ], "then": { - "operation": "boost", - "score": 0.12094241380691528 - }, - "else": { - "operation": "boost", - "score": 0.05833333358168602 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": -0.136590376496315 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11270631104707718 + }, + "else": { + "operation": "boost", + "score": 0.07372362166643143 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.08163676410913467 + "score": 0.08194580674171448 }, "else": { "operation": "boost", - "score": 0.10033517330884933 + "score": 0.04163969308137894 } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.056493062525987625 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.05921868979930878 + }, + "else": { + "operation": "boost", + "score": 0.027072608470916748 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.034712836146354675 + "score": -0.11306288838386536 }, "else": { "operation": "boost", - "score": 0.07018512487411499 + "score": 0.0307061318308115 } } } - }, - "else": { - "operation": "boost", - "score": -0.041936542838811874 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10990169644355774 - }, - "else": { - "operation": "boost", - "score": 0.10607292503118515 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08163303881883621 - }, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.07377468049526215 + }, + "else": { + "operation": "boost", + "score": 0.03358772024512291 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.11551547050476074 + }, + "else": { + "operation": "boost", + "score": -0.0555889867246151 + } + } + }, "else": { "operation": "boost", - "score": 0.05332084000110626 + "score": -0.10274237394332886 } }, "else": { - "operation": "boost", - "score": 0.02417825721204281 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.026385655626654625 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10146594047546387 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.06582117825746536 + }, + "else": { + "operation": "boost", + "score": 0.0261534433811903 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.1076982393860817 + }, + "else": { + "operation": "boost", + "score": 0.11672291904687881 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.12934742867946625 + }, + "else": { + "operation": "boost", + "score": 0.036197058856487274 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.023184198886156082 + }, + "else": { + "operation": "boost", + "score": -0.1123284250497818 + } + }, + "else": { + "operation": "boost", + "score": -0.06496978551149368 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05907713994383812 + }, + "else": { + "operation": "boost", + "score": -0.04230114817619324 + } + } + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.09958402067422867 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 252.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3091.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.10119274258613586 - }, - "else": { - "operation": "boost", - "score": 0.08909645676612854 - } + "operation": "boost", + "score": 0.0926566943526268 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 188273.5, "then": { "operation": "boost", - "score": 0.08224137872457504 + "score": 0.10232718288898468 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, "then": { - "operation": "boost", - "score": 0.1290513426065445 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20068.5, + "then": { + "operation": "boost", + "score": 0.10265659540891647 + }, + "else": { + "operation": "boost", + "score": 0.0806601271033287 + } }, "else": { "operation": "boost", - "score": 0.12240880727767944 + "score": 0.06722456216812134 } } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, - "then": { - "operation": "boost", - "score": -0.17918407917022705 - }, - "else": { - "operation": "boost", - "score": 0.11068416386842728 - } + "operation": "boost", + "score": 0.05848066136240959 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.09944029897451401 + "score": 0.060641098767519 }, "else": { - "operation": "boost", - "score": 0.06570228189229965 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.05625011771917343 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.018062081187963486 + }, + "else": { + "operation": "boost", + "score": 0.05087350681424141 + } + } } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31541.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.09203411638736725 + "score": 0.08564937859773636 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.06571376323699951 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.014508834108710289 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.08652553707361221 + "score": 0.10651647299528122 }, "else": { "operation": "boost", - "score": 0.05464703217148781 + "score": 0.08214253187179565 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.07992244511842728 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Symbol" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.09722638130187988 + "score": 0.08053300529718399 }, "else": { - "operation": "boost", - "score": 0.05919089540839195 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.04171106219291687 + }, + "else": { + "operation": "boost", + "score": 0.08726586401462555 + } } }, "else": { - "operation": "boost", - "score": -0.008768279105424881 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7036.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.0029398594051599503 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol" + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09469275921583176 - }, - "else": { - "operation": "boost", - "score": 0.12124847620725632 - } + "operation": "boost", + "score": 0.07593867182731628 }, "else": { "operation": "boost", - "score": 0.0656939223408699 + "score": 0.045023318380117416 } - }, - "else": { - "operation": "boost", - "score": 0.06462936848402023 } - }, - "else": { - "operation": "boost", - "score": 0.02609597146511078 } - }, - "else": { - "operation": "boost", - "score": -0.018528640270233154 } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09838709235191345, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 1824.5, "then": { - "operation": "boost", - "score": -0.07933938503265381 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77931.0, + "then": { + "operation": "boost", + "score": 0.12616249918937683 + }, + "else": { + "operation": "boost", + "score": 0.09798385947942734 + } + }, + "else": { + "operation": "boost", + "score": 0.08555863052606583 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.09359394013881683 + }, + "else": { + "operation": "boost", + "score": 0.07061053067445755 + } + }, + "else": { + "operation": "boost", + "score": 0.0552511066198349 + } + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.11242365092039108 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type" + "Macro", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09844062477350235 + }, + "else": { + "operation": "boost", + "score": 0.031257905066013336 + } + }, + "else": { + "operation": "boost", + "score": 0.045305829495191574 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.08171176165342331 + }, + "else": { + "operation": "boost", + "score": 0.03503930941224098 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { + "operation": "boost", + "score": 0.001525506959296763 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.09161185473203659 + "score": 0.0974775180220604 }, "else": { "operation": "boost", - "score": 0.1337658017873764 + "score": 0.044608231633901596 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03953590989112854 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { "operation": "boost", - "score": 0.13090397417545319 + "score": 0.034276243299245834 }, "else": { "operation": "boost", - "score": 0.10442540049552917 + "score": -0.028808599337935448 } + }, + "else": { + "operation": "boost", + "score": -0.07100468873977661 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09294410794973373 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08731140196323395 }, "else": { + "operation": "boost", + "score": 0.05829944461584091 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09762369096279144 + "score": 0.10387175530195236 }, "else": { "operation": "boost", - "score": 0.0825614184141159 + "score": 0.0733523815870285 } + }, + "else": { + "operation": "boost", + "score": 0.06772947311401367 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.17129990458488464 - }, - "else": { - "operation": "boost", - "score": 0.15457843244075775 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.0, - "then": { - "operation": "boost", - "score": 0.182429239153862 - }, - "else": { - "operation": "boost", - "score": 0.14877505600452423 - } - } + "operation": "boost", + "score": 0.05544014647603035 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10089468955993652 - }, - "else": { - "operation": "boost", - "score": 0.1279165893793106 - } + "operation": "boost", + "score": -0.011268144473433495 } }, "else": { - "operation": "boost", - "score": 0.015537355095148087 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09131273627281189 + }, + "else": { + "operation": "boost", + "score": 0.03572545573115349 + } } } - }, - "else": { - "operation": "boost", - "score": -0.05627795681357384 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14379.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0866396501660347 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "FileScope" + "Macro", + "Namespace" ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62580.5, + "then": { + "operation": "boost", + "score": 0.08904615789651871 + }, + "else": { + "operation": "boost", + "score": 0.05231987312436104 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0016195903299376369 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232885.0, + "then": { + "operation": "boost", + "score": 0.0435328483581543 + }, + "else": { + "operation": "boost", + "score": 0.09662064909934998 + } + }, + "else": { + "operation": "boost", + "score": 0.0409991517663002 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 860.5, "then": { "operation": "boost", - "score": -0.026135042309761047 + "score": 0.03164903074502945 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.07731132954359055 + }, + "else": { + "operation": "boost", + "score": 0.06979309022426605 + } + }, + "else": { + "operation": "boost", + "score": 0.025974851101636887 + } + }, + "else": { + "operation": "boost", + "score": -0.08890199661254883 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2505941689014435 + "score": -0.12437527626752853 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 30.5, "then": { "operation": "boost", - "score": 0.14125332236289978 + "score": 0.03448950871825218 }, "else": { "operation": "boost", - "score": 0.14105795323848724 + "score": -0.013002175837755203 } } - }, - "else": { - "operation": "boost", - "score": 0.09285801649093628 } } }, "else": { "operation": "boost", - "score": -0.03842611983418465 + "score": -0.06244746595621109 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08893464505672455 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04697931930422783 + }, + "else": { + "operation": "boost", + "score": 0.002784733660519123 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.016008706763386726 + }, + "else": { + "operation": "boost", + "score": 0.03515787422657013 } }, "else": { "operation": "boost", - "score": -0.06787480413913727 + "score": -0.0911315530538559 } } } @@ -22837,527 +21835,653 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10329734534025192 - }, - "else": { - "operation": "boost", - "score": 0.10453527420759201 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10521509498357773 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10396013408899307 - }, - "else": { - "operation": "boost", - "score": 0.09296120703220367 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.0992877408862114 - }, - "else": { - "operation": "boost", - "score": 0.04281450808048248 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08311630040407181 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.0897068977355957 - }, - "else": { - "operation": "boost", - "score": 0.0952216312289238 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09119682013988495 - }, - "else": { - "operation": "boost", - "score": 0.08133240044116974 - } - } - } + "operation": "boost", + "score": 0.10697859525680542 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "boost", - "score": 0.08495151251554489 + "score": 0.10036642104387283 }, "else": { "operation": "boost", - "score": 0.05070669203996658 + "score": 0.09347398579120636 } } + }, + "else": { + "operation": "boost", + "score": 0.0008542459108866751 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443558.5, + "threshold": 281926.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.10257557779550552 - }, - "else": { - "operation": "boost", - "score": 0.09313683211803436 - } - }, - "else": { - "operation": "boost", - "score": 0.10560378432273865 - } + "operation": "boost", + "score": 0.10392142087221146 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", + "CCC_Statement", "CCC_Symbol", + "CCC_TopLevel", "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.0859752967953682 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06425798684358597 + "score": 0.10497349500656128 }, "else": { "operation": "boost", - "score": -0.01864858716726303 + "score": 0.08658834546804428 } + }, + "else": { + "operation": "boost", + "score": 0.039618007838726044 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 34.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.08972368389368057 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.05012531578540802, "then": { "operation": "boost", - "score": 0.049583010375499725 + "score": 0.08284495770931244 }, "else": { "operation": "boost", - "score": 0.11410412192344666 + "score": 0.05979437753558159 } - }, - "else": { - "operation": "boost", - "score": 0.08305097371339798 } }, "else": { - "operation": "boost", - "score": 0.09105654805898666 - } - }, - "else": { - "operation": "boost", - "score": 0.06536269187927246 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10004983097314835 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.07490529865026474 + "score": 0.07804930955171585 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04870620742440224 + }, + "else": { + "operation": "boost", + "score": -0.03432818874716759 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10135728120803833 + }, + "else": { + "operation": "boost", + "score": 0.029521768912672997 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.1304868459701538 + "score": 0.09153735637664795 }, "else": { - "operation": "boost", - "score": 0.12478920817375183 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.08783616125583649 + "score": 0.07010643184185028 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.11910200864076614 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0013354640686884522 - }, - "else": { - "operation": "boost", - "score": 0.13280948996543884 - } - } + "operation": "boost", + "score": -0.043397169560194016 } - }, - "else": { - "operation": "boost", - "score": 0.06062910333275795 } + }, + "else": { + "operation": "boost", + "score": -0.027682101354002953 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014257458969950676 + }, + "else": { + "operation": "boost", + "score": -0.11831093579530716 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0824725478887558 }, "else": { + "operation": "boost", + "score": 0.05477450415492058 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, - "then": { - "operation": "boost", - "score": 0.11170969158411026 - }, - "else": { - "operation": "boost", - "score": 0.09449733048677444 - } + "operation": "boost", + "score": 0.06972993165254593 }, "else": { "operation": "boost", - "score": 0.07056497037410736 + "score": -0.07340645045042038 } + }, + "else": { + "operation": "boost", + "score": 0.03805574029684067 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.03612903133034706, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08932628482580185 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.11034319549798965 + "score": 0.06546196341514587 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09653657674789429 + "score": 0.08325625211000443 }, "else": { - "operation": "boost", - "score": 0.06476835161447525 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.009459925815463066 + }, + "else": { + "operation": "boost", + "score": 0.04629683867096901 + } } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08121920377016068 - }, - "else": { - "operation": "boost", - "score": -0.026014555245637894 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11985090374946594 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Type" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.10970078408718109 + }, + "else": { + "operation": "boost", + "score": 0.06292790174484253 + } + }, + "else": { + "operation": "boost", + "score": 0.02572273276746273 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.061751510947942734 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05053173378109932 + }, + "else": { + "operation": "boost", + "score": -0.0837133377790451 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07263316214084625 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04340213164687157 + }, + "else": { + "operation": "boost", + "score": 0.022398030385375023 + } }, "else": { "operation": "boost", - "score": 0.0939590260386467 + "score": -0.06762784719467163 } } }, "else": { "operation": "boost", - "score": 0.06743372231721878 + "score": -0.038443900644779205 } - }, - "else": { - "operation": "boost", - "score": 0.03591925650835037 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03112604096531868 + }, + "else": { + "operation": "boost", + "score": -0.09876450151205063 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.031169962137937546 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "boost", + "score": 0.035079196095466614 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "boost", - "score": -0.11432473361492157 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11515393108129501 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.12959136068820953 + }, + "else": { + "operation": "boost", + "score": 0.031966179609298706 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.016799502074718475 + }, + "else": { + "operation": "boost", + "score": -0.06183901056647301 + } + } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.0038332385011017323 + "score": 0.04565580561757088 }, "else": { "operation": "boost", - "score": 0.07848112285137177 + "score": -0.04560280218720436 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.07306891679763794 - }, - "else": { - "operation": "boost", - "score": -0.10116294771432877 - } } } - }, - "else": { - "operation": "boost", - "score": -0.1280006617307663 } } + }, + "else": { + "operation": "boost", + "score": -0.09785819053649902 } } } @@ -23365,434 +22489,272 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3005.5, + "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_EnumTag", "CCC_Namespace", - "CCC_Symbol" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, - "then": { - "operation": "boost", - "score": 0.08777209371328354 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11315073072910309 - }, - "else": { - "operation": "boost", - "score": 0.11833721399307251 - } - } + "operation": "boost", + "score": 0.0842849537730217 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16141.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16870.0, - "then": { - "operation": "boost", - "score": 0.09594082832336426 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.12707430124282837 - }, - "else": { - "operation": "boost", - "score": 0.13791756331920624 - } - }, - "else": { - "operation": "boost", - "score": 0.1155514121055603 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09431582689285278 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10810758918523788 - }, - "else": { - "operation": "boost", - "score": 0.06462275236845016 - } - } + "operation": "boost", + "score": 0.1005592942237854 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 188273.5, "then": { "operation": "boost", - "score": 0.07770359516143799 + "score": 0.1008118987083435 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, "then": { - "operation": "boost", - "score": 0.102444589138031 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 53.5, "then": { "operation": "boost", - "score": 0.09608625620603561 + "score": 0.08890411257743835 }, "else": { "operation": "boost", - "score": 0.048397619277238846 + "score": 0.0691598579287529 } + }, + "else": { + "operation": "boost", + "score": 0.06254161894321442 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.08636679500341415 + }, + "else": { + "operation": "boost", + "score": 0.05551770329475403 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Function" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10509228706359863 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1183212623000145 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11745796352624893 - }, - "else": { - "operation": "boost", - "score": 0.1279468685388565 - } - } - } + "operation": "boost", + "score": 0.08606702834367752 }, "else": { "operation": "boost", - "score": 0.12145376205444336 + "score": 0.03745410963892937 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.08892448246479034 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08532002568244934 - }, - "else": { - "operation": "boost", - "score": 0.10855968296527863 - } + "operation": "boost", + "score": 0.048004455864429474 }, "else": { "operation": "boost", - "score": 0.03025796264410019 + "score": -0.1677902489900589 } + }, + "else": { + "operation": "boost", + "score": -0.031519822776317596 } } - }, - "else": { - "operation": "boost", - "score": 0.0513591468334198 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.07981503754854202 - }, - "else": { - "operation": "boost", - "score": 0.01571480557322502 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11376345902681351 - }, - "else": { - "operation": "boost", - "score": 0.05073346197605133 - } - } + "operation": "boost", + "score": 0.08897951245307922 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1382952630519867 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07867398113012314 - }, - "else": { - "operation": "boost", - "score": 0.09777562320232391 - } - } + "operation": "boost", + "score": 0.06255875527858734 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function" + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": 0.052962902933359146 + "score": 0.10476820170879364 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.031808000057935715 - }, - "else": { - "operation": "boost", - "score": 0.06619735807180405 - } + "operation": "boost", + "score": 0.07572401314973831 } } }, "else": { "operation": "boost", - "score": -0.03705385699868202 + "score": 0.06182459369301796 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "boost", + "score": 0.07673054188489914 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.07714498043060303 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.13220137357711792 + "score": -0.03770134225487709 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1295863389968872 - }, - "else": { - "operation": "boost", - "score": 0.10052814334630966 - } + "operation": "boost", + "score": 0.08432701975107193 } - }, - "else": { - "operation": "boost", - "score": 0.10608422756195068 } }, "else": { - "operation": "boost", - "score": 0.10215650498867035 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10672829300165176 - }, - "else": { - "operation": "boost", - "score": -0.15889109671115875 - } - }, - "else": { - "operation": "boost", - "score": 0.07206263393163681 - } + "operation": "boost", + "score": -0.00594095466658473 }, "else": { "operation": "boost", - "score": 0.05092048645019531 + "score": 0.04376782104372978 } - }, - "else": { - "operation": "boost", - "score": 0.023334631696343422 } } } @@ -23802,84 +22764,162 @@ }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71306.0, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 3082.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function", - "Namespace" + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 298482.5, + "threshold": 77931.0, "then": { "operation": "boost", - "score": 0.09232895076274872 + "score": 0.1242254450917244 }, "else": { "operation": "boost", - "score": 0.10405620187520981 + "score": 0.09748547524213791 } }, "else": { "operation": "boost", - "score": 0.08781755715608597 + "score": 0.08566107600927353 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" ], "then": { - "operation": "boost", - "score": 0.10238134115934372 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.09343913197517395 + }, + "else": { + "operation": "boost", + "score": 0.06847387552261353 + } }, "else": { + "operation": "boost", + "score": 0.053896088153123856 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 33.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { "operation": "boost", - "score": -0.031178178265690804 + "score": 0.09053497016429901 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.07517288625240326 + }, + "else": { + "operation": "boost", + "score": 0.01701187528669834 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08808881789445877 + }, + "else": { + "operation": "boost", + "score": 0.041096899658441544 + } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", - "Namespace" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_Namespace", "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.09629028290510178 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.05786756053566933 + }, + "else": { + "operation": "boost", + "score": 0.02618560753762722 + } }, "else": { "operation": "boost", - "score": 0.05992761254310608 + "score": -0.004843064583837986 } }, "else": { @@ -23888,77 +22928,39 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10216585546731949 + "score": 0.03248584270477295 }, "else": { "operation": "boost", - "score": 0.05827334150671959 + "score": -0.07145851105451584 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.009165040217339993 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 296854.0, + "threshold": 33.5, "then": { "operation": "boost", - "score": 0.11480008065700531 + "score": 0.09863559156656265 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.014876269735395908 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, - "then": { - "operation": "boost", - "score": 0.1137288361787796 - }, - "else": { - "operation": "boost", - "score": 0.11500661820173264 - } - }, - "else": { - "operation": "boost", - "score": 0.10791963338851929 - } - } + "operation": "boost", + "score": 0.09780406951904297 }, "else": { "operation": "boost", - "score": 0.08861710876226425 + "score": 0.06313673406839371 } } }, @@ -23967,21 +22969,32 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.07281036674976349 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121087.0, + "feature": "FractionNameInContext", + "threshold": 0.343137264251709, "then": { "operation": "boost", - "score": 0.10931236296892166 + "score": 0.05323250591754913 }, "else": { - "operation": "boost", - "score": 0.08974531292915344 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.07780852913856506 + }, + "else": { + "operation": "boost", + "score": 0.010164092294871807 + } } - }, - "else": { - "operation": "boost", - "score": 0.061326105147600174 } } } @@ -23989,87 +23002,306 @@ }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1556.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.06929314136505127 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08653297275304794 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5188.0, + "operation": "boost", + "score": 0.08551628887653351 + }, + "else": { + "operation": "boost", + "score": 0.03450498729944229 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32765.0, + "then": { + "operation": "boost", + "score": 0.08678412437438965 + }, + "else": { + "operation": "boost", + "score": 0.04779139906167984 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.057303622364997864 + }, + "else": { + "operation": "boost", + "score": -0.013270474970340729 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1077837273478508 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.09264931082725525 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.054554883390665054 + }, + "else": { + "operation": "boost", + "score": 0.08325820416212082 + } }, "else": { + "operation": "boost", + "score": -0.0012865957105532289 + } + }, + "else": { + "operation": "boost", + "score": -0.18460504710674286 + } + }, + "else": { + "operation": "boost", + "score": -0.017809823155403137 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13648.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.11498711258172989 + "score": -0.05747435986995697 }, "else": { - "operation": "boost", - "score": 0.11171255260705948 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.012796858325600624 + }, + "else": { + "operation": "boost", + "score": -0.08138182759284973 + } } + }, + "else": { + "operation": "boost", + "score": 0.0424933023750782 + } + }, + "else": { + "operation": "boost", + "score": -0.025571385398507118 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.09994997829198837 + }, + "else": { + "operation": "boost", + "score": 0.061797674745321274 } }, "else": { "operation": "boost", - "score": 0.08664707839488983 + "score": -0.007045823615044355 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.08178726583719254 + }, + "else": { + "operation": "boost", + "score": 0.0013825841015204787 } }, "else": { "operation": "boost", - "score": 0.09767300635576248 + "score": -0.10547428578138351 } }, "else": { "operation": "boost", - "score": 0.061006393283605576 + "score": -0.06722275912761688 } }, "else": { - "operation": "boost", - "score": 0.022465188056230545 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09603055566549301 + }, + "else": { + "operation": "boost", + "score": 0.028386536985635757 + } + }, + "else": { + "operation": "boost", + "score": -0.030070947483181953 + } } } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08662264794111252 - }, - "else": { - "operation": "boost", - "score": -0.03803091496229172 - } } } } @@ -24083,456 +23315,270 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10619451105594635 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "boost", - "score": 0.1027916669845581 + "score": 0.09890985488891602 }, "else": { "operation": "boost", - "score": 0.1039339229464531 + "score": 0.09120485186576843 } + } + }, + "else": { + "operation": "boost", + "score": 0.0007001198828220367 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.10270808637142181 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1045740395784378 + "score": 0.1042909100651741 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10338488221168518 - }, - "else": { - "operation": "boost", - "score": 0.09045221656560898 - } + "operation": "boost", + "score": 0.08545621484518051 } }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02423366717994213 - }, - "else": { - "operation": "boost", - "score": 0.11265657842159271 - } + "operation": "boost", + "score": 0.10077531635761261 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09800243377685547 - }, - "else": { - "operation": "boost", - "score": 0.046469200402498245 - } + "operation": "boost", + "score": 0.029828136786818504 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08022903650999069 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.08842722326517105 - }, - "else": { - "operation": "boost", - "score": 0.09371563047170639 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.08928316831588745 - }, - "else": { - "operation": "boost", - "score": 0.07867465913295746 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08255256712436676 - }, - "else": { - "operation": "boost", - "score": 0.04674442484974861 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 34.5, "then": { - "operation": "boost", - "score": -0.07991296052932739 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Namespace", "Type", - "Namespace" + "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06924007833003998 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12235661596059799 - }, - "else": { - "operation": "boost", - "score": 0.11743059754371643 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.051587510854005814 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.11626280844211578 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.009016445837914944 - }, - "else": { - "operation": "boost", - "score": 0.1256270855665207 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07859555631875992 - } - } - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_Type" + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.11001641303300858 + "score": 0.08726968616247177 }, "else": { - "operation": "boost", - "score": 0.09045501053333282 - } - }, - "else": { - "operation": "boost", - "score": 0.06523347645998001 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.05012531578540802, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.14513622224330902 - }, - "else": { - "operation": "boost", - "score": 0.11198204755783081 - } + "operation": "boost", + "score": 0.07991767674684525 }, "else": { "operation": "boost", - "score": 0.07979388535022736 + "score": 0.056297071278095245 } - }, - "else": { - "operation": "boost", - "score": 0.08972452580928802 } }, "else": { "operation": "boost", - "score": 0.06237979605793953 + "score": 0.014156310819089413 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "NumNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0941106528043747 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.07287584990262985 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.10114303976297379 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.2138231098651886 + }, + "else": { + "operation": "boost", + "score": 0.07704175263643265 + } + } + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07925587147474289 - }, - "else": { - "operation": "boost", - "score": 0.12239458411931992 - } + "operation": "boost", + "score": 0.11371500045061111 }, "else": { "operation": "boost", - "score": 0.09211332350969315 + "score": 0.033188726752996445 } }, "else": { "operation": "boost", - "score": 0.0670701414346695 + "score": 0.04730633646249771 } - }, - "else": { - "operation": "boost", - "score": 0.09014355391263962 } - }, - "else": { - "operation": "boost", - "score": -0.11804090440273285 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.04881294071674347 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.10122671723365784 - }, - "else": { - "operation": "boost", - "score": 0.1257074922323227 - } - } + "operation": "boost", + "score": -0.000959669123403728 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09630633145570755 + "score": 0.09379938989877701 }, "else": { "operation": "boost", - "score": 0.08319224417209625 + "score": 0.1141337975859642 } } }, @@ -24540,768 +23586,1140 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_DotMemberAccess" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": -0.06852495670318604 + "score": 0.10088670253753662 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.03979102522134781 + "score": -0.18807312846183777 }, "else": { "operation": "boost", - "score": 0.09276311099529266 + "score": 0.06000091880559921 } } }, "else": { "operation": "boost", - "score": -0.034136224538087845 + "score": 0.03365994989871979 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.055185817182064056 + }, + "else": { + "operation": "boost", + "score": -0.05488847941160202 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.060949306935071945 + "score": 0.08695971965789795 }, "else": { "operation": "boost", - "score": 0.000353206938598305 + "score": -0.015641018748283386 } + }, + "else": { + "operation": "boost", + "score": 0.05201687663793564 } }, "else": { - "operation": "boost", - "score": -0.1230221539735794 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.06658948212862015 + }, + "else": { + "operation": "boost", + "score": 0.023298248648643494 + } + }, + "else": { + "operation": "boost", + "score": -0.03944515436887741 + } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3005.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { - "operation": "boost", - "score": 0.08997370302677155 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11213172972202301 + "score": 0.08039624989032745 }, "else": { "operation": "boost", - "score": 0.11666318029165268 + "score": 0.05202171579003334 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.052094608545303345 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06783122569322586 + }, + "else": { + "operation": "boost", + "score": 0.02554067224264145 + } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16206.0, + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10805855691432953 + }, + "else": { + "operation": "boost", + "score": 0.0073483227752149105 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16870.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.09227467328310013 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01946314051747322 + }, + "else": { + "operation": "boost", + "score": 0.0446418821811676 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.1114005446434021 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.06768301129341125 + }, + "else": { + "operation": "boost", + "score": 0.03029704838991165 + } + }, + "else": { + "operation": "boost", + "score": -0.07782524824142456 + } }, "else": { "operation": "boost", - "score": 0.13307107985019684 + "score": -0.0933203473687172 } }, "else": { - "operation": "boost", - "score": 0.11471889913082123 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.012827591970562935 + }, + "else": { + "operation": "boost", + "score": 0.015276617370545864 + } } } }, "else": { "operation": "boost", - "score": 0.08923517167568207 + "score": -0.09589508920907974 } - }, - "else": { - "operation": "boost", - "score": 0.07208787649869919 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07849244773387909 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09506282210350037 - }, - "else": { - "operation": "boost", - "score": 0.04717133939266205 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_EnumTag", "CCC_Namespace", - "CCC_Symbol" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09795073419809341 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11390858888626099 - }, - "else": { - "operation": "boost", - "score": 0.12078613042831421 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11665474623441696 - } + "operation": "boost", + "score": 0.0742807611823082 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.061091963201761246 - }, - "else": { - "operation": "boost", - "score": 0.09292712807655334 - } + "operation": "boost", + "score": 0.09626863151788712 } }, "else": { - "operation": "boost", - "score": 0.047171447426080704 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.5, + "feature": "FractionNameInContext", + "threshold": 0.04112903028726578, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 20068.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.07740968465805054 - }, - "else": { - "operation": "boost", - "score": 0.015748286619782448 - } + "operation": "boost", + "score": 0.10041303187608719 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", + "Namespace", "Type" ], "then": { "operation": "boost", - "score": 0.10842178016901016 + "score": 0.07894042134284973 }, "else": { - "operation": "boost", - "score": 0.04936930537223816 - } - } - }, - "else": { - "operation": "boost", - "score": -0.01958444155752659 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12521573901176453 + "score": 0.0904197245836258 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.12860901653766632 + "score": 0.06076180934906006 }, "else": { "operation": "boost", - "score": 0.08989930897951126 + "score": -0.03806950896978378 } } - }, - "else": { - "operation": "boost", - "score": 0.10401519387960434 } - }, - "else": { - "operation": "boost", - "score": 0.09892670810222626 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 188273.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07389792054891586 - }, - "else": { - "operation": "boost", - "score": 0.036552440375089645 - } + "operation": "boost", + "score": 0.0974545031785965 }, "else": { "operation": "boost", - "score": 0.025264175608754158 + "score": 0.058705661445856094 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.10250589996576309 }, "else": { - "operation": "boost", - "score": 0.09419234097003937 - } - }, - "else": { - "operation": "boost", - "score": 0.06358295679092407 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, - "then": { - "operation": "boost", - "score": -0.16601364314556122 - }, - "else": { - "operation": "boost", - "score": 0.11010897159576416 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "boost", + "score": 0.08651160448789597 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3199.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, - "then": { - "operation": "boost", - "score": 0.09519150853157043 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11713.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11122222244739532 - }, - "else": { - "operation": "boost", - "score": 0.11379656940698624 - } - }, - "else": { - "operation": "boost", - "score": 0.10766854882240295 - } - } + "operation": "boost", + "score": 0.05880400165915489 }, "else": { "operation": "boost", - "score": 0.11022049933671951 + "score": 0.08878657966852188 } }, "else": { "operation": "boost", - "score": 0.15515775978565216 + "score": 0.05906052514910698 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08425101637840271 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07720883935689926 + }, + "else": { + "operation": "boost", + "score": 0.045197390019893646 + } } }, "else": { "operation": "boost", - "score": 0.06053495779633522 + "score": 0.03720085322856903 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.0782516822218895 + }, + "else": { + "operation": "boost", + "score": 0.05139973759651184 } }, "else": { - "operation": "boost", - "score": 0.06468010693788528 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07058615982532501 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05461858585476875 + }, + "else": { + "operation": "boost", + "score": 0.014907168224453926 + } + } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3082.0, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.06479569524526596 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77931.0, + "then": { + "operation": "boost", + "score": 0.12177357822656631 + }, + "else": { + "operation": "boost", + "score": 0.09531722962856293 + } + }, + "else": { + "operation": "boost", + "score": 0.08226369321346283 + } }, "else": { - "operation": "boost", - "score": 0.02871512994170189 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.09092336893081665 + }, + "else": { + "operation": "boost", + "score": 0.06616242229938507 + } + }, + "else": { + "operation": "boost", + "score": 0.05038420855998993 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08277449756860733 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1220.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 33.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7094.0, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "boost", + "score": 0.08746077865362167 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.07144811749458313 + }, + "else": { + "operation": "boost", + "score": 0.018790749832987785 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 292981.5, + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.08466055989265442 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Macro" ], "then": { - "operation": "boost", - "score": 0.10337304323911667 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09992841631174088 + }, + "else": { + "operation": "boost", + "score": 0.011772441677749157 + } }, "else": { "operation": "boost", - "score": 0.08796185255050659 + "score": 0.03374047949910164 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", - "Namespace" + "Macro" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24366.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.08514901995658875 + "score": 0.08570580929517746 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14677.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18268.0, - "then": { - "operation": "boost", - "score": 0.1290154755115509 - }, - "else": { - "operation": "boost", - "score": 0.1284535974264145 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20410.5, - "then": { - "operation": "boost", - "score": 0.13324962556362152 - }, - "else": { - "operation": "boost", - "score": 0.10576621443033218 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11567050963640213 - } - }, - "else": { - "operation": "boost", - "score": 0.11426301300525665 - } - }, - "else": { - "operation": "boost", - "score": 0.10779105871915817 - } + "operation": "boost", + "score": 0.02163633145391941 } }, - "else": { - "operation": "boost", - "score": 0.07613325119018555 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09862139821052551 - }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 115.5, "then": { "operation": "boost", - "score": 0.0812964215874672 + "score": 0.07171657681465149 }, "else": { "operation": "boost", - "score": 0.06258900463581085 + "score": 0.0143196489661932 } } + }, + "else": { + "operation": "boost", + "score": -0.0049885110929608345 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09745816141366959 + "score": 0.030569203197956085 }, "else": { "operation": "boost", - "score": 0.0320863239467144 + "score": -0.06846483796834946 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "boost", + "score": 0.09612111002206802 + }, + "else": { + "operation": "boost", + "score": 0.06275281310081482 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06859373301267624 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.343137264251709, + "then": { + "operation": "boost", + "score": 0.05119713768362999 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", + "Macro", "Namespace" ], "then": { "operation": "boost", - "score": 0.11333060264587402 + "score": 0.05480740964412689 }, "else": { "operation": "boost", - "score": 0.03163371607661247 + "score": 0.008692118339240551 } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12855.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.07656170427799225 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "boost", + "score": 0.002953986171633005 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71954.5, + "then": { + "operation": "boost", + "score": 0.07258249074220657 + }, + "else": { + "operation": "boost", + "score": 0.037275463342666626 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { - "operation": "boost", - "score": -0.025440800935029984 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.12292716652154922 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.031095607206225395 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11219605058431625 + "score": -0.08655684441328049 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97784.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 48.5, "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.03836371377110481 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.026130683720111847 + }, + "else": { + "operation": "boost", + "score": 0.05984092131257057 + } + } + }, + "else": { "operation": "boost", - "score": 0.032587822526693344 + "score": -0.06729865819215775 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.05113357678055763 + }, + "else": { + "operation": "boost", + "score": -0.005242961924523115 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.04054529592394829 + }, + "else": { + "operation": "boost", + "score": 0.09517379105091095 + } + }, + "else": { + "operation": "boost", + "score": -0.04680269584059715 + } + }, + "else": { + "operation": "boost", + "score": -0.024636687710881233 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232885.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.10391276329755783 + "score": -0.05664217844605446 }, "else": { "operation": "boost", - "score": 0.10882458090782166 + "score": -0.00153436535038054 } } - }, - "else": { - "operation": "boost", - "score": 0.1128191277384758 } } - }, - "else": { - "operation": "boost", - "score": 0.08139672130346298 } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.08482184261083603 + "score": 0.06404628604650497 }, "else": { "operation": "boost", - "score": 0.014680483378469944 + "score": -0.0016724448651075363 } + }, + "else": { + "operation": "boost", + "score": -0.05984886735677719 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08146128058433533 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04339185729622841 + }, + "else": { + "operation": "boost", + "score": 0.0026393099687993526 } } } }, "else": { - "operation": "boost", - "score": -0.041252631694078445 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.0465724878013134 + }, + "else": { + "operation": "boost", + "score": 0.018006235361099243 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": -0.08322560787200928 + }, + "else": { + "operation": "boost", + "score": -0.1226615309715271 + } + } } } } @@ -25316,352 +24734,186 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10551128536462784 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "boost", - "score": 0.10211843997240067 + "score": 0.09730231761932373 }, "else": { "operation": "boost", - "score": 0.10314469784498215 + "score": 0.08881326019763947 } + } + }, + "else": { + "operation": "boost", + "score": 0.0007574164774268866 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.10164259374141693 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10389205813407898 + "score": 0.03755580633878708 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1027236357331276 - }, - "else": { - "operation": "boost", - "score": 0.08955726027488708 - } + "operation": "boost", + "score": 0.09790767729282379 } }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.021423742175102234 - }, - "else": { - "operation": "boost", - "score": 0.11151184886693954 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09685162454843521 - }, - "else": { - "operation": "boost", - "score": 0.042327459901571274 - } - } + "operation": "boost", + "score": 0.04600481316447258 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.07747206091880798 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.08629985898733139 - }, - "else": { - "operation": "boost", - "score": 0.09223172068595886 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.0871601477265358 - }, - "else": { - "operation": "boost", - "score": 0.07539836317300797 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07950848340988159 - }, - "else": { - "operation": "boost", - "score": 0.04277215152978897 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07974559813737869 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_Symbol" + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05748733878135681 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.11434684693813324 + "score": 0.08097516745328903 }, "else": { - "operation": "boost", - "score": 0.11278398334980011 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08755996823310852 + "score": 0.06027140095829964 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.11260874569416046 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.00794061180204153 - }, - "else": { - "operation": "boost", - "score": 0.1205364316701889 - } - } + "operation": "boost", + "score": -0.11743790656328201 } - }, - "else": { - "operation": "boost", - "score": 0.07519925385713577 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34611.5, - "then": { - "operation": "boost", - "score": 0.10781590640544891 }, "else": { - "operation": "boost", - "score": 0.08568938076496124 - } - }, - "else": { - "operation": "boost", - "score": 0.06202095374464989 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.14058806002140045 - }, - "else": { - "operation": "boost", - "score": 0.11027955263853073 - } + "operation": "boost", + "score": 0.07859831303358078 }, "else": { "operation": "boost", - "score": 0.07810443639755249 + "score": -0.045385248959064484 } - }, - "else": { - "operation": "boost", - "score": 0.08693090826272964 } }, "else": { - "operation": "boost", - "score": 0.06148038059473038 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": -0.09407338500022888 + "score": 0.07175608724355698 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07258857786655426 + }, + "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, @@ -25672,313 +24924,576 @@ "Variable" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07563497126102448 - }, - "else": { - "operation": "boost", - "score": 0.11943497508764267 - } + "operation": "boost", + "score": 0.0930497944355011 }, "else": { "operation": "boost", - "score": 0.08710499852895737 + "score": 0.057220082730054855 } }, "else": { - "operation": "boost", - "score": 0.06075740605592728 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07182341068983078 + }, + "else": { + "operation": "boost", + "score": 0.02880493365228176 + } } - }, - "else": { - "operation": "boost", - "score": 0.0879327654838562 } }, "else": { - "operation": "boost", - "score": -0.11653995513916016 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.059088580310344696 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Expression", + "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.07432906329631805 - }, - "else": { - "operation": "boost", - "score": 0.12288923561573029 - } + "operation": "boost", + "score": 0.07199114561080933 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12184564769268036 - }, - "else": { - "operation": "boost", - "score": 0.08727708458900452 - } + "operation": "boost", + "score": 0.04117821529507637 } }, "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05628510192036629 + }, + "else": { + "operation": "boost", + "score": -0.0863114446401596 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_DotMemberAccess" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.031051723286509514 + }, + "else": { + "operation": "boost", + "score": -0.0801248848438263 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08371195942163467 + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.059171728789806366 + "score": 0.033404089510440826 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.03357525169849396 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.09728778153657913 + }, + "else": { + "operation": "boost", + "score": 0.046846356242895126 + } + }, + "else": { + "operation": "boost", + "score": 0.0176982618868351 + } }, "else": { - "operation": "boost", - "score": 0.08344151824712753 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.015397938899695873 + }, + "else": { + "operation": "boost", + "score": -0.0553092323243618 + } } } - }, - "else": { - "operation": "boost", - "score": -0.04034753143787384 } } - }, - "else": { - "operation": "boost", - "score": 0.006793489679694176 } } - }, - "else": { - "operation": "boost", - "score": -0.12046770751476288 } } + }, + "else": { + "operation": "boost", + "score": -0.07493442296981812 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3005.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 224059.0, + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "operation": "boost", + "score": 0.09566812962293625 + }, + "else": { + "operation": "boost", + "score": 0.08108855783939362 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.0942227691411972 + "score": 0.0775546208024025 }, "else": { - "operation": "boost", - "score": 0.035163093358278275 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08713843673467636 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.033169347792863846 + }, + "else": { + "operation": "boost", + "score": 0.06080296263098717 + } + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11390956491231918 + "score": 0.06364888697862625 }, "else": { "operation": "boost", - "score": 0.11385606974363327 + "score": 0.02803107164800167 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1824.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", - "Namespace" + "Macro" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16206.0, + "threshold": 74740.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16870.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.08949806541204453 + "score": 0.12056370079517365 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.11033894866704941 - }, - "else": { - "operation": "boost", - "score": 0.1293671429157257 - } - }, - "else": { - "operation": "boost", - "score": 0.11297638714313507 - } + "operation": "boost", + "score": 0.11189819127321243 } }, "else": { "operation": "boost", - "score": 0.0848383679986 + "score": 0.09733043611049652 } }, "else": { "operation": "boost", - "score": 0.06786075979471207 + "score": 0.07130883634090424 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.07574821263551712 + }, + "else": { + "operation": "boost", + "score": 0.04529193788766861 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, + "feature": "FileProximityDistanceCost", + "threshold": 33.5, "then": { - "operation": "boost", - "score": 0.09556686878204346 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "boost", + "score": 0.08402469009160995 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.06785143166780472 + }, + "else": { + "operation": "boost", + "score": 0.014592533931136131 + } + } }, "else": { - "operation": "boost", - "score": 0.06916038691997528 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08055759221315384 + }, + "else": { + "operation": "boost", + "score": 0.03721620887517929 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.08237989991903305 + }, + "else": { + "operation": "boost", + "score": 0.020803578197956085 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 115.5, + "then": { + "operation": "boost", + "score": 0.06835760176181793 + }, + "else": { + "operation": "boost", + "score": 0.014663553796708584 + } + } + }, + "else": { + "operation": "boost", + "score": -0.004293648060411215 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029356295242905617 + }, + "else": { + "operation": "boost", + "score": -0.06688377261161804 + } + } + } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.09255407005548477 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "boost", + "score": 0.09232728183269501 + }, + "else": { + "operation": "boost", + "score": 0.06225244700908661 + } }, "else": { - "operation": "boost", - "score": 0.04417378455400467 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0539453960955143 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06236223503947258 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.05428953468799591 + }, + "else": { + "operation": "boost", + "score": 0.010496031492948532 + } + } + } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", "CCC_Namespace", - "CCC_Symbol" + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Namespace", - "CCC_Symbol" + "ClassScope" ], "then": { "operation": "if_greater", @@ -25986,568 +25501,690 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09241421520709991 + "score": -0.007807585876435041 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11233469098806381 - }, - "else": { - "operation": "boost", - "score": 0.11841461062431335 - } + "operation": "boost", + "score": 0.10557582974433899 } }, "else": { "operation": "boost", - "score": 0.11097146570682526 + "score": 0.04012814164161682 } }, "else": { - "operation": "boost", - "score": 0.05746937915682793 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.050685618072748184 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.05068482831120491 + }, + "else": { + "operation": "boost", + "score": 0.08077791333198547 + } + } } }, "else": { - "operation": "boost", - "score": 0.04564015567302704 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04959354177117348 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06284986436367035 + "score": 0.08152807503938675 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 878.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1406.0, - "then": { - "operation": "boost", - "score": 0.005113099701702595 - }, - "else": { - "operation": "boost", - "score": 0.1119329184293747 - } - }, - "else": { - "operation": "boost", - "score": 0.08224945515394211 - } - }, - "else": { - "operation": "boost", - "score": 0.07842588424682617 - } + "operation": "boost", + "score": 0.04656370356678963 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.018862247467041016 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.13006135821342468 + "score": 0.05077805742621422 }, "else": { "operation": "boost", - "score": 0.10444484651088715 + "score": -0.021145159378647804 } }, "else": { "operation": "boost", - "score": -0.003604368306696415 + "score": -0.047959815710783005 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10316929221153259 + "score": 0.04369499906897545 }, "else": { "operation": "boost", - "score": 0.04814025014638901 + "score": -0.06727046519517899 } + }, + "else": { + "operation": "boost", + "score": -0.08893885463476181 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13180451095104218 - }, - "else": { - "operation": "boost", - "score": 0.08858192712068558 - } - }, - "else": { - "operation": "boost", - "score": 0.05271906033158302 - } - }, - "else": { - "operation": "boost", - "score": -0.10149919241666794 - } + "operation": "boost", + "score": 0.03177015855908394 }, "else": { "operation": "boost", - "score": -0.03790534287691116 + "score": -0.02149050123989582 } } } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 74698.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, + "operation": "boost", + "score": 0.09888317435979843 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.1292969286441803 + "score": 0.06133650243282318 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.18502962589263916 + "score": -0.0223320871591568 }, "else": { "operation": "boost", - "score": 0.12382552027702332 + "score": 0.09434252977371216 } } }, "else": { - "operation": "boost", - "score": 0.1042613610625267 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07766464352607727 + }, + "else": { + "operation": "boost", + "score": -0.002222369657829404 + } } - }, - "else": { - "operation": "boost", - "score": 0.1024247333407402 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07780719548463821 + }, + "else": { + "operation": "boost", + "score": -0.010627057403326035 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.028483031317591667 + "score": 0.009705744683742523 }, "else": { "operation": "boost", - "score": 0.070552758872509 + "score": 0.06945833563804626 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.10868088155984879 + "score": -0.0057802097871899605 }, "else": { "operation": "boost", - "score": 0.06205614283680916 + "score": 0.04373518377542496 } } - }, - "else": { - "operation": "boost", - "score": 0.021817702800035477 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.10208412259817123 - }, - "else": { - "operation": "boost", - "score": 0.09252098947763443 - } }, "else": { - "operation": "boost", - "score": 0.059633709490299225 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 141.5, + "threshold": 1556.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": -0.16168741881847382 + "score": 0.08134656399488449 }, "else": { - "operation": "boost", - "score": 0.10918238759040833 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08109401911497116 + }, + "else": { + "operation": "boost", + "score": 0.03168477490544319 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "boost", + "score": 0.07250222563743591 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3199.5, - "then": { - "operation": "boost", - "score": 0.10196232050657272 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.0, - "then": { - "operation": "boost", - "score": 0.1051219031214714 - }, - "else": { - "operation": "boost", - "score": 0.14579588174819946 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1454186737537384 - } + "operation": "boost", + "score": 0.05185173824429512 }, "else": { "operation": "boost", - "score": 0.05741335451602936 + "score": -0.010785254649817944 } - }, - "else": { - "operation": "boost", - "score": 0.0615314282476902 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06260780245065689 - }, - "else": { - "operation": "boost", - "score": 0.029076993465423584 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2677.0, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08163411170244217 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.07829947024583817 + }, + "else": { + "operation": "boost", + "score": 0.017056234180927277 + } + }, + "else": { + "operation": "boost", + "score": -0.10354798287153244 + } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.00845232605934143 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1388096809387207 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11510644108057022 + }, + "else": { + "operation": "boost", + "score": 0.07554405182600021 + } + }, + "else": { + "operation": "boost", + "score": -0.09459899365901947 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1751.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.11495398730039597 + "score": -0.049095846712589264 }, "else": { - "operation": "boost", - "score": 0.09863197058439255 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10378704965114594 + }, + "else": { + "operation": "boost", + "score": 0.03135722130537033 + } } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace", - "CCC_Symbol" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.1033381000161171 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07919907569885254 + }, + "else": { + "operation": "boost", + "score": -0.013929623179137707 + } + }, + "else": { + "operation": "boost", + "score": -0.027800654992461205 + } + }, + "else": { + "operation": "boost", + "score": 0.005281738005578518 + } }, "else": { "operation": "boost", - "score": 0.060227490961551666 + "score": -0.04051407799124718 } } }, "else": { - "operation": "boost", - "score": 0.010836216621100903 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.05796661227941513 + }, + "else": { + "operation": "boost", + "score": 0.00037049909587949514 + } + }, + "else": { + "operation": "boost", + "score": -0.04875052347779274 + } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.11262358725070953 + "score": 0.09353113174438477 }, "else": { "operation": "boost", - "score": 0.10396908223628998 + "score": 0.05547989904880524 } }, "else": { - "operation": "boost", - "score": 0.09755279868841171 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011446668766438961 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.025482797995209694 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { - "operation": "boost", - "score": 0.08237334340810776 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.005919786635786295 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.024693936109542847 + }, + "else": { + "operation": "boost", + "score": 0.04712570086121559 + } + } }, "else": { "operation": "boost", - "score": -0.06505297869443893 + "score": -0.01566029153764248 } } - }, - "else": { - "operation": "boost", - "score": -0.07610669732093811 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.001919018686749041 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "boost", - "score": 0.10908405482769012 - }, - "else": { - "operation": "boost", - "score": 0.09898042678833008 - } + "operation": "boost", + "score": -0.08494135737419128 }, "else": { "operation": "boost", - "score": 0.08529295027256012 + "score": -0.1219959557056427 } - }, - "else": { - "operation": "boost", - "score": -0.03750084713101387 } } } @@ -26563,68 +26200,81 @@ "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10472235828638077 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "boost", - "score": 0.10194625705480576 + "score": 0.09575098752975464 }, "else": { "operation": "boost", - "score": 0.10267733782529831 + "score": 0.08641254156827927 } + } + }, + "else": { + "operation": "boost", + "score": 0.0005538350087590516 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.1004239171743393 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10329724848270416 + "score": 0.10133399069309235 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10212759673595428 - }, - "else": { - "operation": "boost", - "score": 0.08556656539440155 - } + "operation": "boost", + "score": 0.07736501842737198 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09586634486913681 - }, - "else": { - "operation": "boost", - "score": 0.03903985023498535 - } + "operation": "boost", + "score": 0.02664380520582199 } } }, @@ -26634,854 +26284,568 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07482842355966568 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.08437895029783249 - }, - "else": { - "operation": "boost", - "score": 0.09047505259513855 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.08507171273231506 - }, - "else": { - "operation": "boost", - "score": 0.07177077233791351 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07652152329683304 - }, - "else": { - "operation": "boost", - "score": 0.040314577519893646 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07162168622016907 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_Symbol" + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05786583572626114 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10943955183029175 - }, - "else": { - "operation": "boost", - "score": 0.10954972356557846 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.08414001762866974 + "score": 0.09656500071287155 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.06552579998970032 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.1100461483001709 + "score": 0.08155979961156845 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.016337504610419273 - }, - "else": { - "operation": "boost", - "score": 0.11456239223480225 - } + "operation": "boost", + "score": 0.04375891014933586 } + }, + "else": { + "operation": "boost", + "score": -0.10224807262420654 } - }, - "else": { - "operation": "boost", - "score": 0.07148497551679611 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34611.5, - "then": { - "operation": "boost", - "score": 0.10698077827692032 - }, - "else": { - "operation": "boost", - "score": 0.07906220108270645 - } - }, - "else": { - "operation": "boost", - "score": 0.05867448076605797 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1146414503455162 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.07489856332540512 + "score": 0.07601036131381989 }, "else": { "operation": "boost", - "score": 0.08465512841939926 + "score": -0.03999538719654083 } } }, "else": { - "operation": "boost", - "score": 0.05747269466519356 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": -0.09391489624977112 + "score": 0.06837449967861176 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09100478142499924 + }, + "else": { + "operation": "boost", + "score": 0.06495742499828339 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.038282256573438644 + }, + "else": { + "operation": "boost", + "score": -0.05231807753443718 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0616443008184433 + }, + "else": { + "operation": "boost", + "score": 0.06898421794176102 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11181472986936569 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06279809027910233 + "score": -0.08445042371749878 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09542833268642426 + "score": 0.04340164363384247 }, "else": { - "operation": "boost", - "score": 0.11389999091625214 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2124060094356537, + "then": { + "operation": "boost", + "score": 0.029098059982061386 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03444498032331467 + }, + "else": { + "operation": "boost", + "score": 0.011244315654039383 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.06066546216607094 } - }, - "else": { - "operation": "boost", - "score": 0.0834159106016159 } - }, - "else": { - "operation": "boost", - "score": -0.11545996367931366 } } - }, - "else": { - "operation": "boost", - "score": 0.04669920355081558 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3005.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, - "then": { - "operation": "boost", - "score": 0.08438151329755783 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11317616701126099 - }, - "else": { - "operation": "boost", - "score": 0.11209819465875626 - } } }, "else": { "operation": "boost", - "score": 0.07916736602783203 + "score": -0.07124411314725876 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.0736815333366394 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.08913807570934296 + "score": 0.0956626608967781 }, "else": { "operation": "boost", - "score": 0.04275349900126457 + "score": 0.07849942147731781 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "Namespace", + "Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.07470441609621048 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace", - "CCC_Symbol" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09254322201013565 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10717818140983582 - }, - "else": { - "operation": "boost", - "score": 0.11573851108551025 - } - } + "operation": "boost", + "score": 0.08456900715827942 }, "else": { "operation": "boost", - "score": 0.10615114122629166 + "score": 0.05059698969125748 } - }, - "else": { - "operation": "boost", - "score": 0.05360548943281174 } }, "else": { - "operation": "boost", - "score": 0.043897777795791626 - } - }, - "else": { - "operation": "boost", - "score": -0.012066377326846123 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, - "then": { - "operation": "boost", - "score": 0.12374350428581238 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, - "then": { - "operation": "boost", - "score": 0.1316937357187271 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.14054948091506958 - }, - "else": { - "operation": "boost", - "score": 0.07950989902019501 - } - } - } + "operation": "boost", + "score": 0.06177189573645592 }, "else": { "operation": "boost", - "score": 0.10518155992031097 + "score": 0.026394285261631012 } - }, - "else": { - "operation": "boost", - "score": 0.10058087110519409 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2334.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" + "Macro" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74740.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.1133391484618187 + "score": 0.1188788115978241 }, "else": { "operation": "boost", - "score": 0.09944246709346771 + "score": 0.11148997396230698 } }, "else": { "operation": "boost", - "score": 0.010576224885880947 + "score": 0.09510940313339233 } }, "else": { "operation": "boost", - "score": 0.06562107056379318 + "score": 0.06774117052555084 } }, "else": { "operation": "boost", - "score": 0.024295581504702568 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.10139475017786026 - }, - "else": { - "operation": "boost", - "score": 0.09052251279354095 - } - }, - "else": { - "operation": "boost", - "score": 0.054902780801057816 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, - "then": { - "operation": "boost", - "score": -0.15606990456581116 - }, - "else": { - "operation": "boost", - "score": 0.10852286964654922 + "score": 0.047326624393463135 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09324062615633011 - }, - "else": { - "operation": "boost", - "score": 0.05635671690106392 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03863409161567688 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3091.5, + "threshold": 55.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.09565266966819763 - }, - "else": { - "operation": "boost", - "score": 0.08083406835794449 - } + "operation": "boost", + "score": 0.10458920896053314 }, "else": { "operation": "boost", - "score": 0.07633835077285767 + "score": 0.04247064143419266 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], "then": { - "operation": "boost", - "score": 0.12001683562994003 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_Statement", + "CCC_SymbolOrNewName" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1607862412929535 - }, - "else": { - "operation": "boost", - "score": 0.15713223814964294 - } + "operation": "boost", + "score": 0.07130961865186691 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.09745560586452484 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1555061787366867 - }, - "else": { - "operation": "boost", - "score": 0.14942072331905365 - } - }, - "else": { - "operation": "boost", - "score": 0.13375723361968994 - } - } + "operation": "boost", + "score": 0.0023474683985114098 }, "else": { "operation": "boost", - "score": 0.13147927820682526 + "score": 0.06365711241960526 } } }, "else": { - "operation": "boost", - "score": 0.11489829421043396 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31541.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.08537527173757553 + "score": 0.002325026784092188 }, "else": { - "operation": "boost", - "score": 0.13140814006328583 - } - }, - "else": { - "operation": "boost", - "score": 0.062046557664871216 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.0648307278752327 - }, - "else": { - "operation": "boost", - "score": -0.00038330498500727117 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.01949804462492466 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 127089.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.10753558576107025 + "score": 0.09050175547599792 }, "else": { "operation": "boost", - "score": 0.09221429377794266 + "score": 0.03784359246492386 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.04844525083899498 }, "else": { "operation": "boost", - "score": 0.07030769437551498 + "score": -0.03616395220160484 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.09257543087005615 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07027741521596909 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05344446375966072 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.1302400678396225 + }, + "else": { + "operation": "boost", + "score": -0.05598604306578636 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009504484012722969 + } + } }, "else": { "operation": "boost", - "score": 0.12156503647565842 + "score": 0.02193238027393818 } }, "else": { "operation": "boost", - "score": 0.04516209661960602 + "score": -0.021124571561813354 } }, "else": { "operation": "boost", - "score": 0.013851573690772057 + "score": -0.060406964272260666 } } } @@ -27490,61 +26854,63 @@ }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Namespace" + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "boost", - "score": 0.0741790384054184 + "score": 0.08989333361387253 }, "else": { "operation": "boost", - "score": 0.0030118965078145266 + "score": -0.15977664291858673 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 38.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "boost", - "score": 0.010339183732867241 + "score": 0.07743098586797714 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07887139916419983 - }, - "else": { - "operation": "boost", - "score": -0.038348350673913956 - } + "operation": "boost", + "score": 0.04929511249065399 } }, "else": { "operation": "boost", - "score": -0.09332738071680069 + "score": 0.04435529187321663 } } }, @@ -27554,1525 +26920,692 @@ "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope" + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.0907847210764885 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0903640165925026 + }, + "else": { + "operation": "boost", + "score": 0.04600479453802109 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_Statement" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08953901380300522 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12578855454921722 - }, - "else": { - "operation": "boost", - "score": 0.13222043216228485 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12461967766284943 - }, - "else": { - "operation": "boost", - "score": 0.10257643461227417 - } - } + "operation": "boost", + "score": 0.07078143209218979 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09535535424947739 - }, - "else": { - "operation": "boost", - "score": 0.04440266638994217 - } + "operation": "boost", + "score": 0.03917007893323898 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.15988294780254364 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.13312655687332153 - }, - "else": { - "operation": "boost", - "score": 0.16046662628650665 - } - }, - "else": { - "operation": "boost", - "score": 0.12904152274131775 - } - } - }, - "else": { - "operation": "boost", - "score": 0.13881467282772064 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.09698754549026489 - }, - "else": { - "operation": "boost", - "score": 0.12401089072227478 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.08150684088468552 - }, - "else": { - "operation": "boost", - "score": 0.07513368129730225 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07969820499420166 - }, - "else": { - "operation": "boost", - "score": -0.004091278649866581 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.04842088371515274 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.02722049504518509 + "score": 0.07024584710597992 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.16130219399929047 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13253383338451385 - }, - "else": { - "operation": "boost", - "score": 0.1317012459039688 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09015722572803497 - } + "operation": "boost", + "score": 0.01799074560403824 } - }, - "else": { - "operation": "boost", - "score": -0.04174390062689781 } - }, - "else": { - "operation": "boost", - "score": -0.0637674406170845 } + }, + "else": { + "operation": "boost", + "score": -0.014167491346597672 } } } } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10103550553321838 - }, - "else": { - "operation": "boost", - "score": 0.10221869498491287 - } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1030830591917038 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10141000151634216 - }, - "else": { - "operation": "boost", - "score": 0.08418097347021103 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09413398057222366 - }, - "else": { - "operation": "boost", - "score": 0.04501327499747276 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07203096896409988 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.08317942172288895 - }, - "else": { - "operation": "boost", - "score": 0.08868706971406937 - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Namespace" ], "then": { "operation": "boost", - "score": 0.08225443959236145 + "score": 0.02459515631198883 }, "else": { - "operation": "boost", - "score": 0.068202443420887 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07353859394788742 - }, - "else": { - "operation": "boost", - "score": 0.03649128973484039 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06849317252635956 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.05057692527770996 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.07291650027036667 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10781911015510559 + "score": 0.07044421881437302 }, "else": { - "operation": "boost", - "score": 0.10656165331602097 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07936207950115204 + "score": -0.08077210187911987 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Type", + "Variable" ], "then": { "operation": "boost", - "score": 0.10747617483139038 + "score": 0.040294017642736435 }, "else": { "operation": "boost", - "score": 0.10931980609893799 + "score": 0.0022376247216016054 } } - }, - "else": { - "operation": "boost", - "score": 0.06743642687797546 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0462191142141819 - }, - "else": { - "operation": "boost", - "score": 0.07813972234725952 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.12369024753570557 - }, - "else": { - "operation": "boost", - "score": 0.10822884738445282 - } - }, - "else": { - "operation": "boost", - "score": 0.0726684182882309 } - }, - "else": { - "operation": "boost", - "score": 0.08337461203336716 } }, "else": { - "operation": "boost", - "score": 0.05481072515249252 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.08470036089420319 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.09964317828416824 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08017999678850174 - }, - "else": { - "operation": "boost", - "score": 0.052188217639923096 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05983489751815796 - } + "operation": "boost", + "score": 0.01606176421046257 }, "else": { "operation": "boost", - "score": -0.11391264945268631 + "score": -0.08810549229383469 } - } - }, - "else": { - "operation": "boost", - "score": 0.043488435447216034 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3005.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, - "then": { - "operation": "boost", - "score": 0.08244796097278595 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11250545084476471 }, "else": { - "operation": "boost", - "score": 0.11119940876960754 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16206.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16870.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08530250936746597 + "score": 0.029162472113966942 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10870133340358734 + "score": -0.028338758274912834 }, "else": { - "operation": "boost", - "score": 0.12418550997972488 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10404003411531448 + }, + "else": { + "operation": "boost", + "score": 0.04121624678373337 + } + }, + "else": { + "operation": "boost", + "score": 0.005445700138807297 + } } }, "else": { "operation": "boost", - "score": 0.10936254262924194 + "score": -0.06314115971326828 } } - }, - "else": { - "operation": "boost", - "score": 0.07652159035205841 } - }, - "else": { - "operation": "boost", - "score": 0.06220857799053192 } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07129731774330139 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.09672246128320694 - }, - "else": { - "operation": "boost", - "score": 0.040991950780153275 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08749158680438995 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10599197447299957 - }, - "else": { - "operation": "boost", - "score": 0.11371567845344543 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10109912604093552 - } - }, - "else": { - "operation": "boost", - "score": 0.04908088594675064 - } + "operation": "boost", + "score": 0.09793921560049057 }, "else": { - "operation": "boost", - "score": 0.040096551179885864 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Function", - "Type", - "Namespace" + "Namespace", + "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1320115476846695 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0718664601445198 - }, - "else": { - "operation": "boost", - "score": 0.09272085875272751 - } - } + "operation": "boost", + "score": 0.05722232908010483 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.0788327008485794 + "score": -0.0219985693693161 }, "else": { "operation": "boost", - "score": 0.04865065589547157 + "score": 0.09184002131223679 } } }, "else": { - "operation": "boost", - "score": -0.09809672832489014 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.12201515585184097 - }, - "else": { - "operation": "boost", - "score": 0.09701956808567047 - } - }, - "else": { - "operation": "boost", - "score": 0.009274082258343697 - } + "operation": "boost", + "score": 0.07400713115930557 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.5, - "then": { - "operation": "boost", - "score": 0.09686993807554245 - }, - "else": { - "operation": "boost", - "score": 0.13501620292663574 - } - }, - "else": { - "operation": "boost", - "score": 0.04914555698633194 - } + "operation": "boost", + "score": -0.004803450778126717 } - }, - "else": { - "operation": "boost", - "score": -0.03722847253084183 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, - "then": { - "operation": "boost", - "score": 0.11971444636583328 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, - "then": { - "operation": "boost", - "score": 0.12857386469841003 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.137957364320755 - }, - "else": { - "operation": "boost", - "score": 0.07620657980442047 - } - } - } + "operation": "boost", + "score": 0.07478225231170654 }, "else": { "operation": "boost", - "score": 0.1060355007648468 + "score": -0.01385275274515152 } }, "else": { - "operation": "boost", - "score": 0.09792731702327728 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.10433409363031387 - }, - "else": { - "operation": "boost", - "score": 0.1166694238781929 - } + "operation": "boost", + "score": 0.0077853430993855 }, "else": { "operation": "boost", - "score": 0.09102116525173187 + "score": 0.06571948528289795 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.12537674605846405 - }, - "else": { - "operation": "boost", - "score": 0.09889163076877594 - } + "operation": "boost", + "score": -0.0063885655254125595 }, "else": { "operation": "boost", - "score": 0.061724115163087845 + "score": 0.04013225436210632 } } - }, - "else": { - "operation": "boost", - "score": 0.023331349715590477 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.10102096945047379 - }, - "else": { - "operation": "boost", - "score": 0.08856385946273804 - } }, "else": { - "operation": "boost", - "score": 0.05086821690201759 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 195234.5, + "threshold": 1556.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, - "then": { - "operation": "boost", - "score": -0.15405236184597015 - }, - "else": { - "operation": "boost", - "score": 0.10744518041610718 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6221.5, + "then": { + "operation": "boost", + "score": 0.09247134625911713 + }, + "else": { + "operation": "boost", + "score": 0.013637538999319077 + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3199.5, - "then": { - "operation": "boost", - "score": 0.09883066266775131 - }, - "else": { - "operation": "boost", - "score": 0.09905225038528442 - } - }, - "else": { - "operation": "boost", - "score": 0.13455405831336975 - } + "operation": "boost", + "score": 0.07750282436609268 }, "else": { "operation": "boost", - "score": 0.05218341201543808 + "score": 0.030377361923456192 } - }, - "else": { - "operation": "boost", - "score": 0.05552844703197479 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "boost", - "score": 0.05645189806818962 + "score": 0.06900252401828766 }, "else": { "operation": "boost", - "score": 0.035518746823072433 + "score": -0.007627623155713081 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" ], - "then": { - "operation": "boost", - "score": -0.07009044289588928 - }, - "else": { - "operation": "boost", - "score": -0.09322939813137054 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2914.5, + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.09604073315858841 + "score": -0.07545478641986847 }, "else": { "operation": "boost", - "score": 0.090487040579319 + "score": 0.013645577244460583 } }, "else": { + "operation": "boost", + "score": -0.10050737112760544 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.06714363396167755 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, + "operation": "boost", + "score": -0.13384157419204712 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.13046082854270935 + "score": 0.09882063418626785 }, "else": { "operation": "boost", - "score": 0.11739278584718704 + "score": 0.06294618546962738 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.04561291262507439 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 181.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14810633659362793 + "score": -0.10257237404584885 }, "else": { "operation": "boost", - "score": 0.14315468072891235 + "score": 0.029577964916825294 } } - }, - "else": { - "operation": "boost", - "score": 0.11238603293895721 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10948926955461502 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "boost", - "score": 0.14650051295757294 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07462165504693985 + }, + "else": { + "operation": "boost", + "score": -0.012778478674590588 + } + }, + "else": { + "operation": "boost", + "score": -0.028351357206702232 + } }, "else": { "operation": "boost", - "score": 0.1285526156425476 + "score": 0.004415302071720362 } }, "else": { "operation": "boost", - "score": 0.14194530248641968 + "score": -0.03799903765320778 } - }, - "else": { - "operation": "boost", - "score": 0.10515067726373672 } + }, + "else": { + "operation": "boost", + "score": -0.03908855840563774 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07428868860006332 - }, - "else": { - "operation": "boost", - "score": -0.05142727121710777 - } + "operation": "boost", + "score": 0.08911124616861343 }, "else": { "operation": "boost", - "score": -0.002336851553991437 + "score": 0.0515919104218483 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.07986811548471451 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11197648197412491 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1742.0, - "then": { - "operation": "boost", - "score": 0.10272364318370819 - }, - "else": { - "operation": "boost", - "score": 0.08699925243854523 - } - } - } + "operation": "boost", + "score": -0.028414275497198105 }, "else": { "operation": "boost", - "score": 0.052515801042318344 + "score": 0.04237106814980507 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92148.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "boost", - "score": 0.105484239757061 - }, - "else": { - "operation": "boost", - "score": 0.09304501861333847 - } - }, - "else": { - "operation": "boost", - "score": 0.07171054184436798 - } - }, - "else": { - "operation": "boost", - "score": 0.03241107985377312 - } + "operation": "boost", + "score": -0.005774271674454212 } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "boost", + "score": -0.04636610299348831 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.12327039986848831 + "score": 0.02912013791501522 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05108078196644783 - }, - "else": { - "operation": "boost", - "score": 0.08984199166297913 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.08696945756673813 - }, - "else": { - "operation": "boost", - "score": 0.05975402519106865 - } - }, - "else": { - "operation": "boost", - "score": 0.06044100970029831 - } - }, - "else": { - "operation": "boost", - "score": -0.12007568031549454 - } - } + "operation": "boost", + "score": -0.048379138112068176 } - }, - "else": { - "operation": "boost", - "score": 0.014125242829322815 } }, "else": { "operation": "boost", - "score": -0.04521164298057556 + "score": -0.08682798594236374 } } } @@ -29088,1283 +27621,1412 @@ "FunctionScope" ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.09641122817993164 + }, + "else": { + "operation": "boost", + "score": 0.08772865682840347 + } + }, + "else": { + "operation": "boost", + "score": 0.000464608718175441 + } + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 281926.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10074210911989212 - }, - "else": { - "operation": "boost", - "score": 0.10150332003831863 - } + "operation": "boost", + "score": 0.09923490136861801 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10235167294740677 + "score": 0.0268978513777256 }, "else": { "operation": "boost", - "score": 0.10018783807754517 + "score": 0.09462285786867142 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09255963563919067 - }, - "else": { - "operation": "boost", - "score": 0.03744826838374138 - } + "operation": "boost", + "score": 0.038466062396764755 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06957267224788666 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08669762313365936 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.08028707653284073 - }, - "else": { - "operation": "boost", - "score": 0.06545548141002655 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07023951411247253 - }, - "else": { - "operation": "boost", - "score": 0.03577946871519089 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.07459260523319244 - }, - "else": { - "operation": "boost", - "score": 0.047398027032613754 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.059964071959257126 + "score": 0.07642342150211334 }, "else": { - "operation": "boost", - "score": 0.10333514213562012 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07981447875499725 + }, + "else": { + "operation": "boost", + "score": 0.03755008429288864 + } + }, + "else": { + "operation": "boost", + "score": -0.09311359375715256 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0768369808793068 - }, - "else": { - "operation": "boost", - "score": 0.048937972635030746 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34611.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10401178896427155 + "score": 0.0730225145816803 }, "else": { "operation": "boost", - "score": 0.07448448240756989 + "score": -0.04178015887737274 } - }, - "else": { - "operation": "boost", - "score": 0.04733862355351448 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.027821049094200134 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", "Namespace" ], "then": { + "operation": "boost", + "score": 0.06578335911035538 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.10394494235515594 + "score": 0.08859045803546906 }, "else": { "operation": "boost", - "score": 0.10332600027322769 + "score": 0.06108298897743225 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": -0.0684368759393692 - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Type" ], "then": { - "operation": "boost", - "score": 0.10545133054256439 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.044152867048978806 + "score": 0.0531383715569973 }, "else": { "operation": "boost", - "score": 0.10648705810308456 + "score": 0.09160792827606201 } + }, + "else": { + "operation": "boost", + "score": 0.03667152300477028 } + }, + "else": { + "operation": "boost", + "score": 0.030649183318018913 + } + }, + "else": { + "operation": "boost", + "score": 0.018400469794869423 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01857876218855381 + }, + "else": { + "operation": "boost", + "score": 0.06208501756191254 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10777612030506134 + }, + "else": { + "operation": "boost", + "score": 0.015176868997514248 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10640867799520493 }, "else": { "operation": "boost", - "score": 0.06440615653991699 + "score": 0.03195973485708237 } } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06702902913093567 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.07949776202440262 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07276076823472977 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08216684311628342 }, "else": { "operation": "boost", - "score": 0.06082760542631149 + "score": 0.04861718788743019 } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.059338998049497604 }, "else": { "operation": "boost", - "score": 0.045046061277389526 + "score": 0.023748906329274178 } } } } }, "else": { - "operation": "boost", - "score": -0.11481451988220215 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 2334.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.09830570966005325 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.10903210937976837 + }, + "else": { + "operation": "boost", + "score": 0.06431018561124802 + } }, "else": { "operation": "boost", - "score": 0.06723029166460037 + "score": 0.045066237449645996 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.09723813831806183 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.0705614760518074 + }, + "else": { + "operation": "boost", + "score": 0.04229774326086044 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 670.5, + "threshold": 25.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.1094680204987526 + }, + "else": { + "operation": "boost", + "score": 0.04071382060647011 + } + }, + "else": { + "operation": "boost", + "score": 0.11467179656028748 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09373289346694946 + "score": 0.06769081950187683 }, "else": { "operation": "boost", - "score": 0.11376242339611053 + "score": 0.0050080013461411 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.076438307762146 }, "else": { "operation": "boost", - "score": 0.10607680678367615 + "score": 0.00819002278149128 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08484400063753128 + "score": 0.029806705191731453 }, "else": { - "operation": "boost", - "score": 0.021210720762610435 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15558141469955444 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07420652359724045 + }, + "else": { + "operation": "boost", + "score": 0.12677302956581116 + } + } + }, + "else": { + "operation": "boost", + "score": -0.039148781448602676 + } + }, + "else": { + "operation": "boost", + "score": 0.021951941773295403 + } + }, + "else": { + "operation": "boost", + "score": -0.014505937695503235 + } + }, + "else": { + "operation": "boost", + "score": -0.0652155727148056 + } } } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11764760315418243 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 302.5, - "then": { - "operation": "boost", - "score": 0.07488584518432617 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.0, - "then": { - "operation": "boost", - "score": 0.1251426339149475 - }, - "else": { - "operation": "boost", - "score": 0.08478084951639175 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.061774082481861115 - } + "operation": "boost", + "score": 0.08282148092985153 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 48687.5, + "threshold": 38.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "boost", - "score": -0.027462609112262726 + "score": 0.07518533617258072 }, "else": { "operation": "boost", - "score": 0.09720822423696518 + "score": 0.04851240664720535 } }, "else": { "operation": "boost", - "score": 0.08897099643945694 + "score": 0.04207991808652878 } } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10093683004379272 - }, - "else": { - "operation": "boost", - "score": 0.040678057819604874 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.2052631676197052, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace", - "CCC_Symbol" + "Macro" ], "then": { + "operation": "boost", + "score": 0.08207780867815018 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08229685574769974 + "score": 0.08252574503421783 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10326255857944489 + "score": 0.0048164064064621925 }, "else": { "operation": "boost", - "score": 0.11192294955253601 + "score": 0.04791749268770218 } } - }, - "else": { - "operation": "boost", - "score": 0.09690593928098679 } }, "else": { "operation": "boost", - "score": 0.04732656851410866 + "score": 0.024738823994994164 } }, "else": { "operation": "boost", - "score": 0.040415145456790924 + "score": -0.0126145975664258 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.02321135252714157 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.06982062011957169 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.04939870536327362 - }, - "else": { - "operation": "boost", - "score": -0.12314438074827194 - } + "operation": "boost", + "score": 0.0696488693356514 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08142505586147308 + "score": -0.07696015387773514 }, "else": { - "operation": "boost", - "score": 0.06889687478542328 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.037290751934051514 + }, + "else": { + "operation": "boost", + "score": 0.0015232909936457872 + } } } - }, - "else": { - "operation": "boost", - "score": -0.09711913764476776 } }, "else": { - "operation": "boost", - "score": -0.03379612788558006 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.15285837650299072 + "score": 0.01434915978461504 }, "else": { "operation": "boost", - "score": 0.12025311589241028 + "score": -0.0850173830986023 } }, "else": { - "operation": "boost", - "score": -0.14675216376781464 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10088285058736801 - }, - "else": { - "operation": "boost", - "score": 0.09571295231580734 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Type" + "Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1718037873506546 + "score": 0.027437085285782814 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, + "operation": "boost", + "score": 0.10001148283481598 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.12797299027442932 + }, + "else": { + "operation": "boost", + "score": 0.021879035979509354 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.060413748025894165 + }, + "else": { + "operation": "boost", + "score": -0.038993336260318756 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02930881641805172 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "boost", - "score": 0.1358511745929718 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00934070535004139 + }, + "else": { + "operation": "boost", + "score": -0.14434757828712463 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1044711098074913 + }, + "else": { + "operation": "boost", + "score": 0.012832926586270332 + } + } }, "else": { "operation": "boost", - "score": 0.07886702567338943 + "score": -0.051081329584121704 } } - }, - "else": { - "operation": "boost", - "score": 0.1302683800458908 } + } + }, + "else": { + "operation": "boost", + "score": -0.05190487205982208 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "boost", + "score": 0.0958346575498581 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07205484807491302 }, "else": { "operation": "boost", - "score": 0.12030066549777985 + "score": -0.02284478209912777 } }, "else": { "operation": "boost", - "score": 0.0909452959895134 + "score": 0.05239318311214447 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.08950471878051758 + }, + "else": { + "operation": "boost", + "score": -0.005573098547756672 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07164452224969864 }, "else": { "operation": "boost", - "score": 0.0642714872956276 + "score": -0.014286796562373638 } }, "else": { - "operation": "boost", - "score": 0.02209080196917057 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.007321399170905352 + }, + "else": { + "operation": "boost", + "score": 0.06139461323618889 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0066644735634326935 + }, + "else": { + "operation": "boost", + "score": 0.03656499460339546 + } + } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09603098034858704 }, "else": { - "operation": "boost", - "score": 0.04653044790029526 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 195234.5, + "threshold": 870.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.082788847386837 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "boost", - "score": 0.11488429456949234 + "score": 0.06477952003479004 }, "else": { - "operation": "boost", - "score": 0.0921257734298706 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.05223003774881363 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05914066731929779 + }, + "else": { + "operation": "boost", + "score": -0.002490680431947112 + } + } + }, + "else": { + "operation": "boost", + "score": -0.051967985928058624 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141.5, - "then": { - "operation": "boost", - "score": 0.06095041707158089 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.05634601414203644 - }, - "else": { - "operation": "boost", - "score": 0.030656760558485985 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 232885.0, "then": { "operation": "boost", - "score": -0.10781064629554749 + "score": 0.052636682987213135 }, "else": { "operation": "boost", - "score": 0.06530530750751495 + "score": 0.09809751808643341 } }, "else": { - "operation": "boost", - "score": -0.04247163236141205 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04623384401202202 + }, + "else": { + "operation": "boost", + "score": 0.018698906525969505 + } } - }, - "else": { - "operation": "boost", - "score": -0.06536716222763062 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92290.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], + "operation": "boost", + "score": -0.07184974104166031 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10401970893144608 + "score": 0.02045132964849472 }, "else": { "operation": "boost", - "score": 0.09624484181404114 + "score": -0.08221940696239471 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125771.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.10065103322267532 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10011031478643417 - }, - "else": { - "operation": "boost", - "score": 0.1088843047618866 - } + "operation": "boost", + "score": -0.12972143292427063 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_TopLevel" + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "boost", - "score": -0.16752617061138153 - }, - "else": { - "operation": "boost", - "score": 0.13075588643550873 - } + "operation": "boost", + "score": 0.09015408903360367 }, "else": { "operation": "boost", - "score": 0.14890994131565094 + "score": 0.05772420018911362 } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007992702536284924 - }, - "else": { - "operation": "boost", - "score": 0.09798572957515717 - } - }, - "else": { - "operation": "boost", - "score": 0.068008653819561 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0077086882665753365 - } - }, - "else": { - "operation": "boost", - "score": 0.05078461021184921 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.07318583875894547 }, "else": { - "operation": "boost", - "score": 0.03637876361608505 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.12725019454956055 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.5, - "then": { - "operation": "boost", - "score": 0.12095954269170761 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.14320144057273865 - }, - "else": { - "operation": "boost", - "score": 0.11729732155799866 - } - } - } + "operation": "boost", + "score": -0.04293544590473175 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08371025323867798 + "score": -0.10091078281402588 }, "else": { "operation": "boost", - "score": 0.10746051371097565 + "score": 0.029248477891087532 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.036602653563022614 }, "else": { "operation": "boost", - "score": 0.09067565202713013 + "score": 0.00355226406827569 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_SymbolOrNewName" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.1278681606054306 - }, - "else": { - "operation": "boost", - "score": 0.11679862439632416 - } + "operation": "boost", + "score": 0.0549137108027935 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.034502483904361725 + "score": 0.11693631112575531 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1021733209490776 - }, - "else": { - "operation": "boost", - "score": 0.06668933480978012 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03968428075313568 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, - "then": { "operation": "boost", - "score": 0.005731381010264158 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.10506746917963028 - }, - "else": { - "operation": "boost", - "score": 0.08736281841993332 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": 0.0973166674375534 - }, - "else": { - "operation": "boost", - "score": 0.07503074407577515 - } - } + "score": 0.09764218330383301 } }, "else": { "operation": "boost", - "score": -0.00810820609331131 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10017454624176025 - }, - "else": { - "operation": "boost", - "score": 0.07764342427253723 + "score": -0.008867346681654453 } }, "else": { "operation": "boost", - "score": 0.0729912742972374 + "score": -0.05304865911602974 } - }, - "else": { - "operation": "boost", - "score": 0.04749932885169983 } + }, + "else": { + "operation": "boost", + "score": -0.04288862273097038 } } - }, - "else": { - "operation": "boost", - "score": -0.007504863664507866 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "Namespace" ], "then": { "operation": "boost", - "score": -0.04367159679532051 + "score": 0.06931301951408386 }, "else": { - "operation": "boost", - "score": -0.0670025423169136 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.029866216704249382 + }, + "else": { + "operation": "boost", + "score": -0.007407733239233494 + } } } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00097454380011186 + }, + "else": { + "operation": "boost", + "score": -0.08446692675352097 + } } } } @@ -30383,721 +29045,445 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.10317377001047134 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "boost", - "score": 0.09998769313097 + "score": 0.0923483818769455 }, "else": { "operation": "boost", - "score": 0.10085102915763855 + "score": 0.08144746720790863 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10179370641708374 - }, - "else": { - "operation": "boost", - "score": 0.09978199005126953 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09134194999933243 - }, - "else": { - "operation": "boost", - "score": 0.03814175724983215 - } - } + "operation": "boost", + "score": -0.00020703079644590616 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.09792269766330719 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.06621427834033966 + "score": 0.09649825096130371 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.08467020094394684 + "score": 0.023405618965625763 }, "else": { "operation": "boost", - "score": 0.07330860942602158 + "score": 0.09765352308750153 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06761990487575531 - }, - "else": { - "operation": "boost", - "score": 0.03161162883043289 - } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11162705719470978 - }, - "else": { - "operation": "boost", - "score": -0.14111103117465973 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06461283564567566 - }, - "else": { - "operation": "boost", - "score": 0.07449112832546234 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09852899610996246 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, - "then": { - "operation": "boost", - "score": 0.12775008380413055 - }, - "else": { - "operation": "boost", - "score": 0.1191733330488205 - } - }, - "else": { - "operation": "boost", - "score": 0.08542577177286148 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.04951534792780876 - }, - "else": { - "operation": "boost", - "score": 0.055241625756025314 - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Function" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11658955365419388 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.13682134449481964 - }, - "else": { - "operation": "boost", - "score": 0.12283647060394287 - } - } + "operation": "boost", + "score": -0.10566782206296921 }, "else": { "operation": "boost", - "score": 0.08172253519296646 + "score": 0.09281321614980698 } }, "else": { "operation": "boost", - "score": 0.12550878524780273 - } - }, - "else": { - "operation": "boost", - "score": 0.12883447110652924 - } - }, - "else": { - "operation": "boost", - "score": 0.08693362772464752 - } - }, - "else": { - "operation": "boost", - "score": 0.0953967496752739 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08318805694580078 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0478086955845356 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10123523324728012 - }, - "else": { - "operation": "boost", - "score": 0.09934757649898529 + "score": 0.059987083077430725 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07281392812728882 + "score": 0.07737923413515091 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10303256660699844 - }, - "else": { - "operation": "boost", - "score": 0.10186795890331268 - } + "operation": "boost", + "score": 0.037114132195711136 } }, "else": { "operation": "boost", - "score": 0.05925663560628891 + "score": -0.08701765537261963 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.042264241725206375 }, "else": { - "operation": "boost", - "score": 0.07233692705631256 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09586746245622635 + "score": 0.0707937628030777 }, "else": { "operation": "boost", - "score": 0.06453591585159302 + "score": -0.04016260802745819 } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.060116298496723175 - }, - "else": { - "operation": "boost", - "score": -0.053355827927589417 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03610789403319359 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3005.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44699.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0019600028172135353 - }, - "else": { - "operation": "boost", - "score": 0.09452009201049805 - } - }, - "else": { - "operation": "boost", - "score": 0.07280068844556808 - } - }, - "else": { - "operation": "boost", - "score": 0.03740580752491951 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0640779361128807 - }, - "else": { - "operation": "boost", - "score": 0.035464879125356674 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04718386381864548 - }, - "else": { - "operation": "boost", - "score": -0.018611766397953033 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Type" + "Namespace" ], "then": { + "operation": "boost", + "score": 0.06224945932626724 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0964503362774849 - }, - "else": { - "operation": "boost", - "score": 0.12225674837827682 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 192.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11633560061454773 + "score": -0.0016023337375372648 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 182.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.12632471323013306 + "score": 0.07745353877544403 }, "else": { "operation": "boost", - "score": 0.12119748443365097 + "score": -0.031155699864029884 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09174419194459915 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1265375316143036 - }, - "else": { - "operation": "boost", - "score": 0.12703804671764374 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09614239633083344 - } + "operation": "boost", + "score": -0.0709339901804924 } - } - }, - "else": { - "operation": "boost", - "score": 0.020399127155542374 - } - }, - "else": { - "operation": "boost", - "score": 0.07815537601709366 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.09010626375675201 }, "else": { "operation": "boost", - "score": -3.087921504629776e-05 + "score": -0.10312946140766144 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12278363108634949 + "score": 0.08009430021047592 }, "else": { "operation": "boost", - "score": 0.11016308516263962 + "score": 0.04582371190190315 } }, "else": { "operation": "boost", - "score": 0.083390973508358 + "score": 0.03487525135278702 } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" ], "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05985572561621666 + }, + "else": { + "operation": "boost", + "score": 0.04902995377779007 + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0559178926050663 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.07810868322849274 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.09988368302583694 + "score": 0.0881718173623085 }, "else": { "operation": "boost", - "score": 0.10985642671585083 + "score": 0.03103834018111229 } + }, + "else": { + "operation": "boost", + "score": 0.01171373575925827 } }, "else": { "operation": "boost", - "score": 0.09177011251449585 + "score": 0.005262511782348156 } - }, - "else": { - "operation": "boost", - "score": 0.04026748985052109 } }, "else": { - "operation": "boost", - "score": 0.06158693507313728 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.019006893038749695 + }, + "else": { + "operation": "boost", + "score": -0.08941081166267395 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.010522305965423584 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10833871364593506 + }, + "else": { + "operation": "boost", + "score": 0.025784090161323547 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.03339335322380066 } } } @@ -31105,672 +29491,423 @@ }, "else": { "operation": "boost", - "score": -0.02048930712044239 + "score": -0.0630820021033287 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09454330056905746 - }, - "else": { - "operation": "boost", - "score": 0.04296475276350975 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "NumReferences", "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3091.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.09234050661325455 - }, - "else": { - "operation": "boost", - "score": 0.0775487944483757 - } + "operation": "boost", + "score": 0.09342595189809799 }, "else": { "operation": "boost", - "score": 0.06952771544456482 + "score": 0.07373574376106262 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], "then": { - "operation": "boost", - "score": 0.11259087920188904 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Expression", "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.0695846751332283 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.14540995657444 - }, - "else": { - "operation": "boost", - "score": 0.13928453624248505 - } + "operation": "boost", + "score": 0.07961735129356384 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 160.5, - "then": { - "operation": "boost", - "score": 0.11919205635786057 - }, - "else": { - "operation": "boost", - "score": 0.13782206177711487 - } + "operation": "boost", + "score": 0.04589905962347984 } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05793866887688637 }, "else": { - "operation": "boost", - "score": 0.09834462404251099 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03351264074444771 + }, + "else": { + "operation": "boost", + "score": -0.03798958286643028 + } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1824.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "boost", - "score": 0.05666632205247879 + "score": 0.10777954012155533 }, "else": { "operation": "boost", - "score": -0.005363681819289923 + "score": 0.06254567205905914 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 40755.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12361838668584824 - }, - "else": { - "operation": "boost", - "score": 0.10714451223611832 - } + "operation": "boost", + "score": 0.08764096349477768 }, "else": { "operation": "boost", - "score": 0.08018286526203156 + "score": 0.06035589054226875 } }, "else": { + "operation": "boost", + "score": 0.0382685512304306 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type", - "Namespace" + "CCC_PreprocessorExpression", + "CCC_Statement" ], + "then": { + "operation": "boost", + "score": 0.07439883053302765 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07669363170862198 + }, + "else": { + "operation": "boost", + "score": 0.038981880992650986 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" + "CCC_Statement" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 525.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 607.0, - "then": { - "operation": "boost", - "score": 0.11397166550159454 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.13379782438278198 - }, - "else": { - "operation": "boost", - "score": 0.13508744537830353 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11534357070922852 - } + "operation": "boost", + "score": 0.061584826558828354 }, "else": { "operation": "boost", - "score": 0.10177362710237503 + "score": 0.035351768136024475 } }, "else": { "operation": "boost", - "score": 0.0485927052795887 + "score": 0.006135711912065744 } - }, - "else": { - "operation": "boost", - "score": 0.02700420282781124 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 31.5, - "then": { - "operation": "boost", - "score": -0.02371092699468136 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.051436856389045715 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.009202755987644196 + "score": -0.06084693223237991 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.10336194187402725 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.09987715631723404 - }, - "else": { - "operation": "boost", - "score": 0.07489126920700073 - } + "operation": "boost", + "score": -0.06163299083709717 }, "else": { - "operation": "boost", - "score": 0.08308743685483932 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04121699184179306 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08109802007675171 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.06801265478134155 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.050409648567438126 + "score": 0.027430858463048935 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.14516116678714752 - }, - "else": { - "operation": "boost", - "score": 0.19257663190364838 - } + "operation": "boost", + "score": 0.1187608391046524 } }, "else": { "operation": "boost", - "score": 0.014219434931874275 + "score": -0.011388116516172886 } - }, - "else": { - "operation": "boost", - "score": 0.06198708340525627 } + }, + "else": { + "operation": "boost", + "score": 0.013723080977797508 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0593663789331913 }, "else": { "operation": "boost", - "score": 0.04975070804357529 + "score": 0.006369420327246189 } - }, - "else": { - "operation": "boost", - "score": 0.03803709149360657 } + }, + "else": { + "operation": "boost", + "score": -0.00507610896602273 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.027215968817472458 + }, + "else": { + "operation": "boost", + "score": -0.0556110180914402 } } - }, - "else": { - "operation": "boost", - "score": 0.013146830722689629 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.07979728281497955 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], + "operation": "boost", + "score": 0.08538372069597244 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10053598135709763 + "score": 0.09037275612354279 }, "else": { "operation": "boost", - "score": 0.08828029781579971 + "score": 0.052768297493457794 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.343137264251709, + "then": { + "operation": "boost", + "score": 0.04757707938551903 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "boost", + "score": 0.05186133459210396 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.10033559054136276 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12914560735225677 - }, - "else": { - "operation": "boost", - "score": 0.13711702823638916 - } - }, - "else": { - "operation": "boost", - "score": 0.06932752579450607 - } - }, - "else": { - "operation": "boost", - "score": 0.10796554386615753 - } - } + "operation": "boost", + "score": 0.06660959124565125 }, "else": { "operation": "boost", - "score": 0.05841028690338135 + "score": 0.011326676234602928 } - }, - "else": { - "operation": "boost", - "score": -0.016563281416893005 } } } - }, - "else": { - "operation": "boost", - "score": -0.08898825943470001 } } } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09932459890842438 - }, - "else": { - "operation": "boost", - "score": 0.10004948824644089 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10092539340257645 - }, - "else": { - "operation": "boost", - "score": 0.09870356321334839 - } - }, - "else": { - "operation": "boost", - "score": 0.0888437032699585 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0635547786951065 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08285298198461533 - }, - "else": { - "operation": "boost", - "score": 0.07058992236852646 - } - } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06433539092540741 - }, - "else": { - "operation": "boost", - "score": 0.029646653681993484 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, - "then": { - "operation": "boost", - "score": 0.09926255792379379 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0862874761223793 - }, - "else": { - "operation": "boost", - "score": 0.10208559781312943 - } - }, - "else": { - "operation": "boost", - "score": 0.06141049414873123 - } - }, - "else": { - "operation": "boost", - "score": 0.07372123003005981 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Type" + ], "then": { "operation": "if_member", "feature": "Scope", @@ -31778,839 +29915,963 @@ "ClassScope" ], "then": { - "operation": "boost", - "score": 0.0493784174323082 - }, - "else": { - "operation": "boost", - "score": 0.06768085807561874 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10372419655323029 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.024015840142965317 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10369132459163666 + "score": 0.075357586145401 }, "else": { "operation": "boost", - "score": 0.11200492829084396 + "score": 0.09925658255815506 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.036195699125528336 }, "else": { - "operation": "boost", - "score": 0.056193456053733826 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.09776913374662399 + }, + "else": { + "operation": "boost", + "score": 0.013994164764881134 + } + }, + "else": { + "operation": "boost", + "score": -0.019845962524414062 + } + } + } + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0705142691731453 + }, + "else": { + "operation": "boost", + "score": 0.017606602981686592 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.0926426500082016 + "score": -0.05008108541369438 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.07106882333755493 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06194464862346649 + }, + "else": { + "operation": "boost", + "score": 0.002559500513598323 + } }, "else": { - "operation": "boost", - "score": 0.029507754370570183 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.026456739753484726 + }, + "else": { + "operation": "boost", + "score": -0.06607094407081604 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.0038725873455405235 + }, + "else": { + "operation": "boost", + "score": -0.060715582221746445 + } + } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.08426836133003235 + }, + "else": { + "operation": "boost", + "score": 0.1207113042473793 + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Type" + "CCC_Type", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.015087341889739037 - }, - "else": { - "operation": "boost", - "score": 0.08522047102451324 - } + "operation": "boost", + "score": 0.07478822022676468 }, "else": { "operation": "boost", - "score": 0.041113171726465225 + "score": 0.049134548753499985 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.02270159311592579 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.03027326613664627 + }, + "else": { + "operation": "boost", + "score": 0.0875263437628746 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0997401773929596 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.0484488382935524 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10133979469537735 - }, - "else": { - "operation": "boost", - "score": 0.09963186830282211 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05599016696214676 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05465397611260414 - } + "operation": "boost", + "score": -0.05003299191594124 }, "else": { "operation": "boost", - "score": 0.038136012852191925 + "score": 0.026404617354273796 } } } - }, - "else": { - "operation": "boost", - "score": -0.1132279559969902 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1825.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.0621512345969677 + }, + "else": { + "operation": "boost", + "score": -0.004882383160293102 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15623.0, + "threshold": 191566.0, "then": { - "operation": "boost", - "score": 0.08450575917959213 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232885.0, + "then": { + "operation": "boost", + "score": 0.05107228457927704 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1320185661315918 + }, + "else": { + "operation": "boost", + "score": 0.08798015117645264 + } + } }, "else": { + "operation": "boost", + "score": 0.0328422449529171 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06980862468481064 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09729903936386108 - }, - "else": { - "operation": "boost", - "score": 0.10851673036813736 - } - } + "operation": "boost", + "score": -0.10311909765005112 }, "else": { "operation": "boost", - "score": 0.08874266594648361 + "score": 0.06018409505486488 } }, "else": { "operation": "boost", - "score": 0.07381711900234222 + "score": -0.03711516037583351 } }, "else": { "operation": "boost", - "score": 0.022372279316186905 + "score": -0.017871158197522163 } }, "else": { + "operation": "boost", + "score": -0.13587448000907898 + } + }, + "else": { + "operation": "boost", + "score": -0.012079334817826748 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.056092433631420135 + "score": -0.08654595911502838 }, "else": { "operation": "boost", - "score": 0.05168671905994415 + "score": -0.003941063303500414 } + }, + "else": { + "operation": "boost", + "score": -0.11074119806289673 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.13122060894966125 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04609879106283188 + "score": 0.0037409812211990356 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "boost", - "score": 0.09761855751276016 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.1173693835735321 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09075275808572769 + }, + "else": { + "operation": "boost", + "score": 0.056583043187856674 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.09258755296468735 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13073670864105225 + }, + "else": { + "operation": "boost", + "score": 0.04107252508401871 + } + } + } }, "else": { "operation": "boost", - "score": 0.1665211170911789 + "score": -0.03138996288180351 } }, "else": { "operation": "boost", - "score": 0.13381488621234894 + "score": -0.04189859330654144 } + }, + "else": { + "operation": "boost", + "score": -0.0852886214852333 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.0176190584897995 - }, - "else": { - "operation": "boost", - "score": 0.06722558289766312 - } } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06967971473932266 - }, - "else": { - "operation": "boost", - "score": 0.021842539310455322 - } + "operation": "boost", + "score": 0.0893988385796547 }, "else": { "operation": "boost", - "score": 0.047136612236499786 + "score": 0.03256858140230179 } }, "else": { - "operation": "boost", - "score": 0.0013152218889445066 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11778703331947327 - }, - "else": { - "operation": "boost", - "score": 0.027253063395619392 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.04810502380132675 + }, + "else": { + "operation": "boost", + "score": -0.017660589888691902 + } } - }, - "else": { - "operation": "boost", - "score": -0.020343076437711716 } } } } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09312154352664948 }, "else": { + "operation": "boost", + "score": 0.08272507786750793 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 71306.0, + "threshold": 12514.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.09711265563964844 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09133344888687134 - }, - "else": { - "operation": "boost", - "score": 0.08585544675588608 - } + "operation": "boost", + "score": 0.01823018305003643 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.09961261600255966 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.058774322271347046 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 188273.5, + "threshold": 77931.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 212125.0, + "threshold": 84990.5, "then": { "operation": "boost", - "score": 0.06619451940059662 + "score": 0.10740295052528381 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11374465376138687 - }, - "else": { - "operation": "boost", - "score": 0.11206359416246414 - } - }, - "else": { - "operation": "boost", - "score": 0.01975713111460209 - } - }, - "else": { - "operation": "boost", - "score": 0.10178090631961823 - } + "operation": "boost", + "score": 0.11544239521026611 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 152619.0, - "then": { - "operation": "boost", - "score": -0.07916650176048279 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.09606136381626129 - }, - "else": { - "operation": "boost", - "score": 0.032746024429798126 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09377473592758179 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.10761624574661255 - }, - "else": { - "operation": "boost", - "score": -0.334852397441864 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0654779002070427 - } - } + "operation": "boost", + "score": 0.09274859726428986 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0645832046866417 - }, - "else": { - "operation": "boost", - "score": -0.010259861126542091 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08898892253637314 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09327362477779388 }, "else": { "operation": "boost", - "score": 0.04717090353369713 + "score": 0.08835053443908691 } + }, + "else": { + "operation": "boost", + "score": 0.06811776757240295 } } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.05575476959347725 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 130.5, - "then": { - "operation": "boost", - "score": 0.05743447318673134 - }, - "else": { - "operation": "boost", - "score": 0.032874103635549545 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Namespace" - ], + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "FunctionScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.05852504447102547 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0684371143579483 + }, + "else": { + "operation": "boost", + "score": 0.029512256383895874 + } }, "else": { "operation": "boost", - "score": 0.08895762264728546 + "score": -0.09247734397649765 } }, "else": { "operation": "boost", - "score": 0.0026062980759888887 + "score": -0.08651486039161682 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.06009600684046745 - }, - "else": { - "operation": "boost", - "score": 0.02026878297328949 - } - }, - "else": { - "operation": "boost", - "score": -0.07258697599172592 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "boost", + "score": 0.06889069080352783 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.08481054753065109 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 56.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "boost", + "score": 0.08114530891180038 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel" + "Namespace", + "Type" ], "then": { - "operation": "boost", - "score": 0.14048387110233307 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.08665550500154495 + }, + "else": { + "operation": "boost", + "score": 0.06799590587615967 + } }, "else": { - "operation": "boost", - "score": 0.09724607318639755 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12021595984697342 + "score": 0.08889246731996536 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.08711062371730804 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.08321958035230637 + }, + "else": { + "operation": "boost", + "score": -0.0016367328353226185 + } }, "else": { "operation": "boost", - "score": 0.13435092568397522 + "score": -0.0044402084313333035 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0766592025756836 }, "else": { - "operation": "boost", - "score": 0.12736129760742188 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.06383705139160156 + }, + "else": { + "operation": "boost", + "score": 0.01655348762869835 + } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0583675391972065 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 35.0, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09827175736427307 + }, + "else": { + "operation": "boost", + "score": 0.04972014203667641 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.11654260754585266 + "score": 0.04819831997156143 }, "else": { "operation": "boost", - "score": 0.11016272753477097 + "score": -0.013774477876722813 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 130.5, + "operation": "boost", + "score": 0.04738261178135872 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06828513741493225 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5193.0, + "then": { + "operation": "boost", + "score": 0.1343366503715515 + }, + "else": { + "operation": "boost", + "score": 0.04075400531291962 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01613052375614643 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.0983005240559578 + "score": 0.06751663982868195 }, "else": { "operation": "boost", - "score": 0.08852090686559677 + "score": 0.03755037486553192 } } }, @@ -32618,2572 +30879,2734 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09295402467250824 + }, + "else": { + "operation": "boost", + "score": 0.013178643770515919 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10390646755695343 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.14688166975975037 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.07475613802671432 - }, - "else": { - "operation": "boost", - "score": 0.13563720881938934 - } - } + "operation": "boost", + "score": -0.03865008428692818 }, "else": { "operation": "boost", - "score": 0.1250377595424652 + "score": 0.037165217101573944 } - }, - "else": { - "operation": "boost", - "score": 0.11595530062913895 } - }, - "else": { - "operation": "boost", - "score": 0.030240565538406372 } } }, "else": { + "operation": "boost", + "score": -0.057857438921928406 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07664944231510162 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.07431796193122864 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07741449028253555 + }, + "else": { + "operation": "boost", + "score": 0.03532523289322853 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" + "Namespace" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07240114361047745 + }, + "else": { + "operation": "boost", + "score": -0.008541225455701351 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.042659319937229156 + }, + "else": { + "operation": "boost", + "score": -0.029158124700188637 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_Statement" ], "then": { + "operation": "boost", + "score": 0.0651618093252182 + }, + "else": { + "operation": "boost", + "score": 0.0359388068318367 + } + }, + "else": { + "operation": "boost", + "score": 0.02104014903306961 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08601906895637512 + }, + "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10186692327260971 + "score": -0.14245766401290894 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "boost", - "score": 0.08714230358600616 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12114982306957245 + "score": -0.033081088215112686 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.12490243464708328 + "score": 0.11253242939710617 }, "else": { "operation": "boost", - "score": 0.010157212615013123 + "score": 0.11515773087739944 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12612298130989075 - }, - "else": { - "operation": "boost", - "score": 0.12928442656993866 - } + "operation": "boost", + "score": -0.09656865894794464 } } + }, + "else": { + "operation": "boost", + "score": 0.011491547338664532 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09328688681125641 - }, - "else": { - "operation": "boost", - "score": -0.16079933941364288 - } } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14742225408554077 - }, - "else": { - "operation": "boost", - "score": 0.0749087855219841 - } + "operation": "boost", + "score": -0.012651240453124046 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.04407075420022011 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_Expression" - ], + "operation": "boost", + "score": -0.03524129092693329 + } + }, + "else": { + "operation": "boost", + "score": -0.050565704703330994 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.08152072876691818 + }, + "else": { + "operation": "boost", + "score": 0.05316375568509102 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.0648023784160614 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.1021866574883461 - }, - "else": { - "operation": "boost", - "score": 0.146471306681633 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08548422157764435 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11855170875787735 - }, - "else": { - "operation": "boost", - "score": 0.1283687800168991 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.058626383543014526 - } - }, - "else": { - "operation": "boost", - "score": 0.022943994030356407 - } + "operation": "boost", + "score": 0.07396739721298218 }, "else": { "operation": "boost", - "score": -0.012633911333978176 + "score": 0.01674993522465229 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.027868865057826042 + "score": -0.005528525914996862 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05696645379066467 + "score": 0.07236923277378082 }, "else": { "operation": "boost", - "score": 0.0061548990197479725 + "score": 0.024193083867430687 } } } } - }, - "else": { - "operation": "boost", - "score": -0.03690199553966522 } } } } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09836581349372864 - }, - "else": { - "operation": "boost", - "score": 0.09916064143180847 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10035522282123566 - }, - "else": { - "operation": "boost", - "score": 0.09784076362848282 - } - }, - "else": { - "operation": "boost", - "score": 0.0865032747387886 - } - } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 424244.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06060732528567314 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0805329978466034 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.0720386803150177 - }, - "else": { - "operation": "boost", - "score": 0.05355618894100189 - } - } - } + "operation": "boost", + "score": 0.090275339782238 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06066697835922241 - }, - "else": { - "operation": "boost", - "score": 0.02691120095551014 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 112.5, + "threshold": 33380.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.0956396609544754 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 135.5, + "threshold": 61387.0, "then": { "operation": "boost", - "score": 0.12525182962417603 + "score": 0.08325894922018051 }, "else": { "operation": "boost", - "score": 0.11774390190839767 + "score": 0.019297409802675247 } }, "else": { - "operation": "boost", - "score": 0.08277919143438339 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { + "operation": "boost", + "score": -0.04293643683195114 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { - "operation": "boost", - "score": 0.060545191168785095 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12360203266143799 + }, + "else": { + "operation": "boost", + "score": -0.16001495718955994 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.027830373495817184 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.09972120821475983 + }, + "else": { + "operation": "boost", + "score": -0.13732948899269104 + } + } + } }, "else": { "operation": "boost", - "score": 0.10119149088859558 + "score": 0.009341474622488022 } - }, - "else": { - "operation": "boost", - "score": 0.058893147855997086 } - }, - "else": { - "operation": "boost", - "score": 0.07045559585094452 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 232885.0, "then": { + "operation": "boost", + "score": 0.07205983251333237 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.4464443624019623 + "score": 0.13227252662181854 }, "else": { "operation": "boost", - "score": 0.04918431118130684 + "score": 0.09050342440605164 } - }, - "else": { - "operation": "boost", - "score": 0.057345516979694366 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.09846615791320801 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12837938964366913 - }, - "else": { - "operation": "boost", - "score": 0.1070571169257164 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06798141449689865 - } + "operation": "boost", + "score": 0.04412587732076645 } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.07984188944101334 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_Symbol" + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.0463312529027462 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09499595314264297 + "score": 0.06820765882730484 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": 0.07114715129137039 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09899885952472687 + "score": -0.0015539037995040417 }, "else": { - "operation": "boost", - "score": 0.09765447676181793 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07189871370792389 + }, + "else": { + "operation": "boost", + "score": 0.09285453706979752 + } } + }, + "else": { + "operation": "boost", + "score": 0.02583738975226879 } }, "else": { - "operation": "boost", - "score": 0.05364245921373367 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.042868565768003464 + }, + "else": { + "operation": "boost", + "score": -0.040663834661245346 + } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03721177205443382 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19434.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 368430.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.029642047360539436 + "score": 0.08380847424268723 }, "else": { - "operation": "boost", - "score": 0.10257193446159363 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.047911666333675385 + }, + "else": { + "operation": "boost", + "score": 0.03301067277789116 + } } }, "else": { "operation": "boost", - "score": 0.06456196308135986 + "score": -0.015438049100339413 } } + }, + "else": { + "operation": "boost", + "score": -0.018502069637179375 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.045387327671051025 - }, - "else": { - "operation": "boost", - "score": 0.09682713449001312 - } - }, - "else": { - "operation": "boost", - "score": 0.060417987406253815 - } + "operation": "boost", + "score": 0.033792346715927124 }, "else": { "operation": "boost", - "score": 0.032751958817243576 + "score": 0.08837075531482697 } }, "else": { - "operation": "boost", - "score": 0.032524432986974716 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15623.0, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.008491222746670246 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.06468883901834488 + }, + "else": { + "operation": "boost", + "score": -0.023372258991003036 + } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol" + "Namespace" ], "then": { + "operation": "boost", + "score": 0.04267771914601326 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16870.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.08183406293392181 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11162833869457245 - }, - "else": { - "operation": "boost", - "score": 0.10819828510284424 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07906590402126312 - } + "operation": "boost", + "score": -0.014721457846462727 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10146904736757278 + "score": 0.054524026811122894 }, "else": { "operation": "boost", - "score": 0.12174098193645477 + "score": -0.02131679654121399 } }, "else": { "operation": "boost", - "score": 0.09979181736707687 + "score": 0.04536445066332817 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "boost", - "score": 0.0997917652130127 - }, - "else": { - "operation": "boost", - "score": 0.05432823300361633 - } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.050931207835674286 + }, + "else": { + "operation": "boost", + "score": 4.428053580340929e-05 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.07608336210250854 + "score": 0.03700250759720802 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11593476682901382 - }, - "else": { - "operation": "boost", - "score": 0.09907563030719757 - } - }, - "else": { - "operation": "boost", - "score": 0.1299315094947815 - } - }, - "else": { - "operation": "boost", - "score": 0.040628112852573395 - } + "operation": "boost", + "score": -0.08898263424634933 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.08255918323993683 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1226481944322586 + "score": -0.12704205513000488 }, "else": { - "operation": "boost", - "score": 0.10991781949996948 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1675173044204712 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.0, - "then": { - "operation": "boost", - "score": 0.11816023290157318 - }, - "else": { - "operation": "boost", - "score": 0.13736295700073242 - } - } + "operation": "boost", + "score": -0.043968044221401215 }, "else": { "operation": "boost", - "score": 0.11771097034215927 + "score": 0.06796815246343613 } - }, - "else": { - "operation": "boost", - "score": 0.10643356293439865 } - } - }, - "else": { - "operation": "boost", - "score": 0.08416491001844406 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.061911240220069885 + "score": -0.09356242418289185 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09468194097280502 + "score": -0.13237541913986206 }, "else": { "operation": "boost", - "score": 0.10747081786394119 + "score": 0.025273969396948814 } } - }, - "else": { - "operation": "boost", - "score": 0.07591094076633453 } }, "else": { "operation": "boost", - "score": 0.040820397436618805 + "score": -0.07605123519897461 } }, "else": { - "operation": "boost", - "score": 0.04840678349137306 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.028500594198703766 - }, - "else": { - "operation": "boost", - "score": 0.06801466643810272 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105.5, + "then": { + "operation": "boost", + "score": 0.06268271058797836 + }, + "else": { + "operation": "boost", + "score": -0.01498045027256012 + } + }, + "else": { + "operation": "boost", + "score": -0.06562621891498566 + } } } + }, + "else": { + "operation": "boost", + "score": -0.08492957055568695 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06684443354606628 - }, - "else": { - "operation": "boost", - "score": 0.016995510086417198 - } + "operation": "boost", + "score": 0.008059509098529816 }, "else": { "operation": "boost", - "score": 0.045336365699768066 + "score": 0.03598053753376007 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.023958448320627213 - }, - "else": { - "operation": "boost", - "score": 0.049268562346696854 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11002354323863983 + "score": -0.011726466938853264 }, "else": { "operation": "boost", - "score": 0.12014514207839966 + "score": 0.025359272956848145 } }, "else": { "operation": "boost", - "score": 0.093368761241436 + "score": -0.039822421967983246 } - }, - "else": { - "operation": "boost", - "score": 0.028570694848895073 } - }, - "else": { - "operation": "boost", - "score": -0.019237851724028587 } } } } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09135644137859344 }, "else": { + "operation": "boost", + "score": 0.08007028698921204 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73859.5, + "threshold": 7575.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.09479282051324844 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08900907635688782 + "score": 0.08896294236183167 }, "else": { "operation": "boost", - "score": 0.08291012793779373 + "score": 0.007308934349566698 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.09774709492921829 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73593.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84990.5, + "then": { + "operation": "boost", + "score": 0.0896790474653244 + }, + "else": { + "operation": "boost", + "score": 0.11141793429851532 + } + }, + "else": { + "operation": "boost", + "score": 0.06938593834638596 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 281926.5, "then": { "operation": "boost", - "score": -0.051487091928720474 + "score": 0.08616528660058975 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "operation": "boost", + "score": 0.05002440884709358 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212125.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.05970387160778046 + "score": 0.06650588661432266 }, "else": { "operation": "boost", - "score": 0.10290336608886719 + "score": 0.026207393035292625 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132033.5, + "operation": "boost", + "score": -0.08989682793617249 + } + }, + "else": { + "operation": "boost", + "score": -0.08138225227594376 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06619539111852646 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": -0.027773112058639526 + "score": 0.0696754977107048 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "boost", + "score": 0.04848765581846237 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.08888519555330276 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": -0.037024322897195816 + }, + "else": { + "operation": "boost", + "score": 0.06619442254304886 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": -0.1146119013428688 + "score": 0.07570477575063705 }, "else": { "operation": "boost", - "score": 0.08907850831747055 + "score": 0.032060544937849045 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.07571464776992798 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09719296544790268 + "score": 0.04354720190167427 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.1062079519033432 + "score": 0.03406090661883354 }, "else": { "operation": "boost", - "score": -0.29993537068367004 + "score": -0.009917452931404114 } } } - }, - "else": { - "operation": "boost", - "score": 0.06546513736248016 } + }, + "else": { + "operation": "boost", + "score": -0.11006338149309158 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.060159213840961456 - }, - "else": { - "operation": "boost", - "score": -0.011096643283963203 - } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08583171665668488 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09152285009622574 + "score": 0.06586812436580658 }, "else": { - "operation": "boost", - "score": 0.04560507833957672 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5193.0, + "then": { + "operation": "boost", + "score": 0.1310865432024002 + }, + "else": { + "operation": "boost", + "score": 0.037340447306632996 + } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1584.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.0833570659160614 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017075568437576294 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.06341297924518585 + }, + "else": { + "operation": "boost", + "score": 0.0369831807911396 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08739450573921204 + }, + "else": { + "operation": "boost", + "score": 0.012297623790800571 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09857532382011414 + }, + "else": { + "operation": "boost", + "score": 0.002416216768324375 + } + } + } }, "else": { "operation": "boost", - "score": 0.04483024403452873 + "score": -0.053795844316482544 } - }, - "else": { - "operation": "boost", - "score": 0.048295434564352036 } - }, - "else": { - "operation": "boost", - "score": 0.024968791753053665 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 34.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "boost", - "score": -0.025165744125843048 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 33.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.06922168284654617 + }, + "else": { + "operation": "boost", + "score": 0.03493443876504898 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.25833332538604736, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 387.5, + "then": { + "operation": "boost", + "score": 0.08126267790794373 + }, + "else": { + "operation": "boost", + "score": 0.03454116731882095 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30964.5, - "then": { - "operation": "boost", - "score": 0.1049976721405983 - }, - "else": { - "operation": "boost", - "score": 0.03788790851831436 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.007019375450909138 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13794420659542084 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.039785128086805344 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10404191166162491 + }, + "else": { + "operation": "boost", + "score": -0.0792955830693245 + } + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09843553602695465 + "score": -0.04361078888177872 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1415119767189026 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09625855088233948 + "score": -0.04706868529319763 }, "else": { "operation": "boost", - "score": 0.08386719971895218 + "score": 0.08841720223426819 } - }, - "else": { - "operation": "boost", - "score": 0.07390547543764114 } } } + }, + "else": { + "operation": "boost", + "score": -0.014698009006679058 } }, "else": { - "operation": "boost", - "score": 0.03764462471008301 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 232.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.08178655058145523 + "score": 0.02212350070476532 }, "else": { "operation": "boost", - "score": 0.05907106399536133 + "score": 0.07571226358413696 } }, "else": { "operation": "boost", - "score": 0.043291885405778885 + "score": -0.007588032633066177 } - }, - "else": { - "operation": "boost", - "score": 0.02398626320064068 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025023505091667175 }, "else": { "operation": "boost", - "score": -0.0014361203648149967 + "score": -0.0476553700864315 } } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "boost", - "score": -0.07741732895374298 + "score": 0.08277486264705658 }, "else": { "operation": "boost", - "score": -0.09682656079530716 + "score": 0.06714751571416855 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, "then": { "operation": "boost", - "score": -0.05046782270073891 + "score": 0.04301051050424576 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.05100608617067337 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "Namespace" ], "then": { - "operation": "boost", - "score": 0.09879712760448456 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08272362500429153 - }, - "else": { - "operation": "boost", - "score": 0.10005635768175125 - } + "operation": "boost", + "score": 0.10189071297645569 }, "else": { "operation": "boost", - "score": 0.08003503084182739 + "score": 0.04259112477302551 } + }, + "else": { + "operation": "boost", + "score": 0.013387382961809635 } - }, - "else": { - "operation": "boost", - "score": 0.014405845664441586 } } } } } } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09814776480197906 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09941785782575607 - }, - "else": { - "operation": "boost", - "score": 0.09648414701223373 - } - }, - "else": { - "operation": "boost", - "score": 0.08464425802230835 - } - } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 188273.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.05784423649311066 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 212125.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 478260.0, "then": { "operation": "boost", - "score": 0.08205331861972809 + "score": 0.09983295947313309 }, "else": { - "operation": "boost", - "score": 0.06945163011550903 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.0616714246571064 + }, + "else": { + "operation": "boost", + "score": -0.11321079730987549 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.12941700220108032 + }, + "else": { + "operation": "boost", + "score": 0.09164793789386749 + } + }, + "else": { + "operation": "boost", + "score": -0.0023750122636556625 + } + } } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09685510396957397 + "score": 0.13015133142471313 }, "else": { - "operation": "boost", - "score": 0.05560321360826492 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.13540054857730865 + }, + "else": { + "operation": "boost", + "score": 0.08932498842477798 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.13570636510849 + }, + "else": { + "operation": "boost", + "score": 0.08814340829849243 + } + } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.056954458355903625 }, "else": { - "operation": "boost", - "score": 0.02626214176416397 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "boost", - "score": 0.09217962622642517 - }, - "else": { - "operation": "boost", - "score": 0.08790922164916992 - } - }, - "else": { - "operation": "boost", - "score": 0.10683280974626541 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "threshold": 264171.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 273025.5, "then": { "operation": "boost", - "score": 0.10957329720258713 + "score": 0.08293403685092926 }, "else": { - "operation": "boost", - "score": -0.18442082405090332 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.11204017698764801 + }, + "else": { + "operation": "boost", + "score": 0.08128876239061356 + } + }, + "else": { + "operation": "boost", + "score": 0.04856429994106293 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.056757740676403046 - }, - "else": { - "operation": "boost", - "score": 0.06753937900066376 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { "operation": "boost", - "score": 0.05861171334981918 + "score": -0.061177629977464676 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.09291033446788788 + "score": 0.09744954109191895 }, "else": { "operation": "boost", - "score": 0.10484211146831512 + "score": 0.015854839235544205 } } - }, - "else": { - "operation": "boost", - "score": 0.03919835388660431 } + }, + "else": { + "operation": "boost", + "score": -0.03093758411705494 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", "Namespace" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "boost", + "score": 0.020877689123153687 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.07204980403184891 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.10056722909212112 + "score": 0.05735174939036369 }, "else": { "operation": "boost", - "score": 0.09366068989038467 + "score": -0.006130884867161512 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09160872548818588 + "score": -0.046285390853881836 }, "else": { "operation": "boost", - "score": 0.05773795768618584 + "score": 0.020519107580184937 } - }, - "else": { - "operation": "boost", - "score": 0.03879576548933983 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11062851548194885 }, "else": { - "operation": "boost", - "score": 0.04181888327002525 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "boost", - "score": 0.07844355702400208 - }, - "else": { - "operation": "boost", - "score": -0.02867922931909561 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 126.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.10974132269620895 + "score": 0.03126411512494087 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, + "operation": "boost", + "score": 0.05805373936891556 + }, + "else": { + "operation": "boost", + "score": 0.005011792294681072 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.14436441659927368 - }, - "else": { - "operation": "boost", - "score": 0.11851337552070618 - } + "operation": "boost", + "score": 0.008341067470610142 }, "else": { "operation": "boost", - "score": 0.13552039861679077 + "score": -0.08316756039857864 } }, "else": { "operation": "boost", - "score": 0.11705932766199112 + "score": -0.013753273524343967 } - }, - "else": { - "operation": "boost", - "score": 0.10558247566223145 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.022720307111740112 + }, + "else": { + "operation": "boost", + "score": 0.0695817619562149 + } }, "else": { "operation": "boost", - "score": 0.00472661666572094 + "score": 0.03724489361047745 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type", - "Namespace" + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43288.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05292808264493942 - }, - "else": { - "operation": "boost", - "score": 0.08813734352588654 - } - }, - "else": { - "operation": "boost", - "score": 0.07957826554775238 - } - }, - "else": { - "operation": "boost", - "score": 0.1062602698802948 - } + "operation": "boost", + "score": 0.02403952367603779 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.12346258014440536 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "boost", - "score": 0.13207806646823883 - }, - "else": { - "operation": "boost", - "score": 0.134942427277565 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "boost", - "score": 0.18019329011440277 - }, - "else": { - "operation": "boost", - "score": 0.18532268702983856 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10530152916908264 - }, - "else": { - "operation": "boost", - "score": 0.13258449733257294 - } - }, - "else": { - "operation": "boost", - "score": 0.11626150459051132 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07096464931964874 - } + "operation": "boost", + "score": 0.08231966942548752 } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.11179858446121216 + "score": 0.06292029470205307 }, "else": { "operation": "boost", - "score": 0.16469398140907288 + "score": 0.019056949764490128 } }, "else": { "operation": "boost", - "score": 0.05331927165389061 + "score": 0.004607690032571554 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 581.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.06922274827957153 + }, + "else": { + "operation": "boost", + "score": 0.02162468060851097 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.056104764342308044 + }, + "else": { + "operation": "boost", + "score": -0.010733982548117638 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "NumReferences", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07592273503541946 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09681560844182968 - }, - "else": { - "operation": "boost", - "score": 0.11336711049079895 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.05217314511537552 - }, - "else": { - "operation": "boost", - "score": 0.11428479850292206 - } - }, - "else": { - "operation": "boost", - "score": 0.0763493999838829 - } - }, - "else": { - "operation": "boost", - "score": 0.048909012228250504 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.038574106991291046 - }, - "else": { - "operation": "boost", - "score": -0.01960107311606407 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", + "CCC_PreprocessorExpression", + "CCC_Statement", "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.06755433976650238 - }, - "else": { - "operation": "boost", - "score": -0.1579478234052658 - } - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": -0.10938204824924469 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.056964632123708725 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07606726884841919 + }, + "else": { + "operation": "boost", + "score": 0.045556604862213135 + } }, "else": { "operation": "boost", - "score": 0.10497482120990753 + "score": -0.08190710842609406 } }, "else": { "operation": "boost", - "score": 0.08207032829523087 + "score": 0.006435176823288202 } }, - "else": { - "operation": "boost", - "score": 0.04412543401122093 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1445506513118744 - }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "boost", - "score": -0.12515026330947876 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.03100009448826313 + }, + "else": { + "operation": "boost", + "score": 0.08334456384181976 + } + }, + "else": { + "operation": "boost", + "score": -0.1997450739145279 + } + }, + "else": { + "operation": "boost", + "score": 0.08569660782814026 + } + }, + "else": { + "operation": "boost", + "score": -0.03708374500274658 + } }, "else": { "operation": "boost", - "score": 0.06817318499088287 + "score": -0.022962380200624466 } } + }, + "else": { + "operation": "boost", + "score": 0.03146202489733696 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01772993430495262 + }, + "else": { + "operation": "boost", + "score": -0.017333853989839554 } }, "else": { "operation": "boost", - "score": 0.04278431460261345 + "score": -0.043290577828884125 } - }, - "else": { - "operation": "boost", - "score": 0.020543811842799187 } + }, + "else": { + "operation": "boost", + "score": -0.03167363256216049 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09749510884284973 + "score": 0.0014842142118141055 }, "else": { "operation": "boost", - "score": -0.07527177780866623 + "score": -0.08171065151691437 } } } }, "else": { - "operation": "boost", - "score": -0.10185298323631287 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08392807096242905 + }, + "else": { + "operation": "boost", + "score": 0.029083790257573128 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.044111788272857666 + }, + "else": { + "operation": "boost", + "score": -0.015163918025791645 + } + } } } } } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10067874938249588 }, "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.08627073466777802 + }, + "else": { + "operation": "boost", + "score": 0.07291499525308609 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1535.0, + "threshold": 7575.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7103.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type" + ], "then": { + "operation": "boost", + "score": 0.09284372627735138 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0836590901017189 + "score": 0.09310548007488251 }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06652458757162094 + }, + "else": { + "operation": "boost", + "score": -0.17707450687885284 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "boost", + "score": 0.09019778668880463 + }, + "else": { + "operation": "boost", + "score": 0.046058539301157 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07563214004039764 + }, + "else": { + "operation": "boost", + "score": 0.0027830321341753006 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.06343098729848862 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20509.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.06336667388677597 + "score": 0.08036766201257706 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09342345595359802 + }, + "else": { + "operation": "boost", + "score": 0.04861126467585564 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19842.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.11073853820562363 - }, - "else": { - "operation": "boost", - "score": 0.10529745370149612 - } + "operation": "boost", + "score": 0.08710283786058426 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.11483943462371826 + "score": -0.044710878282785416 }, "else": { "operation": "boost", - "score": 0.11348339170217514 + "score": 0.06463898718357086 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11289377510547638 - }, - "else": { - "operation": "boost", - "score": 0.11295586824417114 - } + "operation": "boost", + "score": 0.07283500581979752 }, "else": { "operation": "boost", - "score": 0.10655276477336884 + "score": 0.02886701561510563 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11285277456045151 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.11239280551671982 - }, - "else": { - "operation": "boost", - "score": 0.11924794316291809 - } - } + "operation": "boost", + "score": 0.06960007548332214 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" + "Namespace" ], "then": { "operation": "boost", - "score": 0.1019834652543068 + "score": 0.053393542766571045 }, "else": { - "operation": "boost", - "score": 0.031783781945705414 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06033502146601677 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24366.0, - "then": { - "operation": "boost", - "score": 0.07118251174688339 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14677.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "boost", + "score": 0.04204033687710762 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.12189549952745438 + "score": 0.05820286646485329 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20410.5, - "then": { - "operation": "boost", - "score": 0.1372125893831253 - }, - "else": { - "operation": "boost", - "score": 0.12263378500938416 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19464.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.10339105129241943 + "score": -0.0018233559094369411 }, "else": { "operation": "boost", - "score": 0.13196611404418945 + "score": 0.033598076552152634 } - }, - "else": { - "operation": "boost", - "score": 0.13163284957408905 } } - }, - "else": { - "operation": "boost", - "score": 0.10290645807981491 } - }, - "else": { - "operation": "boost", - "score": 0.09078636020421982 } } }, "else": { "operation": "boost", - "score": 0.0712653398513794 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0909416675567627 - }, - "else": { - "operation": "boost", - "score": 0.05694194510579109 + "score": -0.10918457806110382 } } } @@ -35191,887 +33614,374 @@ }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.07967223227024078 - }, - "else": { - "operation": "boost", - "score": 0.04125131294131279 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.02156270295381546 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10591664165258408 + "score": 0.06319963186979294 }, "else": { "operation": "boost", - "score": 0.06649854779243469 + "score": 0.03681119903922081 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", + "Function", + "Keyword", + "Macro", + "Namespace", "Type", - "Namespace" + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.007883652113378048 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.020556598901748657 + }, + "else": { + "operation": "boost", + "score": 0.056548845022916794 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09985616058111191 + "score": 0.022040395066142082 }, "else": { "operation": "boost", - "score": 0.09493308514356613 + "score": 0.004919133614748716 } } }, "else": { "operation": "boost", - "score": 0.04069095849990845 + "score": -0.039104361087083817 } }, "else": { "operation": "boost", - "score": 0.006141360383480787 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": -0.01649182289838791 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.053418464958667755 - }, - "else": { - "operation": "boost", - "score": 0.0935368686914444 - } - }, - "else": { - "operation": "boost", - "score": 0.05332379415631294 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.06509136408567429 - }, - "else": { - "operation": "boost", - "score": 0.04284418001770973 - } + "score": -0.03598126024007797 } - }, - "else": { - "operation": "boost", - "score": 0.009542238898575306 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.031507354229688644 + "score": 0.1162165030837059 }, "else": { "operation": "boost", - "score": -0.07547459751367569 + "score": 0.06994906067848206 } }, "else": { - "operation": "boost", - "score": -0.08366627991199493 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "Macro", + "Namespace" ], "then": { + "operation": "boost", + "score": 0.06921873986721039 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10614252090454102 + "score": 0.07271486520767212 }, "else": { "operation": "boost", - "score": 0.09260950982570648 + "score": 0.03280389681458473 } - }, - "else": { - "operation": "boost", - "score": 0.08175423741340637 } - }, - "else": { - "operation": "boost", - "score": -0.002250316319987178 - } - } - } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09708111733198166 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09814881533384323 - }, - "else": { - "operation": "boost", - "score": 0.09542493522167206 - } - }, - "else": { - "operation": "boost", - "score": 0.08245819061994553 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0549158938229084 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07971949875354767 - }, - "else": { - "operation": "boost", - "score": 0.0661201924085617 - } - }, - "else": { - "operation": "boost", - "score": 0.053186748176813126 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05417478457093239 - }, - "else": { - "operation": "boost", - "score": 0.023753339424729347 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "boost", - "score": 0.0902535542845726 - }, - "else": { - "operation": "boost", - "score": 0.08940485119819641 } }, "else": { - "operation": "boost", - "score": 0.10481748729944229 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06752050668001175 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05090958997607231 - }, - "else": { - "operation": "boost", - "score": 0.10328233987092972 - } - }, - "else": { - "operation": "boost", - "score": 0.061818260699510574 - } - }, - "else": { - "operation": "boost", - "score": 0.06888460367918015 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.05638539791107178 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.09002453833818436 - }, - "else": { - "operation": "boost", - "score": 0.10172253847122192 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.059487007558345795 - }, - "else": { - "operation": "boost", - "score": 0.01606987603008747 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope" + "Macro", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.06609519571065903 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.09639377146959305 + "score": 0.06686954945325851 }, "else": { "operation": "boost", - "score": 0.08958028256893158 + "score": 0.03550266847014427 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", + "CCC_Expression", "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" ], "then": { - "operation": "boost", - "score": 0.08987389504909515 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.010783005505800247 + }, + "else": { + "operation": "boost", + "score": 0.0462612584233284 + } }, "else": { "operation": "boost", - "score": 0.055153779685497284 + "score": -0.01924499124288559 } - }, - "else": { - "operation": "boost", - "score": 0.03590346500277519 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09610975533723831 - }, - "else": { - "operation": "boost", - "score": 0.04015159234404564 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "boost", - "score": 0.07574383914470673 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1515.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.09019894152879715 - }, - "else": { - "operation": "boost", - "score": 0.03208289295434952 } }, "else": { - "operation": "boost", - "score": -0.03517380356788635 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 71.5, + "threshold": 232.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.1129213273525238 + "score": 0.020437201485037804 }, "else": { - "operation": "boost", - "score": 0.04511601850390434 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.06794261187314987 + }, + "else": { + "operation": "boost", + "score": 0.0285759549587965 + } } }, "else": { - "operation": "boost", - "score": 0.1041170284152031 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.1345542073249817 + "score": -0.052950672805309296 }, "else": { "operation": "boost", - "score": 0.11767596751451492 + "score": 0.042777229100465775 } }, "else": { "operation": "boost", - "score": 0.11148922890424728 + "score": -0.09723427146673203 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.0887206494808197 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.10477931052446365 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04428441822528839 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.09772106260061264 + }, + "else": { + "operation": "boost", + "score": -0.009438318200409412 + } + } }, "else": { "operation": "boost", - "score": 0.11497923731803894 + "score": 0.03153389319777489 } + }, + "else": { + "operation": "boost", + "score": 0.003667350159958005 } }, "else": { - "operation": "boost", - "score": 0.08585411310195923 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.024628279730677605 + }, + "else": { + "operation": "boost", + "score": -0.04667884483933449 + } } } - }, - "else": { - "operation": "boost", - "score": 0.060715384781360626 } } }, "else": { - "operation": "boost", - "score": 0.05253740772604942 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0966302752494812 - }, - "else": { - "operation": "boost", - "score": 0.11182516068220139 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.05032835528254509 - }, - "else": { - "operation": "boost", - "score": 0.11143464595079422 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06252841651439667 - }, - "else": { - "operation": "boost", - "score": 0.08003383129835129 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04736173897981644 - } - } + "operation": "boost", + "score": 0.08511848002672195 }, "else": { "operation": "boost", - "score": 0.03082091547548771 + "score": 0.05778088793158531 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" + "Macro", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01391737349331379 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06512492150068283 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.10299462080001831 - }, - "else": { - "operation": "boost", - "score": 0.0474921390414238 - } - }, - "else": { - "operation": "boost", - "score": 0.06559275090694427 - } - }, - "else": { - "operation": "boost", - "score": 0.05309688299894333 - } - }, - "else": { - "operation": "boost", - "score": 0.04706069082021713 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.024235466495156288 - }, - "else": { - "operation": "boost", - "score": 0.04518013820052147 - } - } - } - } + "operation": "boost", + "score": 0.04729313403367996 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09692507982254028 + "score": 0.0485570915043354 }, "else": { "operation": "boost", - "score": -0.07029975950717926 + "score": 0.013157844543457031 } } } - }, - "else": { - "operation": "boost", - "score": -0.09893183410167694 } } } @@ -36079,611 +33989,680 @@ }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 71306.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "boost", - "score": 0.07904698699712753 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.015474632382392883 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.08945541083812714 + }, + "else": { + "operation": "boost", + "score": -0.10193636268377304 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 198405.5, + "then": { + "operation": "boost", + "score": 0.10496819019317627 + }, + "else": { + "operation": "boost", + "score": 0.08111914992332458 + } + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11341874301433563 + "score": 0.09351178258657455 }, "else": { - "operation": "boost", - "score": 0.09209723770618439 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.15728268027305603 + }, + "else": { + "operation": "boost", + "score": 0.029967542737722397 + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], "then": { "operation": "boost", - "score": 0.05336284637451172 + "score": 0.08110979944467545 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.052279382944107056 + "score": 0.08331993967294693 }, "else": { "operation": "boost", - "score": 0.029525483027100563 + "score": -0.003137121209874749 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1735.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "boost", + "score": 0.05544688180088997 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.06129080057144165 + }, + "else": { + "operation": "boost", + "score": -0.05682460218667984 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.04501616954803467 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8322.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.04626083746552467 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21492.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.08027283102273941 + "score": 0.10901685059070587 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19035.0, + "operation": "boost", + "score": 0.0905221700668335 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.046262115240097046 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.03218597173690796 + }, + "else": { + "operation": "boost", + "score": 0.07791799306869507 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.025786008685827255 + }, + "else": { + "operation": "boost", + "score": -0.04138358682394028 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.081760473549366 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08928748965263367 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.12094046175479889 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5370.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "boost", - "score": 0.10768667608499527 - }, - "else": { - "operation": "boost", - "score": 0.1125812977552414 - } + "operation": "boost", + "score": -0.012499156408011913 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20296.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1137055903673172 + "score": 0.023397235199809074 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "boost", - "score": 0.054349951446056366 - }, - "else": { - "operation": "boost", - "score": 0.12021433562040329 - } + "operation": "boost", + "score": 0.07281772792339325 } } + }, + "else": { + "operation": "boost", + "score": -0.04201535880565643 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "boost", + "score": 0.0011257156729698181 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 940.5, + "then": { + "operation": "boost", + "score": 0.005134996492415667 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12073103338479996 - }, - "else": { - "operation": "boost", - "score": 0.11194667965173721 - } + "operation": "boost", + "score": -0.08970794081687927 }, "else": { "operation": "boost", - "score": 0.09584145247936249 + "score": -0.004346480593085289 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.11779074370861053 + "score": -0.07375454157590866 }, "else": { "operation": "boost", - "score": 0.09601203352212906 + "score": -0.024015512317419052 } } } } - }, - "else": { - "operation": "boost", - "score": 0.08893360942602158 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08539588004350662 - }, - "else": { - "operation": "boost", - "score": 0.05735853686928749 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63648.0, - "then": { - "operation": "boost", - "score": 0.08856521546840668 - }, - "else": { - "operation": "boost", - "score": 0.031273212283849716 } - }, - "else": { - "operation": "boost", - "score": -0.023351827636361122 } } - }, - "else": { - "operation": "boost", - "score": -0.014188935048878193 } - }, - "else": { - "operation": "boost", - "score": -0.07020708173513412 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92290.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12006671726703644 + "score": -0.10800918191671371 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105661.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "boost", - "score": 0.059616170823574066 + "score": 0.09589429199695587 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Macro", + "Namespace" ], "then": { + "operation": "boost", + "score": 0.029589621350169182 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 120.5, "then": { "operation": "boost", - "score": 0.09190519899129868 + "score": 0.06180159002542496 }, "else": { "operation": "boost", - "score": 0.1231718435883522 + "score": 0.015615345910191536 } - }, - "else": { - "operation": "boost", - "score": -0.051693227142095566 } } } }, "else": { - "operation": "boost", - "score": 0.07390078157186508 - } - }, - "else": { - "operation": "boost", - "score": 0.036084383726119995 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.07287955284118652 + "score": -0.17214460670948029 }, "else": { "operation": "boost", - "score": 0.01793665997684002 + "score": 0.09117156267166138 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, - "then": { - "operation": "boost", - "score": 0.11671070754528046 - }, - "else": { - "operation": "boost", - "score": 0.12436038255691528 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.5, - "then": { - "operation": "boost", - "score": 0.13347768783569336 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "boost", - "score": 0.14318498969078064 - }, - "else": { - "operation": "boost", - "score": 0.13078458607196808 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.12234698981046677 - }, - "else": { - "operation": "boost", - "score": 0.11589714139699936 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.10730163007974625 - }, - "else": { - "operation": "boost", - "score": 0.11676470935344696 - } - } + "operation": "boost", + "score": 0.04586068168282509 + } + }, + "else": { + "operation": "boost", + "score": 0.027624404057860374 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01148206740617752 + }, + "else": { + "operation": "boost", + "score": 0.03959982097148895 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11906106770038605 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.0093355318531394 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05716763809323311 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 532.0, - "then": { - "operation": "boost", - "score": 0.11665262281894684 - }, - "else": { - "operation": "boost", - "score": 0.10903242975473404 - } - }, - "else": { - "operation": "boost", - "score": 0.09104929864406586 - } - }, - "else": { - "operation": "boost", - "score": 0.09117015451192856 - } + "operation": "boost", + "score": -0.00470251077786088 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6221.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49723.5, + "then": { + "operation": "boost", + "score": -0.13882485032081604 + }, + "else": { + "operation": "boost", + "score": 0.08089102059602737 + } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "boost", + "score": 0.13223616778850555 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.06257680058479309 + }, + "else": { + "operation": "boost", + "score": 0.017048699781298637 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { "operation": "boost", - "score": 0.12354728579521179 + "score": 0.059236474335193634 }, "else": { - "operation": "boost", - "score": 0.11047772318124771 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.048143502324819565 + }, + "else": { + "operation": "boost", + "score": 0.0007864386425353587 + } } }, + "else": { + "operation": "boost", + "score": 0.004954515025019646 + } + }, + "else": { + "operation": "boost", + "score": -0.10098420083522797 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07652298361063004 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0025255673099309206 + }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.055923204869031906 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 2757.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14093796908855438 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01781434379518032 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.10380563884973526 - }, - "else": { - "operation": "boost", - "score": 0.0845867320895195 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0007923730299808085 - } + "operation": "boost", + "score": 0.01934683695435524 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.06906145811080933 - }, - "else": { - "operation": "boost", - "score": 0.02764684334397316 - } + "operation": "boost", + "score": -0.05180923268198967 } + }, + "else": { + "operation": "boost", + "score": -0.1274133175611496 } } } - }, - "else": { - "operation": "boost", - "score": 0.004125924315303564 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.034655600786209106 - }, - "else": { - "operation": "boost", - "score": -0.07319080829620361 } } } @@ -36700,770 +34679,916 @@ ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.08789907395839691 + }, + "else": { + "operation": "boost", + "score": 0.075346939265728 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1270161271095276, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 1806.0, "then": { - "operation": "boost", - "score": 0.096180759370327 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.09715373814105988 + "score": 0.08851215988397598 }, "else": { "operation": "boost", - "score": 0.09383099526166916 + "score": 0.06425967067480087 } }, "else": { "operation": "boost", - "score": 0.08113537728786469 + "score": 0.03760486841201782 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.053083471953868866 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Expression" + "ClassScope", + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.07778431475162506 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09424003213644028 + }, + "else": { + "operation": "boost", + "score": 0.05412360653281212 + } }, "else": { "operation": "boost", - "score": 0.0634249821305275 + "score": 0.051557548344135284 } }, "else": { - "operation": "boost", - "score": 0.0492643378674984 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05123157799243927 - }, - "else": { - "operation": "boost", - "score": 0.022498339414596558 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.08596237748861313 + "score": 0.009529179893434048 }, "else": { - "operation": "boost", - "score": 0.08542871475219727 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.09455171227455139 + }, + "else": { + "operation": "boost", + "score": 0.045474469661712646 + } } - }, - "else": { - "operation": "boost", - "score": 0.1058979481458664 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05233462527394295 - }, - "else": { - "operation": "boost", - "score": 0.06359212845563889 - } - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.05448073521256447 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", - "score": 0.09415087103843689 + "score": -0.02814585715532303 }, "else": { "operation": "boost", - "score": 0.10125807672739029 + "score": 0.020032761618494987 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04983522742986679 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05207139253616333 + }, + "else": { + "operation": "boost", + "score": 0.033339258283376694 + } } } }, "else": { "operation": "boost", - "score": 0.0332760326564312 + "score": -0.04329584911465645 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Function", + "Macro", + "Namespace", "Type", - "Namespace" + "Variable" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.05570896714925766 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09292631596326828 + "score": -0.0666096955537796 }, "else": { - "operation": "boost", - "score": 0.08628179877996445 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.043819598853588104 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07354723662137985 + }, + "else": { + "operation": "boost", + "score": 0.04949215054512024 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.0789833813905716 + }, + "else": { + "operation": "boost", + "score": 0.057269856333732605 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.035743337124586105 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.07975336909294128 + }, + "else": { + "operation": "boost", + "score": 0.021809836849570274 + } + } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Namespace", + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": 0.03685329481959343 + "score": 0.06984925270080566 }, "else": { "operation": "boost", - "score": -0.13370732963085175 + "score": 0.040482331067323685 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17924.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.09443002939224243 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.16113150119781494 + "score": -0.08625160157680511 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.06411650031805038 - }, - "else": { - "operation": "boost", - "score": 0.1495693325996399 - } + "operation": "boost", + "score": 0.07510485500097275 }, "else": { "operation": "boost", - "score": 0.07934632152318954 + "score": 0.036195915192365646 } } }, "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04099170118570328 + }, + "else": { + "operation": "boost", + "score": -0.00725484499707818 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { "operation": "boost", - "score": 0.0831533819437027 + "score": 0.06761649250984192 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.056078147143125534 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.05797497555613518 + }, + "else": { + "operation": "boost", + "score": 0.010025756433606148 + } + } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.06654965877532959 }, "else": { "operation": "boost", - "score": 0.055910874158144 + "score": 0.03340846300125122 } } } } }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08757559955120087 - }, - "else": { - "operation": "boost", - "score": 0.035387247800827026 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2696.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08103670924901962 - }, - "else": { - "operation": "boost", - "score": 0.03504772111773491 - } - }, "else": { "operation": "boost", - "score": -0.03190362825989723 + "score": -0.08098731189966202 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 424244.0, + "then": { + "operation": "boost", + "score": 0.08774168789386749 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 33.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", "CCC_TopLevel", - "CCC_Type" + "CCC_Type", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Type" + "ClassScope" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12185629457235336 + "score": 0.0056931376457214355 }, "else": { "operation": "boost", - "score": 0.10685291141271591 + "score": 0.08227699995040894 } }, "else": { - "operation": "boost", - "score": 0.023462744429707527 - } - }, - "else": { - "operation": "boost", - "score": 0.095346599817276 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "boost", + "score": -0.19050925970077515 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1138056144118309 + "score": -0.0035564282443374395 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1406112015247345 - }, - "else": { - "operation": "boost", - "score": -0.08888290077447891 - } + "operation": "boost", + "score": 0.06606845557689667 } }, "else": { "operation": "boost", - "score": 0.10865415632724762 + "score": 0.02850550413131714 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.09786032140254974 + }, + "else": { + "operation": "boost", + "score": 0.09303568303585052 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.040045369416475296 }, "else": { "operation": "boost", - "score": 0.1188000962138176 + "score": -0.023274598643183708 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.055724211037158966 }, "else": { "operation": "boost", - "score": 0.10054317116737366 + "score": -0.013857407495379448 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type", - "Namespace" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" ], "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.09575559198856354 + }, + "else": { + "operation": "boost", + "score": 0.01435299776494503 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 160.0, - "then": { - "operation": "boost", - "score": 0.08271614462137222 - }, - "else": { - "operation": "boost", - "score": 0.1406799554824829 - } + "operation": "boost", + "score": -0.031674522906541824 }, "else": { "operation": "boost", - "score": 0.08672366291284561 + "score": 0.028965743258595467 } }, "else": { "operation": "boost", - "score": 0.08058474212884903 + "score": -0.03554097190499306 } - }, - "else": { - "operation": "boost", - "score": 0.05389760807156563 } } } }, "else": { - "operation": "boost", - "score": 0.04641267657279968 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.057847291231155396 + }, + "else": { + "operation": "boost", + "score": -0.049851033836603165 + } + }, + "else": { + "operation": "boost", + "score": 0.02620515413582325 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09330449998378754 + "score": 0.03217291086912155 }, "else": { "operation": "boost", - "score": 0.11071507632732391 + "score": -0.07598181068897247 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "boost", + "score": -0.0753120556473732 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0472366027534008 - }, - "else": { - "operation": "boost", - "score": 0.10838281363248825 - } + "operation": "boost", + "score": -0.08850383758544922 }, "else": { "operation": "boost", - "score": 0.07303889840841293 - } - }, - "else": { - "operation": "boost", - "score": 0.045855287462472916 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.06661106646060944 - }, - "else": { - "operation": "boost", - "score": -0.08310116082429886 + "score": 0.018392672762274742 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.010532775893807411 + "score": -0.16902890801429749 }, "else": { - "operation": "boost", - "score": 0.04784100130200386 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010364354588091373 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11598225682973862 + }, + "else": { + "operation": "boost", + "score": 0.04435458406805992 + } + }, + "else": { + "operation": "boost", + "score": 0.009905827231705189 + } + } } } }, "else": { "operation": "boost", - "score": -0.02598552405834198 + "score": -0.09524787962436676 } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20597.0, "then": { "operation": "boost", - "score": 0.033611394464969635 + "score": 0.08147579431533813 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" + "Namespace", + "Type" ], "then": { "operation": "boost", - "score": 0.09363895654678345 + "score": 0.06489517539739609 }, "else": { "operation": "boost", - "score": -0.06522787362337112 + "score": -0.011487503536045551 } } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.049544937908649445 + }, + "else": { + "operation": "boost", + "score": 0.0030367558356374502 + } } }, - "else": { - "operation": "boost", - "score": -0.09745106846094131 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.07512295991182327 - }, - "else": { - "operation": "boost", - "score": 0.10500594973564148 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, - "then": { - "operation": "boost", - "score": 0.05258962884545326 - }, - "else": { - "operation": "boost", - "score": 0.03142070025205612 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61387.0, - "then": { - "operation": "boost", - "score": 0.05385678634047508 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.07924217730760574 + "score": 0.07777697592973709 }, "else": { + "operation": "boost", + "score": 0.01358069572597742 + } + }, + "else": { + "operation": "boost", + "score": -0.012877598404884338 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { "operation": "if_member", "feature": "Scope", "set": [ @@ -37471,528 +35596,524 @@ ], "then": { "operation": "boost", - "score": 0.09959348291158676 + "score": 0.0735241025686264 }, "else": { "operation": "boost", - "score": 0.050270453095436096 + "score": 0.028504744172096252 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.06623093783855438 + "score": -0.07509507983922958 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.028381850570440292 - }, - "else": { - "operation": "boost", - "score": 0.088361956179142 - } + "operation": "boost", + "score": 0.08101535588502884 } - }, - "else": { - "operation": "boost", - "score": -0.009806705638766289 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.5, - "then": { - "operation": "boost", - "score": 0.09892570972442627 - }, - "else": { - "operation": "boost", - "score": 0.07708510756492615 } }, "else": { "operation": "boost", - "score": 0.06009771302342415 + "score": 0.022219710052013397 } } } - }, - "else": { - "operation": "boost", - "score": 0.003358637448400259 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 581.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 78490.0, "then": { "operation": "boost", - "score": 0.005024287384003401 + "score": 0.09682779014110565 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.05235430970788002 - }, - "else": { - "operation": "boost", - "score": 0.11303608864545822 - } - }, - "else": { - "operation": "boost", - "score": -0.04638363793492317 - } + "operation": "boost", + "score": 0.03936528414487839 } }, - "else": { - "operation": "boost", - "score": -0.05977655202150345 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "boost", - "score": 0.06530718505382538 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "boost", + "score": -0.00757240317761898 + }, + "else": { + "operation": "boost", + "score": -0.13421818614006042 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71306.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { + "operation": "boost", + "score": -0.008844533003866673 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type" + "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.14070595800876617 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 107.5, + "threshold": 187158.0, "then": { "operation": "boost", - "score": 0.11510325223207474 + "score": 0.11304394900798798 }, "else": { "operation": "boost", - "score": 0.11561852693557739 + "score": 0.08303230255842209 } - } - }, - "else": { - "operation": "boost", - "score": 0.10990148037672043 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11247477680444717 }, "else": { "operation": "boost", - "score": 0.09248660504817963 + "score": -0.13516467809677124 } }, "else": { "operation": "boost", - "score": 0.09456486999988556 + "score": 0.05875775218009949 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "boost", + "score": 0.026508890092372894 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32765.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 360.5, - "then": { - "operation": "boost", - "score": 0.1376085877418518 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.13060955703258514 - }, - "else": { - "operation": "boost", - "score": 0.12824293971061707 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11706472933292389 - } - }, - "else": { - "operation": "boost", - "score": 0.11110251396894455 - } + "operation": "boost", + "score": 0.06899567693471909 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8814.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8905.5, - "then": { - "operation": "boost", - "score": 0.07065743207931519 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.13846561312675476 - }, - "else": { - "operation": "boost", - "score": 0.12436193227767944 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00755287054926157 - } + "operation": "boost", + "score": -0.0013012569397687912 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.01070721261203289 + }, + "else": { + "operation": "boost", + "score": -0.0563492551445961 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.08111248910427094 + }, + "else": { + "operation": "boost", + "score": 0.007835101336240768 + } }, "else": { "operation": "boost", - "score": 0.01874445751309395 + "score": -0.10662547498941422 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1068122461438179 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02380952425301075, "then": { + "operation": "boost", + "score": 0.0356283038854599 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.08459299057722092 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.11957183480262756 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0617600753903389 + }, + "else": { + "operation": "boost", + "score": -0.08199266344308853 + } + }, + "else": { + "operation": "boost", + "score": 0.03299416974186897 + } }, "else": { "operation": "boost", - "score": 0.12668254971504211 + "score": 0.009433649480342865 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.1135420873761177 }, "else": { - "operation": "boost", - "score": 0.08962169289588928 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.02071189135313034 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.036466922610998154 + }, + "else": { + "operation": "boost", + "score": -0.012954932637512684 + } + } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.0873827412724495 + "score": 0.046005502343177795 }, "else": { "operation": "boost", - "score": -0.15646661818027496 + "score": 0.009463856928050518 } }, "else": { - "operation": "boost", - "score": 0.04876156151294708 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12594260275363922 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08435684442520142 - }, - "else": { - "operation": "boost", - "score": 0.21282723546028137 - } - } + "operation": "boost", + "score": -0.13782262802124023 }, "else": { "operation": "boost", - "score": -0.019022764638066292 + "score": -0.007625964470207691 } - }, - "else": { - "operation": "boost", - "score": 0.10028426349163055 } }, "else": { "operation": "boost", - "score": -0.009936257265508175 + "score": -0.03862855210900307 } } }, "else": { "operation": "boost", - "score": -0.03819447383284569 + "score": -0.02687297761440277 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.06657100468873978 + "score": 0.039446283131837845 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.1987142115831375 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.031202232465147972 - }, - "else": { - "operation": "boost", - "score": 0.11989691853523254 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07261911034584045 - } + "operation": "boost", + "score": -0.08614985644817352 } }, "else": { "operation": "boost", - "score": -0.06902772933244705 + "score": -0.02660578489303589 } }, "else": { "operation": "boost", - "score": -0.046342816203832626 + "score": -0.07472296804189682 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07979777455329895 + }, + "else": { + "operation": "boost", + "score": 0.030924739316105843 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.08106954395771027 + }, + "else": { + "operation": "boost", + "score": 0.032302066683769226 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.02502615936100483 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.015509710647165775 + }, + "else": { + "operation": "boost", + "score": -0.04457830637693405 + } } } } @@ -38014,594 +36135,613 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.09872359037399292 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "boost", - "score": 0.09499520063400269 + "score": 0.08197091519832611 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09622552245855331 - }, - "else": { - "operation": "boost", - "score": 0.09273308515548706 - } - }, - "else": { - "operation": "boost", - "score": 0.07882481813430786 - } + "operation": "boost", + "score": 0.06736098229885101 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7575.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type" + ], "then": { "operation": "boost", - "score": 0.06796739995479584 + "score": 0.08998654037714005 }, "else": { "operation": "boost", - "score": 0.033618710935115814 + "score": 0.06968195736408234 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, "then": { "operation": "boost", - "score": 0.06572984158992767 + "score": 0.0873364731669426 }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.094930000603199 + "score": 0.07643233984708786 }, "else": { "operation": "boost", - "score": 0.04593530669808388 + "score": 0.030162474140524864 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04723113030195236 - }, - "else": { - "operation": "boost", - "score": 0.02074565924704075 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "boost", - "score": 0.08450005948543549 - }, - "else": { - "operation": "boost", - "score": 0.0819946825504303 - } - }, - "else": { - "operation": "boost", - "score": 0.10322204977273941 - } - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Function", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06845016777515411 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11691262573003769 - }, - "else": { - "operation": "boost", - "score": -0.011512279510498047 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.050407856702804565 + "score": 0.06487281620502472 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0831737220287323 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.015951581299304962 + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.04741872847080231 + }, + "else": { + "operation": "boost", + "score": -0.048040490597486496 + } }, "else": { "operation": "boost", - "score": 0.10436039417982101 + "score": -0.09231913834810257 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06381335109472275 - }, - "else": { - "operation": "boost", - "score": 0.030619410797953606 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.055646561086177826 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.08672332763671875 - }, - "else": { - "operation": "boost", - "score": 0.08197664469480515 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62487.5, - "then": { - "operation": "boost", - "score": 0.07869970053434372 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03191281855106354 + "score": 0.08414869010448456 }, "else": { + "operation": "boost", + "score": 0.041038207709789276 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": -0.062209319323301315 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Type", + "Variable" ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10641731321811676 + }, + "else": { + "operation": "boost", + "score": 0.07032612711191177 + } + }, + "else": { + "operation": "boost", + "score": 0.04887983575463295 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { "operation": "boost", - "score": 0.1538955420255661 + "score": -0.035306110978126526 }, "else": { "operation": "boost", - "score": 0.09417697042226791 + "score": 0.048363812267780304 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06411162763834 }, "else": { "operation": "boost", - "score": 0.08375894278287888 + "score": 0.03022221103310585 } }, "else": { - "operation": "boost", - "score": 0.06350743770599365 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.04685072973370552 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.031144898384809494 + }, + "else": { + "operation": "boost", + "score": -0.016564732417464256 + } + } } } } - }, - "else": { - "operation": "boost", - "score": -0.00908403005450964 } } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08122137188911438 - }, - "else": { - "operation": "boost", - "score": 0.03004598431289196 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Symbol" + "Macro" ], "then": { - "operation": "boost", - "score": 0.10321398079395294 - }, - "else": { - "operation": "boost", - "score": 0.05196783319115639 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1515.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.08609889447689056 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.23303167521953583, + "then": { + "operation": "boost", + "score": 0.06419087201356888 + }, + "else": { + "operation": "boost", + "score": 0.03928451985120773 + } }, "else": { "operation": "boost", - "score": 0.028061307966709137 + "score": -0.03723074495792389 } }, "else": { - "operation": "boost", - "score": -0.030990881845355034 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11795271188020706 - }, - "else": { - "operation": "boost", - "score": 0.10415984690189362 - } + "operation": "boost", + "score": 0.08988682925701141 }, "else": { "operation": "boost", - "score": 0.02907082438468933 + "score": 0.05590153858065605 } }, "else": { - "operation": "boost", - "score": 0.09295044094324112 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 49.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.12339652329683304 - }, - "else": { - "operation": "boost", - "score": 0.13254466652870178 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "boost", - "score": 0.12278269976377487 - }, - "else": { - "operation": "boost", - "score": 0.1304481029510498 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0944567546248436 - } + "operation": "boost", + "score": 0.05413491651415825 }, "else": { "operation": "boost", - "score": 0.10727155208587646 + "score": 0.08074765652418137 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 59.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08814766258001328 + "score": -0.0341850109398365 }, "else": { "operation": "boost", - "score": 0.08839262276887894 + "score": 0.017658470198512077 } }, "else": { - "operation": "boost", - "score": 0.07703255861997604 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.049269162118434906 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008399727754294872 + }, + "else": { + "operation": "boost", + "score": 0.031680621206760406 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.055864572525024414 } } + } + }, + "else": { + "operation": "boost", + "score": -0.04662651568651199 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06157805025577545 }, "else": { - "operation": "boost", - "score": 0.04512152820825577 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.0669250413775444 + }, + "else": { + "operation": "boost", + "score": 0.01607251539826393 + } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6360.5, + "then": { + "operation": "boost", + "score": 0.1193774864077568 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.03901701793074608 + }, + "else": { + "operation": "boost", + "score": 0.024543261155486107 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Keyword", + "Macro", + "Namespace", + "Type" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Symbol" + "ClassScope", + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.092179074883461 + "score": 0.07168685644865036 }, "else": { "operation": "boost", - "score": 0.10934865474700928 + "score": -0.013119873590767384 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06758418679237366 + }, + "else": { + "operation": "boost", + "score": -0.5574522614479065 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "boost", - "score": 0.044251423329114914 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.052153367549180984 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13580265641212463 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0469030886888504 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09123774617910385 + }, + "else": { + "operation": "boost", + "score": 0.10030711442232132 + } + }, + "else": { + "operation": "boost", + "score": -0.045858778059482574 + } + } + } + } }, "else": { "operation": "boost", - "score": 0.10534540563821793 + "score": -0.015806525945663452 } }, "else": { - "operation": "boost", - "score": 0.06950265914201736 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.009758470579981804 + }, + "else": { + "operation": "boost", + "score": 0.039818186312913895 + } } - }, - "else": { - "operation": "boost", - "score": 0.04621891677379608 } } }, @@ -38609,114 +36749,139 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", "CCC_ParenthesizedExpression", - "CCC_DotMemberAccess" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.0369424931704998 + "score": -0.03367221727967262 }, "else": { "operation": "boost", - "score": 0.013735877349972725 + "score": -0.05640244483947754 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.009574887342751026 + "score": 0.07944057136774063 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.05943911522626877 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "boost", + "score": 0.062197159975767136 + }, + "else": { + "operation": "boost", + "score": 0.03104669786989689 + } }, "else": { + "operation": "boost", + "score": 0.023860899731516838 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.05641775205731392 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" + "Macro", + "Type" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": 0.03929045423865318 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07937242835760117 + "score": 0.08618791401386261 }, "else": { "operation": "boost", - "score": 0.04531017690896988 + "score": -0.015522364526987076 } - }, - "else": { - "operation": "boost", - "score": 0.040375713258981705 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.021104127168655396 - }, - "else": { - "operation": "boost", - "score": 0.04070506989955902 } } + }, + "else": { + "operation": "boost", + "score": -0.1055876836180687 } + }, + "else": { + "operation": "boost", + "score": 0.005012127570807934 } - }, - "else": { - "operation": "boost", - "score": -0.15779836475849152 } } - }, - "else": { - "operation": "boost", - "score": -0.09598101675510406 } } } @@ -38725,548 +36890,630 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 150.5, + "threshold": 188273.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 207505.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3091.5, + "threshold": 820317.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.08457107841968536 - }, - "else": { - "operation": "boost", - "score": 0.06675998121500015 - } + "operation": "boost", + "score": 0.09871447831392288 }, "else": { "operation": "boost", - "score": 0.06518664956092834 + "score": 0.05438857153058052 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10031922161579132 + "score": 0.12398365885019302 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Expression" + "Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 610.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.0895916074514389 + "score": 0.1256972849369049 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09518180042505264 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 227.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.14028973877429962 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 239.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07943981140851974 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11984768509864807 - }, - "else": { - "operation": "boost", - "score": 0.11776981502771378 - } - } - }, - "else": { - "operation": "boost", - "score": 0.14085908234119415 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.24654537439346313 - }, - "else": { - "operation": "boost", - "score": 0.12735208868980408 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1150871068239212 - } - } + "operation": "boost", + "score": 0.08615061640739441 } }, "else": { - "operation": "boost", - "score": 0.09616822749376297 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.11999232321977615 + }, + "else": { + "operation": "boost", + "score": 0.08579452335834503 + } } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 264171.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 273025.5, "then": { + "operation": "boost", + "score": 0.07584714144468307 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31541.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.0654509961605072 + "score": 0.1096184253692627 }, "else": { "operation": "boost", - "score": 0.12694329023361206 + "score": 0.004607091192156076 } }, "else": { "operation": "boost", - "score": 0.03962288051843643 + "score": 0.04257171228528023 } - }, - "else": { - "operation": "boost", - "score": 0.018756821751594543 } }, "else": { - "operation": "boost", - "score": -0.008197814226150513 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": -0.0650925412774086 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.094392329454422 + }, + "else": { + "operation": "boost", + "score": 0.005990504752844572 + } + } } }, "else": { + "operation": "boost", + "score": -0.031708575785160065 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10565366595983505 + "score": -0.1648312211036682 }, "else": { "operation": "boost", - "score": 0.060461290180683136 + "score": 0.05497560650110245 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.024783611297607422 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "boost", + "score": 0.04685540124773979 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.04249753803014755 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 313.5, - "then": { - "operation": "boost", - "score": 0.11204013973474503 - }, - "else": { - "operation": "boost", - "score": 0.1275576949119568 - } + "operation": "boost", + "score": 0.10637534409761429 }, "else": { "operation": "boost", - "score": 0.0885462835431099 + "score": 0.08636943995952606 } - }, - "else": { - "operation": "boost", - "score": 0.08644454926252365 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.040203243494033813 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6079.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.06809698045253754 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0145797124132514 + }, + "else": { + "operation": "boost", + "score": -0.07359009236097336 + } }, "else": { "operation": "boost", - "score": -0.0012585445074364543 + "score": 0.036649495363235474 } } - }, - "else": { - "operation": "boost", - "score": 0.024656780064105988 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 31.5, - "then": { - "operation": "boost", - "score": -0.012444643303751945 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.08815333992242813 + "score": 0.02340787649154663 }, "else": { "operation": "boost", - "score": 0.06667513400316238 + "score": -0.03874290734529495 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132310.5, "then": { + "operation": "boost", + "score": -0.15363211929798126 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 119809.5, "then": { - "operation": "boost", - "score": 0.043188780546188354 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.09168054163455963 + "score": -0.10059624165296555 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09859009832143784 - }, - "else": { - "operation": "boost", - "score": 0.10537770390510559 - } - }, - "else": { - "operation": "boost", - "score": 0.0873592346906662 - } - }, - "else": { - "operation": "boost", - "score": 0.05226702243089676 - } + "operation": "boost", + "score": 0.12277239561080933 } + }, + "else": { + "operation": "boost", + "score": -0.0770590528845787 } - }, - "else": { - "operation": "boost", - "score": 0.010810046456754208 } }, - "else": { - "operation": "boost", - "score": 0.035064976662397385 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.019458986818790436 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 32960.5, "then": { - "operation": "boost", - "score": -0.2426668405532837 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.04664462432265282 + }, + "else": { + "operation": "boost", + "score": 0.009552362374961376 + } }, "else": { "operation": "boost", - "score": 0.10679509490728378 + "score": -0.02547462098300457 } } - }, - "else": { - "operation": "boost", - "score": 0.009994917549192905 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 49.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06890865415334702 + "score": 0.05462200567126274 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Namespace", + "Unknown", + "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.5, - "then": { - "operation": "boost", - "score": 0.10889960080385208 - }, - "else": { - "operation": "boost", - "score": 0.08316154032945633 - } - }, - "else": { - "operation": "boost", - "score": 0.06711600720882416 - } + "operation": "boost", + "score": 0.05985894054174423 }, "else": { + "operation": "boost", + "score": 0.020128609612584114 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.052531417459249496 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.05209973081946373 + }, + "else": { + "operation": "boost", + "score": 0.009102663956582546 + } + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, + "operation": "boost", + "score": -0.1082284152507782 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.12712682783603668 + "score": 0.030693987384438515 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type" - ], + "operation": "boost", + "score": 0.01698054000735283 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04394466429948807 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.057003047317266464 + }, + "else": { + "operation": "boost", + "score": 0.025309709832072258 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005929052364081144 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.12615050375461578 + "score": 0.08705512434244156 }, "else": { "operation": "boost", - "score": 0.12008615583181381 + "score": 0.021737249568104744 } }, "else": { "operation": "boost", - "score": 0.1204136312007904 + "score": 0.01960531249642372 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09939649701118469 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.07908763736486435 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06345485895872116 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16892889142036438 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09365928918123245 + }, + "else": { + "operation": "boost", + "score": 0.006781045347452164 } } }, "else": { "operation": "boost", - "score": 0.09184220433235168 + "score": -0.023729657754302025 } - }, - "else": { - "operation": "boost", - "score": 0.05911026522517204 } }, "else": { "operation": "boost", - "score": -0.011837724596261978 + "score": -0.056688521057367325 } } } - }, - "else": { - "operation": "boost", - "score": -0.07988978922367096 } } } @@ -39284,1276 +37531,1429 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.09731945395469666 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "boost", - "score": 0.09379677474498749 + "score": 0.07989729195833206 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09508895874023438 - }, - "else": { - "operation": "boost", - "score": 0.09079969674348831 - } - }, - "else": { - "operation": "boost", - "score": 0.07719690352678299 - } + "operation": "boost", + "score": 0.06483777612447739 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3080.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 281926.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06560327112674713 - }, - "else": { - "operation": "boost", - "score": 0.03134853392839432 - } + "operation": "boost", + "score": 0.09491527825593948 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], "then": { - "operation": "boost", - "score": 0.0626397505402565 - }, - "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 55483.0, "then": { - "operation": "boost", - "score": 0.09579891711473465 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74740.0, + "then": { + "operation": "boost", + "score": 0.1088867336511612 + }, + "else": { + "operation": "boost", + "score": 0.07897485047578812 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, + "then": { + "operation": "boost", + "score": 0.07343357801437378 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12794436514377594 + }, + "else": { + "operation": "boost", + "score": 0.05048217251896858 + } + } + } }, "else": { "operation": "boost", - "score": 0.042972054332494736 + "score": 0.0579235665500164 } + }, + "else": { + "operation": "boost", + "score": 0.04058661311864853 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0642051100730896 - }, - "else": { - "operation": "boost", - "score": 0.02398156188428402 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "boost", - "score": 0.07998043298721313 - }, - "else": { - "operation": "boost", - "score": 0.07870391011238098 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24.5, + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.06201847270131111 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08135859668254852 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.04506154730916023 + }, + "else": { + "operation": "boost", + "score": -0.04513317719101906 + } + }, + "else": { + "operation": "boost", + "score": -0.08958901464939117 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1178073137998581 + "score": 0.08449019491672516 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "boost", - "score": 0.03492238372564316 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.0, - "then": { - "operation": "boost", - "score": 0.17409545183181763 - }, - "else": { - "operation": "boost", - "score": 0.11316315084695816 - } - } + "operation": "boost", + "score": 0.040069084614515305 } }, "else": { "operation": "boost", - "score": 0.08851122111082077 + "score": 0.031185993924736977 } } - }, - "else": { - "operation": "boost", - "score": 0.013012549839913845 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Macro" ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.052609220147132874 + }, + "else": { + "operation": "boost", + "score": -0.03433993458747864 + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.12772290408611298 + "score": 0.08832202851772308 + }, + "else": { + "operation": "boost", + "score": 0.05526881292462349 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119.5, + "then": { + "operation": "boost", + "score": 0.05773753300309181 + }, + "else": { + "operation": "boost", + "score": 0.02371937967836857 + } + }, + "else": { + "operation": "boost", + "score": 0.059307217597961426 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.01563681662082672 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { + "operation": "boost", + "score": 0.02927275002002716 + }, + "else": { + "operation": "boost", + "score": -0.006779302377253771 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04203947260975838 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.0584188736975193 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.06327126175165176 + }, + "else": { + "operation": "boost", + "score": 0.014889768324792385 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03181548789143562 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.03528653085231781 + }, + "else": { + "operation": "boost", + "score": 0.015112093649804592 + } + }, + "else": { + "operation": "boost", + "score": -0.042949531227350235 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10151847451925278 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 22.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14992696046829224 + "score": -0.029236869886517525 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.1315069943666458 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.14934110641479492 + "score": 0.08996883034706116 }, "else": { - "operation": "boost", - "score": -0.11049437522888184 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.06533820182085037 + }, + "else": { + "operation": "boost", + "score": 0.023291969671845436 + } } + }, + "else": { + "operation": "boost", + "score": 0.030581381171941757 } } + } + }, + "else": { + "operation": "boost", + "score": 0.0016626284923404455 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.058669835329055786 }, "else": { "operation": "boost", - "score": 0.11702311038970947 + "score": 0.020888676866889 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.13390330970287323 + "score": -0.010735388845205307 }, "else": { - "operation": "boost", - "score": 0.12210358679294586 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "boost", + "score": 0.0642884150147438 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.05645941197872162 + }, + "else": { + "operation": "boost", + "score": -0.00040069565875455737 + } + } } } } }, "else": { - "operation": "boost", - "score": 0.09876088798046112 - } - }, - "else": { - "operation": "boost", - "score": 0.1048678383231163 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.07219839841127396 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.04814474284648895 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.07879649847745895 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.02507765218615532 + "score": 0.057466693222522736 }, "else": { "operation": "boost", - "score": 0.10036890208721161 + "score": 0.025141548365354538 } } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.059069495648145676 - }, - "else": { - "operation": "boost", - "score": 0.034080833196640015 - } } } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71306.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.023993564769625664 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 241916.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, "then": { "operation": "boost", - "score": 0.08331289887428284 + "score": 0.08527660369873047 }, "else": { "operation": "boost", - "score": 0.0486983060836792 + "score": -0.09076095372438431 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 198405.5, "then": { "operation": "boost", - "score": 0.015473397448658943 + "score": 0.09589798748493195 }, "else": { "operation": "boost", - "score": 0.04460880532860756 + "score": 0.07586498558521271 } } - }, - "else": { - "operation": "boost", - "score": -0.027857527136802673 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2696.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03448713570833206 + "score": 0.08843601495027542 }, "else": { "operation": "boost", - "score": -0.027178598567843437 + "score": -0.006551298778504133 } } }, "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.07459289580583572 + }, + "else": { + "operation": "boost", + "score": 0.000743978307582438 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.04947618767619133 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.05929142236709595 + }, + "else": { + "operation": "boost", + "score": -0.046401247382164 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Namespace" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 56.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.037565089762210846 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.11353477835655212 + "score": 0.03824583441019058 }, "else": { - "operation": "boost", - "score": 0.097087562084198 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.10313776880502701 + }, + "else": { + "operation": "boost", + "score": 0.08181336522102356 + } } - }, - "else": { - "operation": "boost", - "score": 0.08966151624917984 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.03612849861383438 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.12167565524578094 - }, - "else": { - "operation": "boost", - "score": 0.12787263095378876 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "boost", - "score": 0.12008083611726761 - }, - "else": { - "operation": "boost", - "score": 0.1259382665157318 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09250275045633316 - } + "operation": "boost", + "score": -0.014903333969414234 }, "else": { "operation": "boost", - "score": 0.10435163974761963 + "score": -0.06970115005970001 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.08534149825572968 - }, - "else": { - "operation": "boost", - "score": 0.07455972582101822 - } + "operation": "boost", + "score": 0.033681388944387436 } - }, - "else": { - "operation": "boost", - "score": 0.05390727519989014 } } }, "else": { - "operation": "boost", - "score": 0.040481675416231155 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09335577487945557 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09298846125602722 - }, - "else": { - "operation": "boost", - "score": 0.10880439728498459 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 5370.0, "then": { "operation": "boost", - "score": 0.04154878854751587 + "score": -0.018037322908639908 }, "else": { "operation": "boost", - "score": 0.10225320607423782 + "score": 0.061465781182050705 } }, "else": { "operation": "boost", - "score": 0.06602799892425537 + "score": 0.02485499531030655 } }, "else": { "operation": "boost", - "score": 0.0336955189704895 + "score": -0.03709835931658745 } - } - }, - "else": { - "operation": "boost", - "score": 0.024536680430173874 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.009328179061412811 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.057327136397361755 + "score": 0.042006563395261765 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", + "operation": "boost", + "score": -0.026718884706497192 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 27.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.029164733365178108 + }, + "else": { + "operation": "boost", + "score": -0.05955085530877113 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 615.5, + "then": { + "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" + "CCC_SymbolOrNewName" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": 0.049270398914813995 + }, + "else": { + "operation": "boost", + "score": -0.0033012637868523598 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": -0.1297176033258438 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "boost", - "score": -0.11481592059135437 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09011422097682953 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.04931050166487694 + }, + "else": { + "operation": "boost", + "score": 0.03580121695995331 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09131370484828949 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1068190485239029 + }, + "else": { + "operation": "boost", + "score": 0.041117437183856964 + } + }, + "else": { + "operation": "boost", + "score": -0.06838186830282211 + } + }, + "else": { + "operation": "boost", + "score": -0.02556418627500534 + } + } + } }, "else": { "operation": "boost", - "score": 0.0867886170744896 + "score": -0.060227613896131516 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.06803583353757858 }, "else": { "operation": "boost", - "score": 0.04200948029756546 + "score": 0.044391948729753494 } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.043921686708927155 }, "else": { "operation": "boost", - "score": 0.03840666636824608 + "score": 0.0068383910693228245 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.13665585219860077 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.09601348638534546 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.04511291906237602 + "score": 0.020904025062918663 }, "else": { "operation": "boost", - "score": -0.022946802899241447 + "score": -0.05032522976398468 } } } } - }, - "else": { - "operation": "boost", - "score": -0.15148615837097168 } } - }, - "else": { - "operation": "boost", - "score": -0.09410938620567322 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.0723692774772644 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11100007593631744 - }, - "else": { - "operation": "boost", - "score": 0.08533474802970886 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61.5, + "threshold": 26.5, "then": { - "operation": "boost", - "score": 0.0511174201965332 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04763495549559593 + "score": 0.0467047281563282 }, "else": { - "operation": "boost", - "score": 0.026507295668125153 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.051899079233407974 + }, + "else": { + "operation": "boost", + "score": 0.01674993708729744 + } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FileScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Function", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.1858838051557541 - }, - "else": { - "operation": "boost", - "score": 0.14832377433776855 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.22946575284004211 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.19121751189231873 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.02210078574717045 - }, - "else": { - "operation": "boost", - "score": 0.11542722582817078 - } - } - } + "score": 0.04899131879210472 }, "else": { - "operation": "boost", - "score": 0.05382590368390083 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11715521663427353 - }, - "else": { - "operation": "boost", - "score": 0.11295679956674576 - } + "operation": "boost", + "score": 0.04853443428874016 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "boost", - "score": 0.025061940774321556 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { - "operation": "boost", - "score": 0.1146898865699768 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.09869313985109329 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91957.5, - "then": { - "operation": "boost", - "score": 0.11479062587022781 - }, - "else": { - "operation": "boost", - "score": 0.12533311545848846 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03572395071387291 - } + "operation": "boost", + "score": 0.008381363935768604 } - }, - "else": { - "operation": "boost", - "score": 0.05979388579726219 } }, "else": { - "operation": "boost", - "score": 0.08910321444272995 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "operation": "boost", + "score": -0.10647056251764297 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Statement", + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.0690579041838646 - }, - "else": { - "operation": "boost", - "score": -0.20275302231311798 - } - }, - "else": { - "operation": "boost", - "score": -0.18411147594451904 - } - }, - "else": { - "operation": "boost", - "score": 0.0919668897986412 - } - }, - "else": { - "operation": "boost", - "score": 0.02456427738070488 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.08770495653152466 + "score": 0.02866552583873272 }, "else": { "operation": "boost", - "score": 0.10719464719295502 + "score": 0.01650068536400795 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.01956593431532383 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07081660628318787 + "score": -0.04078193008899689 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Namespace" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.11406219750642776 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017721718177199364 + }, + "else": { + "operation": "boost", + "score": 0.061443161219358444 + } }, "else": { - "operation": "boost", - "score": 0.09707805514335632 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.050061728805303574 + }, + "else": { + "operation": "boost", + "score": -0.12956923246383667 + } } }, "else": { "operation": "boost", - "score": 0.09400828927755356 + "score": 0.01393858902156353 } } }, "else": { "operation": "boost", - "score": 0.029634563252329826 + "score": -0.006136552896350622 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 32.0, - "then": { - "operation": "boost", - "score": 0.05421716719865799 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.06283459067344666 + "score": 0.08498378098011017 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.09689542651176453 - }, - "else": { - "operation": "boost", - "score": 0.018205493688583374 - } - }, - "else": { - "operation": "boost", - "score": 0.057008251547813416 - } + "operation": "boost", + "score": 0.019983593374490738 } }, "else": { "operation": "boost", - "score": 0.0012523445766419172 + "score": 0.01842333935201168 } } - }, - "else": { - "operation": "boost", - "score": -0.008355220779776573 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.09822528809309006 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.07650573551654816 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": -0.06101098656654358 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.02221117913722992 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09252878278493881 + "score": -0.14115308225154877 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04813031107187271 + "score": -0.024139219895005226 }, "else": { "operation": "boost", - "score": 0.10535271465778351 + "score": 0.010109794326126575 } } }, "else": { "operation": "boost", - "score": 0.07249496877193451 - } - }, - "else": { - "operation": "boost", - "score": 0.027454162016510963 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.10637771338224411 - }, - "else": { - "operation": "boost", - "score": 0.04594162479043007 + "score": -0.028897222131490707 } - }, - "else": { - "operation": "boost", - "score": 0.0566537119448185 } } + }, + "else": { + "operation": "boost", + "score": -0.054896578192710876 } } } - }, - "else": { - "operation": "boost", - "score": -0.019794322550296783 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.04307333007454872 - }, - "else": { - "operation": "boost", - "score": -0.07411451637744904 } } } @@ -40568,51 +38968,15 @@ ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09259036183357239 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09381041675806046 - }, - "else": { - "operation": "boost", - "score": 0.08907203376293182 - } - }, - "else": { - "operation": "boost", - "score": 0.07462623715400696 - } - } + "operation": "boost", + "score": 0.0819200873374939 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05114961415529251 - }, - "else": { - "operation": "boost", - "score": 0.0255378820002079 - } + "operation": "boost", + "score": 0.06793849170207977 } }, "else": { @@ -40621,623 +38985,531 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3080.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.08236880600452423 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08317477256059647 + "score": 0.07438463717699051 }, "else": { "operation": "boost", - "score": 0.0759904533624649 + "score": 0.0037530993577092886 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10078409314155579 + }, + "else": { + "operation": "boost", + "score": 0.05418791621923447 + } + }, + "else": { + "operation": "boost", + "score": 0.052835676819086075 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "boost", + "score": 0.06629891693592072 + }, + "else": { + "operation": "boost", + "score": 0.027698509395122528 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.12335138022899628 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.04210464656352997 + }, + "else": { + "operation": "boost", + "score": -0.05672710761427879 + } }, "else": { + "operation": "boost", + "score": -0.08646124601364136 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.14133939146995544 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1266189068555832 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1457187831401825 - }, - "else": { - "operation": "boost", - "score": -0.16824063658714294 - } - } - } + "operation": "boost", + "score": 0.0800907164812088 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.13365723192691803 - }, - "else": { - "operation": "boost", - "score": 0.13057731091976166 - } - }, - "else": { - "operation": "boost", - "score": 0.0811709463596344 - } + "operation": "boost", + "score": 0.037732359021902084 } + }, + "else": { + "operation": "boost", + "score": 0.030194353312253952 } - }, - "else": { - "operation": "boost", - "score": 0.09800039976835251 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34.5, + "threshold": 49.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "boost", + "score": 0.08031335473060608 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { + "operation": "boost", + "score": 0.05748143047094345 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.05962337926030159 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.1224432960152626 + "score": 0.022527368739247322 }, "else": { "operation": "boost", - "score": 0.1154247596859932 + "score": 0.036695368587970734 } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.03385409712791443 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, - "then": { - "operation": "boost", - "score": 0.09036900848150253 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.16268904507160187 - }, - "else": { - "operation": "boost", - "score": 0.11469855159521103 - } - } + "operation": "boost", + "score": 0.08755938708782196 } }, "else": { "operation": "boost", - "score": 0.08125975728034973 + "score": 0.0101176667958498 } }, "else": { - "operation": "boost", - "score": 0.06975579261779785 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.029081353917717934 + }, + "else": { + "operation": "boost", + "score": 0.05579717457294464 + } + }, + "else": { + "operation": "boost", + "score": 0.007017638999968767 + } } } - }, - "else": { - "operation": "boost", - "score": 0.09846442937850952 } + }, + "else": { + "operation": "boost", + "score": -0.03746871277689934 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Namespace" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06914860755205154 + "score": 0.05514563247561455 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.044148705899715424 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.07530423998832703 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.013675825670361519 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06820883601903915 - }, - "else": { - "operation": "boost", - "score": 0.11201421171426773 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.05505753681063652 - }, - "else": { - "operation": "boost", - "score": 0.026734961196780205 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_Namespace", + "CCC_SymbolOrNewName" ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04574592784047127 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08434715867042542 - }, - "else": { - "operation": "boost", - "score": 0.07744351029396057 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.049330323934555054 - }, - "else": { - "operation": "boost", - "score": 0.021839236840605736 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, "then": { "operation": "boost", - "score": 0.04691008850932121 + "score": 0.06001740321516991 }, "else": { "operation": "boost", - "score": 0.004355084616690874 + "score": 0.014263676479458809 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06416507810354233 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.034839991480112076 + }, + "else": { + "operation": "boost", + "score": 0.020780935883522034 + } }, "else": { - "operation": "boost", - "score": -0.019507434219121933 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.1040799617767334 + "score": -0.03278148174285889 }, "else": { "operation": "boost", - "score": 0.016477419063448906 + "score": 0.01412515714764595 } }, "else": { "operation": "boost", - "score": 0.08777765929698944 + "score": -0.040689680725336075 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Expression" + "Macro", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0947052389383316 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.12230589985847473 - }, - "else": { - "operation": "boost", - "score": 0.12431298196315765 - } + "operation": "boost", + "score": -0.025079328566789627 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.11839272826910019 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.08556722849607468 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.06319055706262589 + }, + "else": { + "operation": "boost", + "score": 0.02231230027973652 + } + } }, "else": { "operation": "boost", - "score": 0.12033988535404205 + "score": 0.028315464034676552 } } - }, - "else": { - "operation": "boost", - "score": 0.08927515149116516 } }, "else": { "operation": "boost", - "score": 0.09855083376169205 + "score": 0.0015481149312108755 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.08192767202854156 - }, - "else": { - "operation": "boost", - "score": 0.07138580083847046 - } - } - }, - "else": { - "operation": "boost", - "score": 0.051459841430187225 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03896127641201019 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09091003239154816 - }, - "else": { - "operation": "boost", - "score": 0.10754305124282837 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.03981047123670578 + "score": 0.05591952055692673 }, "else": { "operation": "boost", - "score": 0.08152149617671967 + "score": 0.019876891747117043 } }, "else": { - "operation": "boost", - "score": 0.033814575523138046 - } - } - }, - "else": { - "operation": "boost", - "score": 0.021195976063609123 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.03258704021573067 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": -0.00954741332679987 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, "then": { "operation": "boost", - "score": 0.08827611804008484 + "score": 0.0613047257065773 }, "else": { - "operation": "boost", - "score": -0.06351738423109055 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.05376634746789932 + }, + "else": { + "operation": "boost", + "score": -0.0007008301909081638 + } } - }, - "else": { - "operation": "boost", - "score": 0.09769657254219055 } - }, - "else": { - "operation": "boost", - "score": 0.00994063075631857 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.054460346698760986 }, "else": { "operation": "boost", - "score": -0.06290064007043839 + "score": 0.023507457226514816 } } } - }, - "else": { - "operation": "boost", - "score": -0.09165337681770325 } } } @@ -41245,290 +39517,287 @@ }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 71306.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.06979764252901077 - }, - "else": { - "operation": "boost", - "score": 0.10109245032072067 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], "then": { "operation": "boost", - "score": 0.04844158887863159 + "score": 0.07604724168777466 }, "else": { - "operation": "boost", - "score": 0.03143789619207382 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1164.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7103.5, + "threshold": 424244.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23452.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.06578417867422104 + }, + "else": { + "operation": "boost", + "score": -0.08591583371162415 + } + }, + "else": { + "operation": "boost", + "score": -0.04754885286092758 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.101224385201931 + }, + "else": { + "operation": "boost", + "score": -0.1359197050333023 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 188273.5, + "threshold": 205637.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 206450.5, + "operation": "boost", + "score": 0.022298621013760567 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.05705789849162102 + "score": 0.09135929495096207 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, - "then": { - "operation": "boost", - "score": 0.11289087682962418 - }, - "else": { - "operation": "boost", - "score": 0.09300626069307327 - } + "operation": "boost", + "score": -0.1464146226644516 } - }, - "else": { - "operation": "boost", - "score": 0.027166256681084633 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 134893.5, + "then": { + "operation": "boost", + "score": -0.07351695746183395 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_ParenthesizedExpression" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18860.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.11773435771465302 + "score": 0.09349572658538818 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10750268399715424 - }, - "else": { - "operation": "boost", - "score": -0.11154328286647797 - } + "operation": "boost", + "score": -0.04383093863725662 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.11399803310632706 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.10811910033226013 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11398.0, - "then": { - "operation": "boost", - "score": 0.11287166178226471 - }, - "else": { - "operation": "boost", - "score": 0.10151828080415726 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0877973884344101 - } - } + "operation": "boost", + "score": -0.0038981360848993063 } }, "else": { "operation": "boost", - "score": 0.10231499373912811 + "score": -0.15168526768684387 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116663.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18439.5, - "then": { - "operation": "boost", - "score": 0.10395792126655579 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17871.5, - "then": { - "operation": "boost", - "score": 0.11313833296298981 - }, - "else": { - "operation": "boost", - "score": 0.11941427737474442 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09258915483951569 - } - }, - "else": { - "operation": "boost", - "score": 0.10775981843471527 - } - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1027001366019249 + "score": 7.61427654651925e-05 }, "else": { "operation": "boost", - "score": 0.09188303351402283 + "score": 0.13182079792022705 } }, "else": { "operation": "boost", - "score": 0.07511378824710846 + "score": -0.15278786420822144 } + }, + "else": { + "operation": "boost", + "score": -0.029141129925847054 } } }, "else": { "operation": "boost", - "score": 0.0605032853782177 + "score": -0.008301276713609695 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.07622769474983215 - }, - "else": { - "operation": "boost", - "score": 0.037961069494485855 - } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0956726148724556 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.106698177754879 }, "else": { "operation": "boost", - "score": -0.006889455020427704 + "score": 0.05508884787559509 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.05106373876333237 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.05696915090084076 + }, + "else": { + "operation": "boost", + "score": -0.03565765172243118 + } } }, "else": { @@ -41537,135 +39806,154 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13024494051933289 + "score": -0.09096032381057739 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "boost", + "score": -0.1030004620552063 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6753.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.05140319839119911 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.10866813361644745 + "score": 0.05808885768055916 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05354469642043114 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.17180435359477997 - }, - "else": { - "operation": "boost", - "score": 0.17488929629325867 - } - }, - "else": { - "operation": "boost", - "score": 0.166315495967865 - } - }, - "else": { - "operation": "boost", - "score": 0.1745147705078125 - } - } + "operation": "boost", + "score": -0.014195054769515991 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.005190904717892408 + "score": 0.04197731241583824 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.053396329283714294 - }, - "else": { - "operation": "boost", - "score": 0.1705029159784317 - } + "operation": "boost", + "score": 0.001044596079736948 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_UnionTag" + "CCC_Namespace" ], "then": { + "operation": "boost", + "score": 0.10281327366828918 + }, + "else": { + "operation": "boost", + "score": 0.05018160492181778 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.03260684758424759 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.08316624164581299 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.015425696037709713 + }, + "else": { + "operation": "boost", + "score": -0.06569499522447586 + } }, "else": { "operation": "boost", - "score": 0.04207784682512283 + "score": 0.030452914535999298 } - }, - "else": { - "operation": "boost", - "score": 0.020345350727438927 } } }, "else": { "operation": "boost", - "score": 0.007132420781999826 + "score": -0.03569694980978966 } - }, - "else": { - "operation": "boost", - "score": -0.07066159695386887 } } } @@ -41675,79 +39963,59 @@ "feature": "NumReferences", "threshold": 26.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": 0.053674109280109406 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type", - "Namespace" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "boost", + "score": 0.050527047365903854 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5906.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1045694425702095 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 49491.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.12127768993377686 - }, - "else": { - "operation": "boost", - "score": 0.1129998043179512 - } + "operation": "boost", + "score": -0.12068384140729904 }, "else": { "operation": "boost", - "score": 0.09098424762487411 + "score": 0.08596788346767426 } + }, + "else": { + "operation": "boost", + "score": 0.027814514935016632 } }, "else": { "operation": "boost", - "score": 0.0893661379814148 + "score": 0.008270022459328175 } - }, - "else": { - "operation": "boost", - "score": 0.04508533328771591 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "boost", - "score": 0.053215205669403076 - }, - "else": { - "operation": "boost", - "score": 0.024995483458042145 } } }, @@ -41756,83 +40024,389 @@ "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": -0.01255775149911642 - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Function", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.046604227274656296 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.04615236073732376 + }, + "else": { + "operation": "boost", + "score": 0.00874739047139883 + } + } + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.05191807076334953 + "score": -0.10535284131765366 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.1302957385778427 + "score": 0.027166632935404778 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.018008451908826828 - }, - "else": { - "operation": "boost", - "score": 0.11268454790115356 - } + "operation": "boost", + "score": 0.015391561202704906 } }, "else": { - "operation": "boost", - "score": 0.058712247759103775 - } + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03809359669685364 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017069444060325623 + }, + "else": { + "operation": "boost", + "score": 0.0588812418282032 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0444624200463295 + }, + "else": { + "operation": "boost", + "score": -0.11264675855636597 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012886445969343185 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005524680949747562 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.0823250338435173 + }, + "else": { + "operation": "boost", + "score": 0.01872973144054413 + } + }, + "else": { + "operation": "boost", + "score": 0.016220683231949806 + } + } + } } - }, - "else": { - "operation": "boost", - "score": -0.05131932720541954 } }, "else": { "operation": "boost", - "score": -0.04602367803454399 + "score": -0.09693103283643723 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.0717950388789177 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05839083716273308 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02049054019153118 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09781856834888458 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14392858743667603 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.017084330320358276 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09208983182907104 + }, + "else": { + "operation": "boost", + "score": -0.0891285166144371 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.04241477698087692 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.012380711734294891 + }, + "else": { + "operation": "boost", + "score": -0.11473193764686584 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.02080627717077732 + }, + "else": { + "operation": "boost", + "score": -0.1480434685945511 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02584465965628624 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05170422047376633 + } } } } @@ -41852,444 +40426,813 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09119874238967896 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09327206760644913 - }, - "else": { - "operation": "boost", - "score": 0.0871359333395958 - } - }, - "else": { - "operation": "boost", - "score": 0.07250507920980453 - } - } + "operation": "boost", + "score": 0.09523913264274597 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0645674616098404 - }, - "else": { - "operation": "boost", - "score": 0.03455371409654617 - } + "operation": "boost", + "score": 0.07541389763355255 }, "else": { "operation": "boost", - "score": 0.024982482194900513 + "score": 0.059359967708587646 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3080.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 55483.0, "then": { - "operation": "boost", - "score": 0.07461578398942947 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.10481078922748566 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, + "then": { + "operation": "boost", + "score": 0.08566766232252121 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12378296256065369 + }, + "else": { + "operation": "boost", + "score": 0.05137704685330391 + } + } + } }, "else": { "operation": "boost", - "score": 0.09733989834785461 + "score": 0.05415734648704529 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05505699664354324 - }, - "else": { - "operation": "boost", - "score": 0.07089319825172424 - } + "operation": "boost", + "score": 0.08088003098964691 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.03740975260734558 - }, - "else": { - "operation": "boost", - "score": 0.07667089998722076 - } + "operation": "boost", + "score": 0.0360809825360775 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.046517640352249146 + "score": 0.05748714506626129 }, "else": { - "operation": "boost", - "score": 0.032823596149683 - } - }, - "else": { - "operation": "boost", - "score": -0.022769948467612267 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 370.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.09801036864519119 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.040914759039878845 + }, + "else": { + "operation": "boost", + "score": -0.05373558774590492 + } }, "else": { "operation": "boost", - "score": 0.075131356716156 + "score": -0.0831596851348877 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 873.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.11242450028657913 + "score": 0.04729384928941727 }, "else": { - "operation": "boost", - "score": 0.12394590675830841 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2579922080039978 + }, + "else": { + "operation": "boost", + "score": 0.0966532900929451 + } + }, + "else": { + "operation": "boost", + "score": 0.06254716962575912 + } + }, + "else": { + "operation": "boost", + "score": -0.06263580173254013 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.0, + "then": { + "operation": "boost", + "score": -0.05485520511865616 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1089334785938263 + }, + "else": { + "operation": "boost", + "score": 0.055803753435611725 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.06700385361909866 + }, + "else": { + "operation": "boost", + "score": 0.05105379968881607 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.038998425006866455 + }, + "else": { + "operation": "boost", + "score": -0.025589825585484505 + } + } + }, + "else": { + "operation": "boost", + "score": 0.019863486289978027 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.04648563638329506 + }, + "else": { + "operation": "boost", + "score": 0.012714296579360962 + } + }, + "else": { + "operation": "boost", + "score": 0.007197953760623932 + } + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.028075912967324257 } }, "else": { - "operation": "boost", - "score": -0.027106957510113716 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 56.5, + "threshold": 49.5, "then": { + "operation": "boost", + "score": 0.07774142920970917 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Macro" ], "then": { "operation": "boost", - "score": 0.10166723281145096 + "score": 0.0541723407804966 }, "else": { - "operation": "boost", - "score": 0.014953520148992538 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0575391948223114 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05230061709880829 + }, + "else": { + "operation": "boost", + "score": 0.0208722036331892 + } + }, + "else": { + "operation": "boost", + "score": -0.10883091390132904 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06279182434082031 + }, + "else": { + "operation": "boost", + "score": 0.028777752071619034 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.08420182019472122 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type" + "Macro" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 160.0, - "then": { - "operation": "boost", - "score": 0.07702026516199112 - }, - "else": { - "operation": "boost", - "score": 0.128156840801239 - } + "operation": "boost", + "score": 0.032702866941690445 }, "else": { "operation": "boost", - "score": 0.07970425486564636 + "score": 0.0853831022977829 } }, "else": { "operation": "boost", - "score": 0.07279983907938004 + "score": 0.009848499670624733 } }, "else": { - "operation": "boost", - "score": 0.04926423728466034 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.038253989070653915 + }, + "else": { + "operation": "boost", + "score": 0.007564837113022804 + } } } - }, - "else": { - "operation": "boost", - "score": 0.038524314761161804 } }, "else": { + "operation": "boost", + "score": -0.03365720435976982 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function", - "Type", - "Namespace" + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" ], "then": { + "operation": "boost", + "score": 0.06325966119766235 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.04966020956635475 + }, + "else": { + "operation": "boost", + "score": 0.012979437597095966 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.046577177941799164 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.0512549951672554 + }, + "else": { + "operation": "boost", + "score": -0.03325660899281502 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09455323964357376 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Symbol" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.0904608890414238 + "score": 0.0652552992105484 }, "else": { "operation": "boost", - "score": 0.10678625106811523 + "score": 0.012837531976401806 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.040834613144397736 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05163893476128578 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.047748863697052 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07798359543085098 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.09592506289482117 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.02692231722176075 + }, + "else": { + "operation": "boost", + "score": 0.09153381735086441 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05085267871618271 + } + }, + "else": { + "operation": "boost", + "score": -0.08139266818761826 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.011811408214271069 + } + }, + "else": { + "operation": "boost", + "score": -0.008568771183490753 + } + } }, "else": { - "operation": "boost", - "score": 0.0771755650639534 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.07335933297872543 + }, + "else": { + "operation": "boost", + "score": 0.015586393885314465 + } } } - }, - "else": { - "operation": "boost", - "score": 0.02839483879506588 } - }, - "else": { - "operation": "boost", - "score": 0.01863723061978817 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_Statement", "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression", "CCC_Type" ], "then": { "operation": "boost", - "score": 0.031117860227823257 + "score": 0.07363655418157578 + }, + "else": { + "operation": "boost", + "score": 0.04409226402640343 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03136134892702103 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.15091529488563538 + "score": 0.053005170077085495 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05784930661320686 - }, - "else": { - "operation": "boost", - "score": 0.09722376614809036 - } + "operation": "boost", + "score": 0.03410521149635315 }, "else": { "operation": "boost", - "score": 0.021751653403043747 + "score": -0.005279206205159426 } } }, "else": { "operation": "boost", - "score": 0.0018639143090695143 + "score": -0.10472628474235535 } }, "else": { "operation": "boost", - "score": -0.060534585267305374 + "score": 0.004673061426728964 } } } - }, - "else": { - "operation": "boost", - "score": -0.08860339969396591 } } } @@ -42297,814 +41240,617 @@ }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 34.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": 0.088137686252594 + }, + "else": { + "operation": "boost", + "score": 0.05871719866991043 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.05804700404405594 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": -0.08487161993980408 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.10555646568536758 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.12318436801433563 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12656530737876892 - }, - "else": { - "operation": "boost", - "score": 0.1454942375421524 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.20031362771987915 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08438374847173691 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11613902449607849 - }, - "else": { - "operation": "boost", - "score": 0.12322815507650375 - } - } + "score": 0.022055240347981453 }, "else": { "operation": "boost", - "score": 0.11992766708135605 + "score": -0.10902635008096695 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10816497355699539 - }, - "else": { - "operation": "boost", - "score": 0.11734188348054886 - } - } - }, - "else": { - "operation": "boost", - "score": -0.024218598380684853 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.041480787098407745 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 263421.0, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04684830084443092 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.15667423605918884 - }, - "else": { - "operation": "boost", - "score": 0.15655730664730072 - } - }, - "else": { - "operation": "boost", - "score": 0.15019486844539642 - } - }, - "else": { - "operation": "boost", - "score": 0.15743069350719452 - } - } + "operation": "boost", + "score": 0.09741964936256409 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05925422161817551 - }, - "else": { - "operation": "boost", - "score": 0.15059779584407806 - } + "operation": "boost", + "score": -0.17863242328166962 } + }, + "else": { + "operation": "boost", + "score": -0.1697389781475067 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 286067.5, "then": { "operation": "boost", - "score": -0.13547883927822113 + "score": 0.04221218824386597 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.14846475422382355 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.01304571982473135 - }, - "else": { - "operation": "boost", - "score": 0.10992425680160522 - } - } + "operation": "boost", + "score": -0.1511598378419876 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.03149433806538582 + "score": 0.08109865337610245 }, "else": { - "operation": "boost", - "score": 0.11460621654987335 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07080846279859543 + }, + "else": { + "operation": "boost", + "score": -0.16222429275512695 + } } }, "else": { "operation": "boost", - "score": 0.08945854008197784 + "score": 0.03527369350194931 } } - }, - "else": { - "operation": "boost", - "score": 0.06533350050449371 } }, "else": { "operation": "boost", - "score": -0.003099750727415085 + "score": -0.03932544216513634 } }, "else": { "operation": "boost", - "score": -0.013651938177645206 + "score": -0.05671990290284157 } } }, "else": { - "operation": "boost", - "score": -0.032753780484199524 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205835.5, + "then": { + "operation": "boost", + "score": 0.06805512309074402 + }, + "else": { + "operation": "boost", + "score": 0.08677578717470169 + } + }, + "else": { + "operation": "boost", + "score": 0.03150460869073868 + } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26198.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.05976543202996254 + "score": 0.03996999189257622 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], + "operation": "boost", + "score": -0.024592354893684387 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.009252588264644146 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08106959611177444 - }, - "else": { - "operation": "boost", - "score": 0.05859338119626045 - } - } + "operation": "boost", + "score": 0.02006218023598194 + }, + "else": { + "operation": "boost", + "score": -0.03035743348300457 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07344096899032593 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.08246398717164993 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.038346316665410995 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10252104699611664 - }, - "else": { - "operation": "boost", - "score": 0.12698420882225037 - } - }, - "else": { - "operation": "boost", - "score": -0.11727119237184525 - } - }, - "else": { - "operation": "boost", - "score": 0.09934631735086441 - } - }, - "else": { - "operation": "boost", - "score": 0.01939484104514122 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05068403482437134 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04401484131813049 - } + "operation": "boost", + "score": -0.021750079467892647 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.005033364985138178 + "score": 0.04255631938576698 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.029090087860822678 + "score": 0.05887269973754883 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.026155253872275352 - }, - "else": { - "operation": "boost", - "score": 0.09252900630235672 - } - }, - "else": { - "operation": "boost", - "score": 0.053082339465618134 - } - }, - "else": { - "operation": "boost", - "score": 0.03164295107126236 - } + "operation": "boost", + "score": 0.0022506634704768658 } } } } } - }, - "else": { - "operation": "boost", - "score": 0.004041620995849371 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3091.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08833400905132294 - }, - "else": { - "operation": "boost", - "score": 0.061495590955019 - } + "operation": "boost", + "score": 0.09512044489383698 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.0628533810377121 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13039498031139374 + "score": -0.10009641200304031 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 192.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.11454390734434128 - }, - "else": { - "operation": "boost", - "score": 0.13003960251808167 - } - }, - "else": { - "operation": "boost", - "score": 0.11940054595470428 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 265.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.13433025777339935 - }, - "else": { - "operation": "boost", - "score": 0.1099417582154274 - } - }, - "else": { - "operation": "boost", - "score": 0.11370737850666046 - } - } + "operation": "boost", + "score": 0.0565386563539505 }, "else": { "operation": "boost", - "score": 0.07014434039592743 + "score": 0.018821455538272858 } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.0505048893392086 + }, + "else": { + "operation": "boost", + "score": 0.018271317705512047 + } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 156.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.013688432052731514 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 100.5, + "threshold": 11159.0, "then": { "operation": "boost", - "score": 0.12774993479251862 + "score": 0.06725713610649109 }, "else": { "operation": "boost", - "score": 0.1228564903140068 + "score": 0.032231204211711884 } - }, - "else": { - "operation": "boost", - "score": 0.11434896290302277 } }, "else": { - "operation": "boost", - "score": 0.11339371651411057 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.009524664841592312 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable", - "Type", - "Namespace" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Namespace" + "CCC_ParenthesizedExpression", + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 532.0, - "then": { - "operation": "boost", - "score": 0.11418567597866058 - }, - "else": { - "operation": "boost", - "score": 0.10713803023099899 - } + "operation": "boost", + "score": 0.08329803496599197 }, "else": { "operation": "boost", - "score": 0.08442425727844238 + "score": 0.016654687002301216 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6079.5, - "then": { - "operation": "boost", - "score": 0.07092804461717606 - }, - "else": { - "operation": "boost", - "score": 1.3816131286148448e-05 - } + "operation": "boost", + "score": -0.007110360078513622 } - }, - "else": { - "operation": "boost", - "score": 0.026111025363206863 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6221.5, "then": { - "operation": "boost", - "score": 0.020558400079607964 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "boost", + "score": 0.07493004947900772 + }, + "else": { + "operation": "boost", + "score": 0.13324998319149017 + } }, "else": { - "operation": "boost", - "score": -0.06700631976127625 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05892447754740715 + }, + "else": { + "operation": "boost", + "score": 0.023544035851955414 + } + }, + "else": { + "operation": "boost", + "score": -0.0036310043651610613 + } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "Function", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { - "operation": "boost", - "score": 0.08545611053705215 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.04488014802336693 + }, + "else": { + "operation": "boost", + "score": 0.014613030478358269 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.08922731876373291 + }, + "else": { + "operation": "boost", + "score": -0.00041819503530859947 + } + } }, "else": { "operation": "boost", - "score": 0.06880543380975723 + "score": -0.09492268413305283 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 2757.0, "then": { + "operation": "boost", + "score": 0.02320624515414238 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10638370364904404 + "score": -0.05773455649614334 }, "else": { "operation": "boost", - "score": 0.08651256561279297 + "score": 0.0011944841826334596 } }, "else": { - "operation": "boost", - "score": 0.055402301251888275 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.04391788691282272 + }, + "else": { + "operation": "boost", + "score": -0.11948397010564804 + } } - }, - "else": { - "operation": "boost", - "score": 0.004568946082144976 } } } - }, - "else": { - "operation": "boost", - "score": -0.07424012571573257 } } } @@ -43119,1883 +41865,1885 @@ ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09021837264299393 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09102986007928848 - }, - "else": { - "operation": "boost", - "score": 0.08598382025957108 - } - }, - "else": { - "operation": "boost", - "score": 0.06984447687864304 - } - } + "operation": "boost", + "score": 0.07781297713518143 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06243055313825607 - }, - "else": { - "operation": "boost", - "score": 0.03091621957719326 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.013259083963930607 - }, - "else": { - "operation": "boost", - "score": 0.043573830276727676 - } - }, - "else": { - "operation": "boost", - "score": -0.009995239786803722 - } - } + "operation": "boost", + "score": 0.06283742934465408 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1824.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.11291104555130005 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 31292.5, "then": { - "operation": "boost", - "score": 0.07800981402397156 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "boost", + "score": 0.09052231907844543 + }, + "else": { + "operation": "boost", + "score": 0.1367819756269455 + } }, "else": { "operation": "boost", - "score": 0.06991786509752274 + "score": 0.0452331118285656 } - }, - "else": { - "operation": "boost", - "score": 0.09378325939178467 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.06097070127725601 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Macro", + "Namespace", + "Type" ], "then": { - "operation": "boost", - "score": 0.04970017448067665 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09401583671569824 + }, + "else": { + "operation": "boost", + "score": 0.057397447526454926 + } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.05310352146625519 + "score": 0.04849109426140785 }, "else": { "operation": "boost", - "score": 0.027385499328374863 + "score": -0.06514526158571243 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.06808734685182571 }, "else": { "operation": "boost", - "score": 0.10104648023843765 + "score": 0.025752494111657143 } - }, - "else": { - "operation": "boost", - "score": 0.030657898634672165 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" + "Function", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.027967039495706558 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10946070402860641 - }, - "else": { - "operation": "boost", - "score": 0.05266613885760307 - } + "operation": "boost", + "score": 0.06192893162369728 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09960097819566727 + "score": 0.06582283973693848 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.1443507820367813 + "score": 0.1182938888669014 }, "else": { "operation": "boost", - "score": 0.1455492228269577 + "score": -0.0036995471455156803 } } }, "else": { "operation": "boost", - "score": 0.11399317532777786 + "score": 0.05526537820696831 } } - } - }, - "else": { - "operation": "boost", - "score": 0.0746188834309578 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "boost", - "score": 0.06167878583073616 - }, - "else": { - "operation": "boost", - "score": -0.16036756336688995 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.343137264251709, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { - "operation": "boost", - "score": 0.11266334354877472 - }, - "else": { - "operation": "boost", - "score": 0.09342075884342194 - } + "operation": "boost", + "score": 0.032969165593385696 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0762515589594841 - }, - "else": { - "operation": "boost", - "score": 0.09268943220376968 - } + "operation": "boost", + "score": 0.007183616980910301 } + }, + "else": { + "operation": "boost", + "score": -0.14799654483795166 } }, "else": { - "operation": "boost", - "score": 0.02290164679288864 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10479722917079926 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.00284001836553216 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08546414971351624 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03149968758225441 - }, - "else": { - "operation": "boost", - "score": 0.1073208898305893 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2560510039329529 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.019733097404241562 - } - }, - "else": { - "operation": "boost", - "score": 0.039908308535814285 - } + "operation": "boost", + "score": -0.06553547084331512 }, "else": { - "operation": "boost", - "score": 0.0326998196542263 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08937564492225647 + "score": -0.11555109918117523 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.08970800042152405 - }, - "else": { - "operation": "boost", - "score": 0.11815571784973145 - } + "operation": "boost", + "score": 0.05509111285209656 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 17.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.17561016976833344 + "score": 0.054188091307878494 }, "else": { "operation": "boost", - "score": 0.11772385239601135 + "score": 0.03677414357662201 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": 0.12889304757118225 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.15906190872192383 - }, - "else": { - "operation": "boost", - "score": 0.13006635010242462 - } - }, - "else": { - "operation": "boost", - "score": -0.12638241052627563 - } - } + "operation": "boost", + "score": 0.027568282559514046 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0010564586846157908 + "score": 0.07034517824649811 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.06759216636419296 - }, - "else": { - "operation": "boost", - "score": 0.09419109672307968 - } - }, - "else": { - "operation": "boost", - "score": 0.04129946231842041 - } + "operation": "boost", + "score": 0.05021703988313675 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05165904387831688 - }, - "else": { - "operation": "boost", - "score": 0.011271372437477112 - } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 33.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "operation": "boost", + "score": 0.0569855198264122 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11137493699789047 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.08111158013343811 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 679.5, - "then": { - "operation": "boost", - "score": 0.12831856310367584 - }, - "else": { - "operation": "boost", - "score": 0.12309408187866211 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09914509207010269 - } + "operation": "boost", + "score": 0.042043790221214294 }, "else": { "operation": "boost", - "score": 0.09665967524051666 + "score": 0.010766744613647461 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Namespace" - ], + "operation": "boost", + "score": -0.06396942585706711 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.08248146623373032 - }, - "else": { - "operation": "boost", - "score": 0.11814288049936295 - } + "operation": "boost", + "score": 0.02468775399029255 }, "else": { "operation": "boost", - "score": 0.0995330810546875 + "score": 0.015508972108364105 } - }, - "else": { - "operation": "boost", - "score": 0.07187572866678238 } } - }, - "else": { - "operation": "boost", - "score": 0.0552234873175621 } - }, - "else": { - "operation": "boost", - "score": 0.032519105821847916 } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": -0.029613470658659935 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": -0.027798667550086975 + "score": 0.06093563511967659 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": 0.046972423791885376 + }, + "else": { + "operation": "boost", + "score": 0.01230979710817337 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.04177059978246689 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.09548622369766235 - }, - "else": { - "operation": "boost", - "score": 0.0544569231569767 - } + "operation": "boost", + "score": -0.08822080492973328 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.01722104847431183 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { + "operation": "boost", + "score": -0.06646249443292618 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 39.5, "then": { - "operation": "boost", - "score": 0.0972106009721756 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 433.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 608.5, - "then": { - "operation": "boost", - "score": 0.09175349771976471 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 590.5, - "then": { - "operation": "boost", - "score": 0.1393931806087494 - }, - "else": { - "operation": "boost", - "score": 0.116281658411026 - } - } + "operation": "boost", + "score": 0.16495999693870544 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.5, - "then": { - "operation": "boost", - "score": 0.11440303176641464 - }, - "else": { - "operation": "boost", - "score": 0.12001911550760269 - } - }, - "else": { - "operation": "boost", - "score": 0.10021007061004639 - } + "operation": "boost", + "score": 0.09309937059879303 } + }, + "else": { + "operation": "boost", + "score": 0.005949538666754961 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.08190202713012695 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11400138586759567 + "score": -0.1171005442738533 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": 0.13087734580039978 - }, - "else": { - "operation": "boost", - "score": 0.14578957855701447 - } + "operation": "boost", + "score": 0.08903664350509644 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.13343288004398346 + "score": -0.02139037288725376 }, "else": { "operation": "boost", - "score": 0.12664389610290527 + "score": 0.0676712915301323 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, - "then": { - "operation": "boost", - "score": 0.11397574841976166 - }, - "else": { - "operation": "boost", - "score": 0.10362306237220764 - } + "operation": "boost", + "score": 0.005628400016576052 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10120455920696259 + "score": -0.12918312847614288 }, "else": { - "operation": "boost", - "score": 0.0823080837726593 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01079794205725193 + }, + "else": { + "operation": "boost", + "score": 0.07544683665037155 + } + }, + "else": { + "operation": "boost", + "score": 0.004257092718034983 + } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.04503951221704483 - }, - "else": { - "operation": "boost", - "score": 0.04970945045351982 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13466379046440125 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.14750105142593384 - }, - "else": { - "operation": "boost", - "score": 0.07003100216388702 - } - }, - "else": { - "operation": "boost", - "score": 0.11329954117536545 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0003260887460783124 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.017545266076922417 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06648736447095871 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07994335144758224 - }, - "else": { - "operation": "boost", - "score": 0.12235099822282791 - } }, "else": { "operation": "boost", - "score": 0.11575409024953842 + "score": 0.0034075237344950438 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07367101311683655 }, "else": { "operation": "boost", - "score": 0.06743579357862473 + "score": -0.02493319660425186 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.05072594806551933 - }, - "else": { - "operation": "boost", - "score": -0.060938913375139236 - } } - }, - "else": { - "operation": "boost", - "score": -0.11880707740783691 } - }, - "else": { - "operation": "boost", - "score": 0.06204940006136894 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", "CCC_Type" ], "then": { "operation": "boost", - "score": 0.02383127063512802 + "score": 0.06652430444955826 }, "else": { "operation": "boost", - "score": -0.10367829352617264 + "score": 0.04232913628220558 } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.029992137104272842 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Function", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05669742450118065 + }, + "else": { + "operation": "boost", + "score": 0.018663667142391205 + } + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05546988546848297 + "score": -0.027742043137550354 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10307640582323074 - }, - "else": { - "operation": "boost", - "score": 0.13228099048137665 - } + "operation": "boost", + "score": -0.0013432442210614681 }, "else": { "operation": "boost", - "score": 0.12601089477539062 + "score": 0.026649633422493935 } } - }, - "else": { - "operation": "boost", - "score": 0.06497256457805634 } }, "else": { "operation": "boost", - "score": 0.010366215370595455 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.03269091993570328 - }, - "else": { - "operation": "boost", - "score": -0.052339423447847366 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48040.5, - "then": { - "operation": "boost", - "score": 0.1461782306432724 - }, - "else": { - "operation": "boost", - "score": 0.025621933862566948 + "score": -0.03904174268245697 } }, "else": { - "operation": "boost", - "score": -0.10084602236747742 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13522233068943024 + "score": -0.08545787632465363 }, "else": { - "operation": "boost", - "score": 0.11533046513795853 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.08424864709377289 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008464979007840157 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 33.0, + "then": { + "operation": "boost", + "score": 0.049105238169431686 + }, + "else": { + "operation": "boost", + "score": -0.012955175712704659 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.1101563423871994 + }, + "else": { + "operation": "boost", + "score": -0.1882205605506897 + } + } + } + } } - }, - "else": { - "operation": "boost", - "score": -0.1357860565185547 } - }, - "else": { - "operation": "boost", - "score": -0.15805965662002563 } - }, - "else": { - "operation": "boost", - "score": 0.08932355046272278 } - }, - "else": { - "operation": "boost", - "score": -0.04561784118413925 } } - }, - "else": { - "operation": "boost", - "score": -0.06072438508272171 } } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 33380.5, "then": { - "operation": "boost", - "score": 0.08846521377563477 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], "then": { "operation": "boost", - "score": 0.08999878168106079 + "score": 0.06244051456451416 }, "else": { "operation": "boost", - "score": 0.08334663510322571 + "score": 0.005712434649467468 } }, "else": { - "operation": "boost", - "score": 0.06731114536523819 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.059443797916173935 - }, - "else": { - "operation": "boost", - "score": 0.028515418991446495 - } - }, - "else": { - "operation": "boost", - "score": 0.02199104055762291 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 205835.5, "then": { "operation": "boost", - "score": 0.0759739875793457 + "score": 0.080286405980587 }, "else": { - "operation": "boost", - "score": 0.06646472960710526 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11871843039989471 + }, + "else": { + "operation": "boost", + "score": 0.08069968223571777 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172808.5, + "then": { + "operation": "boost", + "score": -0.15338076651096344 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18.5, + "threshold": 71954.5, "then": { + "operation": "boost", + "score": 0.06274707615375519 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "boost", + "score": -0.014186302199959755 + }, + "else": { + "operation": "boost", + "score": 0.062447551637887955 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.05774068459868431 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.03614475205540657 + }, + "else": { + "operation": "boost", + "score": -0.03396669775247574 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.019154459238052368 + }, + "else": { + "operation": "boost", + "score": -0.027217797935009003 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { + "operation": "boost", + "score": -0.03643738105893135 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.06239255890250206 + "score": 0.029253382235765457 }, "else": { + "operation": "boost", + "score": 0.0005694928113371134 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 117.0, + "threshold": 105.5, "then": { - "operation": "boost", - "score": 0.11551684141159058 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.057003505527973175 + }, + "else": { + "operation": "boost", + "score": -0.020121801644563675 + } }, "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.009659246541559696 + }, + "else": { + "operation": "boost", + "score": 0.06875486671924591 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Keyword", + "Macro", + "Namespace", + "Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1296081393957138 + "score": 0.005209289025515318 }, "else": { "operation": "boost", - "score": 0.12498417496681213 + "score": 0.06493328511714935 } }, "else": { - "operation": "boost", - "score": 0.10877490788698196 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12238617241382599 + }, + "else": { + "operation": "boost", + "score": 0.03209618851542473 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08839187771081924 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12890276312828064 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06421791017055511 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": -0.16985902190208435 + }, + "else": { + "operation": "boost", + "score": 0.03700254112482071 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.024512236937880516 + } + } + } } }, "else": { - "operation": "boost", - "score": 0.10697955638170242 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08384106308221817 + }, + "else": { + "operation": "boost", + "score": -0.0445745587348938 + } } + }, + "else": { + "operation": "boost", + "score": -0.05753720551729202 } } }, "else": { - "operation": "boost", - "score": 0.06801736354827881 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.08732997626066208 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.04120306670665741 + }, + "else": { + "operation": "boost", + "score": -0.03450384363532066 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.07216192036867142 } - }, - "else": { - "operation": "boost", - "score": 0.08968468755483627 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.05713682621717453 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04244013875722885 + }, + "else": { + "operation": "boost", + "score": 0.017517006024718285 + } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_Symbol", - "CCC_Expression" + "Function", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.36021342873573303 + "score": 0.04307738319039345 }, "else": { "operation": "boost", - "score": 0.0796879231929779 + "score": 0.022345244884490967 } }, "else": { - "operation": "boost", - "score": 0.05620558187365532 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10285010188817978 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.024427957832813263 + }, + "else": { + "operation": "boost", + "score": 0.015888450667262077 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01826765388250351 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0065612285397946835 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.07780008763074875 + }, + "else": { + "operation": "boost", + "score": 0.057284947484731674 + } + }, + "else": { + "operation": "boost", + "score": 0.01892719604074955 + } + } + } + } + } } }, "else": { "operation": "boost", - "score": 0.008043061941862106 + "score": -0.09438060224056244 } }, "else": { - "operation": "boost", - "score": 0.026365838944911957 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.06687027961015701 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05377275124192238 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08782973140478134 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15789274871349335 + }, + "else": { + "operation": "boost", + "score": 0.005322855897247791 + } + } + }, + "else": { + "operation": "boost", + "score": -0.021522454917430878 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0488622710108757 + } + } } } } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09287775307893753 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.0709424614906311 }, "else": { + "operation": "boost", + "score": 0.05431217700242996 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.15192309021949768, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.07675749063491821 + }, + "else": { + "operation": "boost", + "score": 0.04284221678972244 + } + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 281926.5, "then": { "operation": "boost", - "score": 0.04319540783762932 + "score": 0.08490217477083206 }, "else": { + "operation": "boost", + "score": 0.02956334315240383 + } + }, + "else": { + "operation": "boost", + "score": 0.06755217909812927 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type" + "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.03684786334633827 - }, - "else": { - "operation": "boost", - "score": -0.7123042345046997 - } + "operation": "boost", + "score": 0.08095543831586838 }, "else": { "operation": "boost", - "score": -0.02141510508954525 + "score": 0.044405922293663025 } + }, + "else": { + "operation": "boost", + "score": 0.042724400758743286 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.0005142244626767933 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "boost", + "score": 0.08900243788957596 + }, + "else": { + "operation": "boost", + "score": 0.039511919021606445 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0071503836661577225 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", "CCC_SymbolOrNewName", - "CCC_Namespace" + "CCC_TopLevel", + "CCC_Type" ], + "then": { + "operation": "boost", + "score": 0.05070158839225769 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05660329386591911 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 35.0, + "then": { + "operation": "boost", + "score": 0.024861782789230347 + }, + "else": { + "operation": "boost", + "score": 0.04257833585143089 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Type" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 237.5, + "operation": "boost", + "score": 0.08126100152730942 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.10201161354780197 + "score": 0.06716059148311615 }, "else": { "operation": "boost", - "score": 0.13375620543956757 + "score": 0.026346173137426376 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04155013710260391 + }, + "else": { + "operation": "boost", + "score": -0.12063969671726227 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013315653428435326 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13064809143543243 }, "else": { "operation": "boost", - "score": 0.04583655670285225 + "score": 0.09678182750940323 } }, "else": { "operation": "boost", - "score": 0.07253128290176392 + "score": 0.10993747413158417 } }, "else": { "operation": "boost", - "score": 0.09006503224372864 + "score": 0.06251999735832214 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.08649983257055283 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 873.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11044947803020477 + "score": 0.05755442753434181 }, "else": { "operation": "boost", - "score": 0.11614343523979187 + "score": 0.0281737819314003 } - }, - "else": { - "operation": "boost", - "score": 0.13721300661563873 } } }, "else": { - "operation": "boost", - "score": 0.02712235413491726 - } - }, - "else": { - "operation": "boost", - "score": -0.025098390877246857 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { "operation": "boost", - "score": 0.09471698850393295 + "score": 0.04962872713804245 }, "else": { - "operation": "boost", - "score": 0.07549643516540527 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.11923275142908096 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 669.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.0904502123594284 + "score": -0.026219729334115982 }, "else": { "operation": "boost", - "score": 0.1357986181974411 + "score": 0.059022389352321625 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11661775410175323 - }, - "else": { - "operation": "boost", - "score": 0.08845661580562592 - } + "operation": "boost", + "score": 0.03805159032344818 } }, "else": { "operation": "boost", - "score": 0.09101509302854538 + "score": -0.0896872729063034 } }, "else": { "operation": "boost", - "score": 0.07201921194791794 + "score": 0.020342355594038963 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.042475562542676926 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.06475615501403809 + }, + "else": { + "operation": "boost", + "score": 0.008630923926830292 + } } } }, "else": { "operation": "boost", - "score": 0.04214208200573921 + "score": -0.023675406351685524 } - }, - "else": { - "operation": "boost", - "score": 0.0594630166888237 } } - }, - "else": { - "operation": "boost", - "score": 0.026679806411266327 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Symbol", + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_Statement" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09006264060735703 - }, - "else": { - "operation": "boost", - "score": 0.10603015124797821 - } - }, - "else": { - "operation": "boost", - "score": 0.06428533792495728 - } + "operation": "boost", + "score": 0.04505108669400215 }, "else": { "operation": "boost", - "score": 0.02825918421149254 + "score": 0.016153480857610703 } }, "else": { "operation": "boost", - "score": 0.014772085472941399 + "score": 0.009697560220956802 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.027769114822149277 - }, - "else": { - "operation": "boost", - "score": -0.017220797017216682 - } + "operation": "boost", + "score": -0.02287527173757553 } }, "else": { "operation": "boost", - "score": -0.0848437175154686 + "score": -0.03968057408928871 } } } @@ -45003,763 +43751,910 @@ }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 424244.0, "then": { + "operation": "boost", + "score": 0.07850899547338486 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 34.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.129667267203331 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type" + "Namespace", + "Type", + "Variable" ], "then": { "operation": "boost", - "score": 0.09604539722204208 + "score": 0.059180181473493576 }, "else": { - "operation": "boost", - "score": 0.07944415509700775 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.0712336078286171 + "score": 0.04735410585999489 }, "else": { "operation": "boost", - "score": 0.07115352898836136 + "score": -0.10197562724351883 } - }, - "else": { - "operation": "boost", - "score": 0.006312707904726267 } } }, "else": { - "operation": "boost", - "score": -0.12046516686677933 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.04935561493039131 + }, + "else": { + "operation": "boost", + "score": -0.0303091611713171 + } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 791.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61387.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "boost", + "score": 0.06158776581287384 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59716.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "boost", + "score": -0.5112839341163635 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.012902600690722466 + }, + "else": { + "operation": "boost", + "score": 0.06675709784030914 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05120770260691643 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.11866790801286697 + "score": 0.005361567251384258 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11762382835149765 - }, - "else": { + "operation": "boost", + "score": -0.066285140812397 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.039945363998413086 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62601.0, + "then": { + "operation": "boost", + "score": 0.07927732169628143 + }, + "else": { + "operation": "boost", + "score": 0.03952091559767723 + } + } + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.12557676434516907 + "score": 0.051132939755916595 }, "else": { "operation": "boost", - "score": -0.13543488085269928 + "score": -0.14580246806144714 } } + }, + "else": { + "operation": "boost", + "score": 0.009568772278726101 } - }, - "else": { - "operation": "boost", - "score": 0.08106563240289688 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Function", - "Type", - "Namespace" - ], + } + }, + "else": { + "operation": "boost", + "score": -0.02841862291097641 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.08380501717329025 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0784774199128151 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 495.5, + "then": { + "operation": "boost", + "score": 0.13804307579994202 + }, + "else": { + "operation": "boost", + "score": 0.09573016315698624 + } }, "else": { - "operation": "boost", - "score": -0.0556531623005867 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11402006447315216 + }, + "else": { + "operation": "boost", + "score": 0.04505482316017151 + } } + }, + "else": { + "operation": "boost", + "score": -0.01608338952064514 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.004347825888544321, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", - "Namespace" + "Keyword", + "Macro", + "Namespace", + "Type" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Symbol" + "ClassScope" ], "then": { + "operation": "boost", + "score": 0.06589046865701675 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.08711274713277817 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.13586854934692383 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.13858948647975922 - }, - "else": { - "operation": "boost", - "score": -0.029461270198225975 - } - } + "operation": "boost", + "score": 0.03996725380420685 }, "else": { "operation": "boost", - "score": 0.12832678854465485 + "score": -0.06260258704423904 } }, "else": { "operation": "boost", - "score": 0.1300990730524063 + "score": 0.015940839424729347 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.0989423468708992 }, "else": { "operation": "boost", - "score": 0.04022014141082764 + "score": -0.0021798715461045504 } } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "TypeMatchesPreferred", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02177293412387371 + }, + "else": { + "operation": "boost", + "score": -0.04365561902523041 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08336486667394638 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.030078331008553505 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.1353047788143158 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.1056796982884407 - }, - "else": { - "operation": "boost", - "score": 0.1406496912240982 - } - } + "operation": "boost", + "score": 0.03308212757110596 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07425970584154129 - }, - "else": { - "operation": "boost", - "score": 0.12334717810153961 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10292956233024597 - }, - "else": { - "operation": "boost", - "score": 0.11673139780759811 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03729208558797836 - } + "operation": "boost", + "score": -0.019721131771802902 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12143848091363907 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" ], "then": { "operation": "boost", - "score": 0.049073509871959686 + "score": -0.02033904567360878 }, "else": { "operation": "boost", - "score": -0.12129142135381699 + "score": -0.08483614772558212 } } - }, - "else": { - "operation": "boost", - "score": -0.00499654421582818 } } } - }, - "else": { - "operation": "boost", - "score": 0.02693898230791092 } - }, - "else": { - "operation": "boost", - "score": -0.035115525126457214 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5864.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26198.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05561569705605507 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 6404.5, "then": { + "operation": "boost", + "score": 0.08271971344947815 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 6221.5, "then": { "operation": "boost", - "score": 0.047567933797836304 + "score": 0.13343532383441925 }, "else": { "operation": "boost", - "score": 0.006087548099458218 + "score": 0.023732542991638184 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 220112.0, "then": { "operation": "boost", - "score": 0.07668635994195938 + "score": -0.08215655386447906 }, "else": { "operation": "boost", - "score": 0.05304295942187309 + "score": 0.08386264741420746 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11120299249887466 - }, - "else": { - "operation": "boost", - "score": -0.038483768701553345 - } - }, - "else": { - "operation": "boost", - "score": 0.04244096949696541 - } + "operation": "boost", + "score": 0.014671692624688148 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07439224421977997 + }, + "else": { + "operation": "boost", + "score": 0.04437659680843353 } } } }, "else": { - "operation": "boost", - "score": 0.0025837267749011517 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3091.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.08615350723266602 + "score": 0.05818074196577072 }, "else": { - "operation": "boost", - "score": 0.05806070938706398 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.02242685668170452 + }, + "else": { + "operation": "boost", + "score": 0.05896938964724541 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06723346561193466 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04993107542395592 + }, + "else": { + "operation": "boost", + "score": 0.016937721520662308 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "operation": "boost", + "score": -0.3265455961227417 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "boost", - "score": 0.12750093638896942 + "score": 0.0862656682729721 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09731214493513107 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 192.5, "then": { "operation": "boost", - "score": 0.10609123110771179 + "score": 0.05809534713625908 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.01871340535581112 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.12066980451345444 + "score": -0.1262829303741455 }, "else": { - "operation": "boost", - "score": 0.12473177909851074 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.047907087951898575 + }, + "else": { + "operation": "boost", + "score": 0.019129851832985878 + } } - }, - "else": { - "operation": "boost", - "score": 0.08923901617527008 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "boost", + "score": 0.053265154361724854 }, "else": { + "operation": "boost", + "score": 0.018453532829880714 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Namespace", "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "boost", + "score": 0.08080832660198212 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09675638377666473 + }, + "else": { + "operation": "boost", + "score": 0.0119274090975523 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11752240359783173 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "boost", - "score": 0.10280290246009827 + "score": 0.03861755132675171 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12092752009630203 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.012537873350083828 + }, + "else": { + "operation": "boost", + "score": -0.04446970298886299 + } + }, + "else": { + "operation": "boost", + "score": -0.07946015894412994 + } }, "else": { - "operation": "boost", - "score": -0.13766707479953766 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15059080719947815 + }, + "else": { + "operation": "boost", + "score": 0.0043676006607711315 + } } } - }, - "else": { - "operation": "boost", - "score": 0.018857955932617188 } } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.11988403648138046 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.1523677259683609 + "score": 0.07271485775709152 }, "else": { "operation": "boost", - "score": 0.04952806979417801 + "score": -0.004992357920855284 } }, - "else": { - "operation": "boost", - "score": 0.109368234872818 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.008712348528206348 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.0815412700176239 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6079.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07031068205833435 + "score": -0.04300956428050995 }, "else": { - "operation": "boost", - "score": 0.003475755453109741 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.11146526038646698 + }, + "else": { + "operation": "boost", + "score": 0.07060610502958298 + } + }, + "else": { + "operation": "boost", + "score": 0.03794604912400246 + } + }, + "else": { + "operation": "boost", + "score": -0.015871193259954453 + } } } - }, - "else": { - "operation": "boost", - "score": 0.02614452876150608 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09128273278474808 - }, - "else": { - "operation": "boost", - "score": -0.0568498857319355 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.046963002532720566 - }, - "else": { - "operation": "boost", - "score": 0.09478605538606644 - } - }, - "else": { - "operation": "boost", - "score": 0.057103365659713745 } - }, - "else": { - "operation": "boost", - "score": 0.0005403000977821648 } } } @@ -45778,957 +44673,747 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08734571933746338 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08844323456287384 - }, - "else": { - "operation": "boost", - "score": 0.0811953991651535 - } - }, - "else": { - "operation": "boost", - "score": 0.0653735026717186 - } - } + "operation": "boost", + "score": 0.0911487489938736 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.057225264608860016 - }, - "else": { - "operation": "boost", - "score": 0.02643650956451893 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.058003079146146774 - }, - "else": { - "operation": "boost", - "score": 0.014625688083469868 - } - } + "operation": "boost", + "score": 0.06238105893135071 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 1717.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "operation": "boost", + "score": 0.11082888394594193 + }, + "else": { + "operation": "boost", + "score": 0.07162114977836609 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09004807472229004 + }, + "else": { + "operation": "boost", + "score": 0.0541410893201828 + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.08880053460597992 + "score": 0.04534343630075455 }, "else": { "operation": "boost", - "score": 0.0034113212022930384 + "score": -0.05873020738363266 } - }, - "else": { - "operation": "boost", - "score": 0.035107582807540894 } }, "else": { "operation": "boost", - "score": 0.03893298655748367 + "score": 0.02255702018737793 } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.05950223654508591 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.03919453173875809 + }, + "else": { + "operation": "boost", + "score": -0.03778025135397911 + } + }, + "else": { + "operation": "boost", + "score": -0.07579398155212402 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.058394260704517365 + "score": -0.10627920925617218 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.0, - "then": { - "operation": "boost", - "score": 0.11516200006008148 - }, - "else": { - "operation": "boost", - "score": 0.14598695933818817 - } - }, - "else": { - "operation": "boost", - "score": 0.12022082507610321 - } + "operation": "boost", + "score": 0.04438488185405731 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08504316210746765 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.0, - "then": { - "operation": "boost", - "score": 0.14843294024467468 - }, - "else": { - "operation": "boost", - "score": 0.1217413991689682 - } + "operation": "boost", + "score": 0.09569396078586578 }, "else": { "operation": "boost", - "score": 0.0505368709564209 + "score": 0.07758935540914536 } }, + "else": { + "operation": "boost", + "score": 0.04865969344973564 + } + }, + "else": { + "operation": "boost", + "score": -0.05597410351037979 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.0, + "then": { + "operation": "boost", + "score": -0.050040796399116516 + }, + "else": { + "operation": "boost", + "score": 0.042507730424404144 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05319524556398392 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.03707560896873474 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.10974038392305374 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "boost", - "score": 0.13384270668029785 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08078368008136749 + }, + "else": { + "operation": "boost", + "score": 0.046629346907138824 + } }, "else": { "operation": "boost", - "score": 0.1192951649427414 + "score": -0.014408871531486511 } + }, + "else": { + "operation": "boost", + "score": -0.02199694514274597 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.040019452571868896 + }, + "else": { + "operation": "boost", + "score": 0.01640472374856472 + } }, "else": { "operation": "boost", - "score": 0.11649299412965775 + "score": 0.006248227320611477 } - }, - "else": { - "operation": "boost", - "score": 0.10640276968479156 } } } } - }, - "else": { - "operation": "boost", - "score": 0.06410586088895798 - } - }, - "else": { - "operation": "boost", - "score": 0.09065888822078705 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.015081488527357578 - }, - "else": { - "operation": "boost", - "score": 0.09396905452013016 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 164855.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11236823350191116 - }, - "else": { - "operation": "boost", - "score": 0.09712152928113937 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.14545777440071106 - }, - "else": { - "operation": "boost", - "score": 0.1150103211402893 - } - }, - "else": { - "operation": "boost", - "score": 0.10295326262712479 - } - }, - "else": { - "operation": "boost", - "score": 0.045772578567266464 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08470660448074341 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0774741843342781 - }, - "else": { - "operation": "boost", - "score": 0.046115338802337646 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.044835615903139114 - }, - "else": { - "operation": "boost", - "score": 0.03124614804983139 } - }, - "else": { - "operation": "boost", - "score": -0.04232951998710632 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.07805291563272476 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.07970373332500458 - }, - "else": { - "operation": "boost", - "score": 0.05864677578210831 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.026426827535033226 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.03935369849205017 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.027436653152108192 - }, - "else": { - "operation": "boost", - "score": -0.03187083080410957 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 71954.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.03223467618227005 - }, - "else": { - "operation": "boost", - "score": 0.11669991910457611 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, - "then": { - "operation": "boost", - "score": 0.04903023689985275 - }, - "else": { - "operation": "boost", - "score": 0.0997142493724823 - } - } - }, - "else": { - "operation": "boost", - "score": 0.046411849558353424 - } - }, - "else": { - "operation": "boost", - "score": -0.003604038618505001 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10865408182144165 - }, - "else": { - "operation": "boost", - "score": 0.11360283941030502 - } + "operation": "boost", + "score": 0.08684835582971573 }, "else": { "operation": "boost", - "score": 0.15048983693122864 + "score": 0.05350644886493683 } }, "else": { - "operation": "boost", - "score": -0.013816981576383114 - } - }, - "else": { - "operation": "boost", - "score": -0.04227167367935181 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Macro" ], "then": { "operation": "boost", - "score": 0.0949082002043724 + "score": 0.04996670410037041 }, "else": { - "operation": "boost", - "score": 0.0005074666696600616 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.10988340526819229 + "score": 0.04678735136985779 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18.0, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11527477204799652 + "score": -0.006367719732224941 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.12275762856006622 - }, - "else": { - "operation": "boost", - "score": 0.1481046825647354 - } + "operation": "boost", + "score": 0.03200753033161163 } } - }, - "else": { - "operation": "boost", - "score": 0.0719020813703537 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 160.0, - "then": { - "operation": "boost", - "score": 0.0716942697763443 - }, - "else": { - "operation": "boost", - "score": 0.120931476354599 - } + "operation": "boost", + "score": 0.028621966019272804 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 669.0, - "then": { - "operation": "boost", - "score": 0.08857329189777374 - }, - "else": { - "operation": "boost", - "score": 0.1323780119419098 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11307962238788605 - }, - "else": { - "operation": "boost", - "score": 0.08607252687215805 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08792875707149506 - } - }, - "else": { - "operation": "boost", - "score": 0.06943071633577347 - } + "operation": "boost", + "score": 0.08025812357664108 } }, "else": { "operation": "boost", - "score": 0.0405806340277195 + "score": 0.004582082852721214 } }, "else": { "operation": "boost", - "score": 0.057738423347473145 + "score": 0.011223805136978626 } } - }, - "else": { - "operation": "boost", - "score": 0.024953262880444527 } }, "else": { + "operation": "boost", + "score": -0.022255809977650642 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function", - "Type", - "Namespace" + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" ], "then": { + "operation": "boost", + "score": 0.05819724500179291 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.04415002837777138 + }, + "else": { + "operation": "boost", + "score": 0.011815586127340794 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10444667190313339 + }, + "else": { + "operation": "boost", + "score": 0.02633214369416237 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08592595160007477 - }, - "else": { - "operation": "boost", - "score": 0.1043151393532753 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03123764880001545 - }, - "else": { - "operation": "boost", - "score": 0.06919737160205841 - } - } + "operation": "boost", + "score": -0.012764731422066689 }, "else": { "operation": "boost", - "score": 0.020079735666513443 + "score": 0.022960321977734566 } }, "else": { "operation": "boost", - "score": 0.013238271698355675 + "score": -0.04602662846446037 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.02648889645934105 - }, - "else": { - "operation": "boost", - "score": -0.016150884330272675 - } - } - }, - "else": { - "operation": "boost", - "score": -0.08311042189598083 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11925027519464493 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", "CCC_Statement", "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.056593332439661026 - }, - "else": { - "operation": "boost", - "score": 0.03690376505255699 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" + "CCC_Type" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope" + "Function", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.12902256846427917 + "score": 0.0744016245007515 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.14532828330993652 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0800049677491188 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09985116869211197 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.08458434045314789 + }, + "else": { + "operation": "boost", + "score": -0.0013123888056725264 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.08271973580121994 + }, + "else": { + "operation": "boost", + "score": 0.03544469550251961 + } + } + }, + "else": { + "operation": "boost", + "score": 0.007910139858722687 + } + } }, "else": { "operation": "boost", - "score": 0.13110868632793427 + "score": -0.0023279651068150997 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 52.5, "then": { "operation": "boost", - "score": 0.007378799840807915 + "score": 0.075289785861969 }, "else": { "operation": "boost", - "score": 0.12089144438505173 + "score": 0.030850153416395187 } } }, "else": { "operation": "boost", - "score": 0.01747310161590576 + "score": -0.10680737346410751 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08342328667640686 + }, + "else": { + "operation": "boost", + "score": 0.004547476302832365 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.04782012850046158 }, "else": { "operation": "boost", - "score": 0.004305768292397261 + "score": 0.02116810716688633 } } - }, - "else": { - "operation": "boost", - "score": 0.01633325219154358 } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12855.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.052662745118141174 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.06838768720626831 }, "else": { "operation": "boost", - "score": -0.049013201147317886 + "score": 0.0017446177080273628 } } }, @@ -46739,625 +45424,455 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 199646.0, + "threshold": 205835.5, "then": { + "operation": "boost", + "score": 0.0774284154176712 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09346568584442139 - }, - "else": { - "operation": "boost", - "score": 0.07275813817977905 - } - }, - "else": { - "operation": "boost", - "score": -0.25628259778022766 - } + "operation": "boost", + "score": 0.11696656793355942 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.06927082687616348 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219281.5, - "then": { - "operation": "boost", - "score": -0.000856966245919466 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.1072230264544487 - }, - "else": { - "operation": "boost", - "score": 0.1197945848107338 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0008779636700637639 - } - } + "operation": "boost", + "score": 0.07420697808265686 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.0676826685667038 }, "else": { "operation": "boost", - "score": 0.10017935931682587 + "score": 0.03069232404232025 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005053394939750433 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06792878359556198 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.01936158910393715 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.1010948196053505 - }, - "else": { - "operation": "boost", - "score": 0.11469779163599014 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09391836076974869 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10907206684350967 - }, - "else": { - "operation": "boost", - "score": 0.07742344588041306 - } - } + "operation": "boost", + "score": 0.035673242062330246 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 552.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.07078282535076141 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09704339504241943 - }, - "else": { - "operation": "boost", - "score": 0.08352570980787277 - } - } + "operation": "boost", + "score": 0.00013735098764300346 }, "else": { "operation": "boost", - "score": 0.03793250396847725 + "score": -0.0704488530755043 } }, "else": { - "operation": "boost", - "score": 0.031267859041690826 - } - } - }, - "else": { - "operation": "boost", - "score": 0.017764123156666756 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.009814945049583912 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.05809102579951286 + "score": -0.12174712121486664 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.15419016778469086 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.016811765730381012 + "score": 0.03727389872074127 }, "else": { - "operation": "boost", - "score": 0.107083760201931 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.032237708568573 + }, + "else": { + "operation": "boost", + "score": 0.07626546919345856 + } + }, + "else": { + "operation": "boost", + "score": -0.18547776341438293 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08790314942598343 + }, + "else": { + "operation": "boost", + "score": -0.11572805047035217 + } + } + }, + "else": { + "operation": "boost", + "score": -0.030485359951853752 + } } }, "else": { "operation": "boost", - "score": 0.10409099608659744 + "score": -0.049697376787662506 } - } - }, - "else": { - "operation": "boost", - "score": 0.042146679013967514 - } - } - }, - "else": { - "operation": "boost", - "score": -0.09768500924110413 - } - }, - "else": { - "operation": "boost", - "score": -0.04003366455435753 - } - } - } - } - } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08587254583835602 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.086338572204113 - }, - "else": { - "operation": "boost", - "score": 0.07976660877466202 - } - }, - "else": { - "operation": "boost", - "score": 0.06377891451120377 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.055051740258932114 - }, - "else": { - "operation": "boost", - "score": 0.024413418024778366 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010186895728111267 - }, - "else": { - "operation": "boost", - "score": 0.037673983722925186 - } - }, - "else": { - "operation": "boost", - "score": -0.01174853928387165 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.05344792455434799 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.07000154256820679 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "boost", - "score": 0.11697052419185638 - }, - "else": { - "operation": "boost", - "score": 0.11169829964637756 - } - }, - "else": { - "operation": "boost", - "score": 0.10802781581878662 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02769591473042965 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, - "then": { - "operation": "boost", - "score": 0.05653750151395798 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.0, - "then": { - "operation": "boost", - "score": 0.11463134735822678 }, "else": { - "operation": "boost", - "score": 0.14712361991405487 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0651320368051529 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.04876011237502098 + }, + "else": { + "operation": "boost", + "score": 0.016307257115840912 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09563842415809631 + }, + "else": { + "operation": "boost", + "score": 0.03713025152683258 + } + }, + "else": { + "operation": "boost", + "score": 0.1318207085132599 + } + }, + "else": { + "operation": "boost", + "score": 0.002393584232777357 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08526100963354111 + }, + "else": { + "operation": "boost", + "score": -0.0009745062561705709 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": -0.02173517644405365 + }, + "else": { + "operation": "boost", + "score": -0.1574506014585495 + } + } } }, "else": { - "operation": "boost", - "score": 0.11852573603391647 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.0983230248093605 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.12161162495613098 + "score": 0.06375989317893982 }, "else": { "operation": "boost", - "score": 0.1335185319185257 + "score": 0.02479381673038006 } + }, + "else": { + "operation": "boost", + "score": -0.005540388636291027 } }, "else": { "operation": "boost", - "score": 0.039364781230688095 + "score": -0.0016225090948864818 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.10856891423463821 + "score": -0.08490835875272751 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.12517954409122467 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.06728505343198776 + }, + "else": { + "operation": "boost", + "score": 0.003950499929487705 + } }, "else": { "operation": "boost", - "score": 0.1176985576748848 + "score": -0.030010119080543518 } } } }, "else": { "operation": "boost", - "score": 0.10148867219686508 + "score": -0.04693494737148285 } - }, - "else": { - "operation": "boost", - "score": 0.1013164296746254 } } } - }, - "else": { - "operation": "boost", - "score": 0.057782724499702454 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10722631216049194 - }, - "else": { - "operation": "boost", - "score": 0.13132654130458832 - } - }, - "else": { - "operation": "boost", - "score": 0.08973436057567596 - } + "operation": "boost", + "score": 0.05489467456936836 }, "else": { "operation": "boost", - "score": 0.0554574653506279 + "score": 0.003224417567253113 } } - }, - "else": { - "operation": "boost", - "score": 0.08416101336479187 } } }, @@ -47365,1904 +45880,2443 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Macro", + "Namespace", + "Type" ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02258623205125332 - }, - "else": { - "operation": "boost", - "score": 0.05054144188761711 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04669145494699478 - }, - "else": { - "operation": "boost", - "score": 0.023681912571191788 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.06296804547309875 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10768653452396393 - }, - "else": { - "operation": "boost", - "score": 0.06067918986082077 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, - "then": { - "operation": "boost", - "score": 0.0419827401638031 - }, - "else": { - "operation": "boost", - "score": 0.026576578617095947 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "boost", + "score": -0.09211175888776779 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "boost", - "score": 0.044636070728302 + "score": 0.08812910318374634 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07717162370681763 - }, - "else": { - "operation": "boost", - "score": 0.13884690403938293 - } - }, - "else": { - "operation": "boost", - "score": 0.015900282189249992 - } + "operation": "boost", + "score": -0.10052908957004547 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.053098831325769424 - }, - "else": { - "operation": "boost", - "score": -0.39387333393096924 - } - }, - "else": { - "operation": "boost", - "score": 0.017039762809872627 - } + "operation": "boost", + "score": 0.02055121399462223 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07115285843610764 + "score": 0.06277299672365189 }, "else": { "operation": "boost", - "score": -0.025951936841011047 + "score": 0.025251390412449837 } } } } - }, - "else": { - "operation": "boost", - "score": -0.02070821262896061 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 40.5, "then": { - "operation": "boost", - "score": 0.10924109816551208 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11159.0, + "then": { + "operation": "boost", + "score": 0.1063934788107872 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.020006824284791946 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.019728241488337517 + }, + "else": { + "operation": "boost", + "score": 0.05138380080461502 + } + } + } }, "else": { - "operation": "boost", - "score": -0.022371206432580948 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06884945183992386 + }, + "else": { + "operation": "boost", + "score": 0.014607377350330353 + } + }, + "else": { + "operation": "boost", + "score": -0.005967851262539625 + } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_Namespace" + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 71954.5, + "threshold": 6221.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 234850.0, + "threshold": 6404.5, "then": { "operation": "boost", - "score": 0.002292314311489463 + "score": 0.06142183765769005 }, "else": { "operation": "boost", - "score": 0.1035095751285553 + "score": 0.1323920339345932 } }, "else": { "operation": "boost", - "score": 0.055153727531433105 + "score": 0.0262871365994215 } }, "else": { "operation": "boost", - "score": 0.004589468240737915 + "score": -0.002793812658637762 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10989479720592499 - }, - "else": { - "operation": "boost", - "score": -0.014226372353732586 - } + "operation": "boost", + "score": -0.007574731949716806 }, "else": { "operation": "boost", - "score": -0.04038208723068237 + "score": -0.025433171540498734 } } } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07183859497308731 + }, + "else": { + "operation": "boost", + "score": 0.05507612228393555 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 784.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07035399228334427 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08442248404026031 + }, + "else": { + "operation": "boost", + "score": 0.051524706184864044 + } + }, + "else": { + "operation": "boost", + "score": 0.02454250305891037 + } + }, + "else": { + "operation": "boost", + "score": 0.022834522649645805 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08949611335992813 + "score": 0.07501328736543655 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10326489806175232 - }, - "else": { - "operation": "boost", - "score": 0.06937918812036514 - } + "operation": "boost", + "score": 0.04596750810742378 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, + "operation": "boost", + "score": 0.059937722980976105 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 635.0, - "then": { - "operation": "boost", - "score": 0.09021064639091492 - }, - "else": { - "operation": "boost", - "score": 0.12839500606060028 - } + "operation": "boost", + "score": 0.11450212448835373 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10886535048484802 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, - "then": { - "operation": "boost", - "score": 0.08502946048974991 - }, - "else": { - "operation": "boost", - "score": 0.1255449652671814 - } - } + "operation": "boost", + "score": 0.05384417995810509 }, "else": { "operation": "boost", - "score": 0.08041789382696152 + "score": -0.0338645875453949 } } - }, - "else": { - "operation": "boost", - "score": 0.06748189777135849 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { - "operation": "boost", - "score": 0.07170293480157852 - }, - "else": { - "operation": "boost", - "score": 0.05484051629900932 - } + "operation": "boost", + "score": 0.05044933408498764 } } }, "else": { - "operation": "boost", - "score": 0.024991707876324654 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.343137264251709, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08735395967960358 - }, - "else": { - "operation": "boost", - "score": 0.103019118309021 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.028297681361436844 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09020677208900452 - }, - "else": { - "operation": "boost", - "score": 0.08042588829994202 - } - } - } + "operation": "boost", + "score": 0.03075670450925827 }, "else": { "operation": "boost", - "score": 0.025621503591537476 + "score": 0.0054922266863286495 } }, "else": { "operation": "boost", - "score": 0.013220855966210365 + "score": -0.14348652958869934 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.021281683817505836 - }, - "else": { - "operation": "boost", - "score": -0.05003969371318817 - } - } - }, - "else": { - "operation": "boost", - "score": -0.07967056334018707 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.062465403228998184 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.059132251888513565 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.12063798308372498 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.09859828650951385 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07333295792341232 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.048015691339969635 + }, + "else": { + "operation": "boost", + "score": 0.01788417063653469 + } + }, + "else": { + "operation": "boost", + "score": 0.07011142373085022 + } + }, + "else": { + "operation": "boost", + "score": -0.020066142082214355 + } + } }, "else": { - "operation": "boost", - "score": 0.12325309216976166 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.0478428453207016 + }, + "else": { + "operation": "boost", + "score": 0.03178567439317703 + } + }, + "else": { + "operation": "boost", + "score": 0.024302620440721512 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1138947606086731 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08495151996612549 + "score": 0.06493972986936569 }, "else": { "operation": "boost", - "score": 0.12731562554836273 + "score": 0.0451677180826664 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.010504615493118763 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33.5, "then": { "operation": "boost", - "score": 0.03877243772149086 + "score": 0.05151539668440819 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Macro", + "Namespace", + "Variable" ], "then": { - "operation": "boost", - "score": 0.10622769594192505 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.03730694204568863 + }, + "else": { + "operation": "boost", + "score": 0.009535695426166058 + } }, "else": { "operation": "boost", - "score": 0.12177029997110367 + "score": 0.017872275784611702 } } } } - }, - "else": { - "operation": "boost", - "score": 0.06405410170555115 } }, "else": { + "operation": "boost", + "score": -0.0191775131970644 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol" + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" ], "then": { + "operation": "boost", + "score": 0.05600574612617493 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.040864668786525726 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.0022695926018059254 + }, + "else": { + "operation": "boost", + "score": 0.04763873666524887 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { + "operation": "boost", + "score": 0.03810277581214905 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0820629894733429 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05314528942108154 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { + "operation": "boost", + "score": -0.06427007913589478 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.11276564002037048 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.1297113448381424 + }, + "else": { + "operation": "boost", + "score": 0.06166255101561546 + } }, "else": { "operation": "boost", - "score": 0.0834641084074974 + "score": -0.01975932903587818 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04654564708471298 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.11282998323440552 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03878169134259224 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0732477605342865 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07971078157424927 + }, + "else": { + "operation": "boost", + "score": 0.06983990222215652 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.03564215078949928 + }, + "else": { + "operation": "boost", + "score": 0.07171369343996048 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07714113593101501 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0008328019175678492 + } }, "else": { "operation": "boost", - "score": 0.09345024079084396 + "score": -0.003240457270294428 } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05445679649710655 }, "else": { "operation": "boost", - "score": 0.02390773594379425 + "score": 0.03916846215724945 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10234981030225754 + }, + "else": { + "operation": "boost", + "score": 0.027314554899930954 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.013200398534536362 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05461912229657173 + }, + "else": { + "operation": "boost", + "score": 0.01810513436794281 + } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.14899028837680817 + "score": -0.024786505848169327 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.10279801487922668 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.04688533768057823 + }, + "else": { + "operation": "boost", + "score": 0.020267551764845848 + } }, "else": { "operation": "boost", - "score": 0.10181516408920288 + "score": 0.01928507536649704 } } } }, "else": { "operation": "boost", - "score": 0.018944764509797096 + "score": -0.028339318931102753 } }, - "else": { - "operation": "boost", - "score": 0.05254330486059189 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0679435282945633 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0043646227568387985 + "score": -0.08199869096279144 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { + "operation": "boost", + "score": 0.07703462243080139 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05899734050035477 + "score": -0.08490685373544693 }, "else": { + "operation": "boost", + "score": 0.008275886997580528 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 26.5, "then": { "operation": "boost", - "score": 0.1059868186712265 + "score": 0.04265758395195007 }, "else": { "operation": "boost", - "score": 0.09648221731185913 + "score": -0.005879647098481655 } - } - }, - "else": { - "operation": "boost", - "score": 0.03635455295443535 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0350465327501297 - }, - "else": { - "operation": "boost", - "score": 0.09551220387220383 - } + "operation": "boost", + "score": -0.10949891060590744 }, "else": { "operation": "boost", - "score": -0.040462691336870193 + "score": -0.17409683763980865 } - }, - "else": { - "operation": "boost", - "score": 0.04109753295779228 } - }, - "else": { - "operation": "boost", - "score": 0.015923582017421722 } } } } } } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12855.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.06702791899442673 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.06597568094730377 }, "else": { - "operation": "boost", - "score": -0.010517753660678864 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.04695973917841911 + }, + "else": { + "operation": "boost", + "score": 3.11071053147316e-05 + } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.08100694417953491 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.07812011241912842 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.012387664057314396 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0504574216902256 + }, + "else": { + "operation": "boost", + "score": -0.11253321915864944 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], "then": { "operation": "boost", - "score": 0.09028028696775436 + "score": 0.06519461423158646 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 15358.5, "then": { "operation": "boost", - "score": 0.11799056828022003 + "score": 0.015942417085170746 }, "else": { "operation": "boost", - "score": 0.11829108744859695 + "score": 0.13145677745342255 } } - }, - "else": { - "operation": "boost", - "score": -0.12355320155620575 } - }, - "else": { - "operation": "boost", - "score": 0.09672114253044128 } - }, - "else": { - "operation": "boost", - "score": -0.03362270072102547 } - }, - "else": { - "operation": "boost", - "score": -0.06601682305335999 } } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08429668843746185 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07914861291646957 - }, - "else": { - "operation": "boost", - "score": 0.06086074560880661 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.036481063812971115 }, "else": { - "operation": "boost", - "score": 0.01733136922121048 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04567473381757736 + "score": -0.07968942075967789 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08155130594968796 + "score": -0.10219266265630722 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06323973834514618 + "score": -0.09925343841314316 }, "else": { "operation": "boost", - "score": 0.12196191400289536 + "score": 0.014405899681150913 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.08485789597034454 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 819.5, + "then": { + "operation": "boost", + "score": -0.012227202765643597 + }, + "else": { + "operation": "boost", + "score": -0.0897437110543251 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 165.0, - "then": { - "operation": "boost", - "score": 0.0897487998008728 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89.5, - "then": { - "operation": "boost", - "score": 0.12389625608921051 - }, - "else": { - "operation": "boost", - "score": 0.11673220992088318 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.10983006656169891 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, - "then": { - "operation": "boost", - "score": 0.08588235825300217 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.12461581826210022 - }, - "else": { - "operation": "boost", - "score": 0.12415345758199692 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11126900464296341 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.12466146051883698 - }, - "else": { - "operation": "boost", - "score": 0.09088750183582306 - } - }, - "else": { - "operation": "boost", - "score": 0.11369062215089798 - } - } - } - } + "operation": "boost", + "score": 0.07585887610912323 }, "else": { "operation": "boost", - "score": 0.07281500846147537 + "score": -0.0006392320501618087 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.10807675868272781 - }, - "else": { - "operation": "boost", - "score": 0.020977847278118134 - } + "operation": "boost", + "score": -0.06181420758366585 } } }, "else": { - "operation": "boost", - "score": 0.03288095444440842 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11667662858963013 + }, + "else": { + "operation": "boost", + "score": -0.01818476989865303 + } + }, + "else": { + "operation": "boost", + "score": -0.09097080677747726 + } } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Macro", + "Namespace", + "Type" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "boost", - "score": 0.10201740264892578 + "score": 0.08224193006753922 }, "else": { - "operation": "boost", - "score": 0.05125374719500542 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.012016556225717068 + "score": -0.09039565175771713 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10100885480642319 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.1321599930524826 + "score": 0.026506666094064713 }, "else": { "operation": "boost", - "score": -0.7789092063903809 + "score": 0.016295718029141426 } - }, - "else": { - "operation": "boost", - "score": 0.010042008943855762 } } - }, - "else": { - "operation": "boost", - "score": -0.020522328093647957 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.01785593293607235 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.07125753909349442 - }, - "else": { - "operation": "boost", - "score": 0.06964738667011261 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.05813870579004288 - }, - "else": { - "operation": "boost", - "score": 0.09586063027381897 - } - }, - "else": { - "operation": "boost", - "score": 0.02480582892894745 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010561195202171803 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11159.0, "then": { "operation": "boost", - "score": 0.07099172472953796 + "score": 0.1046493649482727 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23.5, "then": { - "operation": "boost", - "score": 0.063189797103405 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02018129825592041 + }, + "else": { + "operation": "boost", + "score": 0.02547796443104744 + } }, "else": { - "operation": "boost", - "score": 0.11850982159376144 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11056502908468246 + }, + "else": { + "operation": "boost", + "score": 0.009805376641452312 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05465606227517128 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.015089817345142365 + }, + "else": { + "operation": "boost", + "score": -0.01202970091253519 + } + } + } } } } }, "else": { - "operation": "boost", - "score": 0.06373048573732376 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6221.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 234850.0, + "threshold": 6404.5, "then": { "operation": "boost", - "score": 0.04996678978204727 + "score": 0.062478289008140564 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, - "then": { - "operation": "boost", - "score": 0.10641394555568695 - }, - "else": { - "operation": "boost", - "score": 0.08097843825817108 - } + "operation": "boost", + "score": 0.13143736124038696 } }, "else": { - "operation": "boost", - "score": 0.0154801644384861 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.02432139962911606 + }, + "else": { + "operation": "boost", + "score": -0.002155431779101491 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.0, + "operation": "boost", + "score": 0.04124071076512337 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10530773550271988 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.0813506543636322 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08141831308603287 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10127801448106766 - }, - "else": { - "operation": "boost", - "score": 0.10029390454292297 - } - } - } - } + "operation": "boost", + "score": 0.03165026754140854 + }, + "else": { + "operation": "boost", + "score": -0.008677436038851738 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.07785079628229141 + }, + "else": { + "operation": "boost", + "score": 2.6864781830227003e-06 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0912558063864708 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03634306415915489 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11195779591798782 }, "else": { "operation": "boost", - "score": 0.00435137702152133 + "score": 0.0579693429172039 } }, "else": { + "operation": "boost", + "score": 0.03595619648694992 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.010576254688203335 + "score": -0.04758225008845329 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1266942322254181 + "score": -0.15612958371639252 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.07687459886074066 - }, - "else": { - "operation": "boost", - "score": 0.10164794325828552 - } - }, - "else": { - "operation": "boost", - "score": 0.016714204102754593 - } + "operation": "boost", + "score": 0.005826680455356836 } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.04076904430985451 + }, + "else": { + "operation": "boost", + "score": -0.12175574153661728 + } + } + } + } + } + } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06974685937166214 + }, + "else": { + "operation": "boost", + "score": 0.052966732531785965 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 784.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06867145001888275 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08214148879051208 + }, + "else": { + "operation": "boost", + "score": 0.04909480735659599 + } + }, + "else": { + "operation": "boost", + "score": 0.023309938609600067 + } + }, + "else": { + "operation": "boost", + "score": 0.021434186026453972 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07494264096021652 + }, + "else": { + "operation": "boost", + "score": 0.04272296652197838 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.057586535811424255 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10931283235549927 + }, + "else": { + "operation": "boost", + "score": -0.0016680924454703927 } + } + }, + "else": { + "operation": "boost", + "score": 0.048850830644369125 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.343137264251709, + "then": { + "operation": "boost", + "score": 0.030063925310969353 }, "else": { "operation": "boost", - "score": 0.02860788255929947 + "score": 0.005672418978065252 } }, "else": { + "operation": "boost", + "score": -0.14042073488235474 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.057809196412563324 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 26.5, "then": { "operation": "boost", - "score": 0.08582920581102371 + "score": 0.068732351064682 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.10752209275960922 + "score": 0.07730386406183243 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.1634504348039627 - }, - "else": { - "operation": "boost", - "score": -0.10561879724264145 - } - }, - "else": { - "operation": "boost", - "score": 0.14768993854522705 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "boost", - "score": 0.13469839096069336 - }, - "else": { - "operation": "boost", - "score": 0.11087449640035629 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08624933660030365 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "boost", - "score": 0.13154517114162445 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "boost", - "score": 0.15667930245399475 - }, - "else": { - "operation": "boost", - "score": -0.10220228880643845 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10875468701124191 - } - } + "operation": "boost", + "score": 0.030580587685108185 } } }, + "else": { + "operation": "boost", + "score": 0.04616950824856758 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04044632986187935 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.00037876988062635064 + "score": 0.05278582498431206 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.05714264512062073 - }, - "else": { - "operation": "boost", - "score": 0.09289062023162842 - } + "operation": "boost", + "score": 0.06612809747457504 }, "else": { "operation": "boost", - "score": 0.04169207066297531 + "score": 0.024412008002400398 } } } }, "else": { - "operation": "boost", - "score": -0.0005444589769467711 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.06709031760692596 + }, + "else": { + "operation": "boost", + "score": 0.017811404541134834 + } + }, + "else": { + "operation": "boost", + "score": 0.011836130172014236 + } } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.015002305619418621 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.05393816903233528 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.039024803787469864 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "operation": "boost", + "score": 0.01002114824950695 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.05522102117538452 + }, + "else": { + "operation": "boost", + "score": -0.008243480697274208 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.09473935514688492 + "score": 0.05737049877643585 }, "else": { + "operation": "boost", + "score": -0.4506841003894806 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08270088583230972 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Type" + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08448418974876404 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06022940203547478 + "score": -0.007254859898239374 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { + "operation": "boost", + "score": 0.07930006831884384 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.11399397253990173 + "score": -0.03201868757605553 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.12259134650230408 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11919760704040527 - }, - "else": { - "operation": "boost", - "score": 0.10447847098112106 - } - } + "operation": "boost", + "score": 0.071070596575737 } - }, - "else": { - "operation": "boost", - "score": 0.09783713519573212 } } }, "else": { "operation": "boost", - "score": 0.10992804914712906 + "score": 0.008831041865050793 } - }, - "else": { - "operation": "boost", - "score": 0.10147086530923843 } }, "else": { "operation": "boost", - "score": 0.08747126907110214 + "score": -0.0752284973859787 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.012304096482694149 }, "else": { "operation": "boost", - "score": 0.06257568299770355 + "score": -0.013202021829783916 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.23920340836048126 }, "else": { "operation": "boost", - "score": 0.05073300004005432 + "score": 0.020078329369425774 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.07888197153806686 + "score": -0.02159486711025238 }, "else": { + "operation": "boost", + "score": -0.0444624163210392 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.03983599692583084 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_UnionTag" + "Variable" ], "then": { + "operation": "boost", + "score": 0.05510292574763298 + }, + "else": { + "operation": "boost", + "score": 0.020696556195616722 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00839778408408165 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09655164927244186 - }, - "else": { - "operation": "boost", - "score": 0.06595302373170853 - } + "operation": "boost", + "score": -0.018794404342770576 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.06286760419607162 + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.04899481311440468 + }, + "else": { + "operation": "boost", + "score": 0.022466203197836876 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { "operation": "boost", - "score": 0.1061035767197609 + "score": 0.03983793035149574 }, "else": { "operation": "boost", - "score": 0.0985163152217865 + "score": 0.017896903678774834 } } } - }, - "else": { - "operation": "boost", - "score": 0.016516538336873055 } + } + }, + "else": { + "operation": "boost", + "score": -0.028236130252480507 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0794069841504097 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.07792055606842041 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06348416209220886 + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0789208710193634 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.011085662059485912 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09949857741594315 + }, + "else": { + "operation": "boost", + "score": -0.11642000079154968 + } + } + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.045305147767066956 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 33.0, + "then": { + "operation": "boost", + "score": 0.046160101890563965 + }, + "else": { + "operation": "boost", + "score": -0.007594272959977388 + } }, "else": { - "operation": "boost", - "score": -0.03888826072216034 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.10577019304037094 + }, + "else": { + "operation": "boost", + "score": -0.18208061158657074 + } } } } @@ -49270,94 +48324,214 @@ } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.06720864027738571 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 266152.5, "then": { - "operation": "boost", - "score": -0.12866993248462677 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 272339.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": -0.012238109484314919 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.039009444415569305 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.10509346425533295 + }, + "else": { + "operation": "boost", + "score": 0.0723169595003128 + } }, "else": { "operation": "boost", - "score": 0.07621905952692032 + "score": -0.14888006448745728 } - }, - "else": { - "operation": "boost", - "score": 0.04661652445793152 } + }, + "else": { + "operation": "boost", + "score": -0.1549025923013687 } }, "else": { "operation": "boost", - "score": -0.007914107292890549 + "score": 0.05622943118214607 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205835.5, "then": { + "operation": "boost", + "score": 0.07414313405752182 + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11539303511381149 + }, + "else": { + "operation": "boost", + "score": 0.07198544591665268 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07635243982076645 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09439411759376526 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08287939429283142 + }, + "else": { + "operation": "boost", + "score": 0.013408105820417404 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.026277726516127586 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2908.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06271465867757797 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015704365447163582 + }, + "else": { + "operation": "boost", + "score": 0.04286125302314758 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "Function", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", @@ -49366,204 +48540,466 @@ ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03855506330728531 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04609984904527664 + }, + "else": { + "operation": "boost", + "score": -0.02947591245174408 + } }, "else": { "operation": "boost", - "score": 0.0932735875248909 + "score": 0.05009978264570236 } }, "else": { - "operation": "boost", - "score": 0.05232878774404526 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.03628191351890564 + }, + "else": { + "operation": "boost", + "score": 0.0028617980424314737 + } } }, "else": { - "operation": "boost", - "score": 0.021480940282344818 - } - }, - "else": { - "operation": "boost", - "score": -0.11059661954641342 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.09762012958526611 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.025236565619707108 + "score": 0.08829309791326523 }, "else": { "operation": "boost", - "score": 0.08781342953443527 + "score": 0.020191194489598274 } }, "else": { + "operation": "boost", + "score": -0.08001022040843964 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07128223031759262 + "score": 0.07092997431755066 }, "else": { - "operation": "boost", - "score": 0.12723644077777863 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04985922574996948 + }, + "else": { + "operation": "boost", + "score": -0.006056469865143299 + } + } + }, + "else": { + "operation": "boost", + "score": -0.022209366783499718 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0848858654499054 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.058596547693014145 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04297884181141853 + }, + "else": { + "operation": "boost", + "score": -0.09493313729763031 + } + } + }, + "else": { + "operation": "boost", + "score": 0.001589955179952085 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06210104003548622 + }, + "else": { + "operation": "boost", + "score": 0.02348346635699272 + } + }, + "else": { + "operation": "boost", + "score": 0.0047701275907456875 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.08816750347614288 + }, + "else": { + "operation": "boost", + "score": 0.028556067496538162 + } + }, + "else": { + "operation": "boost", + "score": 0.018174001947045326 + } } }, "else": { "operation": "boost", - "score": 0.11738161742687225 + "score": -0.026268677785992622 } } - }, - "else": { - "operation": "boost", - "score": 0.0766591727733612 } - }, - "else": { - "operation": "boost", - "score": 0.0026602400466799736 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.053083062171936035 - }, - "else": { - "operation": "boost", - "score": 0.03454923629760742 } } }, + "else": { + "operation": "boost", + "score": -0.09050822257995605 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05143105983734131 + }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46368.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1515534222126007 + "score": -0.0811101421713829 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.09270016103982925 + "score": -0.1467464566230774 }, "else": { - "operation": "boost", - "score": 0.034580428153276443 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.008437794633209705 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.11270076036453247 + }, + "else": { + "operation": "boost", + "score": -0.11897297203540802 + } + } } } }, "else": { - "operation": "boost", - "score": -0.07976806908845901 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.09269677847623825 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.04695865139365196 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0008640990126878023 + }, + "else": { + "operation": "boost", + "score": 0.061083417385816574 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0239657424390316 + }, + "else": { + "operation": "boost", + "score": -0.022495103999972343 + } + }, + "else": { + "operation": "boost", + "score": -0.057705070823431015 + } + } + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.11826348304748535 + "score": -0.10978157818317413 }, "else": { "operation": "boost", - "score": 0.11399515718221664 + "score": -0.13979223370552063 } } - }, - "else": { - "operation": "boost", - "score": 0.07891104370355606 } - }, - "else": { - "operation": "boost", - "score": 0.08478958159685135 } - }, - "else": { - "operation": "boost", - "score": -0.040542684495449066 } } - }, - "else": { - "operation": "boost", - "score": -0.055362947285175323 } } } @@ -49580,1265 +49016,1391 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08236297965049744 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07710695266723633 - }, - "else": { - "operation": "boost", - "score": 0.05882137641310692 - } - } + "operation": "boost", + "score": 0.08753515779972076 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05110973119735718 - }, - "else": { - "operation": "boost", - "score": 0.01951061747968197 - } + "operation": "boost", + "score": 0.06225614249706268 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.02396969497203827 - }, - "else": { - "operation": "boost", - "score": -0.016376707702875137 - } + "operation": "boost", + "score": 0.04381062462925911 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 784.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "boost", + "score": 0.0729842483997345 + }, + "else": { + "operation": "boost", + "score": 0.025195058435201645 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 56010.5, "then": { "operation": "boost", - "score": 0.047917064279317856 + "score": 0.08506985008716583 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.06272494047880173 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.11278136074542999 - }, - "else": { - "operation": "boost", - "score": 0.1009841337800026 - } - } - }, - "else": { - "operation": "boost", - "score": 0.022647010162472725 - } + "operation": "boost", + "score": 0.11261248588562012 } }, "else": { "operation": "boost", - "score": 0.08179254829883575 + "score": 0.04617500305175781 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Function", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0816223993897438 - }, - "else": { - "operation": "boost", - "score": -0.04802776873111725 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.061337150633335114 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07280713319778442 + }, + "else": { + "operation": "boost", + "score": 0.040795039385557175 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.03222066909074783 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.055192410945892334 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05365251004695892 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.0992833822965622 + }, + "else": { + "operation": "boost", + "score": -0.05589699745178223 + } + } + } }, "else": { "operation": "boost", - "score": 0.05059078335762024 + "score": 0.04544701427221298 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0426773838698864 - }, - "else": { - "operation": "boost", - "score": 0.019506175071001053 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.055319562554359436 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10306484252214432 - }, - "else": { - "operation": "boost", - "score": 0.05506022274494171 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0443853922188282 - }, - "else": { - "operation": "boost", - "score": 0.02573220804333687 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.03534897789359093 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0038894186727702618 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, + "then": { + "operation": "boost", + "score": 0.02977369725704193 + }, + "else": { + "operation": "boost", + "score": 0.005873534362763166 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.044511470943689346 + }, + "else": { + "operation": "boost", + "score": -0.03171607851982117 + } + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.052271559834480286 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 26.5, "then": { "operation": "boost", - "score": 0.1335352063179016 + "score": 0.06587851792573929 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "operation": "boost", + "score": 0.030898701399564743 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.06676039844751358 + }, + "else": { + "operation": "boost", + "score": 0.042269375175237656 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04043731093406677 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.05081329867243767 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.14974968135356903 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.12267275154590607 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.05506046861410141 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.001336421468295157 + }, + "else": { + "operation": "boost", + "score": 0.12572512030601501 + } + } }, "else": { "operation": "boost", - "score": 0.13749602437019348 + "score": -0.06677711755037308 } + }, + "else": { + "operation": "boost", + "score": 0.018675383180379868 } } - }, - "else": { - "operation": "boost", - "score": 0.08845709264278412 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 96.5, + "threshold": 63.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.051015160977840424 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 181.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.11004990339279175 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0016052030259743333 + }, + "else": { + "operation": "boost", + "score": 0.03190566599369049 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 127.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13232986629009247 + "score": 0.06960751861333847 }, "else": { "operation": "boost", - "score": 0.13398641347885132 + "score": 0.0028946406673640013 } } }, "else": { "operation": "boost", - "score": 0.12133914977312088 + "score": 0.009634477086365223 } - }, - "else": { - "operation": "boost", - "score": 0.10427872836589813 } } - }, - "else": { - "operation": "boost", - "score": 0.08043646067380905 } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.012929604388773441 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "boost", + "score": 0.051149580627679825 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.03707905486226082 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.08492900431156158 + "score": -0.002906846348196268 }, "else": { "operation": "boost", - "score": 0.06904544681310654 + "score": 0.0443236269056797 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08315654844045639 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.05159249156713486 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_ArrowMemberAccess", + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 160.0, - "then": { - "operation": "boost", - "score": 0.06939229369163513 - }, - "else": { - "operation": "boost", - "score": 0.11746593564748764 - } - }, - "else": { - "operation": "boost", - "score": 0.06802689284086227 - } + "operation": "boost", + "score": 0.028132285922765732 }, "else": { "operation": "boost", - "score": 0.0375654436647892 + "score": 0.015111400745809078 } - }, - "else": { - "operation": "boost", - "score": 0.050833795219659805 } } }, "else": { - "operation": "boost", - "score": 0.01971074938774109 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", + "CCC_Other", "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.0013434316497296095 + "score": -0.015405667014420033 }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.07410223037004471 + }, + "else": { + "operation": "boost", + "score": 0.013739049434661865 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11612223833799362 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", + "Function", + "Macro", + "Namespace", "Type", - "Namespace" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.020922062918543816 + "score": -0.056444983929395676 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08400663733482361 + "score": -0.07837304472923279 }, "else": { - "operation": "boost", - "score": 0.0690985843539238 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Type", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.05288035050034523 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.06689178198575974 - }, - "else": { - "operation": "boost", - "score": 0.13411453366279602 - } + "operation": "boost", + "score": 0.05572423338890076 + }, + "else": { + "operation": "boost", + "score": 0.02657010778784752 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.01123654842376709 }, "else": { "operation": "boost", - "score": 0.05547713115811348 + "score": 0.031088268384337425 } }, "else": { "operation": "boost", - "score": 0.08157581090927124 + "score": -0.02096167951822281 } - }, - "else": { - "operation": "boost", - "score": -0.0605170838534832 } - }, - "else": { - "operation": "boost", - "score": 0.019248899072408676 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08518067747354507 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "boost", + "score": -0.12337859719991684 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05011334642767906 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07481469959020615 + }, + "else": { + "operation": "boost", + "score": 0.01372556947171688 + } + }, + "else": { + "operation": "boost", + "score": -0.07754314690828323 + } }, "else": { - "operation": "boost", - "score": 0.03394468128681183 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02081962861120701 + }, + "else": { + "operation": "boost", + "score": 0.012877125293016434 + } } - }, - "else": { - "operation": "boost", - "score": 0.028086410835385323 } } } }, "else": { "operation": "boost", - "score": 0.014418356120586395 + "score": -0.07154319435358047 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.046308208256959915 + }, + "else": { + "operation": "boost", + "score": -0.016206473112106323 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "boost", + "score": 0.049158502370119095 + }, + "else": { + "operation": "boost", + "score": 0.006289051845669746 + } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.09089940041303635 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08426450937986374 + }, + "else": { + "operation": "boost", + "score": -0.023274756968021393 + } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.07273266464471817 + "score": 0.046497661620378494 }, "else": { "operation": "boost", - "score": 0.010779477655887604 + "score": 0.02520519308745861 } } } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11575.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.06253102421760559 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0632399320602417 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04005962237715721 }, "else": { "operation": "boost", - "score": -0.01882772147655487 + "score": -0.0012069129152223468 } - }, - "else": { - "operation": "boost", - "score": -0.07779011875391006 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0782558023929596 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.07470240443944931 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.09359447658061981 + "score": 0.014322961680591106 }, "else": { "operation": "boost", - "score": -0.013935007154941559 + "score": 0.043832309544086456 } - }, - "else": { - "operation": "boost", - "score": 0.020407017320394516 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12924.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "boost", + "score": -0.15291865170001984 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "boost", - "score": 0.07722152024507523 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18268.0, - "then": { - "operation": "boost", - "score": 0.11461499333381653 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.1099347174167633 - }, - "else": { - "operation": "boost", - "score": 0.11582332104444504 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10181187093257904 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07890859991312027 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13589.0, - "then": { - "operation": "boost", - "score": 0.022844398394227028 - }, - "else": { - "operation": "boost", - "score": 0.12955045700073242 - } - } + "operation": "boost", + "score": 0.033993568271398544 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { - "operation": "boost", - "score": 0.09200522303581238 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13495.0, - "then": { - "operation": "boost", - "score": 0.061402346938848495 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06004536896944046 - }, - "else": { - "operation": "boost", - "score": 0.11762914061546326 - } - }, - "else": { - "operation": "boost", - "score": 0.11162766814231873 - } - } + "operation": "boost", + "score": -0.04214123263955116 }, "else": { "operation": "boost", - "score": 0.03819461166858673 + "score": 0.0378069244325161 } + }, + "else": { + "operation": "boost", + "score": -0.04774480313062668 } } - }, - "else": { - "operation": "boost", - "score": 0.12686580419540405 } }, "else": { "operation": "boost", - "score": -0.003956094849854708 + "score": -0.023410527035593987 } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11146949231624603 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": -0.057734835892915726 + }, + "else": { + "operation": "boost", + "score": -0.11212589591741562 + } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03085201047360897 + }, + "else": { + "operation": "boost", + "score": -0.016998395323753357 + } + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_SymbolOrNewName", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01524604856967926 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.018863162025809288 - }, - "else": { - "operation": "boost", - "score": 0.11197694391012192 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.031107665970921516 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.054471299052238464 - }, - "else": { - "operation": "boost", - "score": 0.01639508828520775 - } - } - } + "operation": "boost", + "score": 0.047878507524728775 }, "else": { "operation": "boost", - "score": 0.008397926576435566 + "score": 0.008847581222653389 } - }, - "else": { - "operation": "boost", - "score": -0.055073466151952744 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type", - "Namespace" + "Variable" ], "then": { - "operation": "boost", - "score": 0.06722072511911392 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04307309538125992 + }, + "else": { + "operation": "boost", + "score": -0.027877984568476677 + } + }, + "else": { + "operation": "boost", + "score": 0.04714515432715416 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6799.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.06717132776975632 + "score": 0.03434176370501518 }, "else": { - "operation": "boost", - "score": -0.0031901304610073566 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.047986168414354324 + }, + "else": { + "operation": "boost", + "score": -0.008571881800889969 + } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 124.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression" - ], + "operation": "boost", + "score": 0.038215138018131256 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.5, + "operation": "boost", + "score": -0.09554161876440048 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.08710569143295288 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.07740701735019684 + }, + "else": { + "operation": "boost", + "score": 0.01961001753807068 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06481462717056274 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.014264368452131748 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04627405107021332 + "score": -0.08436673134565353 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.14421340823173523 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.052630916237831116 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03957536444067955 + }, + "else": { + "operation": "boost", + "score": -0.09560805559158325 + } + } }, "else": { "operation": "boost", - "score": 0.11461898684501648 + "score": 0.0022975034080445766 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 173.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 182.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.1075480505824089 + "score": 0.0596640408039093 }, "else": { "operation": "boost", - "score": 0.1235751062631607 + "score": 0.015557238832116127 } }, "else": { "operation": "boost", - "score": 0.08043712377548218 + "score": -0.0003435408289078623 } }, "else": { - "operation": "boost", - "score": 0.10408973693847656 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.04978173226118088 + }, + "else": { + "operation": "boost", + "score": 0.01378543395549059 + } } } } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.5, - "then": { - "operation": "boost", - "score": 0.1365249902009964 - }, - "else": { - "operation": "boost", - "score": 0.10764119774103165 - } - }, - "else": { - "operation": "boost", - "score": 0.11496216803789139 - } } - }, - "else": { - "operation": "boost", - "score": 0.09656066447496414 } - }, - "else": { - "operation": "boost", - "score": 0.08599235862493515 } - }, - "else": { - "operation": "boost", - "score": 0.08085227012634277 } } }, "else": { + "operation": "boost", + "score": -0.08887531608343124 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "boost", - "score": 0.03902535140514374 - }, - "else": { - "operation": "boost", - "score": 0.09361903369426727 - } + "operation": "boost", + "score": 0.012616646476089954 }, "else": { "operation": "boost", - "score": 0.0229460671544075 + "score": 0.06714434921741486 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.005086731631308794 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Constructor", + "Destructor", + "Function", + "Macro", + "Type" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Type" + "FileScope", + "FunctionScope" ], "then": { + "operation": "boost", + "score": 0.06486214697360992 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08454163372516632 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.009746836498379707 + "score": -0.13595302402973175 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.14121858775615692 + "score": -0.04320479556918144 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10026425123214722 - }, - "else": { - "operation": "boost", - "score": 0.09847233444452286 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.013545054942369461 - } - }, - "else": { - "operation": "boost", - "score": -0.061688825488090515 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.10615316778421402 + "score": 0.004888914525508881 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11456659436225891 + "score": 0.02767273783683777 }, "else": { "operation": "boost", - "score": 0.13871021568775177 + "score": -0.01916283182799816 } } - }, - "else": { - "operation": "boost", - "score": 0.2047569751739502 - } - }, - "else": { - "operation": "boost", - "score": 0.017934339120984077 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03645526245236397 - }, - "else": { - "operation": "boost", - "score": 0.07771693170070648 } - }, - "else": { - "operation": "boost", - "score": -0.06467871367931366 } } - }, - "else": { - "operation": "boost", - "score": -0.05039064958691597 } + }, + "else": { + "operation": "boost", + "score": -0.04010966420173645 } } } @@ -50858,737 +50420,860 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08068624883890152 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07453007996082306 - }, - "else": { - "operation": "boost", - "score": 0.0568239800632 - } - } + "operation": "boost", + "score": 0.08580446243286133 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.049050893634557724 - }, - "else": { - "operation": "boost", - "score": 0.01844082400202751 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05233573541045189 - }, - "else": { - "operation": "boost", - "score": 0.010034585371613503 - } - } + "operation": "boost", + "score": 0.05338817834854126 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 49.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "boost", + "score": 0.09786312282085419 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08259481191635132 + "score": 0.06363706290721893 }, "else": { "operation": "boost", - "score": 0.0019141919910907745 + "score": 0.04226282611489296 } - }, - "else": { - "operation": "boost", - "score": 0.026993820443749428 } }, "else": { "operation": "boost", - "score": 0.030849061906337738 + "score": 0.07266838103532791 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Function", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "operation": "boost", + "score": -0.06875789910554886 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.09806692600250244 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, + "operation": "boost", + "score": 0.073092982172966 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.08576983213424683 + "score": 0.0690142959356308 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.10609473288059235 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, - "then": { - "operation": "boost", - "score": 0.12362509220838547 - }, - "else": { - "operation": "boost", - "score": 0.1112934798002243 - } - } + "operation": "boost", + "score": 0.03264966234564781 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.0, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { "operation": "boost", - "score": 0.1207704246044159 + "score": 0.10538676381111145 }, "else": { "operation": "boost", - "score": 0.11646093428134918 + "score": -0.0015060023870319128 } + }, + "else": { + "operation": "boost", + "score": -0.20576806366443634 } }, "else": { - "operation": "boost", - "score": 0.10621506720781326 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.061675213277339935 + }, + "else": { + "operation": "boost", + "score": 0.029912736266851425 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.6174516081809998 }, "else": { "operation": "boost", - "score": 0.09113828837871552 + "score": 0.04048306867480278 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.057034846395254135 }, "else": { - "operation": "boost", - "score": 0.1422300934791565 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04076504707336426 + }, + "else": { + "operation": "boost", + "score": -0.017078857868909836 + } + }, + "else": { + "operation": "boost", + "score": 0.012164687737822533 + } } }, "else": { - "operation": "boost", - "score": 0.11453207582235336 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.016225995495915413 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.09241504967212677 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.011363762430846691 + }, + "else": { + "operation": "boost", + "score": 0.039171572774648666 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03410341963171959 + } } - }, - "else": { - "operation": "boost", - "score": 0.041180457919836044 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.14039607346057892 + "score": 0.08181554824113846 }, "else": { - "operation": "boost", - "score": -0.16433751583099365 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08033675700426102 + }, + "else": { + "operation": "boost", + "score": 0.052517011761665344 + } + }, + "else": { + "operation": "boost", + "score": 0.012570898979902267 + } + }, + "else": { + "operation": "boost", + "score": 0.02677667886018753 + } } }, "else": { - "operation": "boost", - "score": 0.07729549705982208 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.029947523027658463 + }, + "else": { + "operation": "boost", + "score": 0.06925618648529053 + } + }, + "else": { + "operation": "boost", + "score": 0.014435481280088425 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.00023479803348891437 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.037484075874090195 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01894136518239975 + }, + "else": { + "operation": "boost", + "score": 0.02294936217367649 + } + } + } + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85788.5, - "then": { - "operation": "boost", - "score": 0.0867425724864006 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07485467940568924 - }, - "else": { - "operation": "boost", - "score": 0.03911169618368149 - } - } + "operation": "boost", + "score": -0.010508334264159203 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1510.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.06827498227357864 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 40755.0, "then": { "operation": "boost", - "score": 0.07883884757757187 + "score": 0.08420298993587494 }, "else": { "operation": "boost", - "score": 0.04237886518239975 + "score": 0.04830782115459442 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 281926.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.04234291613101959 - }, - "else": { - "operation": "boost", - "score": 0.005731320474296808 - } - }, - "else": { - "operation": "boost", - "score": -0.05168046057224274 - } + "operation": "boost", + "score": 0.0676976665854454 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.06985544413328171 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.045040279626846313 - }, - "else": { - "operation": "boost", - "score": 0.08089587092399597 - } - } + "operation": "boost", + "score": 0.018091129139065742 } - }, - "else": { - "operation": "boost", - "score": 0.02260560169816017 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.008206715807318687 + "score": 0.048216186463832855 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.06464086472988129 + "score": 0.03686661273241043 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0569327287375927 - }, - "else": { - "operation": "boost", - "score": 0.10469035804271698 - } + "operation": "boost", + "score": 0.010132981464266777 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.053725000470876694 + "score": 0.04072977975010872 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.09633435308933258 + "score": 0.05428774654865265 }, "else": { + "operation": "boost", + "score": -0.44007933139801025 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.10497210174798965 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224557.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.11126118898391724 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": 0.1174023225903511 + "score": 0.07246478646993637 }, "else": { - "operation": "boost", - "score": 0.057846713811159134 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11867154389619827 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13168084621429443 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02585485950112343 + }, + "else": { + "operation": "boost", + "score": 0.0674615278840065 + } + }, + "else": { + "operation": "boost", + "score": 0.0403033122420311 + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.0008886450086720288 } + }, + "else": { + "operation": "boost", + "score": 0.004527022130787373 } + }, + "else": { + "operation": "boost", + "score": -0.0062955026514828205 } - }, - "else": { - "operation": "boost", - "score": 0.0791022777557373 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.2599371075630188 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03264615684747696 + "score": -0.21697553992271423 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129672.5, - "then": { - "operation": "boost", - "score": 0.05603684484958649 - }, - "else": { - "operation": "boost", - "score": 0.0371662937104702 - } + "operation": "boost", + "score": 0.01720242388546467 } + }, + "else": { + "operation": "boost", + "score": -0.02341323532164097 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "Type", + "Variable" ], "then": { - "operation": "boost", - "score": 0.011549596674740314 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, "then": { "operation": "boost", - "score": 0.09534724801778793 + "score": 0.053811706602573395 }, "else": { "operation": "boost", - "score": -0.058478306978940964 + "score": 0.0304782222956419 } + }, + "else": { + "operation": "boost", + "score": 0.024195579811930656 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.04007861018180847 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05264142155647278 + }, + "else": { + "operation": "boost", + "score": 0.019525792449712753 + } + }, + "else": { + "operation": "boost", + "score": 0.016776634380221367 + } + }, + "else": { + "operation": "boost", + "score": -0.017099512740969658 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "boost", + "score": -0.07427900284528732 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.03515530005097389 + "score": 0.07173950225114822 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.00782120693475008 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "boost", - "score": 0.1035492792725563 - }, - "else": { - "operation": "boost", - "score": 0.09556038677692413 - } - }, - "else": { - "operation": "boost", - "score": 0.08729751408100128 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 33.0, "then": { - "operation": "boost", - "score": 0.06864847987890244 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08893360197544098 + "score": 0.11627006530761719 }, "else": { "operation": "boost", - "score": 0.06700816750526428 + "score": 0.03480498492717743 } + }, + "else": { + "operation": "boost", + "score": -0.0059481277130544186 } }, "else": { - "operation": "boost", - "score": 0.05436254292726517 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0795731246471405 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07202090322971344 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.1100349947810173 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.0, - "then": { - "operation": "boost", - "score": 0.09688959270715714 - }, - "else": { - "operation": "boost", - "score": -0.03275703266263008 - } - } - } - } + "operation": "boost", + "score": -0.10805050283670425 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.06791941076517105 - }, - "else": { - "operation": "boost", - "score": 0.10120075196027756 - } + "operation": "boost", + "score": -0.1712620109319687 } - }, - "else": { - "operation": "boost", - "score": 0.0076742516830563545 } - }, - "else": { - "operation": "boost", - "score": 0.03022637404501438 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.05278632417321205 - }, - "else": { - "operation": "boost", - "score": 0.0012945469934493303 } } } @@ -51596,519 +51281,566 @@ } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1824.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Function", + "Namespace", + "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, - "then": { - "operation": "boost", - "score": 0.10956333577632904 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.06756579875946045 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, - "then": { - "operation": "boost", - "score": 0.11238057911396027 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07972382009029388 - }, - "else": { - "operation": "boost", - "score": 0.11240291595458984 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.012533650733530521 - } - }, - "else": { - "operation": "boost", - "score": 0.07017646729946136 - } - }, - "else": { - "operation": "boost", - "score": 0.03230121359229088 - } + "operation": "boost", + "score": 0.06333186477422714 + }, + "else": { + "operation": "boost", + "score": 0.002971682930365205 + } + }, + "else": { + "operation": "boost", + "score": -2.9740635000052862e-05 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71954.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10293307900428772 }, "else": { "operation": "boost", - "score": 0.01833478733897209 + "score": 0.05834106355905533 } }, "else": { "operation": "boost", - "score": -0.011375101283192635 + "score": 0.0312366783618927 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "boost", + "score": 0.06259796023368835 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.036340486258268356 - }, - "else": { - "operation": "boost", - "score": 0.0899810791015625 - } - }, - "else": { - "operation": "boost", - "score": 0.04916961118578911 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.020622052252292633 - }, - "else": { - "operation": "boost", - "score": 0.059728264808654785 - } - }, - "else": { - "operation": "boost", - "score": -0.0012293658219277859 - } - } + "operation": "boost", + "score": -0.007206630427390337 }, "else": { "operation": "boost", - "score": -0.10158964991569519 + "score": 0.024120446294546127 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04103948175907135 + }, + "else": { + "operation": "boost", + "score": -0.035290297120809555 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.087277352809906 + }, + "else": { + "operation": "boost", + "score": 0.019254444167017937 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "boost", + "score": 0.01358719076961279 + }, + "else": { + "operation": "boost", + "score": -0.0021084577310830355 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Operator" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.02330300584435463 - }, - "else": { - "operation": "boost", - "score": 0.07914815843105316 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0686759352684021 - }, - "else": { - "operation": "boost", - "score": 0.12476243078708649 - } - }, - "else": { - "operation": "boost", - "score": 0.1151968315243721 - } - } + "operation": "boost", + "score": -0.08399802446365356 }, "else": { "operation": "boost", - "score": 0.07275665551424026 + "score": 0.052236296236515045 } }, "else": { - "operation": "boost", - "score": 0.003581155091524124 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.026287438347935677 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.1250440925359726 + }, + "else": { + "operation": "boost", + "score": 0.011525182984769344 + } + } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.0510648675262928 - }, - "else": { - "operation": "boost", - "score": 0.03122168779373169 - } + "operation": "boost", + "score": -0.0033951217774301767 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48040.5, + "operation": "boost", + "score": 0.03428799659013748 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.1561080366373062 + "score": 0.009144352748990059 }, "else": { "operation": "boost", - "score": 0.022299157455563545 + "score": -0.026333119720220566 } - }, - "else": { - "operation": "boost", - "score": -0.0863112136721611 } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0798916295170784 + }, + "else": { + "operation": "boost", + "score": -0.15756341814994812 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.13208414614200592 + "score": -0.06106987223029137 }, "else": { "operation": "boost", - "score": 0.11891970038414001 + "score": 0.0042633493430912495 } }, "else": { "operation": "boost", - "score": 0.07520285248756409 + "score": -0.09790179878473282 } }, "else": { - "operation": "boost", - "score": 0.030653852969408035 - } - }, - "else": { - "operation": "boost", - "score": -0.03778796270489693 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2747.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12821.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13390.5, + "operation": "boost", + "score": -0.12421020120382309 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.052073199301958084 + }, + "else": { + "operation": "boost", + "score": 0.02508951723575592 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10211734473705292 + "score": -0.06326289474964142 }, "else": { - "operation": "boost", - "score": 0.028716960921883583 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.11592214554548264 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12058460712432861 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1219191774725914 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, + "then": { + "operation": "boost", + "score": 0.0011421693488955498 + }, + "else": { + "operation": "boost", + "score": 0.0498538576066494 + } + }, + "else": { + "operation": "boost", + "score": 0.03002280183136463 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.047776635736227036 + }, + "else": { + "operation": "boost", + "score": 0.023310508579015732 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09975942969322205 + }, + "else": { + "operation": "boost", + "score": -0.03454345837235451 + } + } }, "else": { "operation": "boost", - "score": 0.11655684560537338 + "score": -0.007715218234807253 } - }, - "else": { - "operation": "boost", - "score": 0.11528899520635605 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102665.5, - "then": { - "operation": "boost", - "score": -0.08894065022468567 }, "else": { "operation": "boost", - "score": 0.0706353560090065 + "score": -0.039143435657024384 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13202.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.12809112668037415 - }, - "else": { - "operation": "boost", - "score": 0.1441175490617752 - } - }, - "else": { - "operation": "boost", - "score": 0.11964424699544907 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.1114792600274086 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.13334433734416962 - }, - "else": { - "operation": "boost", - "score": 0.12108375877141953 - } - } - } + "operation": "boost", + "score": -0.05346804857254028 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07896331697702408 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.1579907387495041 + "score": 0.04108286276459694 }, "else": { "operation": "boost", - "score": 0.03718787431716919 + "score": 0.014569074846804142 } } }, "else": { - "operation": "boost", - "score": 0.025398014113307 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "boost", + "score": 0.033996839076280594 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.011010309681296349 + }, + "else": { + "operation": "boost", + "score": -0.04501238837838173 + } + } } - }, - "else": { - "operation": "boost", - "score": -0.1420886516571045 } - }, - "else": { - "operation": "boost", - "score": -0.06253829598426819 } } } @@ -52123,1274 +51855,1412 @@ ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07921694964170456 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07239622622728348 - }, - "else": { - "operation": "boost", - "score": 0.05400834232568741 - } - } + "operation": "boost", + "score": 0.06409329175949097 }, "else": { + "operation": "boost", + "score": 0.046028994023799896 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5394.0, "then": { "operation": "boost", - "score": 0.046933047473430634 + "score": 0.09552828967571259 }, "else": { - "operation": "boost", - "score": 0.027997327968478203 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.006229615770280361 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05934561416506767 + }, + "else": { + "operation": "boost", + "score": -0.08133767545223236 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05671711266040802 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.03521772474050522 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07793349027633667 + }, + "else": { + "operation": "boost", + "score": 0.01153060607612133 + } + } + } + } }, "else": { - "operation": "boost", - "score": 0.027783963829278946 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04094022884964943 + }, + "else": { + "operation": "boost", + "score": -0.16354183852672577 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.08598984032869339 + }, + "else": { + "operation": "boost", + "score": 0.04983368143439293 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.022320736199617386 + }, + "else": { + "operation": "boost", + "score": 0.04933791235089302 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.07605192065238953 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05043608695268631 + }, + "else": { + "operation": "boost", + "score": -0.029572846367955208 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.14821581542491913 + }, + "else": { + "operation": "boost", + "score": 0.035180870443582535 + } + } + } + } } - }, - "else": { - "operation": "boost", - "score": -0.013487085700035095 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0655328556895256 - }, - "else": { - "operation": "boost", - "score": 0.017961330711841583 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.0770936906337738 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11981663852930069 + }, + "else": { + "operation": "boost", + "score": -0.026800353080034256 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 56418.0, "then": { "operation": "boost", - "score": 0.09623021632432938 + "score": 0.03627874329686165 + }, + "else": { + "operation": "boost", + "score": 0.10453484952449799 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01130911335349083 + }, + "else": { + "operation": "boost", + "score": 0.03726251423358917 + } + }, + "else": { + "operation": "boost", + "score": 0.02873181365430355 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07788771390914917 + "score": -0.07932504266500473 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.010693681426346302 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.14828461408615112 - }, - "else": { - "operation": "boost", - "score": 0.11234300583600998 - } + "operation": "boost", + "score": -0.07709122449159622 }, "else": { "operation": "boost", - "score": 0.11281589418649673 + "score": -0.00610036076977849 } - }, - "else": { - "operation": "boost", - "score": 0.11201127618551254 } } } - }, - "else": { - "operation": "boost", - "score": 0.05287448689341545 } } }, - "else": { - "operation": "boost", - "score": 0.05868304893374443 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190379.0, - "then": { - "operation": "boost", - "score": 0.09335051476955414 - }, - "else": { - "operation": "boost", - "score": 0.058741677552461624 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06493399292230606 - }, - "else": { - "operation": "boost", - "score": 0.043015025556087494 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.010223177261650562 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.06606355309486389 + "score": 0.06459841877222061 }, "else": { - "operation": "boost", - "score": 0.06750739365816116 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.031360555440187454 + }, + "else": { + "operation": "boost", + "score": 0.012603227980434895 + } } } }, "else": { "operation": "boost", - "score": 0.019558515399694443 + "score": -0.12269246578216553 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 357.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 784.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4152.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4159.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.07276088744401932 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11853.5, + "then": { + "operation": "boost", + "score": 0.08570234477519989 + }, + "else": { + "operation": "boost", + "score": 0.03752902150154114 + } }, "else": { "operation": "boost", - "score": 0.11983362585306168 + "score": 0.038043826818466187 } }, "else": { "operation": "boost", - "score": 0.06341493129730225 + "score": 0.06527573615312576 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12924.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.05487745255231857 + }, + "else": { + "operation": "boost", + "score": 0.019410761073231697 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23281.0, - "then": { - "operation": "boost", - "score": 0.06958001106977463 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18967.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19203.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.12021303921937943 - }, - "else": { - "operation": "boost", - "score": -0.10316839069128036 - } - }, - "else": { - "operation": "boost", - "score": 0.1057765930891037 - } - }, - "else": { - "operation": "boost", - "score": 0.12313918769359589 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.11987579613924026 - }, - "else": { - "operation": "boost", - "score": 0.07344038784503937 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13831.5, - "then": { - "operation": "boost", - "score": 0.03210650756955147 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.21296149492263794 - }, - "else": { - "operation": "boost", - "score": 0.1248338595032692 - } - } - } + "operation": "boost", + "score": 0.030633466318249702 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08371901512145996 + "score": 0.04275256022810936 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 375849.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.06618811190128326 + "score": 0.01765197142958641 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, - "then": { - "operation": "boost", - "score": 0.02019410952925682 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09826169162988663 - }, - "else": { - "operation": "boost", - "score": 0.111418716609478 - } - }, - "else": { - "operation": "boost", - "score": -0.2839740216732025 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09063549339771271 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.11254394799470901 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20410.5, - "then": { - "operation": "boost", - "score": 0.12095412611961365 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.211131751537323 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15708.5, - "then": { - "operation": "boost", - "score": 0.12106805294752121 - }, - "else": { - "operation": "boost", - "score": 0.06698241829872131 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.051796503365039825 - } - }, - "else": { - "operation": "boost", - "score": 0.06731346994638443 - } - } - } + "operation": "boost", + "score": 0.0013504633679986 } } } }, "else": { "operation": "boost", - "score": 0.12075314670801163 + "score": -0.02431558631360531 } - }, - "else": { - "operation": "boost", - "score": 0.03382670134305954 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.0012252974556759 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.03510476276278496 + }, + "else": { + "operation": "boost", + "score": 0.04871078208088875 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04167594760656357 + }, + "else": { + "operation": "boost", + "score": 0.04380863904953003 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05190228670835495 + }, + "else": { + "operation": "boost", + "score": 0.0098398607224226 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.13385847210884094 + } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08343073725700378 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.028063565492630005 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.04590742662549019 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07000444829463959 + }, + "else": { + "operation": "boost", + "score": 0.008725282736122608 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05317017808556557 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.04731789603829384 + }, + "else": { + "operation": "boost", + "score": -0.35923004150390625 + } + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.03539818525314331 + }, + "else": { + "operation": "boost", + "score": 0.020104117691516876 + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.10519404709339142 + "score": 0.01321684755384922 }, "else": { "operation": "boost", - "score": 0.04841525852680206 + "score": -0.0668819397687912 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6111.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.12388689815998077 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.07746588438749313 + }, + "else": { + "operation": "boost", + "score": -0.0015490028308704495 + } }, "else": { "operation": "boost", - "score": 0.015329133719205856 + "score": 0.0030599881429225206 } } - }, - "else": { - "operation": "boost", - "score": 0.05462583154439926 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06130078807473183 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83.5, + "then": { + "operation": "boost", + "score": 0.05832554027438164 + }, + "else": { + "operation": "boost", + "score": 0.031701501458883286 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.034162748605012894 }, "else": { + "operation": "boost", + "score": 0.05345406383275986 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Namespace" + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08215364068746567 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1279035061597824 - }, - "else": { - "operation": "boost", - "score": 0.11155259609222412 - } - } + "operation": "boost", + "score": 0.06517250835895538 + }, + "else": { + "operation": "boost", + "score": 0.028140418231487274 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011358898133039474 }, "else": { "operation": "boost", - "score": 0.07280541211366653 + "score": 0.018618110567331314 } } } } - }, - "else": { - "operation": "boost", - "score": -0.026733607053756714 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1825.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace", + "Variable" + ], "then": { "operation": "boost", - "score": -0.07815799117088318 + "score": 0.0601351298391819 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.09596039354801178 + "score": 0.038476962596178055 }, "else": { "operation": "boost", - "score": -0.033001288771629333 + "score": -0.02166450023651123 } } }, "else": { "operation": "boost", - "score": 0.004602473229169846 + "score": -0.000894030905328691 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 71954.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10142152011394501 + }, + "else": { + "operation": "boost", + "score": 0.05616361275315285 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, "then": { + "operation": "boost", + "score": -0.042654283344745636 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0891859158873558 - }, - "else": { - "operation": "boost", - "score": 0.047033775597810745 - } - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 6221.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 6404.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.09927182644605637 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12496254593133926 - }, - "else": { - "operation": "boost", - "score": 0.0938991904258728 - } - }, - "else": { - "operation": "boost", - "score": 0.10823696106672287 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.03250354155898094 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.11869559437036514 - }, - "else": { - "operation": "boost", - "score": 0.10319153964519501 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10796506702899933 - } - } + "operation": "boost", + "score": 0.06329736858606339 }, "else": { "operation": "boost", - "score": 0.06130596250295639 + "score": 0.13302487134933472 } }, "else": { "operation": "boost", - "score": 0.06863448768854141 + "score": 0.020219236612319946 } + }, + "else": { + "operation": "boost", + "score": 0.03132378309965134 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.07143907994031906 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.5, + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07048068195581436 + "score": 0.0710177943110466 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.09827828407287598 + "score": 0.06583207845687866 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2841.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.058614425361156464 + "score": 0.03360774740576744 }, "else": { "operation": "boost", - "score": -0.017507357522845268 + "score": 0.006286883261054754 } } } }, "else": { "operation": "boost", - "score": 0.04258648306131363 + "score": -0.04749844968318939 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "boost", - "score": 0.04244447499513626 - }, - "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11158695071935654 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14942173659801483 + }, + "else": { + "operation": "boost", + "score": 0.03023000992834568 + } + }, + "else": { + "operation": "boost", + "score": -0.035416379570961 + } }, "else": { "operation": "boost", - "score": 0.022493954747915268 + "score": -0.016004079952836037 } + }, + "else": { + "operation": "boost", + "score": -0.05910969525575638 } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function", - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.020996257662773132 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Variable" ], "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01596042886376381 + }, + "else": { + "operation": "boost", + "score": 0.04565304517745972 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.033059872686862946 + }, + "else": { + "operation": "boost", + "score": 0.003569123102352023 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09308470785617828 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type" + "Macro", + "Namespace" ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.0837734043598175 + }, + "else": { + "operation": "boost", + "score": 0.018612874671816826 + } + }, + "else": { + "operation": "boost", + "score": -0.07085960358381271 + } + }, + "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.035137709230184555 + "score": -0.010178141295909882 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.011819890700280666 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.1115475744009018 - }, - "else": { - "operation": "boost", - "score": 0.11429159343242645 - } + "operation": "boost", + "score": 0.08405490964651108 }, "else": { "operation": "boost", - "score": 0.10576734691858292 + "score": 0.02363646775484085 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.016554279252886772 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10328985750675201 - }, - "else": { - "operation": "boost", - "score": 0.059767719358205795 - } - } + "operation": "boost", + "score": 0.015849880874156952 } - }, - "else": { - "operation": "boost", - "score": 0.07302262634038925 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.07541155070066452 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.09945756942033768 + }, + "else": { + "operation": "boost", + "score": -0.002413123147562146 + } }, "else": { "operation": "boost", - "score": 0.012058736756443977 + "score": -0.08459402620792389 } } } - }, - "else": { - "operation": "boost", - "score": 0.026300741359591484 } - }, - "else": { - "operation": "boost", - "score": -0.04433785751461983 } } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": -0.08671397715806961 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08030454814434052 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Macro", + "Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": -0.13125889003276825 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.03806084766983986 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09702363610267639 - }, - "else": { - "operation": "boost", - "score": 0.1105131059885025 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.11241767555475235 + "score": 0.045470334589481354 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13011759519577026 + "score": 0.05689748376607895 }, "else": { "operation": "boost", - "score": 0.1461765617132187 + "score": -0.008902688510715961 } } - } - }, - "else": { - "operation": "boost", - "score": 0.1509074866771698 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.0800972729921341 + "score": 0.00856646429747343 }, "else": { "operation": "boost", - "score": 0.1213344931602478 + "score": -0.12560275197029114 } }, "else": { "operation": "boost", - "score": 0.10283865034580231 + "score": -0.13522489368915558 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16136790812015533 }, "else": { "operation": "boost", - "score": 0.08913730829954147 + "score": -0.00869380496442318 } - }, - "else": { - "operation": "boost", - "score": 0.004122622776776552 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.028370190411806107 - }, - "else": { - "operation": "boost", - "score": -0.09665833413600922 } - }, - "else": { - "operation": "boost", - "score": 0.02674075961112976 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 106.5, "then": { "operation": "boost", - "score": 0.009462571702897549 + "score": 0.05295413359999657 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0070925746113061905 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13242489099502563 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07392194867134094 - }, - "else": { - "operation": "boost", - "score": 0.09468092769384384 - } - }, - "else": { - "operation": "boost", - "score": -0.6709210872650146 - } - }, - "else": { - "operation": "boost", - "score": -0.060491617769002914 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.030468666926026344 - } + "operation": "boost", + "score": -0.038498926907777786 } } } - }, - "else": { - "operation": "boost", - "score": -0.10520941764116287 } } } @@ -53408,1300 +53278,1401 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07726709544658661 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07040401548147202 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -1.1818149089813232 - }, - "else": { - "operation": "boost", - "score": 0.052400365471839905 - } - } - } + "operation": "boost", + "score": 0.0836578980088234 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "boost", - "score": 0.053251221776008606 + "score": 0.056517988443374634 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.025051068514585495 - }, - "else": { - "operation": "boost", - "score": 0.015722405165433884 - } - }, - "else": { - "operation": "boost", - "score": -0.009360347874462605 - } + "operation": "boost", + "score": 0.03720444068312645 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 49.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "boost", - "score": 0.033270929008722305 + "score": 0.09495051205158234 }, "else": { - "operation": "boost", - "score": 0.0741322860121727 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06090112775564194 + }, + "else": { + "operation": "boost", + "score": 0.0399092435836792 + } } }, "else": { + "operation": "boost", + "score": 0.06925416737794876 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.06280223280191422 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09508908540010452 + }, + "else": { + "operation": "boost", + "score": 0.04034016653895378 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.051367636770009995 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.048624783754348755 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.09255746752023697 + }, + "else": { + "operation": "boost", + "score": -0.047823574393987656 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06051429733633995 + }, + "else": { + "operation": "boost", + "score": 0.030706441029906273 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, "then": { "operation": "boost", - "score": 0.11348651349544525 + "score": 0.026364294812083244 }, "else": { "operation": "boost", - "score": 0.10150540620088577 + "score": 0.004447092767804861 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": -0.024382688105106354 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10536643862724304 + "score": -0.048969075083732605 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.06262442469596863 + "score": 0.028909223154187202 + }, + "else": { + "operation": "boost", + "score": 0.03947022184729576 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03590850904583931 + }, + "else": { + "operation": "boost", + "score": -0.03767475113272667 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.42751097679138184 + "score": 0.04402054101228714 }, "else": { "operation": "boost", - "score": 0.11413849145174026 + "score": 0.015925699844956398 } } + }, + "else": { + "operation": "boost", + "score": 0.013589619658887386 } } } - }, - "else": { - "operation": "boost", - "score": 0.0283907912671566 } + }, + "else": { + "operation": "boost", + "score": -0.006345563102513552 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1510.5, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" ], "then": { - "operation": "boost", - "score": 0.051501110196113586 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 40755.0, "then": { "operation": "boost", - "score": 0.01357225701212883 + "score": 0.08139998465776443 }, "else": { "operation": "boost", - "score": 0.06146440654993057 + "score": 0.04649034142494202 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.04595816135406494 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 281926.5, "then": { "operation": "boost", - "score": 0.10076364874839783 + "score": 0.06453903764486313 }, "else": { "operation": "boost", - "score": 0.0469496063888073 + "score": 0.015908170491456985 } } }, "else": { - "operation": "boost", - "score": 0.02257363311946392 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Type", - "Namespace" - ], - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope" + "Macro", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.006138732191175222 + "score": 0.036492228507995605 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.005070025566965342 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.049083106219768524 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.008970405906438828 + }, + "else": { + "operation": "boost", + "score": 0.06460341811180115 + } }, "else": { - "operation": "boost", - "score": 0.10075397789478302 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": 0.09154312312602997 + }, + "else": { + "operation": "boost", + "score": 0.03460879251360893 + } } + }, + "else": { + "operation": "boost", + "score": -0.011714396998286247 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07941450923681259 + }, + "else": { + "operation": "boost", + "score": 0.020056985318660736 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02061515301465988 + "score": -0.03213227167725563 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198405.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.061356693506240845 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.13954001665115356 - }, - "else": { - "operation": "boost", - "score": 0.059443745762109756 - } + "operation": "boost", + "score": 0.05837130919098854 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11092424392700195 - }, - "else": { - "operation": "boost", - "score": 0.023407146334648132 - } + "operation": "boost", + "score": 0.02392416261136532 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0004963764222338796 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, + "operation": "boost", + "score": -0.07426615804433823 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.02190997824072838 + "score": 0.06557302176952362 }, "else": { + "operation": "boost", + "score": 0.0064859893172979355 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99149.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.11346780508756638 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, - "then": { - "operation": "boost", - "score": 0.09285352379083633 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11079677194356918 - }, - "else": { - "operation": "boost", - "score": 0.004338487982749939 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.09872382134199142 - }, - "else": { - "operation": "boost", - "score": 0.11571775376796722 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07562904059886932 - } + "operation": "boost", + "score": -0.07966621965169907 }, "else": { "operation": "boost", - "score": 0.06310597062110901 + "score": 0.0054583800956606865 } + }, + "else": { + "operation": "boost", + "score": -0.013257583603262901 } } } - }, - "else": { - "operation": "boost", - "score": -0.04163543879985809 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", + "CCC_ClassStructUnion", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.07253538817167282 + }, + "else": { + "operation": "boost", + "score": 0.04765276238322258 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.032489076256752014 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.008022638969123363 - }, - "else": { - "operation": "boost", - "score": 0.06881550699472427 - } + "operation": "boost", + "score": -0.01917012594640255 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.08768998086452484 + "score": 0.027203841134905815 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.06676327437162399 - }, - "else": { - "operation": "boost", - "score": 0.09324149787425995 - } - }, - "else": { - "operation": "boost", - "score": -0.026457034051418304 - } + "operation": "boost", + "score": 0.01382796373218298 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55833.5, - "then": { - "operation": "boost", - "score": -1.6160533428192139 - }, - "else": { - "operation": "boost", - "score": -0.047385599464178085 - } } - }, - "else": { - "operation": "boost", - "score": 0.00911285076290369 } } - }, - "else": { - "operation": "boost", - "score": -0.019633334130048752 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.05621909350156784 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07367213070392609 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09376545250415802 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13512301445007324 + "score": -0.07502108067274094 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0878564715385437 - }, - "else": { - "operation": "boost", - "score": 0.12028663605451584 - } + "operation": "boost", + "score": 0.012566056102514267 } - }, - "else": { - "operation": "boost", - "score": 0.06178174167871475 } - }, - "else": { - "operation": "boost", - "score": 0.031666066497564316 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.04100750386714935 - }, - "else": { - "operation": "boost", - "score": -0.07041773945093155 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 418.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "boost", + "score": 0.04017328470945358 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "boost", - "score": 0.045828912407159805 + "score": 0.040493473410606384 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 530.0, - "then": { - "operation": "boost", - "score": 0.13431866466999054 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, - "then": { - "operation": "boost", - "score": 0.11836230754852295 - }, - "else": { - "operation": "boost", - "score": 0.12286219745874405 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 454.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 594.5, + "threshold": 99880.5, "then": { "operation": "boost", - "score": 0.09348856657743454 + "score": -0.08449260890483856 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 586.5, + "threshold": 98088.5, "then": { "operation": "boost", - "score": 0.12180563062429428 + "score": 0.15880252420902252 }, "else": { - "operation": "boost", - "score": 0.10976188629865646 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0005052855121903121 + }, + "else": { + "operation": "boost", + "score": 0.05725967884063721 + } } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { "operation": "boost", - "score": 0.0877019539475441 + "score": 0.013005226850509644 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 149.5, + "threshold": 263945.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10936874151229858 - }, - "else": { - "operation": "boost", - "score": 0.10952425003051758 - } + "operation": "boost", + "score": 0.09484084695577621 }, "else": { "operation": "boost", - "score": 0.1328074187040329 + "score": 0.00442351121455431 } }, "else": { "operation": "boost", - "score": 0.09446459263563156 + "score": 0.005749038886278868 } }, "else": { "operation": "boost", - "score": 0.10194632411003113 + "score": -0.08337754756212234 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "operation": "boost", + "score": -0.06928054988384247 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 116663.5, "then": { - "operation": "boost", - "score": 0.10872430354356766 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.0, + "threshold": 131140.0, "then": { "operation": "boost", - "score": 0.08541890978813171 + "score": -0.03540786728262901 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.1253156214952469 - }, - "else": { - "operation": "boost", - "score": 0.11340165138244629 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "boost", - "score": 0.09655668586492538 + "score": 0.13254736363887787 }, "else": { "operation": "boost", - "score": 0.11156207323074341 + "score": -0.1381109356880188 } - }, - "else": { - "operation": "boost", - "score": 0.10546208918094635 } }, "else": { "operation": "boost", - "score": 0.1027669906616211 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.13439396023750305 - }, - "else": { - "operation": "boost", - "score": 0.0 + "score": 0.03441697731614113 } }, "else": { "operation": "boost", - "score": 0.08847479522228241 + "score": -0.03608093410730362 } } - }, - "else": { - "operation": "boost", - "score": 0.05270606279373169 } - }, - "else": { - "operation": "boost", - "score": 0.07762572169303894 } } }, - "else": { - "operation": "boost", - "score": 0.05128517746925354 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8607.0, - "then": { - "operation": "boost", - "score": 0.0649285838007927 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.031153041869401932 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 56.5, + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5708.0, + "operation": "boost", + "score": -0.06922652572393417 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.13483598828315735 + "score": 0.0686052143573761 }, "else": { "operation": "boost", - "score": 0.08667787164449692 + "score": 0.005233341362327337 } - }, - "else": { - "operation": "boost", - "score": 0.06782162934541702 } }, "else": { "operation": "boost", - "score": 0.05080670863389969 + "score": -0.10063536465167999 } + }, + "else": { + "operation": "boost", + "score": -0.021395951509475708 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "boost", - "score": 0.03817242011427879 }, "else": { - "operation": "boost", - "score": 0.017389623448252678 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.119242824614048 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.018755564466118813 + "score": 0.11286884546279907 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.10424675047397614 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10860288888216019 - }, - "else": { - "operation": "boost", - "score": 0.1333000510931015 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1030084639787674 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.10875973850488663 - }, - "else": { - "operation": "boost", - "score": 0.08593448251485825 - } - }, - "else": { - "operation": "boost", - "score": 0.05544663593173027 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07293903827667236 - }, - "else": { - "operation": "boost", - "score": -0.13702277839183807 - } - }, - "else": { - "operation": "boost", - "score": 0.06143416836857796 - } - }, - "else": { - "operation": "boost", - "score": -0.11445857584476471 - } - } + "operation": "boost", + "score": 0.04249434545636177 } + }, + "else": { + "operation": "boost", + "score": 0.006409105379134417 + } + }, + "else": { + "operation": "boost", + "score": -0.0016964994138106704 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5864.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07590950280427933 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": -0.0773804560303688 + }, + "else": { + "operation": "boost", + "score": 0.07400906085968018 } }, "else": { "operation": "boost", - "score": 0.04967696592211723 + "score": 0.014023357070982456 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.053434453904628754 + }, + "else": { + "operation": "boost", + "score": -0.06431648880243301 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" ], "then": { "operation": "boost", - "score": 0.014707647264003754 + "score": 0.06496082246303558 }, "else": { "operation": "boost", - "score": -0.09358767420053482 + "score": 0.026577072218060493 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05871393904089928 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.03377729654312134 + }, + "else": { + "operation": "boost", + "score": 0.0077520194463431835 + } } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsReservedName", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09131789952516556 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Macro", + "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], + "then": { + "operation": "boost", + "score": 0.018734056502580643 + }, + "else": { + "operation": "boost", + "score": -0.06478123366832733 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.06714963912963867 + }, + "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.013332612812519073 + "score": 0.0485004298388958 }, "else": { - "operation": "boost", - "score": 0.08058083802461624 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.05710399150848389 + "score": 0.03569317236542702 }, "else": { "operation": "boost", - "score": 0.11731909960508347 + "score": -0.03539295494556427 } - }, - "else": { - "operation": "boost", - "score": 0.10466275364160538 } } }, "else": { "operation": "boost", - "score": 0.051161471754312515 + "score": -0.01840163581073284 } }, "else": { - "operation": "boost", - "score": 0.002837696811184287 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07749388366937637 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04996141418814659 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.038092296570539474 + }, + "else": { + "operation": "boost", + "score": -0.08988677710294724 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0011003657709807158 + } + }, + "else": { + "operation": "boost", + "score": 0.010956703685224056 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.02008703164756298 } - }, - "else": { - "operation": "boost", - "score": -0.009330053813755512 } } + }, + "else": { + "operation": "boost", + "score": -0.08481971174478531 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.005018787458539009 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.00248690671287477 + }, + "else": { + "operation": "boost", + "score": 0.047681279480457306 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06423905491828918 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", - "Namespace" + "Destructor", + "Function", + "Macro", + "Type" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05455341190099716 + "score": -0.04073196277022362 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.09804033488035202 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.04302186518907547 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.061966825276613235 + }, + "else": { + "operation": "boost", + "score": -0.018623190000653267 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06543360650539398 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14688478410243988 + }, + "else": { + "operation": "boost", + "score": 0.00805643666535616 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12506277859210968 + } + }, + "else": { + "operation": "boost", + "score": -0.13453985750675201 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03206202760338783 + "score": 0.019956080242991447 }, "else": { "operation": "boost", - "score": 0.10603093355894089 + "score": -0.01421373337507248 } } } }, "else": { "operation": "boost", - "score": -0.02785281091928482 + "score": -0.03884991258382797 } - }, - "else": { - "operation": "boost", - "score": -0.037490855902433395 } } } @@ -54718,1007 +54689,1055 @@ ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "NumNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07612770795822144 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06841588765382767 - }, - "else": { - "operation": "boost", - "score": 0.05096007138490677 - } - } + "operation": "boost", + "score": 0.060221780091524124 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04296388849616051 - }, - "else": { - "operation": "boost", - "score": 0.014666415750980377 - } - }, - "else": { - "operation": "boost", - "score": 0.012484190985560417 - } + "operation": "boost", + "score": 0.042553916573524475 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24.5, + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.05793815851211548 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 126.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.0, - "then": { - "operation": "boost", - "score": 0.08848480135202408 - }, - "else": { - "operation": "boost", - "score": 0.10670778900384903 - } + "operation": "boost", + "score": 0.060351308435201645 }, "else": { "operation": "boost", - "score": 0.07382272928953171 + "score": 0.02528710849583149 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, - "then": { - "operation": "boost", - "score": 0.06537214666604996 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.15363642573356628 - }, - "else": { - "operation": "boost", - "score": 0.11203009635210037 - } - }, - "else": { - "operation": "boost", - "score": 0.1108432337641716 - } - }, - "else": { - "operation": "boost", - "score": 0.10807815194129944 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03757056966423988 - } + "operation": "boost", + "score": 0.02153118886053562 } + }, + "else": { + "operation": "boost", + "score": 0.05079101398587227 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10070764273405075 - }, - "else": { - "operation": "boost", - "score": 0.03468573838472366 - } - }, - "else": { - "operation": "boost", - "score": 0.01676081120967865 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.05504220724105835 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.00871039554476738 + "score": 0.09184388816356659 }, "else": { "operation": "boost", - "score": 0.07800448685884476 + "score": 0.0382075160741806 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.04451904445886612 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09767487645149231 - }, - "else": { - "operation": "boost", - "score": 0.04750833287835121 - } - } - }, - "else": { - "operation": "boost", - "score": 0.022221341729164124 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0003987904929090291 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { - "operation": "boost", - "score": 0.05650106072425842 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.04578198865056038 + "score": 0.04783428832888603 }, "else": { "operation": "boost", - "score": 0.09682772308588028 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "boost", - "score": 0.05123712494969368 - }, - "else": { - "operation": "boost", - "score": -0.14329716563224792 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.09235575050115585 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09256494045257568 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198405.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.1261409968137741 - }, - "else": { - "operation": "boost", - "score": 0.06637893617153168 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, - "then": { - "operation": "boost", - "score": 0.02164395898580551 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, - "then": { - "operation": "boost", - "score": 0.09501289576292038 - }, - "else": { - "operation": "boost", - "score": 0.06824788451194763 - } - } - } - } - } + "score": -0.017506413161754608 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.22815470397472382 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.02009310945868492 + "score": 0.02345248870551586 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129672.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.05118688568472862 + "score": 0.14147700369358063 }, "else": { "operation": "boost", - "score": 0.03815910965204239 + "score": 0.0706193596124649 } } + }, + "else": { + "operation": "boost", + "score": 0.02543589659035206 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04418177902698517 + "score": 0.0470459908246994 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.005989354103803635 - }, - "else": { - "operation": "boost", - "score": -0.10401492565870285 - } + "operation": "boost", + "score": 0.03246527537703514 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.031619809567928314 + "score": -0.054661866277456284 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.024029048159718513 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_UnionTag" + "ClassScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09877505898475647 + "score": 0.09546500444412231 }, "else": { "operation": "boost", - "score": 0.09182743728160858 + "score": 0.038906972855329514 } }, - "else": { - "operation": "boost", - "score": 0.08095846325159073 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.06274178624153137 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { - "operation": "boost", - "score": 0.08196306973695755 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.12274874746799469 + "score": 0.0585801899433136 }, "else": { "operation": "boost", - "score": 0.11081524193286896 + "score": 0.1518246978521347 } }, "else": { "operation": "boost", - "score": 0.06960850954055786 + "score": 0.016382012516260147 } + }, + "else": { + "operation": "boost", + "score": 0.021756896749138832 } }, - "else": { - "operation": "boost", - "score": 0.06706079840660095 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.046049319207668304 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.11321104317903519 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06806188821792603 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.05027921870350838 + "score": -0.07287686318159103 }, "else": { "operation": "boost", - "score": 0.09136015176773071 + "score": 0.025144588202238083 } } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.09019798040390015 - }, - "else": { - "operation": "boost", - "score": 0.09374657273292542 - } - }, - "else": { - "operation": "boost", - "score": 0.05551021918654442 - } + "operation": "boost", + "score": -0.01823943294584751 } - }, - "else": { - "operation": "boost", - "score": 0.03409409523010254 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, + "then": { + "operation": "boost", + "score": 0.03624889627099037 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.15925078094005585 - }, - "else": { - "operation": "boost", - "score": 0.04115966707468033 - } + "operation": "boost", + "score": -0.015349939465522766 }, "else": { "operation": "boost", - "score": 0.003496906952932477 + "score": 0.02485649287700653 } } } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59352.5, - "then": { - "operation": "boost", - "score": 0.09534192830324173 - }, - "else": { - "operation": "boost", - "score": 0.05738483741879463 - } + "operation": "boost", + "score": -0.08688339591026306 }, "else": { "operation": "boost", - "score": 0.0865335538983345 + "score": 0.016017325222492218 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.08904312551021576 - }, - "else": { - "operation": "boost", - "score": 0.022266047075390816 - } + "operation": "boost", + "score": -0.028782276436686516 } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90929.0, - "then": { - "operation": "boost", - "score": 0.03488617390394211 - }, - "else": { - "operation": "boost", - "score": 0.004521478433161974 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4319.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1151280403137207 - }, - "else": { - "operation": "boost", - "score": -0.12873367965221405 - } - }, - "else": { - "operation": "boost", - "score": 0.06755475699901581 - } - } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 322.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.054645538330078125 + }, + "else": { + "operation": "boost", + "score": 0.016347920522093773 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, + "then": { + "operation": "boost", + "score": 0.08061840385198593 + }, + "else": { + "operation": "boost", + "score": 0.10869460552930832 + } + }, + "else": { + "operation": "boost", + "score": 0.04770907759666443 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.045413244515657425 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.01930972747504711 }, "else": { "operation": "boost", - "score": 0.017531948164105415 + "score": -0.003170951269567013 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12506498396396637 + "score": -0.07227492332458496 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.013937298208475113 + }, + "else": { + "operation": "boost", + "score": -0.005921557080000639 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.03268910199403763 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Function", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.002188628539443016 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.12971840798854828 - }, - "else": { - "operation": "boost", - "score": 0.04284759238362312 - } - } + "operation": "boost", + "score": 0.04886111244559288 }, "else": { "operation": "boost", - "score": 0.037609200924634933 + "score": 0.017992673441767693 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.02665458247065544 + "score": 0.03383777290582657 }, "else": { + "operation": "boost", + "score": 0.011189262382686138 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01275179535150528 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06340576708316803 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006598726846277714 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10884097218513489 + "score": 0.0808640569448471 }, "else": { - "operation": "boost", - "score": 0.12458371371030807 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.39259129762649536 + "score": 0.04358560964465141 }, "else": { "operation": "boost", - "score": 0.11481710523366928 + "score": -0.016877995803952217 } - }, - "else": { - "operation": "boost", - "score": 0.10059891641139984 } + }, + "else": { + "operation": "boost", + "score": -0.011349521577358246 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.10734419524669647 + }, + "else": { + "operation": "boost", + "score": -0.1565038412809372 + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.054135192185640335 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 121.5, + "then": { + "operation": "boost", + "score": 0.0486990250647068 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.018544064834713936 + }, + "else": { + "operation": "boost", + "score": -0.0238693468272686 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.031216898933053017 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0913599282503128 + }, + "else": { + "operation": "boost", + "score": -0.012415091507136822 } + }, + "else": { + "operation": "boost", + "score": -0.06859272718429565 } + }, + "else": { + "operation": "boost", + "score": 0.05155903100967407 } }, "else": { + "operation": "boost", + "score": 0.010149464942514896 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.0629500225186348 + "score": 0.03544619679450989 }, "else": { "operation": "boost", - "score": -0.2809866666793823 + "score": -0.01847780868411064 } + }, + "else": { + "operation": "boost", + "score": -0.06077628955245018 } - }, - "else": { - "operation": "boost", - "score": 0.08939637988805771 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.0335930772125721 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.02367425709962845 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0406353659927845 + }, + "else": { + "operation": "boost", + "score": -0.08739254623651505 + } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": -0.04486379399895668 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011059951037168503 + }, + "else": { + "operation": "boost", + "score": 0.044063229113817215 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.07302061468362808 + "score": -0.002007434843108058 }, "else": { + "operation": "boost", + "score": 0.058998316526412964 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.011987753212451935 + "score": -0.07347164303064346 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "boost", - "score": 0.05903179571032524 + "score": 0.048723042011260986 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11760948598384857 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.045266296714544296 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": -0.16934047639369965 + }, + "else": { + "operation": "boost", + "score": 0.03665580227971077 + } + }, + "else": { + "operation": "boost", + "score": -0.07395267486572266 + } + }, + "else": { + "operation": "boost", + "score": 0.05272720381617546 + } + }, + "else": { + "operation": "boost", + "score": -0.05588605999946594 + } }, "else": { "operation": "boost", - "score": 0.1041339859366417 + "score": 0.04393762722611427 } - }, - "else": { - "operation": "boost", - "score": 0.09256085008382797 } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263945.0, + "then": { + "operation": "boost", + "score": 0.08394132554531097 + }, + "else": { + "operation": "boost", + "score": -0.02971099317073822 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "boost", + "score": -0.035866137593984604 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.07676992565393448 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.04609021544456482 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116663.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.02875063382089138 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131033.0, + "then": { + "operation": "boost", + "score": 0.06972407549619675 + }, + "else": { + "operation": "boost", + "score": 0.12643268704414368 + } + } + }, + "else": { + "operation": "boost", + "score": 0.036753199994564056 + } }, "else": { "operation": "boost", - "score": -0.0016610396560281515 + "score": 0.0011697731679305434 } + }, + "else": { + "operation": "boost", + "score": -0.0271470807492733 } - }, - "else": { - "operation": "boost", - "score": 0.029866671189665794 } } } @@ -55727,85 +55746,98 @@ } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2908.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "NumReferences", + "threshold": 3004.5, + "then": { + "operation": "boost", + "score": 0.06731688976287842 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2985.0, + "then": { + "operation": "boost", + "score": 0.15750205516815186 + }, + "else": { + "operation": "boost", + "score": 0.07466094940900803 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.06309192627668381 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03334878385066986 - }, - "else": { - "operation": "boost", - "score": 0.08193935453891754 - } - }, - "else": { - "operation": "boost", - "score": 0.04150906205177307 - } + "operation": "boost", + "score": -0.05622373893857002 }, "else": { "operation": "boost", - "score": 0.016817495226860046 + "score": 0.05117752030491829 } }, "else": { "operation": "boost", - "score": -0.0906379371881485 + "score": 0.02335548773407936 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, @@ -55816,162 +55848,230 @@ "Variable" ], "then": { + "operation": "boost", + "score": 0.03421521931886673 + }, + "else": { + "operation": "boost", + "score": 0.014360107481479645 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08978376537561417 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" + "Macro", + "Namespace" ], "then": { + "operation": "boost", + "score": 0.016579121351242065 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0084593640640378 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.02060181088745594 - }, - "else": { - "operation": "boost", - "score": 0.06870138645172119 - } + "operation": "boost", + "score": -0.07152987271547318 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.05778829753398895 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.046851422637701035 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03578754514455795 + }, + "else": { + "operation": "boost", + "score": -0.08022761344909668 + } + } }, "else": { "operation": "boost", - "score": 0.11678358912467957 + "score": 0.0029658018611371517 } }, "else": { "operation": "boost", - "score": 0.10233079642057419 + "score": 0.010174395516514778 } } - }, - "else": { - "operation": "boost", - "score": 0.06564286351203918 } - }, - "else": { - "operation": "boost", - "score": 0.0037555077578872442 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.044863343238830566 - }, - "else": { - "operation": "boost", - "score": 0.02586708404123783 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48040.5, - "then": { - "operation": "boost", - "score": 0.1569412350654602 - }, - "else": { - "operation": "boost", - "score": 0.019858218729496002 } - }, - "else": { - "operation": "boost", - "score": -0.07709621638059616 } } + }, + "else": { + "operation": "boost", + "score": -0.08271756023168564 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0898296907544136 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 1.2111920113966335e-05 + }, + "else": { + "operation": "boost", + "score": 0.04571901634335518 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "operation": "boost", + "score": -0.06054059788584709 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Macro", + "Type" + ], "then": { - "operation": "boost", - "score": -0.13344962894916534 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08510378748178482 + "score": -0.038427457213401794 }, "else": { - "operation": "boost", - "score": 0.11596348136663437 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.04036540538072586 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.059398770332336426 + }, + "else": { + "operation": "boost", + "score": -0.018118005245923996 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004592789337038994 + }, + "else": { + "operation": "boost", + "score": -0.12812012434005737 + } + } + }, + "else": { + "operation": "boost", + "score": -0.010294876992702484 + } } + }, + "else": { + "operation": "boost", + "score": -0.03526604548096657 } - }, - "else": { - "operation": "boost", - "score": 0.06323012709617615 } - }, - "else": { - "operation": "boost", - "score": 0.02503488026559353 } - }, - "else": { - "operation": "boost", - "score": -0.03401704877614975 } } - }, - "else": { - "operation": "boost", - "score": -0.047468893229961395 } } } @@ -55988,714 +56088,472 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07333523035049438 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06612439453601837 - }, - "else": { - "operation": "boost", - "score": 0.04693726822733879 - } - } + "operation": "boost", + "score": 0.08088694512844086 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.049071092158555984 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.009893125854432583 - }, - "else": { - "operation": "boost", - "score": 0.026654329150915146 - } - }, - "else": { - "operation": "boost", - "score": -0.011124324053525925 - } - } + "operation": "boost", + "score": 0.04527038708329201 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "boost", - "score": -0.4171523451805115 + "score": 0.09247854351997375 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "boost", - "score": 0.06794597953557968 - }, - "else": { - "operation": "boost", - "score": 0.016976967453956604 - } + "operation": "boost", + "score": 0.0708228051662445 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6435.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], "then": { - "operation": "boost", - "score": -0.008908032439649105 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 155.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 719.0, - "then": { - "operation": "boost", - "score": 0.11220324784517288 - }, - "else": { - "operation": "boost", - "score": 0.05654074251651764 - } + "operation": "boost", + "score": 0.053342465311288834 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.11226489394903183 - }, - "else": { - "operation": "boost", - "score": 0.16837111115455627 - } + "operation": "boost", + "score": 0.027914749458432198 } + }, + "else": { + "operation": "boost", + "score": 0.014223232865333557 } } } }, "else": { "operation": "boost", - "score": 0.06772035360336304 + "score": 0.054394517093896866 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.015811672434210777 - }, - "else": { - "operation": "boost", - "score": 0.03751401603221893 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.040736258029937744 - }, - "else": { - "operation": "boost", - "score": -0.010550318285822868 - } - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1940.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.07306814193725586 + "score": 0.06140381097793579 }, "else": { "operation": "boost", - "score": 0.026220517233014107 + "score": 0.03355460241436958 } }, "else": { "operation": "boost", - "score": -0.01688382960855961 + "score": 0.014909236691892147 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": 0.21360664069652557 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, - "then": { - "operation": "boost", - "score": 0.11914102733135223 - }, - "else": { - "operation": "boost", - "score": 0.1431622952222824 - } - }, - "else": { - "operation": "boost", - "score": 0.12506987154483795 - } - }, - "else": { - "operation": "boost", - "score": 0.08600073307752609 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 473.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.11701709777116776 + "score": 0.06317593157291412 }, "else": { "operation": "boost", - "score": -0.11236371099948883 + "score": 0.14058150351047516 } }, "else": { "operation": "boost", - "score": 0.12312133610248566 + "score": 0.09705815464258194 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.12140429019927979 - }, - "else": { - "operation": "boost", - "score": 0.10212089121341705 - } - }, - "else": { - "operation": "boost", - "score": 0.1414700150489807 - } + "operation": "boost", + "score": 0.081576868891716 } }, "else": { "operation": "boost", - "score": 0.12535598874092102 + "score": 0.058607008308172226 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.032886963337659836 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.0816197469830513 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.7333333492279053, "then": { "operation": "boost", - "score": 0.14863939583301544 + "score": 0.14848968386650085 }, "else": { "operation": "boost", - "score": 0.1819792538881302 + "score": 0.11031480878591537 } - }, - "else": { - "operation": "boost", - "score": -0.14951059222221375 } }, "else": { "operation": "boost", - "score": -0.1762019842863083 + "score": 0.061686765402555466 } + }, + "else": { + "operation": "boost", + "score": 0.03757208585739136 } }, "else": { - "operation": "boost", - "score": 0.10389962047338486 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.09438423812389374 + }, + "else": { + "operation": "boost", + "score": 0.032622575759887695 + } + }, + "else": { + "operation": "boost", + "score": 0.014211038127541542 + } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.018404025584459305 + }, + "else": { + "operation": "boost", + "score": -0.02591586299240589 + } } }, "else": { - "operation": "boost", - "score": 0.07559382915496826 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.016319725662469864 - }, - "else": { - "operation": "boost", - "score": -0.03408896178007126 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 617.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09590913355350494 + "score": 0.0555516816675663 }, "else": { "operation": "boost", - "score": 0.1207844540476799 + "score": 0.009570405818521976 } }, "else": { "operation": "boost", - "score": 0.09941409528255463 + "score": 0.04437137022614479 } }, "else": { "operation": "boost", - "score": 0.07005167752504349 + "score": 0.011276130564510822 } - }, - "else": { - "operation": "boost", - "score": 0.06920038163661957 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10579.0, + "operation": "boost", + "score": -0.0033603881020098925 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.06765322387218475 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.045522406697273254 + "score": 0.05779999867081642 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "boost", - "score": 0.08212114870548248 - }, - "else": { - "operation": "boost", - "score": 0.07020167261362076 - } - }, - "else": { - "operation": "boost", - "score": 0.07114937156438828 - } + "operation": "boost", + "score": 0.030692407861351967 } + }, + "else": { + "operation": "boost", + "score": 0.01908930577337742 } - }, - "else": { - "operation": "boost", - "score": 0.03757135942578316 } }, "else": { - "operation": "boost", - "score": 0.042962681502103806 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.01204124465584755 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.05496266484260559 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.025142816826701164 + "score": 0.032727357000112534 }, "else": { - "operation": "boost", - "score": -0.36557188630104065 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05339672416448593 + }, + "else": { + "operation": "boost", + "score": 0.0052154590375721455 + } } - }, - "else": { - "operation": "boost", - "score": 0.04656098410487175 } - } - }, - "else": { - "operation": "boost", - "score": 0.013064312748610973 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.08153291791677475 - }, - "else": { - "operation": "boost", - "score": 0.035231444984674454 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20010.5, - "then": { - "operation": "boost", - "score": 0.11299879103899002 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.12315896898508072 + "score": 0.03198476508259773 }, "else": { "operation": "boost", - "score": 0.0081983283162117 + "score": -0.10879069566726685 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.11471951007843018 + "score": 0.01787077635526657 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, - "then": { - "operation": "boost", - "score": 0.11804983764886856 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.123162642121315 - }, - "else": { - "operation": "boost", - "score": -0.16863998770713806 - } - } + "operation": "boost", + "score": -0.03988223150372505 } }, "else": { - "operation": "boost", - "score": 0.0725105032324791 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.021571990102529526 + }, + "else": { + "operation": "boost", + "score": -0.012690775096416473 + } } } } @@ -56703,170 +56561,131 @@ }, "else": { "operation": "boost", - "score": 0.001228130073286593 + "score": -0.0002237919979961589 } - }, - "else": { - "operation": "boost", - "score": -0.037972357124090195 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 322.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.05264727398753166 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.06945423781871796 + }, + "else": { + "operation": "boost", + "score": 0.024874171242117882 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 36.5, + "threshold": 144686.0, "then": { "operation": "boost", - "score": 0.12870340049266815 + "score": 0.05824405327439308 }, "else": { "operation": "boost", - "score": -0.12869277596473694 + "score": -0.03413311392068863 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "boost", + "score": 0.08108053356409073 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.037967268377542496 }, "else": { "operation": "boost", - "score": 0.0604475662112236 + "score": 0.0588628426194191 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.032856494188308716 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.053550444543361664 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10161413997411728 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.13959693908691406 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 315.0, - "then": { - "operation": "boost", - "score": 0.12699751555919647 - }, - "else": { - "operation": "boost", - "score": -0.17856334149837494 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 231.5, - "then": { - "operation": "boost", - "score": 0.10155146569013596 - }, - "else": { - "operation": "boost", - "score": 0.12005867063999176 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1014941856265068 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "boost", - "score": 0.1063937395811081 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.14521700143814087 - }, - "else": { - "operation": "boost", - "score": 0.10303869843482971 - } - } - } - } - } + "operation": "boost", + "score": 0.009580472484230995 }, "else": { "operation": "boost", - "score": 0.08606243133544922 + "score": 0.032912831753492355 } }, "else": { "operation": "boost", - "score": 0.0862971618771553 + "score": -0.013582654297351837 } } }, @@ -56875,414 +56694,793 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190379.0, - "then": { - "operation": "boost", - "score": 0.08758872747421265 - }, - "else": { - "operation": "boost", - "score": 0.057353027164936066 - } + "operation": "boost", + "score": 0.017608605325222015 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120391.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123410.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05542486906051636 + "score": -0.02920818328857422 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess", + "CCC_ClassStructUnion", + "CCC_TopLevel", "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.05757106468081474 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09849417209625244 + "score": 0.0543600395321846 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11959285289049149 - }, - "else": { - "operation": "boost", - "score": 0.19213242828845978 - } + "operation": "boost", + "score": 0.021413566544651985 } - }, - "else": { - "operation": "boost", - "score": -0.1258685439825058 } } }, "else": { - "operation": "boost", - "score": 0.021609829738736153 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2764.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.05976584926247597 + "score": 0.0007991707534529269 }, "else": { "operation": "boost", - "score": -0.0015968570951372385 + "score": -0.06691122055053711 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.03226340934634209 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.016195230185985565 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag" ], "then": { "operation": "boost", - "score": 0.09559787064790726 + "score": 0.03900574520230293 }, "else": { - "operation": "boost", - "score": 0.07089012116193771 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13996392488479614 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06434720754623413 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.044714413583278656 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "boost", + "score": 0.1136905625462532 + }, + "else": { + "operation": "boost", + "score": -0.0239487886428833 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.08682917803525925 + }, + "else": { + "operation": "boost", + "score": 0.059452105313539505 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.03825628384947777 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.0612969845533371 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.007305358070880175 + }, + "else": { + "operation": "boost", + "score": 0.07503126561641693 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.008227440528571606 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -1.533644535811618e-05 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.01803339459002018 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.5, + "then": { + "operation": "boost", + "score": 0.05241475999355316 + }, + "else": { + "operation": "boost", + "score": 0.008436043746769428 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.06456561386585236 } - }, - "else": { - "operation": "boost", - "score": 0.04695183411240578 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.03668927401304245 }, "else": { - "operation": "boost", - "score": 0.008919809944927692 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008867981843650341 + }, + "else": { + "operation": "boost", + "score": 0.01886199228465557 + } } } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06982482969760895 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09456981718540192 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.030522853136062622 + }, + "else": { + "operation": "boost", + "score": 0.008071331307291985 + } + } + } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "boost", + "score": -0.022082403302192688 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10589969158172607 + }, + "else": { + "operation": "boost", + "score": 0.03717099130153656 + } + }, + "else": { + "operation": "boost", + "score": 0.006141636520624161 + } + }, + "else": { + "operation": "boost", + "score": -0.0010286795441061258 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5864.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205835.5, + "then": { + "operation": "boost", + "score": 0.06624189764261246 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11302852630615234 + }, + "else": { + "operation": "boost", + "score": 0.06572314351797104 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0633639469742775 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108163.5, + "then": { "operation": "boost", - "score": -0.13346245884895325 + "score": -0.13696540892124176 + }, + "else": { + "operation": "boost", + "score": 0.023317668586969376 + } + }, + "else": { + "operation": "boost", + "score": 0.038307659327983856 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03214019909501076 + }, + "else": { + "operation": "boost", + "score": 0.013795590028166771 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08582422882318497 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type", + "Macro", "Namespace" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01745135709643364 + }, + "else": { + "operation": "boost", + "score": -0.05967314541339874 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.10404347628355026 + "score": -0.011938164941966534 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.10656126588582993 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.06628631800413132 + }, + "else": { + "operation": "boost", + "score": -0.05773472785949707 + } }, "else": { - "operation": "boost", - "score": 0.1295044720172882 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.031721893697977066 + }, + "else": { + "operation": "boost", + "score": -0.04969378188252449 + } } } }, + "else": { + "operation": "boost", + "score": -0.04704952985048294 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.020912908017635345 + }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.05542629212141037 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1360168159008026 + "score": -0.020749235525727272 }, "else": { "operation": "boost", - "score": 0.1150076687335968 + "score": 0.0193842314183712 } + }, + "else": { + "operation": "boost", + "score": -0.007863521575927734 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07464741170406342 - }, - "else": { - "operation": "boost", - "score": -0.02851085364818573 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.06757490336894989 - }, - "else": { - "operation": "boost", - "score": -0.13598990440368652 - } - }, - "else": { - "operation": "boost", - "score": -0.11009704321622849 } } } + } + }, + "else": { + "operation": "boost", + "score": -0.08058590441942215 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.0014080532127991319 }, "else": { "operation": "boost", - "score": 0.06195678561925888 + "score": 0.04186753183603287 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03548935055732727 + }, + "else": { + "operation": "boost", + "score": 0.0033889024052768946 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], - "then": { - "operation": "boost", - "score": 0.016834130510687828 - }, - "else": { - "operation": "boost", - "score": -0.09765972942113876 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Function", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.09839324653148651 + "score": 0.10193752497434616 }, "else": { "operation": "boost", - "score": 0.10384384542703629 + "score": 0.019945969805121422 } }, "else": { "operation": "boost", - "score": 0.026254205033183098 + "score": 0.020975932478904724 } }, "else": { "operation": "boost", - "score": 0.035126443952322006 + "score": 0.017982356250286102 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04299282655119896 + "score": 0.016698410734534264 }, "else": { "operation": "boost", - "score": 0.020518586039543152 + "score": -0.021429024636745453 } } }, "else": { "operation": "boost", - "score": -0.011778797954320908 + "score": -0.11629708856344223 } } } - }, - "else": { - "operation": "boost", - "score": -0.024293536320328712 } } } @@ -57297,438 +57495,329 @@ ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07209525257349014 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06347072869539261 - }, - "else": { - "operation": "boost", - "score": 0.046930912882089615 - } - } + "operation": "boost", + "score": 0.056582771241664886 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.039137545973062515 - }, - "else": { - "operation": "boost", - "score": 0.012398050166666508 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.015718890354037285 - }, - "else": { - "operation": "boost", - "score": -0.01825018785893917 - } - } + "operation": "boost", + "score": 0.0383763462305069 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 42.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.06771672517061234 - }, - "else": { - "operation": "boost", - "score": 0.012625953182578087 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.0676175132393837 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10151077061891556 - }, - "else": { - "operation": "boost", - "score": 0.05147552117705345 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.09038735926151276 - }, - "else": { - "operation": "boost", - "score": 0.000983759411610663 - } - } - } + "operation": "boost", + "score": 0.09008751809597015 }, "else": { "operation": "boost", - "score": 0.020796215161681175 + "score": 0.03846067190170288 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190379.0, - "then": { - "operation": "boost", - "score": 0.08699791878461838 - }, - "else": { - "operation": "boost", - "score": 0.059422656893730164 - } + "operation": "boost", + "score": 0.061280228197574615 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Function", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { - "operation": "boost", - "score": 0.044489651918411255 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", - "CCC_Expression" + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.0346798412501812 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.10691875219345093 + "score": 0.05939238518476486 }, "else": { "operation": "boost", - "score": 0.012430910021066666 + "score": 0.031370192766189575 } - } - }, - "else": { - "operation": "boost", - "score": -0.02044288069009781 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.05477425828576088 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.02969803288578987 }, "else": { "operation": "boost", - "score": 0.06871616095304489 + "score": 0.01641356758773327 } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.018576303496956825 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 210.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 259.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": 0.07915378361940384 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 226.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.1368335783481598 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02977663278579712 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "boost", + "score": 0.10245257616043091 + }, + "else": { + "operation": "boost", + "score": 0.13480313122272491 + } }, "else": { "operation": "boost", - "score": 0.12221164256334305 + "score": 0.08897016197443008 } + }, + "else": { + "operation": "boost", + "score": 0.08137117326259613 } }, "else": { "operation": "boost", - "score": -0.18827524781227112 + "score": 0.05624141916632652 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212.5, - "then": { - "operation": "boost", - "score": 0.07762180268764496 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.13233321905136108 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1015326976776123 + }, + "else": { + "operation": "boost", + "score": 0.0676032304763794 + } + }, + "else": { + "operation": "boost", + "score": 0.03559430316090584 + } }, "else": { - "operation": "boost", - "score": -0.10162874311208725 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.0922655388712883 + }, + "else": { + "operation": "boost", + "score": 0.03491311892867088 + } + }, + "else": { + "operation": "boost", + "score": 0.013923595659434795 + } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.09188620001077652 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 17.5, + "operation": "boost", + "score": 0.034524306654930115 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.1492665857076645 + "score": 0.10421523451805115 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.13446931540966034 + "score": -0.04658140242099762 }, "else": { "operation": "boost", - "score": 0.1312038153409958 + "score": 0.07348038256168365 } }, "else": { "operation": "boost", - "score": -0.021088963374495506 + "score": -0.02703542448580265 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, - "then": { - "operation": "boost", - "score": 0.14347843825817108 - }, - "else": { - "operation": "boost", - "score": 0.15486927330493927 - } } + }, + "else": { + "operation": "boost", + "score": -0.001991087105125189 } }, "else": { "operation": "boost", - "score": 0.06906703859567642 + "score": -0.08435504138469696 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04604951664805412 }, "else": { - "operation": "boost", - "score": 0.06336010992527008 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.03442618250846863 + }, + "else": { + "operation": "boost", + "score": 0.002108566462993622 + } } } - }, - "else": { - "operation": "boost", - "score": 0.10972420126199722 } }, "else": { @@ -57736,855 +57825,1134 @@ "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.029430394992232323 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0011833257740363479 + }, + "else": { + "operation": "boost", + "score": 0.03062661550939083 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10995496064424515 + "score": 0.03203694522380829 }, "else": { "operation": "boost", - "score": -0.17271342873573303 + "score": 0.0036075946409255266 } } }, "else": { - "operation": "boost", - "score": 0.023578010499477386 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.02758074551820755 + }, + "else": { + "operation": "boost", + "score": 0.009166265837848186 + } } } }, "else": { + "operation": "boost", + "score": 0.0020503797568380833 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, "then": { "operation": "boost", - "score": 0.0711488351225853 + "score": 0.06394483149051666 }, "else": { "operation": "boost", - "score": 0.05214855074882507 + "score": 0.012904117815196514 } }, "else": { "operation": "boost", - "score": 0.02211480215191841 + "score": 0.07545313984155655 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "boost", - "score": 0.0228411927819252 + "score": 0.06182088702917099 }, "else": { - "operation": "boost", - "score": -0.009619501419365406 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19968.0, "then": { "operation": "boost", - "score": -0.022992076352238655 + "score": 0.06017206609249115 }, "else": { "operation": "boost", - "score": 0.05023109167814255 + "score": 0.02688945084810257 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.041394416242837906 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function", - "Type", - "Namespace" + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.024252155795693398 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.06564050912857056 - }, - "else": { - "operation": "boost", - "score": -0.0006485919002443552 - } - } + "operation": "boost", + "score": 0.01770881377160549 }, "else": { "operation": "boost", - "score": -0.0636780634522438 + "score": -0.0038174453657120466 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.01672441139817238 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31292.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": -0.028432579711079597 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62267.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1082054078578949 - }, - "else": { - "operation": "boost", - "score": 0.1729329228401184 - } + "operation": "boost", + "score": 0.040911026298999786 }, "else": { "operation": "boost", - "score": 0.08438087999820709 + "score": -0.19395852088928223 } }, "else": { - "operation": "boost", - "score": 0.07948527485132217 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05108210816979408 + }, + "else": { + "operation": "boost", + "score": 0.016858655959367752 + } } - }, - "else": { - "operation": "boost", - "score": 0.04168513044714928 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInBaseClass", "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10869599133729935 - }, - "else": { - "operation": "boost", - "score": 0.14183728396892548 - } - }, - "else": { - "operation": "boost", - "score": 0.10187677294015884 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Namespace" + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.05236465111374855 + "score": 0.0006218614289537072 }, "else": { "operation": "boost", - "score": 0.007927682250738144 + "score": -0.06483130902051926 } }, "else": { - "operation": "boost", - "score": -0.12756288051605225 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.0051089623011648655 + "score": 0.030747106298804283 }, "else": { - "operation": "boost", - "score": 0.07165718078613281 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.05271638184785843 + }, + "else": { + "operation": "boost", + "score": 0.04701763391494751 + } + }, + "else": { + "operation": "boost", + "score": 0.03426700085401535 + } + }, + "else": { + "operation": "boost", + "score": -0.09675932675600052 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010098634287714958 + }, + "else": { + "operation": "boost", + "score": 0.0061858962289988995 + } + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.029264051467180252 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.012604273855686188 }, "else": { "operation": "boost", - "score": 0.03701140731573105 + "score": 0.018569378182291985 } } } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 405.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.030158013105392456 + }, + "else": { + "operation": "boost", + "score": -0.001491633476689458 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71954.5, + "then": { + "operation": "boost", + "score": 0.055069807916879654 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.053899794816970825 + }, + "else": { + "operation": "boost", + "score": 0.022774750366806984 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 41.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08001692593097687 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], + "then": { + "operation": "boost", + "score": 0.015348617918789387 + }, + "else": { + "operation": "boost", + "score": -0.07392647117376328 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.058319319039583206 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.017506830394268036 + "score": 0.04830893129110336 }, "else": { "operation": "boost", - "score": 0.1033553034067154 + "score": 0.006956339813768864 } }, "else": { "operation": "boost", - "score": 0.004695583134889603 + "score": -0.005724295508116484 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", + "CCC_Symbol", "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04853130131959915 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13856804370880127 - }, - "else": { - "operation": "boost", - "score": 0.11190628260374069 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07449206709861755 - } - }, - "else": { - "operation": "boost", - "score": 0.021511323750019073 - } + "operation": "boost", + "score": 0.024752601981163025 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.08582962304353714 - }, - "else": { - "operation": "boost", - "score": 0.02052619308233261 - } - }, - "else": { - "operation": "boost", - "score": -0.09082065522670746 - } - }, - "else": { - "operation": "boost", - "score": 0.02597849629819393 - } + "operation": "boost", + "score": -0.14870744943618774 } }, "else": { - "operation": "boost", - "score": 0.011147492565214634 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.013508794829249382 + }, + "else": { + "operation": "boost", + "score": -0.05302973464131355 + } } }, "else": { - "operation": "boost", - "score": -0.10673873126506805 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3091.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.030021555721759796 + }, + "else": { + "operation": "boost", + "score": -0.19812782108783722 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" + "Function" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21122.0, - "then": { - "operation": "boost", - "score": 0.060586024075746536 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.09295689314603806 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09536321461200714 - }, - "else": { - "operation": "boost", - "score": 0.06931572407484055 - } - } - } + "operation": "boost", + "score": 0.07149403542280197 }, "else": { "operation": "boost", - "score": 0.04133662208914757 + "score": 0.03878118470311165 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.016931844875216484 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { + "operation": "boost", + "score": -0.04935052618384361 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 369.0, "then": { "operation": "boost", - "score": 0.09287746250629425 + "score": 0.141992449760437 }, "else": { "operation": "boost", - "score": 0.053833793848752975 + "score": 0.06365174055099487 } }, "else": { "operation": "boost", - "score": 0.09676642715930939 + "score": 0.00549098988994956 } - }, - "else": { - "operation": "boost", - "score": 0.040486760437488556 } + }, + "else": { + "operation": "boost", + "score": -0.10010933130979538 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11909741163253784 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.029938040301203728 + }, + "else": { + "operation": "boost", + "score": -0.010602391324937344 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08219517767429352 + "score": -0.0499640554189682 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.0, - "then": { - "operation": "boost", - "score": 0.13324688374996185 - }, - "else": { - "operation": "boost", - "score": 0.10001974552869797 - } + "operation": "boost", + "score": -0.11316832900047302 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function", - "Namespace" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.117418572306633 - }, - "else": { - "operation": "boost", - "score": 0.09927617758512497 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 218.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 315.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.12412381917238235 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.05834886059165001 + }, + "else": { + "operation": "boost", + "score": 0.03785388544201851 + } + }, + "else": { + "operation": "boost", + "score": 0.025678280740976334 + } }, "else": { - "operation": "boost", - "score": 0.4833403527736664 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.019401676952838898 + }, + "else": { + "operation": "boost", + "score": 0.07697252929210663 + } + }, + "else": { + "operation": "boost", + "score": -0.15344323217868805 + } + }, + "else": { + "operation": "boost", + "score": 0.07334847748279572 + } + }, + "else": { + "operation": "boost", + "score": -0.18768759071826935 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0862189456820488 + }, + "else": { + "operation": "boost", + "score": -0.11593843996524811 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.050133559852838516 + }, + "else": { + "operation": "boost", + "score": 0.028493527323007584 + } + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 280.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.08836407214403152 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.02306448668241501 + }, + "else": { + "operation": "boost", + "score": -0.1335676610469818 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.09954026341438293 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.07760735601186752 + }, + "else": { + "operation": "boost", + "score": 0.08372855186462402 + } + }, + "else": { + "operation": "boost", + "score": 0.01900104247033596 + } }, "else": { - "operation": "boost", - "score": 0.10951296985149384 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.02330644801259041 + }, + "else": { + "operation": "boost", + "score": 0.023206740617752075 + } } } } }, "else": { "operation": "boost", - "score": 0.0826878771185875 + "score": -0.05327226221561432 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 138.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.14865538477897644 + "score": 0.05993553623557091 }, "else": { - "operation": "boost", - "score": 0.09831365197896957 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.012053352780640125 + }, + "else": { + "operation": "boost", + "score": -0.07328976690769196 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { - "operation": "boost", - "score": 0.08997993916273117 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.14542363584041595 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.020372774451971054 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.07180455327033997 + }, + "else": { + "operation": "boost", + "score": -0.08977425843477249 + } + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.14097119867801666 + "score": -0.007512901443988085 }, "else": { - "operation": "boost", - "score": 0.12738971412181854 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.019535329192876816 + }, + "else": { + "operation": "boost", + "score": -0.006472584325820208 + } } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.022835006937384605 + }, + "else": { + "operation": "boost", + "score": -0.1223851889371872 + } } } } - }, - "else": { - "operation": "boost", - "score": 0.09551940113306046 } - }, - "else": { - "operation": "boost", - "score": 0.15491251647472382 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1022767424583435 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "boost", - "score": 0.07758715003728867 - }, - "else": { - "operation": "boost", - "score": 0.15922586619853973 } } } }, "else": { "operation": "boost", - "score": 0.09693577885627747 + "score": -0.08404054492712021 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.0069566648453474045 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8374.0, - "then": { - "operation": "boost", - "score": 0.06446485966444016 - }, - "else": { - "operation": "boost", - "score": 0.02962479554116726 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.08890661597251892 - }, - "else": { - "operation": "boost", - "score": 0.07008162140846252 - } - } - }, - "else": { - "operation": "boost", - "score": 0.019077986478805542 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": -0.05581933632493019 + "score": 0.03974546492099762 }, "else": { "operation": "boost", - "score": -0.01337344478815794 + "score": 0.004293951205909252 } - }, - "else": { - "operation": "boost", - "score": -0.03878267854452133 } } } @@ -58603,2520 +58971,2664 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07015928626060486 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.061853982508182526 - }, - "else": { - "operation": "boost", - "score": 0.04511869698762894 - } - } + "operation": "boost", + "score": 0.07842329144477844 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.026983633637428284 - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09106045216321945 - }, - "else": { - "operation": "boost", - "score": 0.005481171887367964 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.01463851984590292 - }, - "else": { - "operation": "boost", - "score": -0.019328102469444275 - } - } + "operation": "boost", + "score": 0.041573360562324524 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 232.5, "then": { "operation": "boost", - "score": 0.09927772730588913 + "score": 0.044871728867292404 }, "else": { "operation": "boost", - "score": 0.04052695631980896 + "score": 0.021390579640865326 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.07760182023048401 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.12910036742687225 - }, - "else": { - "operation": "boost", - "score": -0.5102289319038391 - } - } - }, - "else": { - "operation": "boost", - "score": -0.045352108776569366 - } - }, - "else": { - "operation": "boost", - "score": -0.013770418241620064 - } + "operation": "boost", + "score": 0.046156592667102814 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.02429996058344841 + "score": 0.09150570631027222 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.05425418168306351 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08621010929346085 - }, - "else": { - "operation": "boost", - "score": 0.12140152603387833 - } - } + "operation": "boost", + "score": 0.04217825457453728 } }, "else": { "operation": "boost", - "score": 0.0676555186510086 + "score": 0.025290701538324356 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.04154454916715622 - }, - "else": { - "operation": "boost", - "score": 0.007263694889843464 - } - }, - "else": { - "operation": "boost", - "score": 0.052971284836530685 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.0725393146276474 - }, - "else": { - "operation": "boost", - "score": 0.11430492997169495 - } - }, - "else": { - "operation": "boost", - "score": 0.14256294071674347 - } - }, - "else": { - "operation": "boost", - "score": 0.08196453750133514 - } - }, - "else": { - "operation": "boost", - "score": 0.0670749768614769 - } + "operation": "boost", + "score": 0.07139187306165695 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, - "then": { - "operation": "boost", - "score": 0.07309702783823013 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "boost", - "score": 0.11225973814725876 - }, - "else": { - "operation": "boost", - "score": 0.17756541073322296 - } - }, - "else": { - "operation": "boost", - "score": 0.09638211131095886 - } - } + "operation": "boost", + "score": 0.03482617810368538 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Namespace" + "Macro", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": 0.029972819611430168 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 101.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07796800881624222 + "score": -0.04927009344100952 }, "else": { - "operation": "boost", - "score": 0.1252736896276474 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.02195402793586254 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08491899818181992 + }, + "else": { + "operation": "boost", + "score": 0.03546970337629318 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5982142686843872, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": 0.056220170110464096 + }, + "else": { + "operation": "boost", + "score": 0.12027976661920547 + } + }, + "else": { + "operation": "boost", + "score": 0.05058157071471214 + } + }, + "else": { + "operation": "boost", + "score": 0.002862169872969389 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": -0.06821814924478531 + }, + "else": { + "operation": "boost", + "score": 0.02184978872537613 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.015993401408195496 + } + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.14585596323013306 - }, - "else": { - "operation": "boost", - "score": 0.03037494421005249 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 893.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, "then": { "operation": "boost", - "score": 0.10859508067369461 + "score": 0.03327969089150429 }, "else": { - "operation": "boost", - "score": 0.0810207724571228 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01361081749200821 + }, + "else": { + "operation": "boost", + "score": 0.023588914424180984 + } } - }, - "else": { - "operation": "boost", - "score": 0.09344179183244705 } } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.027668334543704987 + "score": -0.08233275264501572 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10936104506254196 - }, - "else": { - "operation": "boost", - "score": -0.05438021197915077 - } + "operation": "boost", + "score": 0.014634810388088226 } }, "else": { "operation": "boost", - "score": 0.024459002539515495 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.06886359304189682 - }, - "else": { - "operation": "boost", - "score": 0.04981033504009247 + "score": -0.025320902466773987 } - }, - "else": { - "operation": "boost", - "score": 0.018797580152750015 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.0071618990041315556 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 281926.5, "then": { "operation": "boost", - "score": -0.021321328356862068 + "score": 0.06167752668261528 }, "else": { - "operation": "boost", - "score": 0.04845085367560387 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06298813968896866 + }, + "else": { + "operation": "boost", + "score": 0.00955402385443449 + } } }, "else": { "operation": "boost", - "score": 0.010987053625285625 + "score": 0.07163655757904053 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08354692906141281 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.059500742703676224 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4701.0, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0008501035626977682 + "score": 0.10167955607175827 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4927.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.03053661808371544 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.11284635961055756 - }, - "else": { - "operation": "boost", - "score": 0.11885558068752289 - } - } + "operation": "boost", + "score": 0.0331350639462471 }, "else": { "operation": "boost", - "score": 0.01408223807811737 + "score": 0.13171693682670593 } } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 192.5, "then": { "operation": "boost", - "score": 0.055573105812072754 + "score": 0.01375352218747139 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "boost", - "score": 0.10628322511911392 - }, - "else": { - "operation": "boost", - "score": 0.03338908404111862 - } + "operation": "boost", + "score": 0.20917820930480957 } } - }, - "else": { - "operation": "boost", - "score": 0.05611738562583923 } } }, "else": { - "operation": "boost", - "score": -0.05462833121418953 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace" + "Macro", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.09188001602888107 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.019725831225514412 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.05357442423701286 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.0749669000506401 + }, + "else": { + "operation": "boost", + "score": 0.02462034858763218 + } + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.0816156417131424 + "score": 0.008283640258014202 }, "else": { "operation": "boost", - "score": 0.049035705626010895 + "score": 0.03192295506596565 } }, "else": { "operation": "boost", - "score": 0.04916958883404732 + "score": -0.008417780511081219 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1726.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7103.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.04588083177804947 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "boost", + "score": 0.009565450251102448 + }, + "else": { + "operation": "boost", + "score": 0.04357719048857689 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.013477452099323273 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.05584423989057541 + }, + "else": { + "operation": "boost", + "score": 0.027070598676800728 + } + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.03287321329116821 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 37.5, "then": { + "operation": "boost", + "score": -0.20077253878116608 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42383.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.05175783112645149 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14304.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10100672394037247 + "score": -0.022641927003860474 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18268.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10910829156637192 + "score": -0.11760767549276352 }, "else": { - "operation": "boost", - "score": 0.1121678426861763 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.059632714837789536 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05656436085700989 + }, + "else": { + "operation": "boost", + "score": -0.021077042445540428 + } + } } } }, "else": { "operation": "boost", - "score": 0.1191849336028099 + "score": -0.08299977332353592 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.039479129016399384 + }, + "else": { + "operation": "boost", + "score": -0.00882644485682249 } } - }, - "else": { - "operation": "boost", - "score": -0.23771105706691742 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.10280206799507141 - }, - "else": { - "operation": "boost", - "score": 0.07699542492628098 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.01877599023282528 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.03956266865134239 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Function", + "Type", + "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.016047261655330658 + "score": 0.04501194879412651 }, "else": { "operation": "boost", - "score": 0.08306130021810532 + "score": 0.012968970462679863 } }, "else": { - "operation": "boost", - "score": 0.04994148388504982 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.029473554342985153 + }, + "else": { + "operation": "boost", + "score": 0.010754481889307499 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "boost", + "score": -0.007538147270679474 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0530339851975441 + }, + "else": { + "operation": "boost", + "score": 0.0007710344507358968 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.049207307398319244 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 121.5, + "then": { + "operation": "boost", + "score": 0.04641721025109291 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.015200980007648468 + }, + "else": { + "operation": "boost", + "score": -0.021861586719751358 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": -0.04062904417514801 + }, + "else": { + "operation": "boost", + "score": -0.11234042048454285 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71306.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.01355533953756094 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 187158.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 207505.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18719.5, - "then": { - "operation": "boost", - "score": 0.07935803383588791 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17871.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10691864788532257 - }, - "else": { - "operation": "boost", - "score": 0.10905306041240692 - } - }, - "else": { - "operation": "boost", - "score": 0.11143804341554642 - } - } + "operation": "boost", + "score": 0.11200857907533646 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14120.0, + "threshold": 224059.0, "then": { "operation": "boost", - "score": 0.04757571592926979 + "score": -0.2574765980243683 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13828.0, - "then": { - "operation": "boost", - "score": 0.10775056481361389 - }, - "else": { - "operation": "boost", - "score": 0.10023672878742218 - } + "operation": "boost", + "score": 0.06750861555337906 } } }, "else": { - "operation": "boost", - "score": 0.056193333119153976 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.1381366103887558 + }, + "else": { + "operation": "boost", + "score": 0.10905906558036804 + } } }, "else": { "operation": "boost", - "score": -0.08389978855848312 + "score": 0.06103358417749405 } + }, + "else": { + "operation": "boost", + "score": -0.11020558327436447 } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type" + ], "then": { "operation": "boost", - "score": 0.06633585691452026 + "score": 0.007711453828960657 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.008874350227415562 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116663.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.08533700555562973 + "score": 0.14130692183971405 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131140.0, - "then": { - "operation": "boost", - "score": 0.0902186706662178 - }, - "else": { - "operation": "boost", - "score": 0.10142756253480911 - } + "operation": "boost", + "score": 0.03155611455440521 } }, "else": { "operation": "boost", - "score": 0.06010521948337555 + "score": 0.09342598915100098 } }, "else": { "operation": "boost", - "score": 0.05442443862557411 + "score": -0.10596001148223877 } + }, + "else": { + "operation": "boost", + "score": -0.04668719694018364 } } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "Function", + "Keyword", + "Macro", + "Namespace" ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.05773879587650299 - }, - "else": { - "operation": "boost", - "score": 0.032842740416526794 - } - }, - "else": { - "operation": "boost", - "score": -0.48632505536079407 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.019266163930296898 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73487.5, + "threshold": 264171.5, "then": { - "operation": "boost", - "score": 0.06409996747970581 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273025.5, "then": { "operation": "boost", - "score": 0.10803741961717606 + "score": 0.06353171914815903 }, "else": { - "operation": "boost", - "score": 0.052728552371263504 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.09695468097925186 + }, + "else": { + "operation": "boost", + "score": -0.127621591091156 + } } - } - }, - "else": { - "operation": "boost", - "score": 0.015902584418654442 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.01669915020465851 - }, - "else": { - "operation": "boost", - "score": -0.04201190918684006 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07315105944871902 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.14968737959861755 + "score": 0.01749139465391636 }, "else": { - "operation": "boost", - "score": 0.10221845656633377 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.0023943136911839247 + }, + "else": { + "operation": "boost", + "score": -0.04995359107851982 + } + }, + "else": { + "operation": "boost", + "score": -0.0004405655199661851 + } } } }, "else": { - "operation": "boost", - "score": 0.030355393886566162 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04439201205968857 + }, + "else": { + "operation": "boost", + "score": -0.35184887051582336 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73.5, + "threshold": 241916.0, "then": { + "operation": "boost", + "score": -0.06777811050415039 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07079055160284042 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 187158.0, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" + "CCC_Statement" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191.0, - "then": { - "operation": "boost", - "score": 0.10041888058185577 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 138.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.0, - "then": { - "operation": "boost", - "score": 0.12811458110809326 - }, - "else": { - "operation": "boost", - "score": 0.14060662686824799 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14134271442890167 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11413811147212982 - }, - "else": { - "operation": "boost", - "score": -0.1119351014494896 - } - } - } - } + "operation": "boost", + "score": 0.09374208748340607 }, "else": { "operation": "boost", - "score": -0.1023319661617279 + "score": 0.0009674985776655376 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12790364027023315 - }, - "else": { - "operation": "boost", - "score": 0.210405170917511 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "boost", - "score": 0.09773681312799454 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.14690111577510834 - }, - "else": { - "operation": "boost", - "score": 0.1959695816040039 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { "operation": "boost", - "score": 0.083208367228508 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11468365043401718 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.14533160626888275 - }, - "else": { - "operation": "boost", - "score": 0.0658816322684288 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06253321468830109 - } + "score": -0.017816107720136642 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.09853275120258331 - }, - "else": { - "operation": "boost", - "score": 0.07049542665481567 - } } - }, - "else": { - "operation": "boost", - "score": 0.044617895036935806 } - }, - "else": { - "operation": "boost", - "score": -0.007959683425724506 } } } } } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06808535009622574 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.059219326823949814 - }, - "else": { - "operation": "boost", - "score": 0.045222219079732895 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04558553174138069 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.007769410032778978 - }, - "else": { - "operation": "boost", - "score": 0.023779602721333504 - } - }, - "else": { - "operation": "boost", - "score": -0.006953505799174309 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 2908.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 3004.5, "then": { "operation": "boost", - "score": 0.0780157595872879 + "score": 0.06397901475429535 }, "else": { - "operation": "boost", - "score": -0.004812796600162983 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2985.0, + "then": { + "operation": "boost", + "score": 0.15305960178375244 + }, + "else": { + "operation": "boost", + "score": 0.06550242006778717 + } } }, "else": { - "operation": "boost", - "score": 0.012294942513108253 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85788.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07936464995145798 + "score": 0.059811633080244064 }, "else": { "operation": "boost", - "score": 0.044736847281455994 + "score": 0.028305046260356903 } - }, - "else": { - "operation": "boost", - "score": 0.07597023248672485 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.013267013244330883 - }, - "else": { - "operation": "boost", - "score": 0.03413253650069237 } }, "else": { - "operation": "boost", - "score": 0.019262637943029404 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.002525538206100464 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09358344227075577 - }, - "else": { - "operation": "boost", - "score": 0.012802254408597946 - } + "operation": "boost", + "score": 0.028898194432258606 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03939049318432808 - }, - "else": { - "operation": "boost", - "score": 0.09225229173898697 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62580.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": -0.0349796824157238 - }, - "else": { - "operation": "boost", - "score": 0.05825604870915413 - } - }, - "else": { - "operation": "boost", - "score": -0.12791045010089874 - } + "score": -0.04882432520389557 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09716886281967163 - }, - "else": { - "operation": "boost", - "score": 0.10723134875297546 - } - }, - "else": { - "operation": "boost", - "score": 0.07553490251302719 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.09218922257423401 + "score": 0.029941553249955177 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198405.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" + "ClassScope" ], "then": { - "operation": "boost", - "score": 0.12356191128492355 - }, - "else": { - "operation": "boost", - "score": 0.06119203567504883 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, - "then": { - "operation": "boost", - "score": 0.012087193317711353 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09004157781600952 + "score": 0.038290102034807205 }, "else": { "operation": "boost", - "score": 0.06203779578208923 + "score": 0.11986848711967468 } + }, + "else": { + "operation": "boost", + "score": 0.014596058055758476 } + }, + "else": { + "operation": "boost", + "score": -0.01807071454823017 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.03280336782336235 + }, + "else": { + "operation": "boost", + "score": 0.00670249667018652 } + }, + "else": { + "operation": "boost", + "score": 0.004220736678689718 } } } + } + }, + "else": { + "operation": "boost", + "score": -0.07799830287694931 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02193453162908554 }, "else": { "operation": "boost", - "score": 0.016147444024682045 + "score": 0.01363146398216486 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.042088497430086136 + "score": -0.02737162448465824 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { + "operation": "boost", + "score": 0.04578683525323868 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", "Destructor", - "Operator", - "Unknown", - "Constructor", "Function", - "Type" + "Keyword", + "Namespace", + "Type", + "Variable" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.01690850220620632 - }, - "else": { - "operation": "boost", - "score": -0.07795128971338272 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.09479127079248428 - }, - "else": { - "operation": "boost", - "score": -0.052018627524375916 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.026633772999048233 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, - "then": { - "operation": "boost", - "score": 0.09420102834701538 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.09669946879148483 - }, - "else": { - "operation": "boost", - "score": 0.07634568214416504 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07393854111433029 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.05480698123574257 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, - "then": { - "operation": "boost", - "score": 0.07691103219985962 - }, - "else": { - "operation": "boost", - "score": 0.05744525045156479 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03810138255357742 - } - } - } - }, - "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1462099403142929 + "score": -0.12529128789901733 }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.020282501354813576 - }, - "else": { - "operation": "boost", - "score": -0.059935230761766434 - } + "operation": "boost", + "score": -0.034083347767591476 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.01841914653778076 + "score": -0.09061284363269806 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0612034909427166 - }, - "else": { - "operation": "boost", - "score": 0.0858621671795845 - } - }, - "else": { - "operation": "boost", - "score": -0.004311565775424242 - } - }, - "else": { - "operation": "boost", - "score": 0.06563778966665268 - } - }, - "else": { - "operation": "boost", - "score": 0.03372858464717865 - } + "operation": "boost", + "score": 0.0024396658409386873 } } } + }, + "else": { + "operation": "boost", + "score": -0.11440881341695786 } } } } } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.05317814648151398 + }, + "else": { + "operation": "boost", + "score": 0.03451225534081459 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11888.0, + "then": { + "operation": "boost", + "score": 0.05948670953512192 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.029625078663229942 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.054664235562086105 + }, + "else": { + "operation": "boost", + "score": 0.004659419413655996 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04460899904370308 + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67917.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.062066104263067245 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { "operation": "boost", - "score": 0.055953919887542725 + "score": 0.04755246266722679 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.0, + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, "then": { - "operation": "boost", - "score": 0.106548011302948 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07145605236291885 + }, + "else": { + "operation": "boost", + "score": 0.1392282098531723 + } }, "else": { "operation": "boost", - "score": 0.0769573524594307 + "score": -0.20422066748142242 } } }, "else": { "operation": "boost", - "score": -0.02386574074625969 + "score": 0.0767349973320961 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.02128704823553562 - }, - "else": { - "operation": "boost", - "score": 0.07979274541139603 - } + "operation": "boost", + "score": 0.023465260863304138 } }, "else": { "operation": "boost", - "score": 0.026596959680318832 + "score": 0.04890785366296768 } + }, + "else": { + "operation": "boost", + "score": 0.03276113420724869 } }, "else": { + "operation": "boost", + "score": 0.02448778599500656 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.1107720285654068 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.054128605872392654 + }, + "else": { + "operation": "boost", + "score": 0.032930709421634674 + } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.028497571125626564 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "operation": "boost", + "score": -0.04506896808743477 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.030039561912417412 + "score": 0.005785374902188778 }, "else": { - "operation": "boost", - "score": 0.12512412667274475 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.05346151813864708 + }, + "else": { + "operation": "boost", + "score": 0.022947175428271294 + } + }, + "else": { + "operation": "boost", + "score": -0.21058300137519836 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.07276642322540283 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.024816883727908134 + }, + "else": { + "operation": "boost", + "score": -0.015591593459248543 + } + } + } } }, "else": { - "operation": "boost", - "score": 0.04534413293004036 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.006431868299841881 - }, + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08356624841690063 + }, + "else": { + "operation": "boost", + "score": 0.032550498843193054 + } + }, + "else": { + "operation": "boost", + "score": 0.0018611741252243519 + } + }, + "else": { + "operation": "boost", + "score": -0.014954203739762306 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": 0.039972517639398575 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0010246318997815251 + }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.1107548251748085 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.03796696662902832 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.013970296829938889 + }, + "else": { + "operation": "boost", + "score": 0.03406781703233719 + } + } }, "else": { "operation": "boost", - "score": 0.045128338038921356 + "score": -0.0067428844049572945 } } } - }, - "else": { - "operation": "boost", - "score": -0.3514515161514282 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08237181603908539 }, "else": { "operation": "boost", - "score": 0.012876151129603386 + "score": 0.01395344827324152 } + }, + "else": { + "operation": "boost", + "score": -0.022766271606087685 } } - }, - "else": { - "operation": "boost", - "score": -0.008939000777900219 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 281926.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": -0.13207079470157623 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07917433977127075 - }, - "else": { - "operation": "boost", - "score": 0.11358317732810974 - } - } + "operation": "boost", + "score": 0.05882170796394348 }, "else": { "operation": "boost", - "score": 0.058761920779943466 + "score": 0.011888988316059113 } }, "else": { "operation": "boost", - "score": 0.023399552330374718 + "score": 0.06865949183702469 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "boost", + "score": 0.07781830430030823 + }, + "else": { + "operation": "boost", + "score": 0.0424567349255085 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03783193603157997 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.016339482739567757 + }, + "else": { + "operation": "boost", + "score": -0.00270156585611403 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04469988867640495 + }, + "else": { + "operation": "boost", + "score": 0.012112072668969631 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12709587812423706 - }, - "else": { - "operation": "boost", - "score": 0.09704131633043289 - } + "operation": "boost", + "score": -0.037620335817337036 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.16154879331588745 + "score": -0.00048645713832229376 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "boost", + "score": -0.04125671461224556 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.053060054779052734 + }, + "else": { + "operation": "boost", + "score": -0.12653855979442596 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "boost", + "score": -0.11371316015720367 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.1109669879078865 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 501.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.024203669279813766 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.14930547773838043 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0786629244685173 + }, + "else": { + "operation": "boost", + "score": -0.012047077529132366 + } }, "else": { "operation": "boost", - "score": 0.1176171526312828 + "score": 0.02754506655037403 } - }, - "else": { - "operation": "boost", - "score": 0.04237419739365578 } - } - }, - "else": { - "operation": "boost", - "score": 0.09129566699266434 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "boost", - "score": 0.10511350631713867 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03151756152510643 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32329.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08950281888246536 + "score": -0.047685299068689346 }, "else": { "operation": "boost", - "score": 0.05211235210299492 + "score": 0.004417781252413988 } } } + }, + "else": { + "operation": "boost", + "score": -0.0046876175329089165 } }, "else": { "operation": "boost", - "score": 0.04466497525572777 + "score": -0.0735803097486496 } } - }, - "else": { - "operation": "boost", - "score": -0.09685519337654114 } } }, "else": { - "operation": "boost", - "score": -0.048438750207424164 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119809.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", "CCC_Type" ], + "then": { + "operation": "boost", + "score": 0.04861900210380554 + }, + "else": { + "operation": "boost", + "score": 0.029482562094926834 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.09156139940023422 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.11656012386083603 + "score": -0.040832217782735825 }, "else": { "operation": "boost", - "score": 0.1299591213464737 + "score": 0.024108482524752617 } + }, + "else": { + "operation": "boost", + "score": -0.07205265015363693 } }, "else": { - "operation": "boost", - "score": -0.06693190336227417 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.0256027989089489 + }, + "else": { + "operation": "boost", + "score": 0.013100171461701393 + } } - }, - "else": { - "operation": "boost", - "score": 0.24871762096881866 } - }, - "else": { + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 405.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.02773132547736168 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function", - "Type", - "Namespace" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 63549.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, "then": { + "operation": "boost", + "score": 0.0005596401751972735 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0099726477637887 - }, - "else": { - "operation": "boost", - "score": 0.047633808106184006 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06417609006166458 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11114340275526047 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10469905287027359 - }, - "else": { - "operation": "boost", - "score": 0.1302167773246765 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.048716578632593155 - } + "operation": "boost", + "score": 0.08333856612443924 }, "else": { "operation": "boost", - "score": 0.002993321744725108 + "score": 0.010400199331343174 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.06436473876237869 }, "else": { + "operation": "boost", + "score": 0.03943123668432236 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005696565378457308 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 219281.5, + "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 263945.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 298482.5, "then": { "operation": "boost", - "score": 0.0688767358660698 + "score": -0.17751248180866241 }, "else": { "operation": "boost", - "score": 0.044935014098882675 + "score": 0.08979954570531845 } }, "else": { "operation": "boost", - "score": -0.05975435674190521 + "score": -0.07268907874822617 } }, "else": { "operation": "boost", - "score": 0.018842153251171112 + "score": -0.061111148446798325 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.023450279608368874 + "score": 0.09699857980012894 }, "else": { "operation": "boost", - "score": -0.00421931641176343 + "score": -0.24054081737995148 } - }, - "else": { - "operation": "boost", - "score": -0.0798402652144432 } + }, + "else": { + "operation": "boost", + "score": 0.008970317430794239 } }, "else": { - "operation": "boost", - "score": -0.09896514564752579 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56762.0, + "then": { + "operation": "boost", + "score": -0.15655069053173065 + }, + "else": { + "operation": "boost", + "score": -0.05170828476548195 + } } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.03681467846035957 + }, + "else": { + "operation": "boost", + "score": -0.03568938001990318 + } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 71954.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0972171425819397 + }, + "else": { + "operation": "boost", + "score": 0.04801947623491287 + } + }, + "else": { + "operation": "boost", + "score": 0.02417183294892311 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { + "operation": "boost", + "score": -0.0712391659617424 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.07200003415346146 + }, + "else": { + "operation": "boost", + "score": 0.15799188613891602 + } + }, + "else": { + "operation": "boost", + "score": 0.05948223918676376 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.06261057406663895 + }, + "else": { + "operation": "boost", + "score": 0.01702168397605419 + } + } + }, + "else": { + "operation": "boost", + "score": -0.025302479043602943 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03670765459537506 + }, + "else": { + "operation": "boost", + "score": -0.04495887830853462 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.09112399071455002 + "score": 0.03583855554461479 }, "else": { "operation": "boost", - "score": 0.11802715063095093 + "score": -0.0417327880859375 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11243508011102676 + }, + "else": { + "operation": "boost", + "score": -0.014528091065585613 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07899399846792221 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09053122252225876 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05216791853308678 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 323.0, + "then": { + "operation": "boost", + "score": 0.15599288046360016 + }, + "else": { + "operation": "boost", + "score": 0.05761278048157692 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04252394288778305 + }, + "else": { + "operation": "boost", + "score": -0.006544902920722961 + } + } + } }, "else": { - "operation": "boost", - "score": 0.03383694589138031 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.003715314669534564 + }, + "else": { + "operation": "boost", + "score": -0.12360826879739761 + } } }, "else": { "operation": "boost", - "score": -0.03486471250653267 + "score": 0.015206053853034973 } } }, @@ -61124,57 +61636,150 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { + "operation": "boost", + "score": 0.07379497587680817 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 192.5, "then": { "operation": "boost", - "score": 0.11161697655916214 + "score": 0.07379202544689178 }, "else": { "operation": "boost", - "score": 0.1157015711069107 + "score": 0.015722934156656265 } + } + }, + "else": { + "operation": "boost", + "score": -0.013038529083132744 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08220823854207993 }, "else": { - "operation": "boost", - "score": 0.3271450996398926 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.0712495818734169 + }, + "else": { + "operation": "boost", + "score": -0.05319187045097351 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.06910571455955505 + }, + "else": { + "operation": "boost", + "score": 0.014923159033060074 + } + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13723382353782654 + "score": -0.036426905542612076 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.12097807228565216 + "score": 0.0011773010483011603 }, "else": { "operation": "boost", - "score": 0.10240629315376282 + "score": -0.065738745033741 } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0046147010289132595 + }, + "else": { + "operation": "boost", + "score": -0.020184842869639397 + } } - }, - "else": { - "operation": "boost", - "score": -0.045847706496715546 } } } @@ -61192,2218 +61797,2796 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06619742512702942 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05754837766289711 - }, - "else": { - "operation": "boost", - "score": 0.039197325706481934 - } - } + "operation": "boost", + "score": 0.07550982385873795 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": 0.03807228058576584 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.15192309021949768, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.04364495724439621 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2677670121192932 + "score": 0.07019275426864624 }, "else": { "operation": "boost", - "score": 0.015681782737374306 + "score": 0.03506721183657646 } }, "else": { - "operation": "boost", - "score": -0.011260349303483963 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.06999339163303375 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0480586513876915 + }, + "else": { + "operation": "boost", + "score": 0.01716713234782219 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.08354710042476654 + "score": -0.011793110519647598 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.15499897301197052 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12980742752552032 + }, + "else": { + "operation": "boost", + "score": 0.16105139255523682 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.059584084898233414 + }, + "else": { + "operation": "boost", + "score": 0.14751183986663818 + } + } }, "else": { - "operation": "boost", - "score": 0.09486287087202072 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3452380895614624, + "then": { + "operation": "boost", + "score": 0.04963616654276848 + }, + "else": { + "operation": "boost", + "score": 0.018252283334732056 + } } } } }, "else": { "operation": "boost", - "score": 0.005562382750213146 - } - }, - "else": { - "operation": "boost", - "score": 0.008800377137959003 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85788.5, - "then": { - "operation": "boost", - "score": 0.07582864910364151 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0583263635635376 - }, - "else": { - "operation": "boost", - "score": 0.052105292677879333 + "score": -0.08099988847970963 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10923736542463303 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 781.5, "then": { - "operation": "boost", - "score": 0.07405927032232285 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.039465054869651794 + }, + "else": { + "operation": "boost", + "score": 0.06587834656238556 + } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Type", + "Macro", "Namespace" ], "then": { - "operation": "boost", - "score": 0.057404227554798126 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.059564363211393356 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01671665720641613 + }, + "else": { + "operation": "boost", + "score": -0.03314676135778427 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03551669046282768 + } }, "else": { - "operation": "boost", - "score": -0.03262172266840935 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0061782547272741795 + }, + "else": { + "operation": "boost", + "score": 0.02862749807536602 + } + }, + "else": { + "operation": "boost", + "score": -0.08463281393051147 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.02533457987010479 + }, + "else": { + "operation": "boost", + "score": 0.012968111783266068 + } + } } }, "else": { - "operation": "boost", - "score": 0.04342828691005707 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05489566922187805 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.03277602046728134 - }, - "else": { - "operation": "boost", - "score": -0.3445795476436615 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 33.5, "then": { "operation": "boost", - "score": -0.0038150129839777946 + "score": 0.05210459232330322 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05248526856303215 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.06678520143032074 + }, + "else": { + "operation": "boost", + "score": -0.0029395841993391514 + } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.03747597709298134 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.06324395537376404 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0260930135846138 - }, - "else": { - "operation": "boost", - "score": 0.11243531852960587 - } - }, - "else": { - "operation": "boost", - "score": 0.12051068991422653 - } - }, - "else": { - "operation": "boost", - "score": -0.020636308938264847 - } - } + "operation": "boost", + "score": 0.033670421689748764 }, "else": { "operation": "boost", - "score": 0.03834622725844383 + "score": 0.021105077117681503 } - }, - "else": { - "operation": "boost", - "score": 0.03360581025481224 } } } - }, - "else": { - "operation": "boost", - "score": -0.23240312933921814 } } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.07722873985767365 + }, + "else": { + "operation": "boost", + "score": 0.03032219596207142 + } + }, + "else": { + "operation": "boost", + "score": 0.010057525709271431 + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.004659170750528574 + "score": -0.07860057801008224 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsDeprecated", "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06820987910032272 + }, + "else": { + "operation": "boost", + "score": 0.011107103899121284 + } + } + }, + "else": { + "operation": "boost", + "score": -0.023441849276423454 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.01582440920174122 + }, + "else": { + "operation": "boost", + "score": -0.03624780848622322 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.07357162237167358 + }, + "else": { + "operation": "boost", + "score": 0.034410636872053146 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.02500000037252903, "then": { "operation": "boost", - "score": 0.09242243319749832 + "score": 0.09597110003232956 }, "else": { "operation": "boost", - "score": 0.012664949521422386 + "score": 0.028703702613711357 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.034406114369630814 + "score": 0.03547021001577377 }, "else": { "operation": "boost", - "score": 0.08655806630849838 + "score": -0.04761481657624245 } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.03701276704668999 + }, + "else": { + "operation": "boost", + "score": -0.025389650836586952 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62580.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0423554964363575 + "score": -0.13909004628658295 }, "else": { - "operation": "boost", - "score": -0.11666768044233322 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.02697233483195305 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.0405697263777256 + }, + "else": { + "operation": "boost", + "score": 0.0328681617975235 + } + }, + "else": { + "operation": "boost", + "score": -0.03633427619934082 + } + } } }, "else": { + "operation": "boost", + "score": -0.02991386130452156 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.035098522901535034, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Keyword", + "Macro", + "Namespace", + "Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09575214982032776 + "score": -0.053270597010850906 }, "else": { - "operation": "boost", - "score": 0.1063447892665863 - } - }, - "else": { - "operation": "boost", - "score": 0.07200933992862701 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198405.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.12464451044797897 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "boost", - "score": 0.07562866061925888 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, "then": { "operation": "boost", - "score": 0.10204895585775375 + "score": -0.029646828770637512 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.007416322361677885 + }, + "else": { + "operation": "boost", + "score": 0.07546789199113846 + } + }, + "else": { + "operation": "boost", + "score": -0.14249774813652039 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07797374576330185 + }, + "else": { + "operation": "boost", + "score": -0.09758633375167847 + } + } + }, + "else": { + "operation": "boost", + "score": -0.18108922243118286 + } + }, + "else": { + "operation": "boost", + "score": 0.08230838924646378 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04174318164587021 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.11512645334005356 + "score": 0.008531571365892887 }, "else": { "operation": "boost", - "score": 0.10362294316291809 + "score": -0.1017933115363121 } } } + }, + "else": { + "operation": "boost", + "score": 0.011910250410437584 } - }, - "else": { - "operation": "boost", - "score": 0.03194235637784004 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, - "then": { - "operation": "boost", - "score": 0.011415870860219002 - }, - "else": { - "operation": "boost", - "score": 0.06416954845190048 - } + "operation": "boost", + "score": -0.00795077346265316 } + }, + "else": { + "operation": "boost", + "score": -0.03514333814382553 } + }, + "else": { + "operation": "boost", + "score": -0.023120615631341934 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "boost", + "score": 0.047771379351615906 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.19391462206840515 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04291694611310959 + }, + "else": { + "operation": "boost", + "score": 0.06355299055576324 + } + }, + "else": { + "operation": "boost", + "score": -0.06617020070552826 + } }, "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.01840541698038578 + }, + "else": { + "operation": "boost", + "score": -0.011264830827713013 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6221.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 32947.0, "then": { "operation": "boost", - "score": -0.021462902426719666 + "score": -0.1618807017803192 }, "else": { "operation": "boost", - "score": 0.042957283556461334 + "score": 0.07121019810438156 } + }, + "else": { + "operation": "boost", + "score": 0.1365642249584198 } + }, + "else": { + "operation": "boost", + "score": 0.028725987300276756 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.042192600667476654 + "score": 0.014787374064326286 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009715214371681213 + }, + "else": { + "operation": "boost", + "score": 0.034543491899967194 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 32.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.1757425218820572 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03894994780421257 + }, + "else": { + "operation": "boost", + "score": -0.023703856393694878 + } }, "else": { "operation": "boost", - "score": 0.016475317999720573 + "score": 0.042187757790088654 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Statement" ], "then": { "operation": "boost", - "score": 0.09043075144290924 + "score": 0.02538362704217434 }, "else": { "operation": "boost", - "score": -0.04915129765868187 + "score": -0.00264080916531384 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.023177558556199074 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03139190375804901 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0617092102766037 + }, + "else": { + "operation": "boost", + "score": -0.003749942174181342 + } + } }, "else": { + "operation": "boost", + "score": -0.09180091321468353 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09400768578052521 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Type" + "ClassScope", + "GlobalScope" ], "then": { - "operation": "boost", - "score": 0.0913970023393631 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04526599124073982 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.041306979954242706 + }, + "else": { + "operation": "boost", + "score": -0.0654696673154831 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06735393404960632 + } }, "else": { - "operation": "boost", - "score": 0.06859918683767319 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion" + "Namespace" ], "then": { "operation": "boost", - "score": 0.10898367315530777 + "score": 0.08570375293493271 }, "else": { "operation": "boost", - "score": 0.08330818265676498 + "score": 0.001407311880029738 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.012273700907826424 }, "else": { "operation": "boost", - "score": 0.060443200170993805 + "score": 0.07933919876813889 } + }, + "else": { + "operation": "boost", + "score": -0.005390367936342955 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.08730253577232361 }, "else": { "operation": "boost", - "score": 0.05839965492486954 + "score": 0.025262825191020966 } - }, - "else": { - "operation": "boost", - "score": 0.03137115761637688 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", "CCC_DotMemberAccess", - "CCC_Type" + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.0222018975764513 - }, - "else": { - "operation": "boost", - "score": -0.05948984622955322 - } - }, + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.049639321863651276 + }, + "else": { + "operation": "boost", + "score": 0.006771992892026901 + } + }, + "else": { + "operation": "boost", + "score": -0.01841561496257782 + } + }, + "else": { + "operation": "boost", + "score": -0.07183375954627991 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06458237767219543 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03950027376413345 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06618261337280273 + }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.03687319904565811 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.023703493177890778 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.11579413712024689 + }, + "else": { + "operation": "boost", + "score": 0.059675607830286026 + } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014361249282956123 + }, + "else": { + "operation": "boost", + "score": -0.211867094039917 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.14175626635551453 + "score": -0.056146908551454544 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14434584975242615 + }, + "else": { + "operation": "boost", + "score": 0.005867535248398781 + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "operation": "boost", + "score": 0.11543954908847809 + }, + "else": { + "operation": "boost", + "score": -0.11925447732210159 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0564713180065155 - }, - "else": { - "operation": "boost", - "score": 0.08355078101158142 - } + "operation": "boost", + "score": 0.09331438690423965 }, "else": { "operation": "boost", - "score": -0.004337986931204796 + "score": 0.017553487792611122 } }, "else": { "operation": "boost", - "score": 0.05799880251288414 + "score": 0.020232701674103737 } }, "else": { - "operation": "boost", - "score": 0.03231531009078026 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03145531937479973 + }, + "else": { + "operation": "boost", + "score": 0.03007105551660061 + } } + }, + "else": { + "operation": "boost", + "score": -0.09685542434453964 } } } } } + }, + "else": { + "operation": "boost", + "score": -0.016183285042643547 + } + } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.049956660717725754 + }, + "else": { + "operation": "boost", + "score": 0.031239956617355347 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05862895026803017 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68401.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104000.0, + "then": { + "operation": "boost", + "score": 0.05867299437522888 + }, + "else": { + "operation": "boost", + "score": 0.09863559901714325 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.02524024061858654 + }, + "else": { + "operation": "boost", + "score": 0.05231805890798569 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.25833332538604736, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101752.5, - "then": { - "operation": "boost", - "score": 0.09187794476747513 - }, - "else": { - "operation": "boost", - "score": 0.11166912317276001 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.05374440550804138 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.0, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { "operation": "boost", - "score": 0.10750984400510788 + "score": 0.062344275414943695 }, "else": { - "operation": "boost", - "score": 0.07977869361639023 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350855.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, "then": { "operation": "boost", - "score": 0.08977712690830231 + "score": 0.13172481954097748 }, "else": { "operation": "boost", - "score": 0.1165269985795021 + "score": -0.1480574607849121 } - }, - "else": { - "operation": "boost", - "score": -0.07934925705194473 } }, "else": { "operation": "boost", - "score": -0.023692753165960312 + "score": 0.07244444638490677 } }, "else": { "operation": "boost", - "score": 0.05316344276070595 + "score": 0.01953882910311222 } + }, + "else": { + "operation": "boost", + "score": 0.04140869528055191 } }, "else": { "operation": "boost", - "score": 0.024666404351592064 + "score": 0.02410312369465828 } }, "else": { "operation": "boost", - "score": 0.015291326679289341 + "score": 0.02365925908088684 } }, "else": { - "operation": "boost", - "score": -0.009189669042825699 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.037520881742239 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.13151895999908447 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.03648074343800545 + }, + "else": { + "operation": "boost", + "score": 0.00703191664069891 + } + }, + "else": { + "operation": "boost", + "score": 0.009971879422664642 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, "then": { - "operation": "boost", - "score": 0.07621318101882935 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04270098730921745 + }, + "else": { + "operation": "boost", + "score": 0.02785448543727398 + } }, "else": { - "operation": "boost", - "score": 0.11068890988826752 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.002389879198744893 + }, + "else": { + "operation": "boost", + "score": 0.022263912484049797 + } } } - }, - "else": { - "operation": "boost", - "score": 0.053020499646663666 } }, "else": { - "operation": "boost", - "score": 0.027282414957880974 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.009101544506847858 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.11159166693687439 + }, + "else": { + "operation": "boost", + "score": -0.19239746034145355 + } + } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.046848442405462265 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_SymbolOrNewName" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "boost", - "score": 0.11163006722927094 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, - "then": { - "operation": "boost", - "score": -0.15229997038841248 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, - "then": { - "operation": "boost", - "score": 0.0975499153137207 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.13692933320999146 - }, - "else": { - "operation": "boost", - "score": 0.0860578715801239 - } - }, - "else": { - "operation": "boost", - "score": 0.03838725388050079 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20118.5, - "then": { - "operation": "boost", - "score": 0.08219298720359802 - }, - "else": { - "operation": "boost", - "score": 0.043959807604551315 - } - } - } - } - } + "operation": "boost", + "score": 0.06851338595151901 }, "else": { "operation": "boost", - "score": -0.07950426638126373 + "score": 0.02065277472138405 } }, "else": { - "operation": "boost", - "score": -0.04662219062447548 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119809.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09078188985586166 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05362152308225632 - }, - "else": { - "operation": "boost", - "score": 0.12792466580867767 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": 0.09990520030260086 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11630748212337494 - }, - "else": { - "operation": "boost", - "score": 0.12368374317884445 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07895856350660324 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.12846626341342926 - }, - "else": { - "operation": "boost", - "score": 0.06575874984264374 - } - } - } + "operation": "boost", + "score": 0.03736865520477295 }, "else": { "operation": "boost", - "score": -0.06175748258829117 + "score": -0.06645026803016663 } }, "else": { "operation": "boost", - "score": 0.16341367363929749 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04317060858011246 - }, - "else": { - "operation": "boost", - "score": -0.0022802921012043953 + "score": 0.06613047420978546 } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8881.5, + "then": { + "operation": "boost", + "score": 0.062476616352796555 + }, + "else": { + "operation": "boost", + "score": 0.03922422230243683 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08498862385749817 + "score": -0.07350879907608032 }, "else": { - "operation": "boost", - "score": 0.11670646071434021 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.03980124369263649 + }, + "else": { + "operation": "boost", + "score": 0.004587230272591114 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.04331672191619873 + }, + "else": { + "operation": "boost", + "score": 0.001824265462346375 + } + } + }, + "else": { + "operation": "boost", + "score": 0.003431019838899374 + } } }, "else": { "operation": "boost", - "score": 0.00987265631556511 + "score": 0.026770321652293205 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10791732370853424 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.1250736117362976 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.04982702061533928 + }, + "else": { + "operation": "boost", + "score": 0.02358301915228367 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.053544528782367706 + }, + "else": { + "operation": "boost", + "score": 0.03145914897322655 + } + } }, "else": { "operation": "boost", - "score": 0.13494610786437988 + "score": -0.08163149654865265 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.11925717443227768 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.1028486117720604 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.03145310655236244 + }, + "else": { + "operation": "boost", + "score": 0.015582697466015816 + } }, "else": { "operation": "boost", - "score": 0.09814662486314774 + "score": 0.004029351286590099 } } + }, + "else": { + "operation": "boost", + "score": -0.041841715574264526 } } }, "else": { - "operation": "boost", - "score": -0.04384564980864525 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.05870567634701729 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.04022315889596939 + }, + "else": { + "operation": "boost", + "score": 0.018651120364665985 + } + } } } } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06438782066106796 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05389593169093132 - }, - "else": { - "operation": "boost", - "score": 0.0395376980304718 - } - } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.041744306683540344 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.01356172002851963 - }, - "else": { - "operation": "boost", - "score": -0.010166266933083534 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 418.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.0620381124317646 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04614538699388504 + }, + "else": { + "operation": "boost", + "score": -0.005999754182994366 + } + }, + "else": { + "operation": "boost", + "score": 0.05684206634759903 + } }, "else": { - "operation": "boost", - "score": 0.010698794387280941 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.004736734554171562 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.03485250473022461 + }, + "else": { + "operation": "boost", + "score": -0.03358859941363335 + } + } } }, "else": { - "operation": "boost", - "score": 0.05599178746342659 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 71954.5, "then": { "operation": "boost", - "score": -0.055831823498010635 + "score": 0.0499725416302681 }, "else": { "operation": "boost", - "score": 0.03498346358537674 + "score": 0.02326243557035923 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 41.0, + "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.02716492861509323 + "score": 0.03156422823667526 }, "else": { "operation": "boost", - "score": -0.09656501561403275 + "score": -0.029647981747984886 } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.031446799635887146 + "score": -0.05855005234479904 }, "else": { - "operation": "boost", - "score": -0.19554468989372253 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.011079584248363972 + }, + "else": { + "operation": "boost", + "score": 0.002938284073024988 + } } }, "else": { + "operation": "boost", + "score": -0.07890838384628296 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.004177542869001627 + "score": 0.0209646075963974 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.026438813656568527 + "score": 0.05676725134253502 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07691120356321335 - }, - "else": { - "operation": "boost", - "score": 0.050442490726709366 - } + "operation": "boost", + "score": 0.005832510534673929 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.06177663803100586 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.02780691534280777 - }, - "else": { - "operation": "boost", - "score": 0.11178500950336456 - } - }, - "else": { - "operation": "boost", - "score": 0.18750415742397308 - } - }, - "else": { - "operation": "boost", - "score": 0.005902497563511133 - } - } + "operation": "boost", + "score": -0.04742514714598656 }, "else": { "operation": "boost", - "score": 0.040441129356622696 + "score": 0.03656671941280365 } }, "else": { "operation": "boost", - "score": 0.030281545594334602 + "score": -0.06506279110908508 } } } }, "else": { "operation": "boost", - "score": -0.2279350310564041 + "score": -0.16359049081802368 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.03248673304915428 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", "CCC_SymbolOrNewName", - "CCC_Namespace" + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, - "then": { - "operation": "boost", - "score": 0.10025899857282639 - }, - "else": { - "operation": "boost", - "score": 0.14716176688671112 - } - }, - "else": { - "operation": "boost", - "score": 0.10067499428987503 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.0, - "then": { - "operation": "boost", - "score": 0.03387799859046936 - }, - "else": { - "operation": "boost", - "score": 0.13626548647880554 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08090172708034515 - } - }, - "else": { - "operation": "boost", - "score": 0.05833430960774422 - } + "operation": "boost", + "score": 0.032346196472644806 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, - "then": { - "operation": "boost", - "score": 0.07138396799564362 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, - "then": { - "operation": "boost", - "score": 0.07388676702976227 - }, - "else": { - "operation": "boost", - "score": 0.15794207155704498 - } - }, - "else": { - "operation": "boost", - "score": 0.08860290050506592 - } - } + "operation": "boost", + "score": 0.0022234914358705282 } - }, - "else": { - "operation": "boost", - "score": 0.10182895511388779 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.016046438366174698 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 878.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1153.5, - "then": { - "operation": "boost", - "score": -0.03786160796880722 - }, - "else": { - "operation": "boost", - "score": 0.10512590408325195 - } - }, - "else": { - "operation": "boost", - "score": 0.030974987894296646 - } - }, - "else": { - "operation": "boost", - "score": 0.03656117990612984 - } - }, - "else": { - "operation": "boost", - "score": 0.01992739364504814 - } + "operation": "boost", + "score": -0.04385679215192795 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10961410403251648 + "score": 0.06200229004025459 }, "else": { "operation": "boost", - "score": -0.1775335669517517 + "score": 0.004940178710967302 } } }, "else": { "operation": "boost", - "score": 0.08570831269025803 + "score": -0.0966622531414032 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.056985363364219666 - }, - "else": { - "operation": "boost", - "score": 0.03692518547177315 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.029263505712151527 }, "else": { - "operation": "boost", - "score": 0.04396215081214905 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.0035217220429331064 - }, - "else": { - "operation": "boost", - "score": 0.014073965139687061 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1726.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7103.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11492576450109482 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.027570132166147232 + "score": -0.10512825101613998 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13209.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "boost", - "score": 0.08902639895677567 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10566720366477966 - }, - "else": { - "operation": "boost", - "score": 0.11135392636060715 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11479629576206207 - } + "operation": "boost", + "score": -0.045135825872421265 }, "else": { "operation": "boost", - "score": 0.08579104393720627 + "score": 0.018871912732720375 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15956.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16126.0, + "operation": "boost", + "score": -0.042838387191295624 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23281.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99880.5, - "then": { - "operation": "boost", - "score": 0.1007356271147728 - }, - "else": { - "operation": "boost", - "score": 0.06868623197078705 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19035.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19203.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { + "operation": "boost", + "score": 0.008608483709394932 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19842.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.04245873540639877 + }, + "else": { + "operation": "boost", + "score": 0.02579193376004696 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21299.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.01464210357517004 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.014984079636633396 + }, + "else": { + "operation": "boost", + "score": 0.06937959790229797 + } + }, + "else": { + "operation": "boost", + "score": -0.12743166089057922 + } }, "else": { "operation": "boost", - "score": 0.11763385683298111 + "score": 0.06732077151536942 } }, "else": { "operation": "boost", - "score": -0.021748008206486702 + "score": -0.1538708657026291 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0790986716747284 + }, + "else": { + "operation": "boost", + "score": -0.11504478752613068 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.04740636423230171 }, "else": { "operation": "boost", - "score": 0.11165256798267365 + "score": 0.030124090611934662 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.023027723655104637 }, "else": { "operation": "boost", - "score": 0.09863711148500443 + "score": -0.12284502387046814 } }, "else": { - "operation": "boost", - "score": 0.12033101171255112 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.07484111934900284 + }, + "else": { + "operation": "boost", + "score": 0.07968355715274811 + } + }, + "else": { + "operation": "boost", + "score": 0.02190416492521763 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.05594908446073532 + }, + "else": { + "operation": "boost", + "score": -0.11859598755836487 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.0109062809497118 + }, + "else": { + "operation": "boost", + "score": 0.021659398451447487 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.08524616062641144 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12585948407649994 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11532.5, - "then": { - "operation": "boost", - "score": 0.11077194660902023 - }, - "else": { - "operation": "boost", - "score": -0.5525740385055542 } }, - "else": { - "operation": "boost", - "score": 0.08934242278337479 - } - }, - "else": { - "operation": "boost", - "score": 0.051595382392406464 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, - "then": { - "operation": "boost", - "score": 0.013371014036238194 - }, - "else": { - "operation": "boost", - "score": -0.14152005314826965 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11308.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18439.5, - "then": { - "operation": "boost", - "score": 0.09574811905622482 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18103.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.10811486840248108 + "score": -0.07650461792945862 }, "else": { "operation": "boost", - "score": 0.0637628585100174 + "score": 0.02886613830924034 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.07960812747478485 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25286.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.0651339665055275 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.03232250362634659 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.15138640999794006 + }, + "else": { + "operation": "boost", + "score": -0.11464961618185043 + } + }, + "else": { + "operation": "boost", + "score": 0.03374004736542702 + } + } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.0830722451210022 + "score": 0.0219353549182415 }, "else": { "operation": "boost", - "score": 0.061438195407390594 + "score": -0.10078100860118866 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11206.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", + "CCC_DotMemberAccess", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { - "operation": "boost", - "score": 0.11321491748094559 - }, - "else": { - "operation": "boost", - "score": -0.11210517585277557 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0965886190533638 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8427.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.04900578781962395 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.0015199421904981136 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.05039697885513306 + }, + "else": { + "operation": "boost", + "score": 0.018641386181116104 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.015716630965471268 + }, + "else": { + "operation": "boost", + "score": -0.02834298647940159 + } + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7875.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.12519164383411407 + "score": 0.005805009510368109 }, "else": { "operation": "boost", - "score": 0.11492963880300522 + "score": -0.02677016891539097 } } }, @@ -63411,1672 +64594,1473 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", "CCC_SymbolOrNewName", - "CCC_Statement" + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7369.0, - "then": { - "operation": "boost", - "score": 0.11955096572637558 - }, - "else": { - "operation": "boost", - "score": -0.06388957798480988 - } - }, - "else": { - "operation": "boost", - "score": 0.06962916254997253 - } + "operation": "boost", + "score": 0.13403953611850739 }, "else": { "operation": "boost", - "score": 0.11490260809659958 + "score": 0.09208918362855911 } }, "else": { "operation": "boost", - "score": 0.09161747246980667 + "score": -0.05066600814461708 } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.01306490134447813 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35146.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44699.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10654788464307785 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.09057016670703888 - }, - "else": { - "operation": "boost", - "score": -0.0845021978020668 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.12250382453203201 }, "else": { "operation": "boost", - "score": 0.09869615733623505 + "score": -0.015294873155653477 } } - }, - "else": { - "operation": "boost", - "score": 0.08221323788166046 } - }, - "else": { - "operation": "boost", - "score": 0.0417284294962883 } } } } }, "else": { + "operation": "boost", + "score": -0.07963337749242783 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005116590298712254 + } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07247808575630188 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.04229736328125 + }, + "else": { + "operation": "boost", + "score": 0.022963320836424828 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2124060094356537, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82127.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84795.5, + "then": { + "operation": "boost", + "score": 0.0781632587313652 + }, + "else": { + "operation": "boost", + "score": 0.10387355834245682 + } + }, + "else": { + "operation": "boost", + "score": 0.015439625829458237 + } + }, + "else": { + "operation": "boost", + "score": 0.03988618403673172 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91411.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": -0.14230987429618835 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05662946403026581 + "score": 0.06337829679250717 }, "else": { "operation": "boost", - "score": -0.316650927066803 + "score": 0.03774401172995567 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56647.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61387.0, - "then": { - "operation": "boost", - "score": -0.011394688859581947 - }, - "else": { - "operation": "boost", - "score": -0.2695603370666504 - } + "operation": "boost", + "score": 0.08342903852462769 }, "else": { "operation": "boost", - "score": 0.01582244411110878 + "score": 0.019884604960680008 } + }, + "else": { + "operation": "boost", + "score": -0.09845935553312302 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1743.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7081.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.9966633319854736 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2439.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "boost", - "score": 0.06551069021224976 + "score": 0.06551193445920944 }, "else": { "operation": "boost", - "score": 0.008649859577417374 + "score": 0.03882298991084099 } + }, + "else": { + "operation": "boost", + "score": 0.02115793526172638 } }, "else": { "operation": "boost", - "score": 0.010903328657150269 + "score": -0.0003018011921085417 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09620208293199539 + }, + "else": { + "operation": "boost", + "score": 0.002394067822024226 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05980170890688896 + }, + "else": { + "operation": "boost", + "score": 0.028077594935894012 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1737.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.11772502958774567 + "score": 0.013886158354580402 }, "else": { "operation": "boost", - "score": 0.1210581511259079 + "score": -0.07434076070785522 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", "Destructor", - "Operator", - "Unknown", - "Constructor", "Function", - "Namespace" + "Keyword", + "Macro", + "Namespace", + "Operator", + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1734.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1284700632095337 + "score": -0.006282659247517586 }, "else": { - "operation": "boost", - "score": -0.15876121819019318 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06649159640073776 + }, + "else": { + "operation": "boost", + "score": 0.020384814590215683 + } + }, + "else": { + "operation": "boost", + "score": -0.06440003961324692 + } } }, "else": { "operation": "boost", - "score": -0.11997425556182861 + "score": -0.09054682403802872 } }, "else": { - "operation": "boost", - "score": -0.06457944214344025 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.028153391554951668 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": 0.0917113795876503 + }, + "else": { + "operation": "boost", + "score": 0.04918183758854866 + } + }, + "else": { + "operation": "boost", + "score": 0.02737342193722725 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.03131360933184624 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.04647063463926315 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "boost", + "score": 0.094138003885746 + }, + "else": { + "operation": "boost", + "score": 0.029009006917476654 + } + }, + "else": { + "operation": "boost", + "score": -0.009413576684892178 + } + } + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.005392987746745348 } } - }, - "else": { - "operation": "boost", - "score": -0.013273654505610466 } - }, - "else": { - "operation": "boost", - "score": -0.03828606754541397 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.04869041219353676 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8374.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.06034582853317261 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.025485316291451454 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09220299124717712 - }, - "else": { - "operation": "boost", - "score": 0.07894711941480637 - } + "operation": "boost", + "score": 0.11651960015296936 }, "else": { "operation": "boost", - "score": 0.07404827326536179 + "score": 0.14859816431999207 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "operation": "boost", + "score": 0.06029360741376877 + } + }, + "else": { + "operation": "boost", + "score": 0.039447031915187836 + } + }, + "else": { + "operation": "boost", + "score": 0.011800632812082767 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.048471469432115555 + }, + "else": { + "operation": "boost", + "score": -0.5559026598930359 + } + }, + "else": { + "operation": "boost", + "score": -0.04583126679062843 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.07193909585475922 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.06396548449993134 + "score": 0.030304675921797752 }, "else": { "operation": "boost", - "score": 0.04005441814661026 + "score": -0.01748245768249035 } } } + }, + "else": { + "operation": "boost", + "score": 0.018078207969665527 } - }, - "else": { - "operation": "boost", - "score": 0.016056198626756668 } - }, - "else": { - "operation": "boost", - "score": -0.0071006654761731625 } } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0633334144949913 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05281894654035568 - }, - "else": { - "operation": "boost", - "score": 0.03775531426072121 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.032410744577646255 - }, - "else": { - "operation": "boost", - "score": 0.006730273831635714 - } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.008296489715576172 - }, - "else": { - "operation": "boost", - "score": -0.014628834091126919 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 23701.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.005503247492015362 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 24308.0, "then": { "operation": "boost", - "score": 0.05685129389166832 + "score": 0.056676629930734634 }, "else": { "operation": "boost", - "score": 0.00410868227481842 + "score": 0.11810944229364395 } - }, - "else": { - "operation": "boost", - "score": 0.05184972286224365 - } - }, - "else": { - "operation": "boost", - "score": 0.0543208122253418 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09266506880521774 - }, - "else": { - "operation": "boost", - "score": 0.032482992857694626 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.047912854701280594 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6360.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, "then": { "operation": "boost", - "score": 0.06294625997543335 + "score": 0.06179330497980118 }, "else": { "operation": "boost", - "score": 0.019585177302360535 + "score": 0.1299510896205902 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03764214366674423 + "score": -0.06297170370817184 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.048263318836688995 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "boost", + "score": 0.045765768736600876 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], "then": { + "operation": "boost", + "score": 0.03429022431373596 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.043648116290569305 + "score": -0.08879710733890533 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.027771135792136192 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10759331285953522 - }, - "else": { - "operation": "boost", - "score": 0.2917834520339966 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09037555009126663 - } - }, - "else": { - "operation": "boost", - "score": 0.05099630355834961 - } + "operation": "boost", + "score": 0.00803927518427372 } - }, - "else": { - "operation": "boost", - "score": 0.03199714049696922 } - }, - "else": { - "operation": "boost", - "score": 0.02519003488123417 } - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.005101862829178572 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03227877616882324 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.028954869136214256 - }, - "else": { - "operation": "boost", - "score": 0.08188936114311218 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": 0.03192706033587456 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.09416430443525314 + "score": 0.06954123079776764 }, "else": { "operation": "boost", - "score": 0.10560346394777298 + "score": 0.021250471472740173 } }, "else": { "operation": "boost", - "score": 0.06880953907966614 + "score": 0.02121652662754059 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 198405.5, + "threshold": 31.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.12048619240522385 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07257197797298431 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.2855970859527588 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.12062022089958191 - }, - "else": { - "operation": "boost", - "score": 0.10413412749767303 - } - }, - "else": { - "operation": "boost", - "score": 0.10107163339853287 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.029452955350279808 - } + "operation": "boost", + "score": 0.08168568462133408 }, "else": { "operation": "boost", - "score": 0.05360906571149826 + "score": -0.01608211360871792 } } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.04514315724372864 }, "else": { "operation": "boost", - "score": 0.01381650846451521 + "score": 0.01898307539522648 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.042261358350515366 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.00764461187645793 + "score": -0.0031392041128128767 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "operation": "boost", + "score": -0.11685195565223694 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.023115815594792366 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, - "then": { - "operation": "boost", - "score": 0.08862550556659698 - }, - "else": { - "operation": "boost", - "score": 0.07408850640058517 - } - }, - "else": { - "operation": "boost", - "score": 0.06653691828250885 - } + "operation": "boost", + "score": 0.06259544938802719 }, "else": { - "operation": "boost", - "score": 0.05058204382658005 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.132791206240654 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08886168152093887 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06578179448843002 + "score": -0.1301860809326172 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": 0.048486556857824326 + "score": 0.06277238577604294 }, "else": { - "operation": "boost", - "score": 0.07855089753866196 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.0557672381401062 + }, + "else": { + "operation": "boost", + "score": 0.03452964499592781 + } } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.056391965597867966 - }, - "else": { - "operation": "boost", - "score": 0.08516044914722443 - } } }, "else": { - "operation": "boost", - "score": 0.03494812548160553 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.012478293851017952 + }, + "else": { + "operation": "boost", + "score": -0.05641935393214226 + } } }, "else": { "operation": "boost", - "score": 0.026217792183160782 + "score": 0.002903748070821166 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.5, + "then": { + "operation": "boost", + "score": 0.056347813457250595 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.03542685881257057 - }, - "else": { - "operation": "boost", - "score": 0.01045322511345148 - } + "operation": "boost", + "score": -0.06227140501141548 }, "else": { "operation": "boost", - "score": -0.012254390865564346 + "score": 0.023837324231863022 } } } + }, + "else": { + "operation": "boost", + "score": -0.01534914132207632 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02130764164030552 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03139905259013176 + }, + "else": { + "operation": "boost", + "score": -0.1952972412109375 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03430650383234024 + }, + "else": { + "operation": "boost", + "score": 0.0023695784620940685 + } } } } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0668870061635971 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12699289619922638 + "score": -0.0856887623667717 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06949755549430847 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0186452753841877 - }, - "else": { - "operation": "boost", - "score": -0.445903480052948 - } + "operation": "boost", + "score": 0.016853345558047295 }, "else": { + "operation": "boost", + "score": -0.15692877769470215 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 82.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 86.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.07862817496061325 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12201696634292603 - }, - "else": { - "operation": "boost", - "score": 0.12655505537986755 - } - } + "operation": "boost", + "score": 0.09024835377931595 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37666.5, - "then": { - "operation": "boost", - "score": 0.09811358153820038 - }, - "else": { - "operation": "boost", - "score": 0.05030626803636551 - } + "operation": "boost", + "score": 0.17090508341789246 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.06948933750391006 - }, - "else": { - "operation": "boost", - "score": -0.21412676572799683 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11056826263666153 - }, - "else": { - "operation": "boost", - "score": 0.1044851690530777 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "boost", - "score": 0.03566669300198555 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.1305561363697052 - }, - "else": { - "operation": "boost", - "score": 0.17992882430553436 - } - }, - "else": { - "operation": "boost", - "score": 0.11926400661468506 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1317363828420639 - } - }, - "else": { - "operation": "boost", - "score": 0.0997411385178566 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09714511781930923 - }, - "else": { - "operation": "boost", - "score": 0.13738210499286652 - } - }, - "else": { - "operation": "boost", - "score": 0.11343332380056381 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06182792782783508 - }, - "else": { - "operation": "boost", - "score": 0.1079166904091835 - } - }, - "else": { - "operation": "boost", - "score": -0.0065425848588347435 - } - } + "operation": "boost", + "score": 0.0203749667853117 } + }, + "else": { + "operation": "boost", + "score": 0.010832443833351135 } - }, - "else": { - "operation": "boost", - "score": -0.04303742200136185 } - }, - "else": { - "operation": "boost", - "score": 0.03869762644171715 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.018202826380729675 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59352.5, - "then": { - "operation": "boost", - "score": 0.0921202227473259 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.061685312539339066 - }, - "else": { - "operation": "boost", - "score": 0.02278936840593815 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0789819210767746 - } + "operation": "boost", + "score": 0.10597719252109528 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20701.0, - "then": { - "operation": "boost", - "score": -0.23788972198963165 - }, - "else": { - "operation": "boost", - "score": -0.073529914021492 - } - }, - "else": { - "operation": "boost", - "score": 0.01889736019074917 - } + "operation": "boost", + "score": 0.03452155739068985 } }, "else": { "operation": "boost", - "score": 0.02507183700799942 + "score": 0.025755340233445168 } }, "else": { + "operation": "boost", + "score": -0.0006445946637541056 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5898.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06871910393238068 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { - "operation": "boost", - "score": -0.028728077188134193 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": -0.08803544193506241 + }, + "else": { + "operation": "boost", + "score": 0.06598098576068878 + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 108163.5, "then": { "operation": "boost", - "score": -0.020974550396203995 + "score": -0.13516323268413544 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 98088.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0383845716714859 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09049498289823532 - }, - "else": { - "operation": "boost", - "score": 0.09746736288070679 - } - }, - "else": { - "operation": "boost", - "score": 0.06306443363428116 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04000569134950638 - }, - "else": { - "operation": "boost", - "score": 0.10064518451690674 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03894713893532753 - }, - "else": { - "operation": "boost", - "score": -0.009783999063074589 - } - } + "operation": "boost", + "score": 0.1589963287115097 }, "else": { "operation": "boost", - "score": 0.027341162785887718 + "score": 0.019014764577150345 } } } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04518408328294754 + }, + "else": { + "operation": "boost", + "score": -0.06495781242847443 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.05590163916349411 + }, + "else": { + "operation": "boost", + "score": 0.02336304262280464 + } + } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12793424725532532 + "score": 0.049572307616472244 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07228424400091171 - }, - "else": { - "operation": "boost", - "score": 0.10898903012275696 - } + "operation": "boost", + "score": 0.015236495062708855 } }, "else": { "operation": "boost", - "score": 0.04975035414099693 + "score": 0.007586566265672445 } }, "else": { "operation": "boost", - "score": 0.019228573888540268 + "score": -0.07026010751724243 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0072482796385884285 + }, + "else": { + "operation": "boost", + "score": 0.04309898987412453 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02973208948969841 + }, + "else": { + "operation": "boost", + "score": 0.0038890521973371506 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.05144425854086876 - }, - "else": { - "operation": "boost", - "score": 0.011380570940673351 - } - }, - "else": { - "operation": "boost", - "score": -0.07762875407934189 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.0210165623575449 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown" + ], "then": { + "operation": "boost", + "score": 0.009758383966982365 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.016139905899763107 - }, - "else": { - "operation": "boost", - "score": 0.062262166291475296 - } + "operation": "boost", + "score": -0.12265463918447495 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.051185671240091324 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11021848022937775 - }, - "else": { - "operation": "boost", - "score": 0.12297863513231277 - } - } + "operation": "boost", + "score": -0.020547989755868912 } - }, - "else": { - "operation": "boost", - "score": 0.057568058371543884 } - }, - "else": { - "operation": "boost", - "score": 0.0032060735393315554 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type" + ], "then": { - "operation": "boost", - "score": -0.04737229272723198 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017112860456109047 + }, + "else": { + "operation": "boost", + "score": -0.013113302178680897 + } }, "else": { "operation": "boost", - "score": 0.020824279636144638 + "score": -0.05688409134745598 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48040.5, - "then": { - "operation": "boost", - "score": 0.1657734364271164 - }, - "else": { - "operation": "boost", - "score": 0.009273992851376534 - } - }, - "else": { - "operation": "boost", - "score": -0.12388809770345688 - } + "operation": "boost", + "score": -0.11444664746522903 } } - }, - "else": { - "operation": "boost", - "score": -0.026538684964179993 } } - }, - "else": { - "operation": "boost", - "score": -0.04134805127978325 } } } @@ -65090,1306 +66074,1482 @@ ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05863041430711746 - }, - "else": { - "operation": "boost", - "score": 0.09447713196277618 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06133098527789116 - }, - "else": { - "operation": "boost", - "score": 0.043255515396595 - } - } + "operation": "boost", + "score": -0.22431062161922455 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03146563842892647 - }, - "else": { - "operation": "boost", - "score": 0.013019402511417866 - } + "operation": "boost", + "score": 0.07086992263793945 }, "else": { "operation": "boost", - "score": 0.003121410496532917 + "score": 0.033864576369524 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 56.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.04876163601875305 + "score": 0.05568421259522438 }, "else": { - "operation": "boost", - "score": 0.01918763294816017 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.08346764743328094 + }, + "else": { + "operation": "boost", + "score": 0.032560765743255615 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6159.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08528245240449905 - }, - "else": { - "operation": "boost", - "score": 0.11769304424524307 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, - "then": { - "operation": "boost", - "score": 0.05919289216399193 - }, - "else": { - "operation": "boost", - "score": 0.12179490178823471 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.05068916454911232 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.06553714722394943 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { "operation": "boost", - "score": 0.13724838197231293 + "score": 0.036234866827726364 }, "else": { - "operation": "boost", - "score": -0.0859861671924591 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, + "then": { + "operation": "boost", + "score": 0.12479980289936066 + }, + "else": { + "operation": "boost", + "score": -0.12317384779453278 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.06363644450902939 - }, - "else": { - "operation": "boost", - "score": 0.13366715610027313 - } + "operation": "boost", + "score": 0.07552655041217804 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.0, - "then": { - "operation": "boost", - "score": 0.13676831126213074 }, "else": { "operation": "boost", - "score": 0.08917725831270218 + "score": 0.021351773291826248 } }, "else": { "operation": "boost", - "score": -0.011795085854828358 + "score": 0.04757456108927727 } + }, + "else": { + "operation": "boost", + "score": 0.029948949813842773 } - } - }, - "else": { - "operation": "boost", - "score": 0.07605765014886856 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06940221786499023 - }, - "else": { - "operation": "boost", - "score": 0.02335643768310547 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.028588082641363144 }, "else": { "operation": "boost", - "score": -0.08739649504423141 + "score": 0.022298451513051987 } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.02732834219932556 - }, - "else": { - "operation": "boost", - "score": -0.24469321966171265 - } - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.006247398909181356 + "score": 0.03499872609972954 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.045413874089717865 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.050318412482738495 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.025955818593502045 - }, - "else": { - "operation": "boost", - "score": 0.10853410512208939 - } - }, - "else": { - "operation": "boost", - "score": 0.16821569204330444 - } - }, - "else": { - "operation": "boost", - "score": 0.044806744903326035 - } - } + "operation": "boost", + "score": 0.034266263246536255 }, "else": { "operation": "boost", - "score": 0.036901723593473434 + "score": 0.00597270205616951 } }, "else": { "operation": "boost", - "score": 0.026585564017295837 + "score": 0.009151963517069817 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, + "then": { + "operation": "boost", + "score": 0.02949659712612629 + }, + "else": { + "operation": "boost", + "score": 0.016039978712797165 } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.008779007010161877 + }, + "else": { + "operation": "boost", + "score": -0.146667018532753 + } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61.5, + "threshold": 185.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.014363494701683521 + }, + "else": { + "operation": "boost", + "score": 0.060232244431972504 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2101.5, + "threshold": 55483.0, "then": { "operation": "boost", - "score": 0.06194601207971573 + "score": 0.07252568751573563 }, "else": { + "operation": "boost", + "score": 0.03884514421224594 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "boost", + "score": -0.02065844088792801 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Type" + "ClassScope", + "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "boost", + "score": 0.04106542095541954 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.09049317240715027 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.11431910842657089 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 139.5, - "then": { - "operation": "boost", - "score": 0.08723253011703491 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.13607141375541687 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.0, - "then": { - "operation": "boost", - "score": 0.13471876084804535 - }, - "else": { - "operation": "boost", - "score": -0.07282708585262299 - } - } - }, - "else": { - "operation": "boost", - "score": -0.23752228915691376 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09666786342859268 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09101638942956924 - } - }, - "else": { - "operation": "boost", - "score": 0.05690474435687065 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10805691033601761 + "score": 0.019780393689870834 }, "else": { "operation": "boost", - "score": 0.08431582897901535 + "score": -0.26822876930236816 } - }, - "else": { - "operation": "boost", - "score": 0.05887967720627785 } }, "else": { "operation": "boost", - "score": 0.053942374885082245 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, - "then": { - "operation": "boost", - "score": 0.1053016260266304 - }, - "else": { - "operation": "boost", - "score": 0.12196951359510422 + "score": 0.009338932111859322 } }, "else": { "operation": "boost", - "score": 0.0954778790473938 + "score": 0.02441820316016674 } } - } - }, - "else": { - "operation": "boost", - "score": 0.0009405958699062467 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08488812297582626 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { + }, + "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.12040869146585464 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.017773283645510674 + "score": 0.004376117140054703 }, "else": { "operation": "boost", - "score": -0.06445800513029099 + "score": -0.05452028661966324 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.047311387956142426 }, "else": { - "operation": "boost", - "score": 0.0041726985946297646 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "operation": "boost", + "score": 0.027172280475497246 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.12760351598262787 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.026249827817082405 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.005804743152111769 + }, + "else": { + "operation": "boost", + "score": 0.025556445121765137 + } + }, + "else": { + "operation": "boost", + "score": -0.009328465908765793 + } + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 454.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 608.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.07422088831663132 + "score": 0.03665409982204437 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11572017520666122 + "score": -0.06493663787841797 }, "else": { + "operation": "boost", + "score": 0.003405379131436348 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.12894944846630096 + "score": 0.03230806812644005 }, "else": { "operation": "boost", - "score": 0.090761698782444 + "score": -0.013855344615876675 } + }, + "else": { + "operation": "boost", + "score": 0.0006414134986698627 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.027315175160765648 }, "else": { "operation": "boost", - "score": 0.09029603004455566 + "score": -0.02983848936855793 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08955834060907364 - }, - "else": { - "operation": "boost", - "score": 0.03491213917732239 - } - }, - "else": { - "operation": "boost", - "score": 0.05640612170100212 - } } - }, - "else": { - "operation": "boost", - "score": 0.04029959812760353 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.053906120359897614 + }, + "else": { + "operation": "boost", + "score": 0.014884349890053272 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04255858436226845 + }, + "else": { + "operation": "boost", + "score": -0.40594643354415894 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 121.5, + "then": { + "operation": "boost", + "score": 0.04340120404958725 }, "else": { + "operation": "boost", + "score": 0.004859868437051773 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8607.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.05865240842103958 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Type" + "CCC_Namespace" ], "then": { - "operation": "boost", - "score": 0.06977683305740356 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.1370518058538437 + }, + "else": { + "operation": "boost", + "score": 0.04326716437935829 + } }, "else": { "operation": "boost", - "score": 0.05016158148646355 + "score": 0.06968940794467926 } }, "else": { "operation": "boost", - "score": 0.03412409871816635 + "score": -0.0028432549443095922 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "boost", - "score": 0.051075488328933716 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.007960844784975052 + }, + "else": { + "operation": "boost", + "score": 0.07142004370689392 + } + }, + "else": { + "operation": "boost", + "score": -0.032559726387262344 + } }, "else": { "operation": "boost", - "score": -0.0002643891202751547 + "score": -0.046917881816625595 } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.01483225543051958 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { - "operation": "boost", - "score": -0.08237232267856598 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.0985180139541626 + "score": -0.01565297693014145 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09107884764671326 - }, - "else": { - "operation": "boost", - "score": 0.11333973705768585 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10422546416521072 - }, - "else": { - "operation": "boost", - "score": 0.1337841898202896 - } - } - }, - "else": { - "operation": "boost", - "score": 0.15503810346126556 - } + "operation": "boost", + "score": -0.05838087946176529 } }, "else": { "operation": "boost", - "score": 0.020540708675980568 + "score": 0.045294713228940964 } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.1394587755203247 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.04158106818795204 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.14991039037704468 + "score": -0.05937083438038826 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.17276939749717712 - }, - "else": { - "operation": "boost", - "score": 0.08761854469776154 - } - }, - "else": { - "operation": "boost", - "score": 0.02107425220310688 - } - }, - "else": { - "operation": "boost", - "score": 0.08530237525701523 - } + "operation": "boost", + "score": 0.0990758016705513 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.12042003124952316 + "score": 0.057381726801395416 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.07984019815921783 - }, - "else": { - "operation": "boost", - "score": 0.066021628677845 - } + "operation": "boost", + "score": 0.029470393434166908 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06822140514850616 - }, - "else": { - "operation": "boost", - "score": 0.08685863763093948 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16870132088661194 - }, - "else": { - "operation": "boost", - "score": 0.10823991149663925 - } - }, - "else": { - "operation": "boost", - "score": 0.024267712607979774 - } - } + "operation": "boost", + "score": -0.01413983665406704 } } } + }, + "else": { + "operation": "boost", + "score": -0.07128319144248962 } }, "else": { - "operation": "boost", - "score": -0.016608865931630135 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.0015814144862815738 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.07922067493200302 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09247621148824692 + }, + "else": { + "operation": "boost", + "score": 0.021583879366517067 + } }, "else": { - "operation": "boost", - "score": -0.12639819085597992 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.0016557982889935374 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.044199179857969284 + }, + "else": { + "operation": "boost", + "score": 0.010748284868896008 + } + } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08169213682413101 + "score": 0.052692949771881104 }, "else": { "operation": "boost", - "score": 0.09660156071186066 + "score": 0.08402464538812637 } + }, + "else": { + "operation": "boost", + "score": 0.0040825288742780685 } }, "else": { "operation": "boost", - "score": 0.029533429071307182 + "score": -0.016047563403844833 } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.040982648730278015 + }, + "else": { + "operation": "boost", + "score": 0.0052618649788200855 + } } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.014868457801640034 + }, + "else": { + "operation": "boost", + "score": -0.1452011615037918 + } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108013.0, + "then": { + "operation": "boost", + "score": -0.04801083356142044 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.04573701694607735 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { + "operation": "boost", + "score": 0.10424511879682541 + }, + "else": { + "operation": "boost", + "score": -0.0022924940567463636 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0037377553526312113 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.012967594899237156 + "score": 0.025441892445087433 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.042230024933815 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05373663082718849 + "score": -0.11747873574495316 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.05765452980995178 - }, - "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10896018892526627 + "score": -0.04380802437663078 + }, + "else": { + "operation": "boost", + "score": 0.018150243908166885 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.016190404072403908 }, "else": { "operation": "boost", - "score": 0.09988777339458466 + "score": -0.01609387993812561 } } } }, "else": { "operation": "boost", - "score": -0.09729500859975815 + "score": -0.043260250240564346 } - }, - "else": { - "operation": "boost", - "score": 0.06784842163324356 } }, "else": { "operation": "boost", - "score": 0.02075262926518917 + "score": -0.035097382962703705 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": -0.06614356487989426 + }, + "else": { + "operation": "boost", + "score": -0.12164463847875595 + } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 34.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.06068236753344536 - }, - "else": { - "operation": "boost", - "score": 0.014646998606622219 - } - }, - "else": { - "operation": "boost", - "score": -0.04731930047273636 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116663.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.08624925464391708 + "score": 0.028041573241353035 }, "else": { - "operation": "boost", - "score": 0.08727134764194489 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131033.0, + "then": { + "operation": "boost", + "score": 0.06622854620218277 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.0931992381811142 + }, + "else": { + "operation": "boost", + "score": 0.1287935972213745 + } + }, + "else": { + "operation": "boost", + "score": -0.13976381719112396 + } + } } }, "else": { "operation": "boost", - "score": 0.019823433831334114 + "score": 0.03834804520010948 } }, "else": { "operation": "boost", - "score": -6.07479851169046e-05 + "score": 0.005973609630018473 } + }, + "else": { + "operation": "boost", + "score": -0.019217321649193764 } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2908.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3004.5, + "then": { + "operation": "boost", + "score": 0.059422995895147324 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2985.0, "then": { "operation": "boost", - "score": 0.0009207770926877856 + "score": 0.1470845490694046 }, "else": { "operation": "boost", - "score": -0.028660377487540245 + "score": 0.05705125629901886 } } }, "else": { - "operation": "boost", - "score": -0.10008023679256439 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05603346228599548 + }, + "else": { + "operation": "boost", + "score": 0.02514943666756153 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00841135811060667 + }, + "else": { + "operation": "boost", + "score": 0.036980897188186646 + } + }, + "else": { + "operation": "boost", + "score": 0.00912558939307928 + } + }, + "else": { + "operation": "boost", + "score": 0.006550418678671122 + } + }, + "else": { + "operation": "boost", + "score": -0.0677555724978447 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.0019363068277016282 + }, + "else": { + "operation": "boost", + "score": 0.03295128419995308 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.027813805267214775 + }, + "else": { + "operation": "boost", + "score": 0.0033973208628594875 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05389392375946045 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.018092239275574684 + }, + "else": { + "operation": "boost", + "score": -0.01577862538397312 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017127344384789467 + }, + "else": { + "operation": "boost", + "score": -0.013204323127865791 + } + }, + "else": { + "operation": "boost", + "score": -0.05595478415489197 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1134573444724083 + } + } + } } } } @@ -66404,1530 +67564,1224 @@ ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04616343230009079 + "score": 0.04522956907749176 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03763800114393234 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.011326550506055355 - }, - "else": { - "operation": "boost", - "score": -0.010401153936982155 - } - } + "operation": "boost", + "score": 0.027044471353292465 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 5394.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.04736955463886261 - }, - "else": { - "operation": "boost", - "score": 0.018993176519870758 - } + "operation": "boost", + "score": 0.08980147540569305 }, "else": { - "operation": "boost", - "score": 0.05303353816270828 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.0461750254034996 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.03869209811091423 - }, - "else": { - "operation": "boost", - "score": -0.012704744935035706 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.043974585831165314 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.026184551417827606 + "score": 0.05796465650200844 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02030525915324688 + "score": -0.08171381056308746 }, "else": { - "operation": "boost", - "score": -0.21049700677394867 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02980971895158291 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08523011952638626 + }, + "else": { + "operation": "boost", + "score": 0.01930636167526245 + } + }, + "else": { + "operation": "boost", + "score": -0.00664533581584692 + } + } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.023646216839551926 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.0867115929722786 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12924.0, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24227.5, + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03290332481265068 + }, + "else": { + "operation": "boost", + "score": -0.20333009958267212 + } + }, + "else": { + "operation": "boost", + "score": 0.04285315051674843 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.07964762300252914 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Variable" ], "then": { "operation": "boost", - "score": 0.07662377506494522 + "score": 0.06172364205121994 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 375849.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.05436914786696434 + "score": 0.042302634567022324 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.05349496752023697 - }, - "else": { - "operation": "boost", - "score": 0.008769764564931393 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1143907979130745 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.055245235562324524 - }, - "else": { - "operation": "boost", - "score": 0.10364067554473877 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77078.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08779013156890869 - }, - "else": { - "operation": "boost", - "score": 0.09919018298387527 - } - }, - "else": { - "operation": "boost", - "score": -0.27939271926879883 - } - }, - "else": { - "operation": "boost", - "score": -0.027487220242619514 - } - } - }, - "else": { - "operation": "boost", - "score": -0.051660675555467606 - } - } + "operation": "boost", + "score": 0.0001955212646862492 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09662605077028275 - }, - "else": { - "operation": "boost", - "score": 0.10903338342905045 - } + "operation": "boost", + "score": -0.046210210770368576 }, "else": { "operation": "boost", - "score": -0.3290286958217621 + "score": -0.27425068616867065 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10824301093816757 - }, - "else": { - "operation": "boost", - "score": 0.11309338361024857 - } - }, - "else": { - "operation": "boost", - "score": 0.10667841881513596 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.09905698895454407 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15708.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.11065977066755295 - }, - "else": { - "operation": "boost", - "score": 0.12176381796598434 - } - }, - "else": { - "operation": "boost", - "score": -0.24531316757202148 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06171135976910591 - } - }, - "else": { - "operation": "boost", - "score": 0.08681832998991013 - } + "operation": "boost", + "score": 0.027716834098100662 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.06555041670799255 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18842.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19220.5, - "then": { - "operation": "boost", - "score": 0.10993154346942902 - }, - "else": { - "operation": "boost", - "score": 0.12051813304424286 - } + "operation": "boost", + "score": 0.08510170131921768 }, "else": { "operation": "boost", - "score": 0.03556403890252113 + "score": 0.18767723441123962 } - }, - "else": { - "operation": "boost", - "score": 0.043315060436725616 } }, "else": { "operation": "boost", - "score": 0.059763625264167786 + "score": -0.026248635724186897 } } } } - }, - "else": { - "operation": "boost", - "score": 0.11599329859018326 } }, "else": { - "operation": "boost", - "score": 0.001671694335527718 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06985568255186081 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.054437048733234406 + }, + "else": { + "operation": "boost", + "score": 0.019982578232884407 + } + } } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { "operation": "if_member", "feature": "Scope", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "ClassScope" ], "then": { "operation": "boost", - "score": -0.03189649060368538 + "score": 0.05073351785540581 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.1994766891002655 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.02167442813515663 + }, + "else": { + "operation": "boost", + "score": -0.0014934749342501163 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": 0.10764706134796143 }, "else": { "operation": "boost", - "score": -0.06887055188417435 + "score": 0.030440399423241615 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "boost", - "score": 0.11913907527923584 - }, - "else": { - "operation": "boost", - "score": 0.15523257851600647 - } - }, - "else": { - "operation": "boost", - "score": 0.10075583308935165 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Symbol", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.5, - "then": { - "operation": "boost", - "score": 0.12046767771244049 - }, - "else": { - "operation": "boost", - "score": 0.1290314793586731 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, - "then": { - "operation": "boost", - "score": 0.15099135041236877 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.12924019992351532 - }, - "else": { - "operation": "boost", - "score": 0.17408387362957 - } - }, - "else": { - "operation": "boost", - "score": 0.15936768054962158 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09277653694152832 - } - }, - "else": { - "operation": "boost", - "score": 0.14610522985458374 - } - }, - "else": { - "operation": "boost", - "score": 0.07707501202821732 - } - } + "operation": "boost", + "score": 0.0668119490146637 }, "else": { "operation": "boost", - "score": 0.0957835465669632 + "score": 0.046510111540555954 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_Namespace" + "CCC_TopLevel", + "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.043584030121564865 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10721610486507416 + "score": 0.08280552923679352 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.17296388745307922 - }, - "else": { - "operation": "boost", - "score": 0.11921140551567078 - } + "operation": "boost", + "score": 0.009764686226844788 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.033492133021354675 }, "else": { "operation": "boost", - "score": 0.09076914936304092 + "score": -0.0542471818625927 } + }, + "else": { + "operation": "boost", + "score": 0.017023956403136253 } - }, - "else": { - "operation": "boost", - "score": 0.07897599786520004 } }, "else": { - "operation": "boost", - "score": 0.036507006734609604 - } - }, - "else": { - "operation": "boost", - "score": -0.00792151689529419 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Namespace", - "CCC_Expression", "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10581055283546448 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.1251259297132492 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 454.5, + "threshold": 71954.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 608.5, + "threshold": 85516.0, "then": { "operation": "boost", - "score": 0.07160821557044983 + "score": 0.04319296032190323 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, - "then": { - "operation": "boost", - "score": 0.11417718231678009 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.12557657063007355 - }, - "else": { - "operation": "boost", - "score": 0.08881927281618118 - } - } + "operation": "boost", + "score": 0.09883259981870651 } }, "else": { "operation": "boost", - "score": 0.07972965389490128 + "score": 0.011294256895780563 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.07466696202754974 }, "else": { - "operation": "boost", - "score": 0.05612390488386154 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04038873687386513 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7467.0, - "then": { - "operation": "boost", - "score": 0.05763658881187439 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", + "CCC_Symbol", "CCC_TopLevel", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.06412260234355927 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.5, + "then": { + "operation": "boost", + "score": 0.055968984961509705 + }, + "else": { + "operation": "boost", + "score": 0.02681775763630867 + } }, "else": { "operation": "boost", - "score": 0.04611947759985924 + "score": -0.03599412366747856 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.006339734420180321 }, "else": { "operation": "boost", - "score": 0.03243129700422287 + "score": 0.03893870860338211 } }, "else": { "operation": "boost", - "score": 0.0183434896171093 + "score": -0.001244599581696093 } } } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10304031521081924 - }, - "else": { - "operation": "boost", - "score": 0.0134520148858428 - } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.01335485465824604 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.046517807990312576 + }, + "else": { + "operation": "boost", + "score": 0.005834463518112898 + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_UnionTag", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.04875962808728218 + "score": 0.08442479372024536 }, "else": { - "operation": "boost", - "score": 0.07378573715686798 - } - }, - "else": { - "operation": "boost", - "score": 0.07804474979639053 - } - }, - "else": { - "operation": "boost", - "score": 0.018645592033863068 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08119597285985947 - }, - "else": { - "operation": "boost", - "score": -0.004594679921865463 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.05399106815457344 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.058043222874403 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10573946684598923 - }, - "else": { - "operation": "boost", - "score": 0.11242359131574631 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03795889392495155 - }, - "else": { - "operation": "boost", - "score": 0.08777285367250443 - } + "score": 0.008419751189649105 }, "else": { "operation": "boost", - "score": 0.02729213796555996 + "score": 0.07591750472784042 } } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { - "operation": "boost", - "score": -0.06391794234514236 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13689470291137695 - }, - "else": { - "operation": "boost", - "score": -8.442633406957611e-05 - } + "operation": "boost", + "score": -0.31822389364242554 }, "else": { "operation": "boost", - "score": 0.03232536092400551 + "score": 0.06878990679979324 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.04130452871322632 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0022051515989005566 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0497216135263443 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05259525403380394 - }, - "else": { - "operation": "boost", - "score": 0.021031904965639114 - } - } + "operation": "boost", + "score": 0.027068739756941795 } } + }, + "else": { + "operation": "boost", + "score": 0.020820874720811844 } + }, + "else": { + "operation": "boost", + "score": -0.017080157995224 } - }, - "else": { - "operation": "boost", - "score": -0.0022822695318609476 } + }, + "else": { + "operation": "boost", + "score": -0.0015695919282734394 } }, "else": { - "operation": "boost", - "score": -0.09604907780885696 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06932314485311508 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 59512.5, "then": { "operation": "boost", - "score": 0.08674181252717972 + "score": -0.09265671670436859 }, "else": { - "operation": "boost", - "score": 0.10275956243276596 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.10374916344881058 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "boost", - "score": 0.10142859816551208 + "score": 0.117274209856987 }, "else": { "operation": "boost", - "score": 0.1314072459936142 + "score": -0.022840527817606926 } + }, + "else": { + "operation": "boost", + "score": 0.033806346356868744 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.0299917571246624 + }, + "else": { + "operation": "boost", + "score": -0.08282597362995148 } }, "else": { "operation": "boost", - "score": 0.15244701504707336 + "score": -0.11762502789497375 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.01897485740482807 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05862484127283096 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.09735995531082153 + "score": 0.040541794151067734 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.07187109440565109 + "score": 0.03479913994669914 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08712858706712723 - }, - "else": { - "operation": "boost", - "score": 0.09354108572006226 - } + "operation": "boost", + "score": -0.010780276730656624 } } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06423155218362808 + }, + "else": { + "operation": "boost", + "score": 0.013571943156421185 + } } + }, + "else": { + "operation": "boost", + "score": 0.03140143305063248 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12375067174434662 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0483546182513237 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1026780754327774 + "score": 0.0038071805611252785 }, "else": { - "operation": "boost", - "score": 0.1394285261631012 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.15866044163703918 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.043520599603652954 + }, + "else": { + "operation": "boost", + "score": 0.10414213687181473 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": 0.15314218401908875 + }, + "else": { + "operation": "boost", + "score": -0.10050492733716965 + } + }, + "else": { + "operation": "boost", + "score": 0.06776675581932068 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.14757053554058075 + }, + "else": { + "operation": "boost", + "score": 0.0721433237195015 + } + }, + "else": { + "operation": "boost", + "score": 0.017207542434334755 + } + }, + "else": { + "operation": "boost", + "score": -0.016564158722758293 + } + } }, "else": { - "operation": "boost", - "score": 0.0930233746767044 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.11451734602451324 + }, + "else": { + "operation": "boost", + "score": -0.1639118492603302 + } } - }, - "else": { - "operation": "boost", - "score": 0.04299920052289963 } } } } - }, - "else": { - "operation": "boost", - "score": -0.028378136456012726 } + }, + "else": { + "operation": "boost", + "score": -0.12300314754247665 } } } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.7989847660064697 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.058229777961969376 - }, - "else": { - "operation": "boost", - "score": 0.04098358750343323 - } - } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 11555.0, "then": { - "operation": "boost", - "score": 0.03632717579603195 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.009939678013324738 + "score": 0.0058952756226062775 }, "else": { - "operation": "boost", - "score": -0.012059112079441547 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05750352516770363 + "score": 0.06455206871032715 }, "else": { + "operation": "boost", + "score": 0.027663839980959892 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06585469096899033 + "score": -0.14424121379852295 }, "else": { "operation": "boost", - "score": 0.010489128530025482 + "score": 0.025392672047019005 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.1546712964773178 - }, - "else": { - "operation": "boost", - "score": 0.11295196413993835 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6360.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6626.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05584186315536499 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6546.0, + "threshold": 53.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.10123241692781448 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5543.0, + "then": { + "operation": "boost", + "score": -0.007692262995988131 + }, + "else": { + "operation": "boost", + "score": 0.07227473706007004 + } + }, + "else": { + "operation": "boost", + "score": -0.08192294090986252 + } }, "else": { "operation": "boost", - "score": 0.11134513467550278 + "score": -0.024403762072324753 } }, "else": { + "operation": "boost", + "score": -0.08885055780410767 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11714226752519608 + "score": -0.06112951040267944 }, "else": { - "operation": "boost", - "score": 0.12461809813976288 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.019651861861348152 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.022664451971650124 + }, + "else": { + "operation": "boost", + "score": -0.015991639345884323 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012265325523912907 + } } + }, + "else": { + "operation": "boost", + "score": -0.02803546003997326 } } - }, - "else": { - "operation": "boost", - "score": 0.020453866571187973 } }, "else": { - "operation": "boost", - "score": 0.06506972759962082 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06724686920642853 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, "then": { "operation": "boost", - "score": 0.04393422231078148 + "score": 0.03772295266389847 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Type", - "Namespace" + "CCC_SymbolOrNewName" ], "then": { - "operation": "boost", - "score": 0.0319049209356308 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.041829317808151245 + }, + "else": { + "operation": "boost", + "score": -0.06321455538272858 + } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.06975599378347397 + "score": 0.010972058400511742 }, "else": { "operation": "boost", - "score": -0.024118565022945404 + "score": -0.014100838452577591 } } } @@ -67935,298 +68789,443 @@ }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 125.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.054484471678733826 - }, - "else": { - "operation": "boost", - "score": -0.010396979749202728 - } + "operation": "boost", + "score": 0.013015956617891788 }, "else": { "operation": "boost", - "score": -0.08599089831113815 + "score": 0.029913943260908127 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Function", + "Macro", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": -0.07580244541168213 + }, + "else": { + "operation": "boost", + "score": 0.012128656730055809 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07924194633960724 + "score": -0.10543631762266159 }, "else": { - "operation": "boost", - "score": 0.03508342429995537 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.015615857206285 + }, + "else": { + "operation": "boost", + "score": 0.05650855228304863 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04829734191298485 + }, + "else": { + "operation": "boost", + "score": 0.015550102107226849 + } + } } }, "else": { "operation": "boost", - "score": 0.01818196102976799 + "score": -0.010355884209275246 } - }, - "else": { - "operation": "boost", - "score": 0.017372701317071915 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.038320038467645645 + "score": -0.06932717561721802 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.02188863232731819 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07033480703830719 + "score": -0.027786871418356895 }, "else": { - "operation": "boost", - "score": 0.0457376167178154 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14016827940940857 + }, + "else": { + "operation": "boost", + "score": 0.0025677175726741552 + } } + }, + "else": { + "operation": "boost", + "score": 0.052369412034749985 } }, "else": { - "operation": "boost", - "score": 0.023319916799664497 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015196210704743862 + }, + "else": { + "operation": "boost", + "score": -0.015840673819184303 + } } } } } } } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06844270974397659 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.03057914786040783 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.02067609876394272 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.006355036050081253 + "score": 0.06944481283426285 }, "else": { - "operation": "boost", - "score": 0.06335221230983734 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.12438005208969116 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1215.5, + "then": { + "operation": "boost", + "score": 0.06439794600009918 + }, + "else": { + "operation": "boost", + "score": 0.02766120247542858 + } + }, + "else": { + "operation": "boost", + "score": 0.005026265978813171 + } + } } + }, + "else": { + "operation": "boost", + "score": 0.04126228392124176 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04299835115671158 + }, + "else": { + "operation": "boost", + "score": 0.005519367754459381 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120342.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.13889269530773163 + "score": -0.02852802351117134 }, "else": { - "operation": "boost", - "score": -0.04313991591334343 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": 0.048130180686712265 + }, + "else": { + "operation": "boost", + "score": 0.01765774004161358 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67685.0, + "operation": "boost", + "score": -0.06442414224147797 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008378199301660061 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.03759416937828064 + "score": 0.05255172401666641 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.022665346041321754 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11593247950077057 - }, - "else": { - "operation": "boost", - "score": 0.0726749524474144 - } - } + "operation": "boost", + "score": -0.35038477182388306 }, "else": { "operation": "boost", - "score": -0.3227871060371399 + "score": 0.02556304819881916 } } }, "else": { - "operation": "boost", - "score": -0.14040598273277283 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.026256851851940155 + }, + "else": { + "operation": "boost", + "score": -0.010588455945253372 + } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.07001359760761261 - }, - "else": { - "operation": "boost", - "score": 0.12141172587871552 - } + "operation": "boost", + "score": -0.019837889820337296 }, "else": { "operation": "boost", - "score": 0.07379163056612015 + "score": 0.023041047155857086 } }, "else": { @@ -68234,3315 +69233,2536 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", + "CCC_PreprocessorExpression", "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198405.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.13821353018283844 - }, - "else": { - "operation": "boost", - "score": 0.1063528060913086 - } - }, - "else": { - "operation": "boost", - "score": 0.04269137606024742 - } + "operation": "boost", + "score": 0.061612773686647415 }, "else": { "operation": "boost", - "score": 0.062373485416173935 + "score": 0.029885049909353256 } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.04423801228404045 - }, - "else": { - "operation": "boost", - "score": 0.03862074017524719 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": -0.14647820591926575 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.032798539847135544 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 31.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.16438767313957214 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.06286740303039551 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.06951897591352463 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.003860082710161805 - }, - "else": { - "operation": "boost", - "score": 0.07775154709815979 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04232081398367882 - } + "operation": "boost", + "score": 0.07759105414152145 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04482150077819824 - }, - "else": { - "operation": "boost", - "score": 0.01489149872213602 - } + "operation": "boost", + "score": 0.0051263771019876 } - }, - "else": { - "operation": "boost", - "score": 0.010135279037058353 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.08713045716285706 + "score": 0.03852150961756706 }, "else": { "operation": "boost", - "score": 0.05465981736779213 + "score": 0.014775962568819523 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.021717360243201256 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.024039238691329956 - }, - "else": { - "operation": "boost", - "score": 0.06157607212662697 - } - }, - "else": { - "operation": "boost", - "score": 0.016081025823950768 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.003395016072317958 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.009445993229746819 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": -0.13234569132328033 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05755152925848961 - }, - "else": { - "operation": "boost", - "score": 0.10450591892004013 - } - } - }, - "else": { - "operation": "boost", - "score": -0.25866755843162537 - } - }, - "else": { - "operation": "boost", - "score": 0.009446686133742332 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5568.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10661908984184265 + "score": 0.029167721047997475 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", + "Keyword", + "Macro", + "Namespace", "Operator", - "Unknown", - "Constructor", "Type", - "Namespace" + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": -0.07302569597959518 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.056547582149505615 + "score": -0.030204910784959793 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.14386503398418427 - }, - "else": { - "operation": "boost", - "score": 0.11082323640584946 - } + "operation": "boost", + "score": -0.27573978900909424 } - }, - "else": { - "operation": "boost", - "score": -0.007449064403772354 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32329.5, - "then": { - "operation": "boost", - "score": 0.08674310147762299 - }, - "else": { - "operation": "boost", - "score": 0.04225044697523117 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2039903849363327 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09190214425325394 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11322396248579025 + "score": 0.0840630754828453 }, "else": { "operation": "boost", - "score": 0.11501934379339218 + "score": 0.03109283745288849 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.08452804386615753 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.1034792810678482 + "score": 0.009583202190697193 }, "else": { "operation": "boost", - "score": 0.13286982476711273 + "score": 0.05921027436852455 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10250687599182129 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06583115458488464 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.11696723848581314 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.1090352013707161 + "score": -0.05370551720261574 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "boost", - "score": 0.08936849981546402 + "score": 0.17553994059562683 }, "else": { "operation": "boost", - "score": 0.11262725293636322 + "score": 0.07970771938562393 } } + }, + "else": { + "operation": "boost", + "score": -0.010915368795394897 } }, "else": { "operation": "boost", - "score": -0.10762985050678253 + "score": 0.0139527078717947 } - }, - "else": { - "operation": "boost", - "score": 0.08309860527515411 } } - }, - "else": { - "operation": "boost", - "score": 0.06437842547893524 } - }, - "else": { - "operation": "boost", - "score": 0.031398478895425797 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.03644204139709473 - }, - "else": { - "operation": "boost", - "score": -0.06430169939994812 } } } }, "else": { - "operation": "boost", - "score": -0.04071420803666115 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119809.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08632025867700577 + "score": -0.2713219225406647 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "operation": "boost", + "score": -0.036183297634124756 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04237079620361328 - }, - "else": { - "operation": "boost", - "score": 0.12586012482643127 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": 0.09406829625368118 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11233923584222794 - }, - "else": { - "operation": "boost", - "score": 0.12142620980739594 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0811174139380455 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { "operation": "boost", - "score": 0.12563742697238922 + "score": 0.06878120452165604 }, "else": { "operation": "boost", - "score": 0.05742073804140091 + "score": 0.10185915976762772 } + }, + "else": { + "operation": "boost", + "score": 0.06959839165210724 } + }, + "else": { + "operation": "boost", + "score": 0.03080286644399166 } - }, - "else": { - "operation": "boost", - "score": -0.09044033288955688 } }, "else": { - "operation": "boost", - "score": 0.12655532360076904 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.037848252803087234 - }, - "else": { - "operation": "boost", - "score": -0.0014712034026160836 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.0007818465819582343 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.08316665142774582 + }, + "else": { + "operation": "boost", + "score": -0.016115913167595863 + } + } } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 185.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2747.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13666671514511108 + "score": 0.040941108018159866 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.08992575109004974 + "score": 0.06330488622188568 }, "else": { "operation": "boost", - "score": 0.06078856810927391 + "score": 0.018786072731018066 } }, "else": { - "operation": "boost", - "score": 0.013686539605259895 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 32.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Unknown", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator" + ], "then": { "operation": "boost", - "score": -0.0797831192612648 + "score": 0.0346432588994503 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.097732774913311 - }, - "else": { - "operation": "boost", - "score": 0.13158933818340302 - } + "operation": "boost", + "score": -0.06407027691602707 } }, "else": { "operation": "boost", - "score": -0.09703777730464935 + "score": 0.06022511422634125 } - }, - "else": { - "operation": "boost", - "score": 0.02192174643278122 } - }, - "else": { - "operation": "boost", - "score": -0.06692574173212051 } - } - } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04236803203821182 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.028340382501482964 - }, - "else": { - "operation": "boost", - "score": 0.009760385379195213 - } - }, - "else": { - "operation": "boost", - "score": 0.0016432598931714892 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.041287846863269806 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 7907.5, "then": { "operation": "boost", - "score": 0.06191844493150711 + "score": 0.05794639512896538 }, "else": { "operation": "boost", - "score": 0.08478087931871414 + "score": 0.03477279096841812 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.02741936780512333 - }, - "else": { - "operation": "boost", - "score": -0.9418485164642334 - } - }, - "else": { - "operation": "boost", - "score": 0.0029668547213077545 - } - }, - "else": { - "operation": "boost", - "score": 0.03828210011124611 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "operation": "boost", + "score": -0.020205404609441757 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], "then": { - "operation": "boost", - "score": 0.09052475541830063 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.037532564252614975 + }, + "else": { + "operation": "boost", + "score": -0.03626039996743202 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1834123134613037 + "score": 0.048133574426174164 }, "else": { "operation": "boost", - "score": 0.09925307333469391 + "score": 0.017133360728621483 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06676259636878967 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 218.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": -0.3266313076019287 - }, - "else": { - "operation": "boost", - "score": 0.13049019873142242 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 237.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.09185721725225449 - }, - "else": { - "operation": "boost", - "score": 0.0020303400233387947 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11789770424365997 - }, - "else": { - "operation": "boost", - "score": 0.10981435328722 - } - } - } + "operation": "boost", + "score": -0.051491789519786835 }, "else": { "operation": "boost", - "score": 0.06486739963293076 + "score": 0.035225141793489456 } }, "else": { "operation": "boost", - "score": 0.12040441483259201 + "score": 0.03178318962454796 } }, + "else": { + "operation": "boost", + "score": -0.08648519963026047 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1117236539721489 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.10274066030979156 + "score": 0.005407707765698433 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "boost", - "score": 0.16630621254444122 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.13894224166870117 - }, - "else": { - "operation": "boost", - "score": -0.14544430375099182 - } - } + "operation": "boost", + "score": -0.045515596866607666 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag" + ], "then": { "operation": "boost", - "score": 0.0846572071313858 + "score": 0.04296235367655754 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 573.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.07784068584442139 + "score": 0.03592968359589577 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 537.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "boost", - "score": 0.11956088244915009 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.016864430159330368 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.20827646553516388 + }, + "else": { + "operation": "boost", + "score": 0.054122645407915115 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.04183942824602127 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.04457353428006172 + }, + "else": { + "operation": "boost", + "score": 0.028603818267583847 + } + } + } + } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.11991678178310394 + "score": 0.011580881662666798 }, "else": { "operation": "boost", - "score": 0.11670421063899994 + "score": -0.0088344756513834 } } } } }, "else": { - "operation": "boost", - "score": 0.0710831955075264 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.023567114025354385 + }, + "else": { + "operation": "boost", + "score": 0.0041969395242631435 + } + }, + "else": { + "operation": "boost", + "score": 0.0023467272985726595 + } } }, "else": { - "operation": "boost", - "score": 0.09174210578203201 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.039669204503297806 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.013061432167887688 + }, + "else": { + "operation": "boost", + "score": 0.05937311798334122 + } + }, + "else": { + "operation": "boost", + "score": -0.0020655766129493713 + } + } + } + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.030817026272416115 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 604.5, + "operation": "boost", + "score": -0.037916913628578186 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.0679202601313591 + "score": 0.03477254882454872 }, "else": { "operation": "boost", - "score": 0.11337003856897354 + "score": 0.012768616899847984 } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11555.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.004969597794115543 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205835.5, + "then": { + "operation": "boost", + "score": 0.05696090683341026 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11124683916568756 }, "else": { "operation": "boost", - "score": 0.07465335726737976 + "score": 0.0556669682264328 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 172808.5, "then": { "operation": "boost", - "score": 0.017220662906765938 + "score": -0.14920929074287415 }, "else": { + "operation": "boost", + "score": 0.028387049213051796 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13480712473392487 + }, + "else": { + "operation": "boost", + "score": 0.023774372413754463 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 53.5, "then": { "operation": "boost", - "score": 0.1321694701910019 + "score": -0.019041357561945915 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "boost", - "score": 0.09131718426942825 - }, - "else": { - "operation": "boost", - "score": -0.02053767256438732 - } + "operation": "boost", + "score": -0.08670307695865631 } }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "boost", + "score": -0.01431447546929121 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "boost", + "score": 0.03788820281624794 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": -0.10423526167869568 - }, - "else": { - "operation": "boost", - "score": 0.1123078241944313 - } + "operation": "boost", + "score": 0.03940298780798912 }, "else": { "operation": "boost", - "score": 0.04598940908908844 + "score": -0.05798754468560219 } + }, + "else": { + "operation": "boost", + "score": -0.005573473870754242 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.002927703084424138 - }, - "else": { - "operation": "boost", - "score": 0.012989888899028301 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 125.5, "then": { - "operation": "boost", - "score": 0.048034414649009705 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.042265623807907104 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.053862057626247406 + }, + "else": { + "operation": "boost", + "score": 0.01422168780118227 + } + } }, "else": { - "operation": "boost", - "score": -0.05362619459629059 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope" + "Function", + "Macro", + "Namespace" ], "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0741983950138092 + }, + "else": { + "operation": "boost", + "score": 0.011441342532634735 + } + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable", - "Type" + "ClassScope" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.03826398402452469 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.041560493409633636 + }, + "else": { + "operation": "boost", + "score": 0.12504084408283234 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10792804509401321 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.02658708393573761 + }, + "else": { + "operation": "boost", + "score": -0.09592384845018387 + } }, "else": { "operation": "boost", - "score": 0.10629049688577652 + "score": -0.05511634424328804 } } }, "else": { "operation": "boost", - "score": 0.05987654998898506 + "score": -0.005906434264034033 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21461.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304083.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02745695970952511 + "score": -0.03266623988747597 }, "else": { + "operation": "boost", + "score": 0.012840572744607925 + } + }, + "else": { + "operation": "boost", + "score": -0.02488432079553604 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.055800314992666245 + "score": -0.12229486554861069 }, "else": { - "operation": "boost", - "score": 0.1201913133263588 + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.060992155224084854 + }, + "else": { + "operation": "boost", + "score": 0.0042813499458134174 + } } }, "else": { "operation": "boost", - "score": 0.08383271098136902 + "score": -0.01841607317328453 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6499.5, - "then": { - "operation": "boost", - "score": -0.20506104826927185 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.04115046188235283 + "score": -0.04542795568704605 }, "else": { "operation": "boost", - "score": -0.05302947759628296 + "score": 0.0386803038418293 } } + }, + "else": { + "operation": "boost", + "score": 0.02267487905919552 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.035357747226953506 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18019481003284454, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08046498894691467 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.11290370672941208 + "score": -0.009993448853492737 }, "else": { "operation": "boost", - "score": 0.02530048042535782 + "score": -0.15470243990421295 } + }, + "else": { + "operation": "boost", + "score": 0.02295607514679432 } }, "else": { - "operation": "boost", - "score": 0.02121984027326107 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2020.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5571.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24339.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.01947798766195774 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06159157678484917 + }, + "else": { + "operation": "boost", + "score": 0.02504635974764824 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.048115115612745285 + }, + "else": { + "operation": "boost", + "score": 0.008184760808944702 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "boost", + "score": 0.029183320701122284 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11280640214681625 - }, - "else": { - "operation": "boost", - "score": 0.07972411066293716 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.09716591238975525 + "score": 0.07356708496809006 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, "then": { "operation": "boost", - "score": 0.10549898445606232 + "score": -0.29582011699676514 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11398.0, - "then": { - "operation": "boost", - "score": 0.10770926624536514 - }, - "else": { - "operation": "boost", - "score": 0.10144303739070892 - } + "operation": "boost", + "score": 0.14368587732315063 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9319.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10021.0, - "then": { - "operation": "boost", - "score": 0.09417130798101425 - }, - "else": { - "operation": "boost", - "score": 0.10628610104322433 - } - }, - "else": { - "operation": "boost", - "score": 0.06294715404510498 - } + "operation": "boost", + "score": 0.030074821785092354 } + }, + "else": { + "operation": "boost", + "score": 0.013155731372535229 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "boost", + "score": -0.029534265398979187 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 35.0, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0778205469250679 + }, + "else": { + "operation": "boost", + "score": 0.011188757605850697 + } + }, + "else": { + "operation": "boost", + "score": 0.043171122670173645 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05439222604036331 + }, + "else": { + "operation": "boost", + "score": 0.036743782460689545 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.23273202776908875 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ParenthesizedExpression" + "Function" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.09166561812162399 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10658140480518341 - }, - "else": { - "operation": "boost", - "score": 0.10421483963727951 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6984.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7126.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11711.5, - "then": { - "operation": "boost", - "score": 0.07602909207344055 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11245.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09359626471996307 - }, - "else": { - "operation": "boost", - "score": 0.11461954563856125 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7369.0, - "then": { - "operation": "boost", - "score": 0.11887724697589874 - }, - "else": { - "operation": "boost", - "score": -0.254279226064682 - } - }, - "else": { - "operation": "boost", - "score": 0.07361665368080139 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7325.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7969.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8691.0, - "then": { - "operation": "boost", - "score": 0.11342838406562805 - }, - "else": { - "operation": "boost", - "score": 0.11537521332502365 - } - }, - "else": { - "operation": "boost", - "score": 0.05781690031290054 - } - }, - "else": { - "operation": "boost", - "score": 0.11647003144025803 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09071861952543259 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.09403278678655624 - }, - "else": { - "operation": "boost", - "score": 0.10933281481266022 - } - } + "score": -0.047638483345508575 }, "else": { "operation": "boost", - "score": 0.09149014949798584 + "score": 0.12144908308982849 } }, "else": { "operation": "boost", - "score": 0.07479062676429749 + "score": 0.013012873940169811 } - } - }, - "else": { - "operation": "boost", - "score": 0.06895851343870163 - } - }, - "else": { - "operation": "boost", - "score": 0.013714050874114037 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05539710819721222 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19035.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19203.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.11290470510721207 }, "else": { "operation": "boost", - "score": 0.07902926951646805 + "score": 0.010226404294371605 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { "operation": "boost", - "score": -0.10365977883338928 + "score": -0.0448652058839798 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "boost", - "score": 0.11038236320018768 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": -0.02865408919751644 + }, + "else": { + "operation": "boost", + "score": -0.10727567970752716 + } }, "else": { "operation": "boost", - "score": 0.1236315593123436 + "score": 0.005384459625929594 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10778716206550598 - }, - "else": { - "operation": "boost", - "score": 0.06878671795129776 - } - }, - "else": { - "operation": "boost", - "score": 0.05149953067302704 - } } - }, - "else": { - "operation": "boost", - "score": 0.12458930909633636 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.09335660934448242 + "score": 0.12537957727909088 }, "else": { "operation": "boost", - "score": 0.056389741599559784 + "score": 0.07638969272375107 } + }, + "else": { + "operation": "boost", + "score": 0.03341034799814224 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.018701346591114998 + }, + "else": { + "operation": "boost", + "score": 0.011771881952881813 } } } - }, - "else": { - "operation": "boost", - "score": 0.027042511850595474 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.013615616597235203 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05569792911410332 - }, - "else": { - "operation": "boost", - "score": 0.017338335514068604 - } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.040750645101070404 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08895114064216614 - }, - "else": { - "operation": "boost", - "score": 0.01621297001838684 - } + "operation": "boost", + "score": 0.03215717896819115 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Unknown", - "Function", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1359575390815735 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1006.0, - "then": { - "operation": "boost", - "score": 0.09428676217794418 - }, - "else": { - "operation": "boost", - "score": 0.011628005653619766 - } - }, - "else": { - "operation": "boost", - "score": 0.05901749059557915 - } - } + "operation": "boost", + "score": 0.04170706123113632 }, "else": { "operation": "boost", - "score": -0.033190369606018066 + "score": -0.36595916748046875 } }, "else": { "operation": "boost", - "score": -0.03810261934995651 + "score": -0.04451196640729904 } }, "else": { - "operation": "boost", - "score": -0.04482576996088028 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.06699047237634659 + }, + "else": { + "operation": "boost", + "score": 0.021891387179493904 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1632649451494217 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 139.5, - "then": { - "operation": "boost", - "score": 0.10372014343738556 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 127.0, - "then": { - "operation": "boost", - "score": 0.12672226130962372 - }, - "else": { - "operation": "boost", - "score": 0.03943594917654991 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.12867088615894318 - } - }, - "else": { - "operation": "boost", - "score": 0.09092561155557632 - } - }, - "else": { - "operation": "boost", - "score": 0.0919678583741188 - } - }, - "else": { - "operation": "boost", - "score": 0.07774387300014496 - } - }, - "else": { - "operation": "boost", - "score": 0.038089025765657425 - } - }, - "else": { - "operation": "boost", - "score": 0.03234751150012016 - } - }, - "else": { - "operation": "boost", - "score": -0.004043603781610727 - } + "operation": "boost", + "score": 0.014447606168687344 } } } } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06301511824131012 - }, - "else": { - "operation": "boost", - "score": 0.09258484840393066 - } - }, - "else": { - "operation": "boost", - "score": 0.040615327656269073 - } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03315022587776184 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.008792513981461525 - }, - "else": { - "operation": "boost", - "score": -0.013725814409554005 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 121.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.08319980651140213 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 78490.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.05417695268988609 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.14644229412078857 - }, - "else": { - "operation": "boost", - "score": 0.12260536104440689 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.1344091147184372 - }, - "else": { - "operation": "boost", - "score": 0.06983144581317902 - } - }, - "else": { - "operation": "boost", - "score": 0.08375070244073868 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04841690510511398 - } - } + "operation": "boost", + "score": 0.08352499455213547 }, "else": { "operation": "boost", - "score": -0.003083112183958292 + "score": 0.033119674772024155 } - }, - "else": { - "operation": "boost", - "score": 0.004946296568959951 } }, "else": { - "operation": "boost", - "score": 0.04606683924794197 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.07331707328557968 + "score": 0.03864997252821922 }, "else": { - "operation": "boost", - "score": 0.028685329481959343 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_ArrowMemberAccess", + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.0314466767013073 + "score": 0.016295064240694046 }, "else": { - "operation": "boost", - "score": -0.08382689952850342 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": -0.008121650665998459 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.056890860199928284 + "score": 0.024639664217829704 }, "else": { "operation": "boost", - "score": 0.0014325595693662763 + "score": -0.01102107297629118 } - }, - "else": { - "operation": "boost", - "score": 0.015551174990832806 } - }, - "else": { - "operation": "boost", - "score": 0.017272360622882843 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": -0.018455447629094124 + }, + "else": { + "operation": "boost", + "score": -0.07023446261882782 + } + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 281926.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", "CCC_Type" ], "then": { "operation": "boost", - "score": 0.02313307859003544 + "score": 0.07688898593187332 }, "else": { "operation": "boost", - "score": -0.10716474801301956 + "score": 0.02656453661620617 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 357.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { + "operation": "boost", + "score": 0.049695998430252075 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 267507.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Expression" - ], + "operation": "boost", + "score": 0.08807612955570221 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08471459150314331 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 364.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.08461374789476395 + "score": 0.018271170556545258 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro" + ], "then": { "operation": "boost", - "score": 0.12940481305122375 + "score": 0.05508217588067055 }, "else": { "operation": "boost", - "score": -0.10439988970756531 + "score": 0.006405639927834272 } } - }, - "else": { - "operation": "boost", - "score": 0.054445549845695496 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.07330428063869476 - }, - "else": { - "operation": "boost", - "score": 0.043594617396593094 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5759.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5774.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.06443848460912704 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11366388201713562 + }, + "else": { + "operation": "boost", + "score": 0.047230180352926254 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15956.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08682464063167572 + }, + "else": { + "operation": "boost", + "score": 0.003852015594020486 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23281.0, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.048473961651325226 + "score": 0.034947820007801056 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18842.0, - "then": { - "operation": "boost", - "score": 0.11759112030267715 - }, - "else": { - "operation": "boost", - "score": 0.05667433515191078 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19674.5, - "then": { - "operation": "boost", - "score": 0.1042194589972496 - }, - "else": { - "operation": "boost", - "score": 0.09397447854280472 - } - }, - "else": { - "operation": "boost", - "score": 0.0650075152516365 - } - } + "operation": "boost", + "score": 0.0560961589217186 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16033.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.09910733252763748 + "score": 0.09596192836761475 }, "else": { "operation": "boost", - "score": 0.11969279497861862 + "score": 0.06951343268156052 } } } - }, - "else": { - "operation": "boost", - "score": 0.07464227080345154 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 249.5, "then": { "operation": "boost", - "score": 0.050327517092227936 + "score": 0.048372749239206314 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.04365735501050949 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007095750421285629 - }, - "else": { - "operation": "boost", - "score": -0.332120418548584 - } - } + "operation": "boost", + "score": -0.011888813227415085 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11421182006597519 - }, - "else": { - "operation": "boost", - "score": -0.11037790030241013 - } + "operation": "boost", + "score": 0.05072196573019028 } - }, - "else": { - "operation": "boost", - "score": 0.01489268895238638 } }, "else": { - "operation": "boost", - "score": -0.005301549099385738 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09075707197189331 - }, - "else": { - "operation": "boost", - "score": -0.06845709681510925 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.005439593456685543 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11993.5, + "then": { + "operation": "boost", + "score": -0.1544654816389084 + }, + "else": { + "operation": "boost", + "score": -0.021119533106684685 + } + } } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { - "operation": "boost", - "score": -0.0828913152217865 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.016151169314980507 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { "operation": "boost", - "score": -0.042414698749780655 + "score": -0.0021030153147876263 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06302369385957718 + }, + "else": { + "operation": "boost", + "score": 0.04252493008971214 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { + "operation": "boost", + "score": -0.019272392615675926 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.03800854831933975 + "score": 0.11693311482667923 }, "else": { "operation": "boost", - "score": 0.10227359086275101 + "score": 0.004160770680755377 } - }, - "else": { - "operation": "boost", - "score": 0.0030792062170803547 } - }, - "else": { - "operation": "boost", - "score": 0.07210898399353027 } } + }, + "else": { + "operation": "boost", + "score": -0.11691557615995407 } }, "else": { - "operation": "boost", - "score": 0.02649054490029812 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0028744458686560392 + }, + "else": { + "operation": "boost", + "score": 0.1851627379655838 + } } }, "else": { - "operation": "boost", - "score": -0.01385625172406435 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.046585921198129654 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.0979657769203186 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.12334485352039337 - }, - "else": { - "operation": "boost", - "score": 0.11665543913841248 - } - } - }, - "else": { - "operation": "boost", - "score": 0.16269803047180176 - } + "operation": "boost", + "score": 0.0006613216828554869 }, "else": { "operation": "boost", - "score": 0.07189474254846573 + "score": -0.017480632290244102 } - }, - "else": { - "operation": "boost", - "score": 0.09810017794370651 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.10321028530597687 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06765304505825043 + }, + "else": { + "operation": "boost", + "score": -0.016673775389790535 + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_Statement" + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1165139228105545 - }, - "else": { - "operation": "boost", - "score": -0.2999022603034973 - } + "operation": "boost", + "score": -0.06524734944105148 }, "else": { "operation": "boost", - "score": 0.13975657522678375 + "score": -0.1456599235534668 } } } - }, - "else": { - "operation": "boost", - "score": 0.09212552756071091 } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 53585.5, "then": { + "operation": "boost", + "score": -0.11108022183179855 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 50563.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.15618360042572021 - }, - "else": { - "operation": "boost", - "score": -0.10223569720983505 - } + "operation": "boost", + "score": 0.13850609958171844 }, "else": { "operation": "boost", - "score": 0.0803140178322792 + "score": 0.026993196457624435 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": -0.12565480172634125 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.15306301414966583 - }, - "else": { - "operation": "boost", - "score": -0.12243428081274033 - } - } + "operation": "boost", + "score": -0.04648430645465851 } - }, - "else": { - "operation": "boost", - "score": 0.08153471350669861 } }, "else": { "operation": "boost", - "score": 0.07116418331861496 + "score": -0.0649753212928772 } - } - }, - "else": { - "operation": "boost", - "score": 0.03471221402287483 - } - }, - "else": { - "operation": "boost", - "score": -0.007465111091732979 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 25503.0, "then": { - "operation": "boost", - "score": 0.12387661635875702 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "boost", - "score": 0.019277848303318024 + "score": -0.09979459643363953 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 454.5, + "threshold": 187158.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 594.5, + "threshold": 207505.0, "then": { "operation": "boost", - "score": 0.08188609778881073 + "score": 0.0675610825419426 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 586.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.1102779358625412 + "score": 0.1309090256690979 }, "else": { "operation": "boost", - "score": 0.10703763365745544 + "score": 0.10454949736595154 } } }, "else": { "operation": "boost", - "score": 0.0824919044971466 + "score": 0.0490572415292263 } } - } - }, - "else": { - "operation": "boost", - "score": 0.055298812687397 - } - }, - "else": { - "operation": "boost", - "score": 0.03655308857560158 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7467.0, - "then": { - "operation": "boost", - "score": 0.05295789986848831 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.05903928354382515 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.022460779175162315 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1610.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1806.0, - "then": { - "operation": "boost", - "score": 0.10216522216796875 - }, - "else": { - "operation": "boost", - "score": 0.11470681428909302 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.24628785252571106 + "score": -0.11318811774253845 }, "else": { - "operation": "boost", - "score": 0.12699681520462036 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.058399152010679245 + }, + "else": { + "operation": "boost", + "score": 0.037703126668930054 + } + }, + "else": { + "operation": "boost", + "score": 0.018547700718045235 + } } }, "else": { "operation": "boost", - "score": 0.08809152990579605 + "score": -0.10776608437299728 } }, "else": { "operation": "boost", - "score": 0.029009219259023666 + "score": -0.06354043632745743 } + }, + "else": { + "operation": "boost", + "score": -0.001802551792934537 } - }, - "else": { - "operation": "boost", - "score": 0.03799925744533539 } - } - }, - "else": { - "operation": "boost", - "score": 0.028210405260324478 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.08714856207370758 - }, - "else": { - "operation": "boost", - "score": 0.014144793152809143 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.01186628919094801 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0040911114774644375 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08303450793027878 }, "else": { - "operation": "boost", - "score": 0.10088439285755157 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 103.5, "then": { "operation": "boost", - "score": 0.10232257843017578 + "score": 0.06024285405874252 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.11529511958360672 + "score": -0.024767369031906128 }, "else": { "operation": "boost", - "score": 0.1315823644399643 + "score": 0.04422618821263313 } }, "else": { - "operation": "boost", - "score": 0.12904059886932373 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10819622874259949 + }, + "else": { + "operation": "boost", + "score": 0.04537419602274895 + } + }, + "else": { + "operation": "boost", + "score": -0.018117211759090424 + } + }, + "else": { + "operation": "boost", + "score": 0.020417936146259308 + } } } - }, - "else": { - "operation": "boost", - "score": 0.1382446438074112 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "boost", - "score": 0.005483776330947876 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.0480717271566391 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "boost", - "score": -0.07995694875717163 + "score": 0.05040516331791878 }, "else": { "operation": "boost", - "score": 0.07772191613912582 + "score": 0.026224059984087944 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12002936750650406 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10304326564073563 }, "else": { "operation": "boost", - "score": 0.13000018894672394 + "score": -0.08591160178184509 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { + "operation": "boost", + "score": -0.14639674127101898 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 50563.0, "then": { - "operation": "boost", - "score": 0.10631828010082245 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, + "feature": "NumReferences", + "threshold": 58696.0, "then": { "operation": "boost", - "score": 0.10314429551362991 + "score": 0.05135684460401535 }, "else": { "operation": "boost", - "score": 0.16038107872009277 + "score": 0.10796714574098587 } }, "else": { "operation": "boost", - "score": 0.20342470705509186 + "score": -0.024938838556408882 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.04446640610694885, + "then": { + "operation": "boost", + "score": 0.0071297260001301765 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46972.0, + "then": { + "operation": "boost", + "score": -0.16538503766059875 + }, + "else": { + "operation": "boost", + "score": -0.011831644922494888 + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.037701621651649475 }, "else": { "operation": "boost", - "score": 0.0625975951552391 + "score": 0.007797681260854006 } - }, - "else": { - "operation": "boost", - "score": 0.047979604452848434 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.022116094827651978 - }, - "else": { - "operation": "boost", - "score": -0.30092155933380127 - } - }, - "else": { - "operation": "boost", - "score": -0.043867286294698715 - } - }, - "else": { - "operation": "boost", - "score": -0.02618253417313099 - } } } } @@ -71551,1401 +71771,1628 @@ } }, { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.03902595490217209 + "score": 0.04121404141187668 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2514071762561798 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.025346772745251656 - }, - "else": { - "operation": "boost", - "score": 0.0066826920956373215 - } - }, - "else": { - "operation": "boost", - "score": -0.005689495243132114 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 56.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.022709328681230545 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess" + "Macro" ], "then": { "operation": "boost", - "score": 0.029623497277498245 + "score": 0.08169223368167877 }, "else": { "operation": "boost", - "score": -0.004180398769676685 + "score": 0.028445115312933922 } + }, + "else": { + "operation": "boost", + "score": 0.0500020869076252 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.03979995846748352 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.08893795311450958 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134.5, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { "operation": "boost", - "score": 0.060497842729091644 + "score": 0.03333276882767677 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.0, + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, "then": { "operation": "boost", - "score": 0.12054001539945602 + "score": 0.11775468289852142 }, "else": { "operation": "boost", - "score": -0.0016672967467457056 + "score": -0.11147429794073105 } } }, "else": { "operation": "boost", - "score": 0.1106829047203064 + "score": 0.07431341707706451 } }, "else": { "operation": "boost", - "score": -0.004317325074225664 + "score": 0.03854887932538986 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.009000002406537533 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.11764450371265411 - }, - "else": { - "operation": "boost", - "score": 0.1154981255531311 - } - }, - "else": { - "operation": "boost", - "score": -0.06838732212781906 - } - }, - "else": { - "operation": "boost", - "score": 0.11136108636856079 - } - } - }, - "else": { - "operation": "boost", - "score": -0.07146089524030685 - } + "operation": "boost", + "score": 0.004549737554043531 } - }, - "else": { - "operation": "boost", - "score": 0.06810932606458664 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.018875770270824432 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06005130708217621 - }, - "else": { - "operation": "boost", - "score": 0.03510567545890808 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_SymbolOrNewName" + "ClassScope", + "FileScope" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.11078296601772308 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.08118460327386856 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 242.0, - "then": { - "operation": "boost", - "score": 0.08644383400678635 - }, - "else": { - "operation": "boost", - "score": 0.12180452793836594 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09244706481695175 - } + "operation": "boost", + "score": 0.027325917035341263 }, "else": { "operation": "boost", - "score": 0.05823812633752823 + "score": -0.06267203390598297 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.0314410962164402 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.04812386631965637 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.12485138326883316 + "score": 0.039059117436409 }, "else": { "operation": "boost", - "score": 0.11352526396512985 + "score": 0.1509227454662323 } + }, + "else": { + "operation": "boost", + "score": -0.03051225282251835 } } + } + }, + "else": { + "operation": "boost", + "score": 0.03588617965579033 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.060863468796014786 }, "else": { + "operation": "boost", + "score": 0.02356981299817562 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Type" + "Macro" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.10932236164808273 + "score": 0.16484467685222626 }, "else": { "operation": "boost", - "score": 0.148658886551857 + "score": 0.05766594782471657 } }, + "else": { + "operation": "boost", + "score": 0.013796490617096424 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.02321823313832283 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 23.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, - "then": { - "operation": "boost", - "score": -0.16173399984836578 - }, - "else": { - "operation": "boost", - "score": 0.1439269632101059 - } + "operation": "boost", + "score": 0.07306509464979172 }, "else": { "operation": "boost", - "score": 0.1048746258020401 + "score": 0.034208573400974274 } } - }, - "else": { - "operation": "boost", - "score": 0.09005807340145111 } }, "else": { "operation": "boost", - "score": 0.0470280647277832 + "score": 0.009219408966600895 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08615800738334656 + "score": -0.010345007292926311 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.16912654042243958 + "score": 0.02017570100724697 }, "else": { - "operation": "boost", - "score": 0.09634869545698166 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.016547854989767075 + }, + "else": { + "operation": "boost", + "score": 0.0012086721835657954 + } } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07604867964982986 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 166.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.0855187401175499 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 573.5, - "then": { - "operation": "boost", - "score": 0.07683926075696945 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16988405585289001 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 406.5, - "then": { - "operation": "boost", - "score": 0.11798924952745438 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 217.5, - "then": { - "operation": "boost", - "score": 0.11541525274515152 - }, - "else": { - "operation": "boost", - "score": 0.12006192654371262 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07950937002897263 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06626735627651215 - } + "operation": "boost", + "score": 0.010681849904358387 }, "else": { "operation": "boost", - "score": 0.08484512567520142 + "score": -0.08247840404510498 } }, "else": { "operation": "boost", - "score": 0.030418654903769493 + "score": 0.01360731478780508 } } + }, + "else": { + "operation": "boost", + "score": -0.01794356480240822 } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 185.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 592.5, + "threshold": 188273.5, "then": { + "operation": "boost", + "score": 0.03939212113618851 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 604.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.06280160695314407 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129672.5, + "then": { + "operation": "boost", + "score": -0.14148636162281036 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { + "operation": "boost", + "score": 0.100898377597332 + }, + "else": { + "operation": "boost", + "score": 0.02859473042190075 + } + } }, "else": { "operation": "boost", - "score": 0.11140549182891846 + "score": -0.031240813434123993 } - }, - "else": { - "operation": "boost", - "score": 0.06883924454450607 } + }, + "else": { + "operation": "boost", + "score": 0.048495542258024216 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 7907.5, + "then": { + "operation": "boost", + "score": 0.05562294274568558 + }, + "else": { + "operation": "boost", + "score": 0.03396828845143318 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", - "score": 0.00357452011667192 + "score": -0.033927690237760544 }, "else": { "operation": "boost", - "score": 0.07027552276849747 + "score": 0.024615367874503136 } }, "else": { "operation": "boost", - "score": 0.04445578530430794 + "score": -0.08978009968996048 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { - "operation": "boost", - "score": 0.13393129408359528 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04713717848062515 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.019028954207897186 + }, + "else": { + "operation": "boost", + "score": 0.016760069876909256 + } + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.08604293316602707 + "score": 0.08065859973430634 }, "else": { "operation": "boost", - "score": -0.02030392922461033 + "score": 0.0346776619553566 } } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.10387194156646729 + "score": 0.005932931322604418 }, "else": { "operation": "boost", - "score": 0.10988640785217285 + "score": -0.04594539478421211 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91274.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10840378701686859 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": -0.016608918085694313 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag" + ], "then": { "operation": "boost", - "score": 0.10711853206157684 + "score": 0.04035293683409691 }, "else": { - "operation": "boost", - "score": 0.09801509976387024 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.031990811228752136 + }, + "else": { + "operation": "boost", + "score": 0.0117153599858284 + } } }, "else": { "operation": "boost", - "score": 0.0647038072347641 + "score": 0.0030540956649929285 } + }, + "else": { + "operation": "boost", + "score": -0.002617946360260248 } - }, - "else": { - "operation": "boost", - "score": 0.041053950786590576 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.005443733651190996 }, "else": { - "operation": "boost", - "score": 0.010042550042271614 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31292.5, + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08246210217475891 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.04222072660923004 - }, - "else": { - "operation": "boost", - "score": -0.04861535131931305 - } - } - }, - "else": { - "operation": "boost", - "score": -0.12793193757534027 - } - }, - "else": { - "operation": "boost", - "score": 0.047497935593128204 - } + "operation": "boost", + "score": 0.051126834005117416 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10522422939538956 - }, - "else": { - "operation": "boost", - "score": 0.129996657371521 - } + "operation": "boost", + "score": 0.07162024825811386 }, "else": { "operation": "boost", - "score": 0.09871810674667358 + "score": 0.026704687625169754 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.04582575336098671 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.02806418016552925 + "score": -0.007334337569773197 }, "else": { "operation": "boost", - "score": -0.01066665817052126 + "score": 0.02244790457189083 } + }, + "else": { + "operation": "boost", + "score": -0.06534408777952194 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6672.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.138566792011261 + "score": -0.11056222766637802 }, "else": { "operation": "boost", - "score": 0.10710415244102478 + "score": 0.020924126729369164 } }, "else": { "operation": "boost", - "score": 0.029269210994243622 + "score": -0.006883667781949043 } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.03159739822149277 - }, - "else": { - "operation": "boost", - "score": 0.0980093851685524 - } - }, - "else": { - "operation": "boost", - "score": 0.005393452476710081 - } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08906982839107513 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.03570019081234932 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Function", "Namespace" ], "then": { + "operation": "boost", + "score": 0.08358123153448105 + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.04789023846387863 + }, + "else": { + "operation": "boost", + "score": 0.010395677760243416 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1825.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.031586967408657074 + }, + "else": { + "operation": "boost", + "score": -0.0004214816144667566 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05879303812980652 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.04951826483011246 + "score": 0.01973395235836506 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "boost", + "score": -0.06255916506052017 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04283977299928665 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1845.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09980198740959167 - }, - "else": { - "operation": "boost", - "score": 0.05933540314435959 - } - }, - "else": { - "operation": "boost", - "score": 0.0045302086509764194 - } + "operation": "boost", + "score": 0.021513618528842926 }, "else": { "operation": "boost", - "score": -0.08320450037717819 + "score": 0.15211866796016693 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0549892783164978 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04965496063232422 + "score": -0.1745585799217224 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "boost", + "score": 0.023266324773430824 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11809152364730835 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0451757088303566 + "score": 0.018036291003227234 }, "else": { "operation": "boost", - "score": 0.10059826076030731 + "score": -0.0048095169477164745 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Unknown" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_ClassStructUnion", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.06110746040940285 + "score": 0.0796661302447319 }, "else": { "operation": "boost", - "score": -0.013636451214551926 + "score": 0.011802656576037407 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09607906639575958 }, "else": { - "operation": "boost", - "score": 0.028608912602066994 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.02507016435265541 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.11891677975654602 + "score": -0.037672702223062515 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { - "operation": "boost", - "score": 0.10085144639015198 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.11452649533748627 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.061891861259937286 + }, + "else": { + "operation": "boost", + "score": -0.1584433764219284 + } }, "else": { - "operation": "boost", - "score": 0.13101987540721893 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.046416718512773514 + }, + "else": { + "operation": "boost", + "score": 0.009849580004811287 + } } }, "else": { "operation": "boost", - "score": 0.12592290341854095 + "score": -0.011473488062620163 } + }, + "else": { + "operation": "boost", + "score": -0.05170639976859093 } } }, "else": { "operation": "boost", - "score": 0.004908725619316101 + "score": -0.1274336278438568 } - }, - "else": { - "operation": "boost", - "score": -0.06705496460199356 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1313479095697403 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04870140925049782 }, "else": { "operation": "boost", - "score": 0.020887691527605057 + "score": -0.025715501978993416 } + }, + "else": { + "operation": "boost", + "score": -0.11694733053445816 } } } }, "else": { - "operation": "boost", - "score": -0.027206474915146828 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.04026065021753311 + }, + "else": { + "operation": "boost", + "score": -0.04530901461839676 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "boost", + "score": 0.0344853550195694 + }, + "else": { + "operation": "boost", + "score": -0.0062433574348688126 + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.06373438239097595 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07105395197868347 + }, + "else": { + "operation": "boost", + "score": 0.011587811633944511 + } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "boost", + "score": 0.03558894246816635 + }, + "else": { + "operation": "boost", + "score": 0.11624029278755188 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.023633569478988647 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 139.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.018648948520421982 + "score": 0.02655174396932125 }, "else": { "operation": "boost", - "score": 0.11067543923854828 + "score": -0.02573755942285061 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 128.0, - "then": { - "operation": "boost", - "score": 0.12324868142604828 - }, - "else": { - "operation": "boost", - "score": 0.017710542306303978 - } + "operation": "boost", + "score": 0.03453751280903816 } + }, + "else": { + "operation": "boost", + "score": -0.09411177039146423 } }, "else": { "operation": "boost", - "score": 0.1214124858379364 + "score": -0.04857299104332924 } - }, - "else": { - "operation": "boost", - "score": 0.07866226136684418 } }, "else": { "operation": "boost", - "score": 0.09102446585893631 + "score": -0.007229749578982592 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.005505191162228584 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { + "operation": "boost", + "score": 0.002554848324507475 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_TopLevel" + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07873047888278961 + }, + "else": { + "operation": "boost", + "score": 0.02964862249791622 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.062103476375341415 + }, + "else": { + "operation": "boost", + "score": -0.09582530707120895 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06462010741233826 + "score": -0.025087304413318634 }, "else": { + "operation": "boost", + "score": 0.0030881878919899464 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6077.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6134.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05191534757614136 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3595663607120514 + }, + "else": { + "operation": "boost", + "score": 0.06140308082103729 + } }, "else": { "operation": "boost", - "score": 0.1208549439907074 + "score": 0.011383644305169582 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.045269742608070374 + "score": -0.12356028705835342 }, "else": { "operation": "boost", - "score": 0.010789885185658932 + "score": -0.01535834837704897 } } + }, + "else": { + "operation": "boost", + "score": -0.1121119037270546 } - }, - "else": { - "operation": "boost", - "score": 0.01715143583714962 } } } - }, - "else": { - "operation": "boost", - "score": -0.028395865112543106 } } } } }, { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.03814397379755974 + "score": 0.039628565311431885 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.030439266934990883 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5394.0, "then": { - "operation": "boost", - "score": 0.008561967872083187 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "boost", + "score": 0.07485251128673553 + }, + "else": { + "operation": "boost", + "score": 0.12261559814214706 + } }, "else": { - "operation": "boost", - "score": -0.00852471124380827 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.07515005767345428 + "score": 0.05130638927221298 }, "else": { "operation": "boost", - "score": 0.09903321415185928 + "score": 0.01952507346868515 } }, "else": { - "operation": "boost", - "score": 0.032458145171403885 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.0025013049598783255 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09221307933330536 + "score": 0.039364688098430634 }, "else": { - "operation": "boost", - "score": 0.04312559589743614 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.07241897284984589 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.061094556003808975 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.03751993179321289 + }, + "else": { + "operation": "boost", + "score": -0.0006564091891050339 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.055610425770282745 + }, + "else": { + "operation": "boost", + "score": 0.019549399614334106 + } + }, + "else": { + "operation": "boost", + "score": -0.22940821945667267 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.029548177495598793 + }, + "else": { + "operation": "boost", + "score": 0.11094774305820465 + } + }, + "else": { + "operation": "boost", + "score": -0.03722427785396576 + } + } + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31879.0, - "then": { - "operation": "boost", - "score": -0.027748089283704758 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30750.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08032214641571045 + "score": 0.05410680174827576 }, "else": { - "operation": "boost", - "score": 0.03372114151716232 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07210544496774673 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.13551577925682068 + }, + "else": { + "operation": "boost", + "score": 0.030619075521826744 + } + } } } } @@ -72953,1397 +73400,843 @@ }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.2124060094356537, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Macro", + "Namespace", + "Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02882315218448639 - }, - "else": { - "operation": "boost", - "score": 0.0512324720621109 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.03300582617521286 + "score": -0.06098366528749466 }, "else": { - "operation": "boost", - "score": -0.01153387688100338 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "ClassScope" ], "then": { "operation": "boost", - "score": 0.029568171128630638 + "score": 0.053304273635149 }, "else": { - "operation": "boost", - "score": -0.07813636213541031 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 400.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.05531010776758194 + "score": 0.05372639000415802 }, "else": { "operation": "boost", - "score": 0.02153218723833561 + "score": 0.03274466469883919 } }, - "else": { - "operation": "boost", - "score": 0.013970781117677689 - } - }, - "else": { - "operation": "boost", - "score": 0.009055497124791145 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04960792511701584 - }, - "else": { - "operation": "boost", - "score": 0.038254015147686005 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04518652707338333 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.08889190107584 - }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.031966980546712875 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.039654359221458435 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.012877172790467739 + }, + "else": { + "operation": "boost", + "score": 0.03266851231455803 + } }, "else": { - "operation": "boost", - "score": 0.077858567237854 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.032783228904008865 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67685.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.03436581417918205 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": 0.044497787952423096 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.0729503482580185 + "score": 0.058891747146844864 }, "else": { "operation": "boost", - "score": 0.11717559397220612 + "score": -0.014985806308686733 } - }, - "else": { - "operation": "boost", - "score": -0.0027285171672701836 } }, "else": { "operation": "boost", - "score": -0.23072127997875214 + "score": -0.12245313078165054 } + }, + "else": { + "operation": "boost", + "score": 0.009141246788203716 } - }, - "else": { - "operation": "boost", - "score": -0.15295575559139252 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198405.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.11084402352571487 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08653702586889267 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.2905237674713135 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.11628159880638123 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1083160787820816 - }, - "else": { - "operation": "boost", - "score": 0.103073351085186 - } - } - } - } - } + "operation": "boost", + "score": 0.13185422122478485 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.24834848940372467 - }, - "else": { - "operation": "boost", - "score": 0.12711626291275024 - } - }, - "else": { - "operation": "boost", - "score": 0.04691813141107559 - } + "operation": "boost", + "score": 0.046168290078639984 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145881.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": -0.22960692644119263 + "score": 0.05024109408259392 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, + "operation": "boost", + "score": 0.029537487775087357 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.04573431611061096 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 99149.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.0, - "then": { - "operation": "boost", - "score": 0.11478207260370255 - }, - "else": { - "operation": "boost", - "score": 0.10616399347782135 - } - }, - "else": { - "operation": "boost", - "score": -0.6979694962501526 - } - }, - "else": { - "operation": "boost", - "score": 0.07813819497823715 - } + "operation": "boost", + "score": -0.013762615621089935 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.08544263243675232 - }, - "else": { - "operation": "boost", - "score": 0.06302326172590256 - } + "operation": "boost", + "score": 0.023838387802243233 } + }, + "else": { + "operation": "boost", + "score": -0.014480187557637691 } - }, - "else": { - "operation": "boost", - "score": 0.047712136059999466 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.04368000477552414 - }, - "else": { - "operation": "boost", - "score": 0.03711828961968422 - } } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.13544166088104248 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11273659765720367 + "score": 0.012001363560557365 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "boost", + "score": -0.12827402353286743 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.05162881687283516 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.10850002616643906 - }, - "else": { - "operation": "boost", - "score": 0.028585389256477356 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.44097089767456055 - }, - "else": { - "operation": "boost", - "score": -0.04300206899642944 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.020832741633057594 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ArrowMemberAccess" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, - "then": { - "operation": "boost", - "score": 0.0994676724076271 - }, - "else": { - "operation": "boost", - "score": -0.021714717149734497 - } - }, - "else": { "operation": "boost", - "score": -0.1277177482843399 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5651.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21153.0, - "then": { - "operation": "boost", - "score": 0.022784437984228134 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6984.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7166.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8176.5, - "then": { - "operation": "boost", - "score": 0.10140670090913773 - }, - "else": { - "operation": "boost", - "score": -0.04209703952074051 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09801942110061646 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8292.0, - "then": { - "operation": "boost", - "score": 0.015894288197159767 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12877611815929413 - }, - "else": { - "operation": "boost", - "score": 0.05788784101605415 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10982216894626617 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7297.5, - "then": { - "operation": "boost", - "score": 0.1078438088297844 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7175.0, - "then": { - "operation": "boost", - "score": 0.1176200807094574 - }, - "else": { - "operation": "boost", - "score": 0.08747990429401398 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.1030222550034523 - } - }, - "else": { - "operation": "boost", - "score": -0.006938971113413572 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5914.0, - "then": { - "operation": "boost", - "score": 0.007152167614549398 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5742.5, - "then": { - "operation": "boost", - "score": 0.11567310243844986 - }, - "else": { - "operation": "boost", - "score": -1.8568289279937744 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 259.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 260.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.04387602582573891 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1419.5, - "then": { - "operation": "boost", - "score": 0.041434019804000854 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 633.5, - "then": { - "operation": "boost", - "score": 0.12200018018484116 - }, - "else": { - "operation": "boost", - "score": -0.14711898565292358 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09554644674062729 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12282276153564453 - } - }, - "else": { - "operation": "boost", - "score": -0.07427753508090973 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.21832291781902313 - }, - "else": { - "operation": "boost", - "score": -0.19521740078926086 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08144426345825195 - }, - "else": { - "operation": "boost", - "score": -0.023492278531193733 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09553514420986176 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011972908861935139 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0011171776568517089 - } + "score": 0.06777115166187286 }, "else": { "operation": "boost", - "score": -0.029191656038165092 + "score": 0.03346888720989227 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.023664014413952827 - }, - "else": { - "operation": "boost", - "score": 0.01891287788748741 - } + "operation": "boost", + "score": 0.02059670351445675 } } } + }, + "else": { + "operation": "boost", + "score": 0.02149559184908867 } + }, + "else": { + "operation": "boost", + "score": 0.008149090223014355 } + }, + "else": { + "operation": "boost", + "score": -0.01181876566261053 } } }, "else": { - "operation": "boost", - "score": -0.008731350302696228 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], "then": { + "operation": "boost", + "score": 0.0410303995013237 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.11373437196016312 + "score": 0.05135336145758629 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.06521057337522507 + "score": -0.06677845120429993 }, "else": { "operation": "boost", - "score": 0.10409177839756012 + "score": 0.01617927849292755 } } }, "else": { - "operation": "boost", - "score": 0.04217858612537384 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0023523583076894283 + }, + "else": { + "operation": "boost", + "score": -0.09776680171489716 + } + }, + "else": { + "operation": "boost", + "score": 0.03977624699473381 + } } - }, - "else": { - "operation": "boost", - "score": 0.013541446067392826 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 858647.0, "then": { + "operation": "boost", + "score": 0.08824768662452698 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.030675845220685005 + }, + "else": { + "operation": "boost", + "score": -0.37451475858688354 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06020655483007431 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219896.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12211702018976212 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 59512.5, "then": { "operation": "boost", - "score": 0.09309288114309311 + "score": -0.10161961615085602 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 176731.0, + "threshold": 55483.0, + "then": { + "operation": "boost", + "score": 0.10291920602321625 + }, + "else": { + "operation": "boost", + "score": -0.01856055110692978 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.14982178807258606 + "score": 0.02404148317873478 }, "else": { + "operation": "boost", + "score": -0.023584390059113503 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31541.5, + "threshold": 76763.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32026.0, + "threshold": 85516.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.15919621288776398 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "boost", - "score": 0.08673743158578873 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.031209522858262062 - }, - "else": { - "operation": "boost", - "score": 0.07622881978750229 - } - } - } + "operation": "boost", + "score": 0.036197781562805176 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11017860472202301 - }, - "else": { - "operation": "boost", - "score": 0.09844647347927094 - } - }, - "else": { - "operation": "boost", - "score": 0.12194361537694931 - } - }, - "else": { - "operation": "boost", - "score": 0.09392116963863373 - } + "operation": "boost", + "score": 0.10010956227779388 } }, "else": { "operation": "boost", - "score": 0.04386430233716965 + "score": 0.007601069752126932 } + }, + "else": { + "operation": "boost", + "score": -0.007698419503867626 } } } - }, - "else": { - "operation": "boost", - "score": 0.0023553213104605675 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0028511302080005407 - }, - "else": { - "operation": "boost", - "score": 0.11764746904373169 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "boost", + "score": 0.029877537861466408 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.01867746375501156 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.019268754869699478 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.04519396275281906 + }, + "else": { + "operation": "boost", + "score": 0.002499293303117156 + } + }, + "else": { + "operation": "boost", + "score": 0.022259561344981194 + } + }, + "else": { + "operation": "boost", + "score": 0.0126774488016963 + } + } }, "else": { - "operation": "boost", - "score": 0.014566046185791492 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03663361817598343 + }, + "else": { + "operation": "boost", + "score": -0.00012632129073608667 + } } - }, - "else": { - "operation": "boost", - "score": -0.0920642539858818 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.04390953853726387 - }, - "else": { - "operation": "boost", - "score": 0.018970850855112076 - } } } - }, - "else": { - "operation": "boost", - "score": -0.03601117804646492 } } } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06916659325361252 - }, - "else": { - "operation": "boost", - "score": 0.0914125144481659 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04517855495214462 + "score": -0.05795746669173241 }, "else": { - "operation": "boost", - "score": 0.022818025201559067 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.023271599784493446 - }, - "else": { - "operation": "boost", - "score": 0.005029075313359499 - } - }, - "else": { - "operation": "boost", - "score": -0.007338813506066799 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09135466068983078 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06092318892478943 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.107761912047863 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.011726953089237213 + }, + "else": { + "operation": "boost", + "score": -0.1862047016620636 + } }, "else": { - "operation": "boost", - "score": 0.0678781121969223 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.17322753369808197 + }, + "else": { + "operation": "boost", + "score": 0.01317803654819727 + } } - }, - "else": { - "operation": "boost", - "score": 0.08926472067832947 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { + "operation": "boost", + "score": 0.07311218231916428 }, "else": { "operation": "boost", - "score": 0.031814251095056534 + "score": 0.003146946895867586 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.013781111687421799 + "score": -0.043254341930150986 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6159.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82959.0, + "then": { + "operation": "boost", + "score": 0.04708936810493469 + }, + "else": { + "operation": "boost", + "score": 0.002880425425246358 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.006772007793188095 - }, - "else": { - "operation": "boost", - "score": 0.11851964145898819 - } + "operation": "boost", + "score": 0.0008532438077963889 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7112.0, - "then": { - "operation": "boost", - "score": 0.04893730580806732 - }, - "else": { - "operation": "boost", - "score": 0.10081290453672409 - } + "operation": "boost", + "score": -0.02430083602666855 } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2908.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05870278179645538 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3004.5, + "then": { + "operation": "boost", + "score": 0.05041685327887535 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 2985.0, "then": { "operation": "boost", - "score": 0.002955822739750147 + "score": 0.14047473669052124 }, "else": { "operation": "boost", - "score": 0.09098463505506516 + "score": 0.0704355239868164 } } + }, + "else": { + "operation": "boost", + "score": 0.02436167374253273 } } }, @@ -74352,1308 +74245,1516 @@ "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02738073095679283 - }, - "else": { - "operation": "boost", - "score": 0.05187510699033737 - } + "operation": "boost", + "score": -0.03726881742477417 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", + "Namespace", "Type", - "Namespace" + "Variable" ], "then": { - "operation": "boost", - "score": 0.03142165392637253 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06438565254211426 + }, + "else": { + "operation": "boost", + "score": 0.021360518410801888 + } }, "else": { - "operation": "boost", - "score": -0.008014943450689316 + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0037876428104937077 + }, + "else": { + "operation": "boost", + "score": 0.05974738299846649 + } + }, + "else": { + "operation": "boost", + "score": 0.17986536026000977 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.04922432079911232 + }, + "else": { + "operation": "boost", + "score": -0.06976261734962463 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025140436366200447 + }, + "else": { + "operation": "boost", + "score": -0.030459614470601082 + } + } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.008656452409923077 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.047442857176065445 - }, - "else": { - "operation": "boost", - "score": 0.03527610003948212 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope" + "Macro", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.018031716346740723 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06343905627727509 + }, + "else": { + "operation": "boost", + "score": 0.01224122941493988 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 162.5, + "then": { + "operation": "boost", + "score": 0.030369816347956657 + }, + "else": { + "operation": "boost", + "score": -0.03224799409508705 + } + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.16132418811321259 + }, + "else": { + "operation": "boost", + "score": 0.049612171947956085 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.008247138932347298 + "score": 0.04735911637544632 }, "else": { + "operation": "boost", + "score": 0.007371734827756882 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.019994208589196205 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Symbol" + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.06765785813331604 + "score": 0.046323176473379135 }, "else": { "operation": "boost", - "score": 0.1048400029540062 + "score": -0.09160660952329636 } + }, + "else": { + "operation": "boost", + "score": -0.03601416200399399 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04733634740114212 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67685.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.12147493660449982 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "operation": "boost", + "score": -0.020645540207624435 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", + "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.03993361443281174 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.019488830119371414 + "score": 0.004757683724164963 }, "else": { - "operation": "boost", - "score": 0.050000958144664764 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.011427977122366428 + }, + "else": { + "operation": "boost", + "score": -0.11672241985797882 + } } - }, - "else": { - "operation": "boost", - "score": -0.029465477913618088 } }, "else": { - "operation": "boost", - "score": -0.1432967633008957 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198405.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10682514309883118 + "score": 0.02286115102469921 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.08375641703605652 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.2405826598405838 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.11919255554676056 + "score": 0.20145928859710693 }, "else": { "operation": "boost", - "score": 0.09877237677574158 + "score": 0.06993667781352997 } }, "else": { "operation": "boost", - "score": 0.09508128464221954 + "score": -0.09739593416452408 } + }, + "else": { + "operation": "boost", + "score": -0.01028459146618843 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.2066422402858734 }, "else": { - "operation": "boost", - "score": 0.12292042374610901 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.020920775830745697 + }, + "else": { + "operation": "boost", + "score": -0.020445672795176506 + } } - }, - "else": { - "operation": "boost", - "score": 0.044570159167051315 } + }, + "else": { + "operation": "boost", + "score": -0.05206241458654404 } + } + } + } + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07154560089111328 + }, + "else": { + "operation": "boost", + "score": 0.03201992064714432 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5394.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "boost", + "score": 0.07278937846422195 + }, + "else": { + "operation": "boost", + "score": 0.11995746940374374 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05050789564847946 + }, + "else": { + "operation": "boost", + "score": 0.019270852208137512 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03726689890027046 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.0672619417309761 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0585143156349659 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159641.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.3964356482028961 + "score": 0.03540948033332825 }, "else": { + "operation": "boost", + "score": 0.00019737420370802283 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, - "then": { - "operation": "boost", - "score": 0.04003770649433136 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11406859755516052 - }, - "else": { - "operation": "boost", - "score": 0.053585171699523926 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10787079483270645 - }, - "else": { - "operation": "boost", - "score": 0.043938636779785156 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07505594193935394 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.08002932369709015 - }, - "else": { - "operation": "boost", - "score": 0.05291805416345596 - } - } - } + "operation": "boost", + "score": 0.01790224015712738 }, "else": { "operation": "boost", - "score": 0.04398266598582268 + "score": 0.05447905510663986 } + }, + "else": { + "operation": "boost", + "score": -0.20090675354003906 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "boost", + "score": 0.07334059476852417 + }, + "else": { + "operation": "boost", + "score": -0.03546256944537163 } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.051510151475667953 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06440527737140656 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.13100633025169373 + }, + "else": { + "operation": "boost", + "score": 0.029350707307457924 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.26491230726242065, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.028368866071105003 + }, + "else": { + "operation": "boost", + "score": -0.09223974496126175 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.024631574749946594 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.029644612222909927 + "score": 0.020303405821323395 }, "else": { "operation": "boost", - "score": 0.033976949751377106 + "score": 0.0049098036251962185 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "boost", + "score": 0.052662625908851624 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.029460569843649864 + }, + "else": { + "operation": "boost", + "score": -0.13809114694595337 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.13704590499401093 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 8.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.0748870000243187 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.12211688607931137 - }, - "else": { - "operation": "boost", - "score": 0.09365689754486084 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1233077421784401 - }, - "else": { - "operation": "boost", - "score": 0.10915616899728775 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.10200608521699905 - }, - "else": { - "operation": "boost", - "score": 0.14410504698753357 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.061687178909778595 - } + "operation": "boost", + "score": -0.003980227280408144 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.09030641615390778 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 139.5, - "then": { - "operation": "boost", - "score": 0.07572410255670547 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.0, - "then": { - "operation": "boost", - "score": 0.1281343698501587 - }, - "else": { - "operation": "boost", - "score": 0.15600800514221191 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.12538185715675354 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89.0, - "then": { - "operation": "boost", - "score": -0.1251208484172821 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "boost", - "score": 0.12876802682876587 - }, - "else": { - "operation": "boost", - "score": 0.134489506483078 - } - } - }, - "else": { - "operation": "boost", - "score": 0.15633444488048553 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0941232368350029 - } + "operation": "boost", + "score": 0.12603415548801422 } }, "else": { "operation": "boost", - "score": -0.03383716568350792 + "score": 0.04211189225316048 } - }, - "else": { - "operation": "boost", - "score": -0.015939801931381226 } }, "else": { + "operation": "boost", + "score": -0.07104276865720749 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7638888955116272, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.03843256086111069 + "score": 0.1603301614522934 }, "else": { "operation": "boost", - "score": 0.010241303592920303 + "score": 0.10678412020206451 } + }, + "else": { + "operation": "boost", + "score": 0.030979221686720848 } + } + } + }, + "else": { + "operation": "boost", + "score": 0.020734965801239014 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06971538066864014 + }, + "else": { + "operation": "boost", + "score": 0.013577399775385857 + } + }, + "else": { + "operation": "boost", + "score": -0.025312472134828568 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.03869310021400452 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.04977113753557205 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.057153597474098206 + }, + "else": { + "operation": "boost", + "score": 0.01831021159887314 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007608082611113787 + }, + "else": { + "operation": "boost", + "score": -0.06081931293010712 + } + }, + "else": { + "operation": "boost", + "score": 0.036299996078014374 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 201698.0, + "then": { + "operation": "boost", + "score": 0.07739368081092834 + }, + "else": { + "operation": "boost", + "score": 0.12620994448661804 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05732831358909607 + }, + "else": { + "operation": "boost", + "score": -0.023244263604283333 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.04393601417541504 }, "else": { "operation": "boost", - "score": -0.0988907516002655 + "score": 0.005674996413290501 } }, + "else": { + "operation": "boost", + "score": -0.3736592233181 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06104101240634918 + }, "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.13746561110019684 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110487.0, + "then": { + "operation": "boost", + "score": -0.23480072617530823 + }, + "else": { + "operation": "boost", + "score": -0.016615090891718864 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 34.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.025658272206783295 + "score": -0.15299668908119202 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "boost", + "score": -0.12734007835388184 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12071259319782257 - }, - "else": { - "operation": "boost", - "score": 0.17631489038467407 - } - }, - "else": { - "operation": "boost", - "score": 0.16105398535728455 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.13253633677959442 - }, - "else": { - "operation": "boost", - "score": -0.10842353105545044 - } - } + "operation": "boost", + "score": -0.015643680468201637 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07480942457914352 - }, - "else": { - "operation": "boost", - "score": -0.026291390880942345 - } + "operation": "boost", + "score": 0.03746248781681061 } }, "else": { "operation": "boost", - "score": 0.02833366021513939 + "score": 0.0007395740831270814 } - }, - "else": { - "operation": "boost", - "score": 0.05518040806055069 } } }, "else": { "operation": "boost", - "score": 0.01058509573340416 + "score": -0.022494107484817505 } }, "else": { - "operation": "boost", - "score": 0.016095157712697983 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25183.5, + "then": { + "operation": "boost", + "score": 0.035376500338315964 + }, + "else": { + "operation": "boost", + "score": 0.0018808842869475484 + } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172808.5, + "then": { + "operation": "boost", + "score": -0.1726091355085373 + }, + "else": { + "operation": "boost", + "score": 0.029163077473640442 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "boost", + "score": -0.019645772874355316 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "boost", + "score": 0.038625724613666534 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel" + "Type" ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.1357317715883255 - }, - "else": { - "operation": "boost", - "score": 0.09206676483154297 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12154272943735123 - }, - "else": { - "operation": "boost", - "score": 0.06970725208520889 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09867080301046371 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.0770079493522644 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.15049685537815094 - }, - "else": { - "operation": "boost", - "score": 0.07101740688085556 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06205722689628601 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02196270413696766 + "score": 0.026785816997289658 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11609695851802826 - }, - "else": { - "operation": "boost", - "score": 0.11601947247982025 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 423.5, - "then": { - "operation": "boost", - "score": 0.10041698813438416 - }, - "else": { - "operation": "boost", - "score": 0.12428557127714157 - } - }, - "else": { - "operation": "boost", - "score": 0.10827797651290894 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.13896444439888 - }, - "else": { - "operation": "boost", - "score": 0.12502361834049225 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11792459338903427 - } - }, - "else": { - "operation": "boost", - "score": 0.09489434957504272 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.09459508955478668 - }, - "else": { - "operation": "boost", - "score": 0.01361524686217308 - } - } + "operation": "boost", + "score": 0.0529007688164711 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.13787490129470825 - }, - "else": { - "operation": "boost", - "score": 0.14104238152503967 - } - }, - "else": { - "operation": "boost", - "score": -0.13767355680465698 - } + "operation": "boost", + "score": -0.042241744697093964 } } }, "else": { "operation": "boost", - "score": 0.05418954789638519 + "score": 0.01046082191169262 } } }, "else": { "operation": "boost", - "score": 0.04385947808623314 + "score": 0.01661137491464615 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03808339312672615 }, "else": { "operation": "boost", - "score": 0.019321879372000694 + "score": 0.0004336383135523647 } - }, - "else": { - "operation": "boost", - "score": 0.001183574553579092 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.008191397413611412 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": -0.13194122910499573 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04393937811255455 - }, - "else": { - "operation": "boost", - "score": 0.10025568306446075 } } - }, - "else": { - "operation": "boost", - "score": -0.22793163359165192 } - }, - "else": { - "operation": "boost", - "score": 0.014411908574402332 } - }, - "else": { - "operation": "boost", - "score": -0.0065452540293335915 } - }, - "else": { - "operation": "boost", - "score": -0.03507724776864052 } } } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.034822434186935425 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "boost", - "score": 0.02808763086795807 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.006310129072517157 + "score": 0.04192867875099182 }, "else": { "operation": "boost", - "score": -0.00788121111690998 + "score": -0.29537901282310486 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 96.5, "then": { + "operation": "boost", + "score": 0.037926290184259415 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.013372012414038181 + }, + "else": { + "operation": "boost", + "score": -0.015854109078645706 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.020739633589982986 + }, + "else": { + "operation": "boost", + "score": -0.01579350046813488 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { + "operation": "boost", + "score": 0.03752703219652176 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.02911706455051899 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.034062061458826065 + }, + "else": { + "operation": "boost", + "score": -0.05040958151221275 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.09260714054107666 + "score": 0.024484071880578995 }, "else": { "operation": "boost", - "score": 0.02603313885629177 + "score": -0.0008928679162636399 } } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5898.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "boost", + "score": 0.05716140568256378 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6221.5, + "then": { + "operation": "boost", + "score": 0.1324758380651474 }, "else": { "operation": "boost", - "score": 0.001951553043909371 + "score": 0.001299406518228352 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01791957952082157 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 6655.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.036914873868227005 + }, + "else": { + "operation": "boost", + "score": -0.055077798664569855 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6678.5, + "threshold": 34039.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 34582.0, "then": { "operation": "boost", - "score": 0.07004372775554657 + "score": 0.05245080217719078 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8348.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18365.0, - "then": { - "operation": "boost", - "score": 0.08474057912826538 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08539179712533951 - }, - "else": { - "operation": "boost", - "score": 0.11729241907596588 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0543094240128994 - } + "operation": "boost", + "score": 0.14296773076057434 } }, "else": { "operation": "boost", - "score": 0.11633841693401337 + "score": 0.024268943816423416 } - }, - "else": { - "operation": "boost", - "score": 0.055163558572530746 } }, "else": { "operation": "boost", - "score": -0.0012423215666785836 + "score": 0.07965770363807678 } } - }, - "else": { - "operation": "boost", - "score": 0.044248782098293304 } }, "else": { @@ -75661,369 +75762,223 @@ "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.021962668746709824 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.028505578637123108 - }, - "else": { - "operation": "boost", - "score": -0.07180842012166977 - } + "operation": "boost", + "score": 0.045113641768693924 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04392411187291145 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.020241212099790573 + "score": 0.061675939708948135 }, "else": { - "operation": "boost", - "score": -0.22803011536598206 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "boost", - "score": -0.00501621887087822 + "score": 0.016367489472031593 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.014646204188466072 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.054996591061353683 - }, - "else": { - "operation": "boost", - "score": 0.03428839147090912 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03816882520914078 + "score": -0.0014266662765294313 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07370508462190628 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0355253703892231 - }, - "else": { - "operation": "boost", - "score": 0.10745241492986679 - } - }, - "else": { - "operation": "boost", - "score": -0.8038914799690247 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01667575165629387 - } - }, - "else": { - "operation": "boost", - "score": 0.08425962924957275 - } + "operation": "boost", + "score": 0.05615190416574478 } }, "else": { "operation": "boost", - "score": 0.03336751088500023 + "score": 0.1458011418581009 } }, "else": { "operation": "boost", - "score": 0.023489654064178467 + "score": -0.06514354795217514 } + }, + "else": { + "operation": "boost", + "score": -0.022292710840702057 } } - }, - "else": { - "operation": "boost", - "score": -0.21217229962348938 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.07074028998613358 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.0139005733653903 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.059744272381067276 + }, + "else": { + "operation": "boost", + "score": 0.011823197826743126 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 679.5, + "threshold": 162.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1070.5, - "then": { - "operation": "boost", - "score": 0.09145185351371765 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09638731181621552 - }, - "else": { - "operation": "boost", - "score": 0.11613381654024124 - } - } + "operation": "boost", + "score": 0.028079137206077576 }, "else": { "operation": "boost", - "score": 0.09508075565099716 + "score": -0.03429033234715462 } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.134795680642128 + }, + "else": { + "operation": "boost", + "score": 0.042590927332639694 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": 0.04266943782567978 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.007484785746783018 + "score": -0.012631678953766823 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.0, - "then": { - "operation": "boost", - "score": 0.11401204019784927 - }, - "else": { - "operation": "boost", - "score": -0.1176443099975586 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, - "then": { - "operation": "boost", - "score": 0.09343980252742767 - }, - "else": { - "operation": "boost", - "score": 0.12718546390533447 - } - }, - "else": { - "operation": "boost", - "score": 0.056099530309438705 - } - } + "operation": "boost", + "score": 0.012943951413035393 } - }, - "else": { - "operation": "boost", - "score": 0.046924393624067307 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.13568681478500366 + "score": -0.0027190253604203463 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "boost", - "score": 0.08307718485593796 - }, - "else": { - "operation": "boost", - "score": -0.019769420847296715 - } + "operation": "boost", + "score": -0.052376601845026016 } }, "else": { @@ -76031,4745 +75986,3974 @@ "feature": "IsReservedName", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11917109042406082 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10261866450309753 + "score": -0.06285563111305237 }, "else": { - "operation": "boost", - "score": 0.10878458619117737 - } - }, - "else": { - "operation": "boost", - "score": 0.0421241857111454 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.004813947714865208 - }, - "else": { - "operation": "boost", - "score": 0.008855876512825489 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31292.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": -0.0570080429315567 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.10698967427015305 + "score": 0.03926096856594086 }, "else": { "operation": "boost", - "score": 0.1632184088230133 + "score": 0.010027051903307438 } }, - "else": { - "operation": "boost", - "score": 0.08040785789489746 - } - }, - "else": { - "operation": "boost", - "score": 0.024327026680111885 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10284655541181564 - }, - "else": { - "operation": "boost", - "score": 0.07387450337409973 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10334423184394836 - }, - "else": { - "operation": "boost", - "score": 0.1251310557126999 - } - }, - "else": { - "operation": "boost", - "score": 0.09731828421354294 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.04912682995200157 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 674.0, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1714.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.0523095466196537 + "score": 0.04334818571805954 }, "else": { "operation": "boost", - "score": 0.11154046654701233 + "score": -0.00430144090205431 } }, "else": { - "operation": "boost", - "score": 0.05743851512670517 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.02135797217488289 + }, + "else": { + "operation": "boost", + "score": -0.027931593358516693 + } + }, + "else": { + "operation": "boost", + "score": -0.018664300441741943 + } } } - }, - "else": { - "operation": "boost", - "score": 0.031802888959646225 } - }, - "else": { - "operation": "boost", - "score": -0.01768270507454872 } - }, - "else": { - "operation": "boost", - "score": 0.025509728118777275 } } - }, - "else": { - "operation": "boost", - "score": 0.00747439730912447 } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.03687473386526108 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5394.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11777876317501068 + }, + "else": { + "operation": "boost", + "score": 0.059410661458969116 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06110817566514015 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.049471043050289154 + }, + "else": { + "operation": "boost", + "score": 0.020442664623260498 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.044928550720214844 + "score": 0.03604026138782501 }, "else": { - "operation": "boost", - "score": -0.04959558695554733 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": -0.05151715502142906 + "score": 0.06664188951253891 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05691034719347954 + }, + "else": { + "operation": "boost", + "score": 0.0053681558929383755 + } + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.03818165510892868 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09733164310455322 - }, - "else": { - "operation": "boost", - "score": 0.10065712034702301 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.056324951350688934 - }, - "else": { - "operation": "boost", - "score": -0.036774616688489914 - } - } + "operation": "boost", + "score": -0.04130653664469719 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.04340921342372894 + "score": 0.0015500321751460433 }, "else": { "operation": "boost", - "score": 0.02210824191570282 + "score": 0.0950370505452156 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", "Operator", - "Unknown", - "Constructor", - "Type" + "Type", + "Unknown" ], "then": { "operation": "boost", - "score": 0.047669194638729095 + "score": 0.022368617355823517 }, "else": { - "operation": "boost", - "score": -0.026555292308330536 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.026002898812294006 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.0987502932548523 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 49.0, "then": { "operation": "boost", - "score": 0.10095775127410889 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.09093362092971802 - }, - "else": { - "operation": "boost", - "score": 0.11576598137617111 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12999236583709717 - }, - "else": { - "operation": "boost", - "score": 0.1255514919757843 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.04360635578632355 - }, - "else": { - "operation": "boost", - "score": 0.09158748388290405 - } + "score": 0.09562364965677261 }, "else": { "operation": "boost", - "score": 0.014499283395707607 + "score": 0.013259077444672585 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.07462586462497711 - }, - "else": { - "operation": "boost", - "score": -0.2693660259246826 - } + "operation": "boost", + "score": -0.044673770666122437 } } - }, - "else": { - "operation": "boost", - "score": -0.06194634735584259 } } } } - }, - "else": { - "operation": "boost", - "score": 0.02104356698691845 } + }, + "else": { + "operation": "boost", + "score": 0.02895142324268818 } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2124060094356537, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.051940616220235825 + }, + "else": { + "operation": "boost", + "score": 0.018482523038983345 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1259.0, "then": { + "operation": "boost", + "score": 0.04159155115485191 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope" + "Macro", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.0006109342211857438 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.026469821110367775 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.08418316394090652 + }, + "else": { + "operation": "boost", + "score": 0.01959332451224327 + } }, "else": { - "operation": "boost", - "score": 0.0635298490524292 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.014652823098003864 + }, + "else": { + "operation": "boost", + "score": -0.02656221203505993 + } } + }, + "else": { + "operation": "boost", + "score": 0.0268325824290514 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.02508256584405899 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.06569910049438477 + "score": 0.01634577475488186 }, "else": { - "operation": "boost", - "score": 0.10014761984348297 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06329875439405441 + }, + "else": { + "operation": "boost", + "score": 0.03690503537654877 + } } }, "else": { - "operation": "boost", - "score": 0.03783860802650452 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05094030499458313 + }, + "else": { + "operation": "boost", + "score": 0.025021839886903763 + } + }, + "else": { + "operation": "boost", + "score": -0.0007119461661204696 + } } + }, + "else": { + "operation": "boost", + "score": 0.0010924249654635787 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "boost", + "score": 0.04295707121491432 }, "else": { - "operation": "boost", - "score": -0.11306784301996231 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.032030798494815826 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.04051338881254196 + }, + "else": { + "operation": "boost", + "score": 0.015724370256066322 + } + } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06953221559524536 }, "else": { - "operation": "boost", - "score": -0.0430549755692482 + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07124026864767075 + }, + "else": { + "operation": "boost", + "score": 0.01158017199486494 + } } + }, + "else": { + "operation": "boost", + "score": -0.022066760808229446 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.03620756417512894 + }, + "else": { + "operation": "boost", + "score": 0.016228923574090004 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 458944.5, "then": { + "operation": "boost", + "score": 0.08452052623033524 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "operation": "boost", + "score": -0.016634756699204445 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.11600537598133087 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.04271538183093071 + }, + "else": { + "operation": "boost", + "score": 0.001974282553419471 + } }, "else": { "operation": "boost", - "score": 0.10812054574489594 + "score": -0.1682370901107788 } }, "else": { "operation": "boost", - "score": 0.06843870133161545 + "score": 0.018002042546868324 } - }, - "else": { - "operation": "boost", - "score": 0.04663391038775444 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1156669482588768 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.009994427673518658 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7616.0, "then": { - "operation": "boost", - "score": -0.04394328221678734 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 147.0, + "threshold": 7681.0, "then": { "operation": "boost", - "score": 0.09956876933574677 + "score": 0.023364940658211708 }, "else": { + "operation": "boost", + "score": 0.12262655794620514 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 138.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "boost", - "score": 0.11957811564207077 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.07336243242025375 + }, + "else": { + "operation": "boost", + "score": -0.07820173352956772 + } + }, + "else": { + "operation": "boost", + "score": 0.07852856069803238 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.0020463308319449425 + }, + "else": { + "operation": "boost", + "score": 0.0814903974533081 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.0666801780462265 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.05696980282664299 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.02813979610800743 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.04781473055481911 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.008058750070631504 + }, + "else": { + "operation": "boost", + "score": 0.05067116767168045 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0019526747055351734 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00414573447778821 + } }, "else": { - "operation": "boost", - "score": 0.09995192289352417 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.02215557172894478 + }, + "else": { + "operation": "boost", + "score": 0.00824067648500204 + } + }, + "else": { + "operation": "boost", + "score": -0.0025176811031997204 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6920.5, + "then": { + "operation": "boost", + "score": -0.5154335498809814 + }, + "else": { + "operation": "boost", + "score": -0.07838287204504013 + } + }, + "else": { + "operation": "boost", + "score": 0.0012950343079864979 + } + } + }, + "else": { + "operation": "boost", + "score": -0.052310481667518616 + } } + }, + "else": { + "operation": "boost", + "score": -0.00467847753316164 } } - }, - "else": { - "operation": "boost", - "score": 0.11779167503118515 } - }, - "else": { - "operation": "boost", - "score": 0.05805863440036774 } }, "else": { - "operation": "boost", - "score": 0.08724913746118546 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.005249600391834974 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08096829801797867 + "score": -0.001021072268486023 }, "else": { "operation": "boost", - "score": 0.0698990449309349 + "score": 0.030295582488179207 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7473.5, + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7486.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.05086171627044678 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.11552947759628296 + }, + "else": { + "operation": "boost", + "score": 0.22357122600078583 + } + }, + "else": { + "operation": "boost", + "score": 0.0768178328871727 + } + }, + "else": { + "operation": "boost", + "score": 0.0321887731552124 + } }, "else": { "operation": "boost", - "score": 0.12180066108703613 + "score": 0.020706692710518837 } }, "else": { - "operation": "boost", - "score": 0.02774951420724392 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.018024884164333344 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.013957766816020012 + }, + "else": { + "operation": "boost", + "score": -0.022313570603728294 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.015493226237595081 } } } - }, - "else": { - "operation": "boost", - "score": -0.03043026477098465 } } } } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.041175514459609985 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.022402344271540642 + "score": -0.05545097216963768 }, "else": { - "operation": "boost", - "score": 0.003450787393376231 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08748576790094376 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.053225159645080566 + }, + "else": { + "operation": "boost", + "score": 0.009427635930478573 + } + } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.007367019075900316 }, "else": { - "operation": "boost", - "score": -0.016890840604901314 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.06291677057743073 + "score": -0.014859492890536785 }, "else": { - "operation": "boost", - "score": 0.023792345076799393 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92.5, + "then": { + "operation": "boost", + "score": 0.04728587716817856 + }, + "else": { + "operation": "boost", + "score": 0.001689922297373414 + } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2908.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.021170342341065407 + "score": 0.056441884487867355 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.0078104776330292225 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 3004.5, "then": { "operation": "boost", - "score": 0.0300438292324543 + "score": 0.048770464956760406 }, "else": { - "operation": "boost", - "score": 0.048310648649930954 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2985.0, + "then": { + "operation": "boost", + "score": 0.1311950832605362 + }, + "else": { + "operation": "boost", + "score": 0.08421223610639572 + } } + }, + "else": { + "operation": "boost", + "score": 0.023585204035043716 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "boost", + "score": -0.03216199949383736 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2696.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.017946740612387657 + "score": 0.056143369525671005 }, "else": { "operation": "boost", - "score": -0.02189508266746998 + "score": 0.01975894346833229 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.05648306384682655 - }, - "else": { - "operation": "boost", - "score": 0.0002330445422558114 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.5730909705162048 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13946186006069183 - }, - "else": { - "operation": "boost", - "score": 0.12102415412664413 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Function" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1970.0, - "then": { - "operation": "boost", - "score": 0.09019015729427338 - }, - "else": { - "operation": "boost", - "score": 0.08980867266654968 - } + "operation": "boost", + "score": -0.0013063555816188455 }, "else": { "operation": "boost", - "score": 0.01901942677795887 + "score": 0.052457209676504135 } }, "else": { "operation": "boost", - "score": -0.05507660284638405 + "score": 0.11156368255615234 } }, "else": { "operation": "boost", - "score": 0.03237684443593025 + "score": -0.06551887094974518 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025037188082933426 + }, + "else": { + "operation": "boost", + "score": -0.026530183851718903 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06590757519006729 + "score": -0.05801750719547272 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.022107305005192757 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08591880649328232 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.13209721446037292 - }, - "else": { - "operation": "boost", - "score": 0.12404906749725342 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.08314311504364014 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.12830959260463715 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 262.5, - "then": { - "operation": "boost", - "score": 0.18133918941020966 - }, - "else": { - "operation": "boost", - "score": 0.1268640160560608 - } - }, - "else": { - "operation": "boost", - "score": 0.07604147493839264 - } - }, - "else": { - "operation": "boost", - "score": 0.06818115711212158 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.05685099586844444 - }, - "else": { - "operation": "boost", - "score": 0.1438719630241394 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07427399605512619 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05236944183707237 - } + "operation": "boost", + "score": 0.011324777267873287 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 162.5, "then": { "operation": "boost", - "score": 0.04547599330544472 + "score": 0.030769163742661476 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07550405710935593 - }, - "else": { - "operation": "boost", - "score": 0.03640257194638252 - } + "operation": "boost", + "score": -0.030063508078455925 } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.036495987325906754 - }, - "else": { - "operation": "boost", - "score": -0.24280261993408203 - } + "operation": "boost", + "score": 0.041300129145383835 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.05627036839723587 + "score": 0.08930535614490509 }, "else": { "operation": "boost", - "score": -0.021449686959385872 + "score": -0.12347486615180969 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.03313973918557167 + "score": 0.05118473991751671 }, "else": { "operation": "boost", - "score": 0.02110866643488407 + "score": 0.0075763980858027935 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10792076587677002 - }, - "else": { - "operation": "boost", - "score": -0.0754142701625824 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10917449742555618 + "score": -0.06296782195568085 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "Variable" ], "then": { - "operation": "boost", - "score": 0.048249028623104095 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11355340480804443 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05437557399272919 + }, + "else": { + "operation": "boost", + "score": 0.00580636179074645 + } + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.008608156815171242 + "score": 0.001024981727823615 }, "else": { "operation": "boost", - "score": -0.12095515429973602 + "score": -0.12289755791425705 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.017320074141025543 + }, + "else": { + "operation": "boost", + "score": 0.06724175810813904 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.05371250584721565 - }, - "else": { - "operation": "boost", - "score": 0.12067794054746628 - } + "operation": "boost", + "score": 0.03840448707342148 }, "else": { "operation": "boost", - "score": 0.06872764974832535 + "score": -0.003622206626459956 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07078113406896591 + "score": -0.10995398461818695 }, "else": { "operation": "boost", - "score": 0.009622116573154926 + "score": -0.005968765821307898 } } - }, - "else": { - "operation": "boost", - "score": -0.03806503862142563 } }, "else": { "operation": "boost", - "score": -0.07638002932071686 + "score": -0.11599605530500412 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.04387182369828224 - }, - "else": { - "operation": "boost", - "score": 0.022863101214170456 - } - }, - "else": { - "operation": "boost", - "score": 0.014166762121021748 - } + "operation": "boost", + "score": -0.05080345645546913 } } } - }, - "else": { - "operation": "boost", - "score": 0.0015788371674716473 } } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.035685401409864426 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { + "operation": "boost", + "score": 0.03326434642076492 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.04028542712330818 + }, + "else": { + "operation": "boost", + "score": 0.004941465798765421 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": -0.1280868798494339 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21461.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304083.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.03960830345749855 + "score": 0.09853839129209518 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.050598349422216415 - }, - "else": { - "operation": "boost", - "score": 0.11110544949769974 - } - }, - "else": { - "operation": "boost", - "score": 0.07464428246021271 - } + "operation": "boost", + "score": 0.04110164940357208 } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.028138292953372 + } + }, + "else": { + "operation": "boost", + "score": 0.002278057159855962 + } + }, + "else": { + "operation": "boost", + "score": 0.018340976908802986 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.007461160887032747 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.03372155874967575 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04552208632230759 + }, + "else": { + "operation": "boost", + "score": -0.011134245432913303 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06273901462554932 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.02250717766582966 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.031007084995508194 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.041803471744060516 + }, + "else": { + "operation": "boost", + "score": 0.019563624635338783 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06700340658426285 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": -0.028615526854991913 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14483290910720825 + "score": 0.20910464227199554 }, "else": { "operation": "boost", - "score": 0.1291067749261856 + "score": 0.05926065146923065 } + }, + "else": { + "operation": "boost", + "score": 0.017478160560131073 } }, "else": { + "operation": "boost", + "score": 0.018681610003113747 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.031770795583724976 + "score": -0.055420707911252975 }, "else": { - "operation": "boost", - "score": 0.07324790209531784 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1081058531999588 + }, + "else": { + "operation": "boost", + "score": 0.05864959955215454 + } } - } - }, - "else": { - "operation": "boost", - "score": 0.051988475024700165 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.032825179398059845 }, "else": { "operation": "boost", - "score": 0.05617876350879669 + "score": -0.01800018548965454 } - }, - "else": { - "operation": "boost", - "score": -0.00344191025942564 } + }, + "else": { + "operation": "boost", + "score": -0.003407885553315282 } } } - }, - "else": { - "operation": "boost", - "score": 0.05599929764866829 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 185.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.013554221950471401 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04532682150602341 - }, - "else": { - "operation": "boost", - "score": 0.014291294850409031 - } + "operation": "boost", + "score": 0.040843281894922256 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.03089383989572525 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04372608661651611 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.061835940927267075 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.0010811637621372938 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12924.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.128494530916214 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Function", + "Type" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "boost", - "score": 0.09090090543031693 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10394173115491867 - }, - "else": { - "operation": "boost", - "score": 0.10710237175226212 - } - } - }, - "else": { - "operation": "boost", - "score": -0.7609343528747559 - } + "operation": "boost", + "score": 0.025148676708340645 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12481998652219772 - }, - "else": { - "operation": "boost", - "score": 0.05975800380110741 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19795.0, - "then": { - "operation": "boost", - "score": -0.0007792871329002082 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18842.0, - "then": { - "operation": "boost", - "score": 0.11625411361455917 - }, - "else": { - "operation": "boost", - "score": 0.0431520901620388 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04755913093686104 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06580409407615662 - } + "operation": "boost", + "score": -0.003086724551394582 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43084.0, + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.11220204085111618 + "score": 0.15168949961662292 }, "else": { "operation": "boost", - "score": 0.0723109170794487 + "score": -0.3452548086643219 } }, "else": { "operation": "boost", - "score": 0.059654105454683304 + "score": 0.03884709253907204 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11431744694709778 - }, - "else": { - "operation": "boost", - "score": 0.11216237396001816 - } - }, - "else": { - "operation": "boost", - "score": -0.22298219799995422 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, - "then": { "operation": "boost", - "score": -0.008188370615243912 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13163.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19373.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20608.0, - "then": { - "operation": "boost", - "score": -0.3849108815193176 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08555535972118378 - }, - "else": { - "operation": "boost", - "score": 0.11046604812145233 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09176182746887207 - } - }, - "else": { - "operation": "boost", - "score": 0.12798672914505005 - } - }, - "else": { - "operation": "boost", - "score": 0.07380134612321854 - } - }, - "else": { - "operation": "boost", - "score": 0.054002806544303894 - } + "score": 0.00971019547432661 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11353379487991333 - } - } - }, - "else": { - "operation": "boost", - "score": 0.033584266901016235 - } - }, - "else": { - "operation": "boost", - "score": -0.015393906272947788 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13582.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 94852.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08873936533927917 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": 0.06458675861358643 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06394568830728531 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09474249184131622 - }, - "else": { - "operation": "boost", - "score": 0.13217195868492126 - } - } + "operation": "boost", + "score": -0.053770169615745544 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14750.5, - "then": { - "operation": "boost", - "score": 0.09071008861064911 }, "else": { "operation": "boost", - "score": 0.1340457946062088 + "score": -0.05645410344004631 } } }, "else": { "operation": "boost", - "score": -0.03671230748295784 - } - }, - "else": { - "operation": "boost", - "score": 0.040202733129262924 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11122963577508926 - }, - "else": { - "operation": "boost", - "score": -0.10462412983179092 + "score": -0.005872584413737059 } - }, - "else": { - "operation": "boost", - "score": 0.09657931327819824 } } } }, "else": { "operation": "boost", - "score": 0.002462713746353984 + "score": 0.03365100920200348 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, "then": { + "operation": "boost", + "score": 0.031050406396389008 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.06060114502906799 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03146350756287575 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.02131134644150734 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.009808981791138649 + }, + "else": { + "operation": "boost", + "score": -0.044010844081640244 + } + } + } }, "else": { "operation": "boost", - "score": 0.01286856085062027 + "score": 0.006574918981641531 } }, "else": { - "operation": "boost", - "score": -0.02224130742251873 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.04235048592090607 - }, - "else": { - "operation": "boost", - "score": -0.05631787329912186 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.027299052104353905 + }, + "else": { + "operation": "boost", + "score": 0.0015336191281676292 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04097340628504753 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0026295206043869257 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.005514855030924082 + }, + "else": { + "operation": "boost", + "score": -0.06057935580611229 + } + } + } + } } } } } } } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.6991387605667114 - }, - "else": { - "operation": "boost", - "score": 0.032954584807157516 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 96.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.010043847374618053 - }, - "else": { - "operation": "boost", - "score": 0.10119717568159103 - } - }, - "else": { - "operation": "boost", - "score": -0.0907054990530014 - } - }, - "else": { - "operation": "boost", - "score": 0.0873272493481636 - } + "operation": "boost", + "score": 0.035928044468164444 }, "else": { "operation": "boost", - "score": 0.025960542261600494 + "score": 0.005207906011492014 } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.23377101123332977 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Unknown" - ], - "then": { - "operation": "boost", - "score": 0.006546650547534227 - }, - "else": { - "operation": "boost", - "score": -0.153207466006279 - } - }, - "else": { - "operation": "boost", - "score": -0.007230739574879408 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27178.0, - "then": { - "operation": "boost", - "score": -0.08172745257616043 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5193.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, - "then": { - "operation": "boost", - "score": 0.05313548073172569 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6360.5, - "then": { - "operation": "boost", - "score": 0.11262958496809006 - }, - "else": { - "operation": "boost", - "score": 0.048473652452230453 - } - } - }, - "else": { - "operation": "boost", - "score": 0.031953420490026474 - } - } + "operation": "boost", + "score": -0.021845536306500435 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.070647232234478 - }, - "else": { - "operation": "boost", - "score": 0.018539641052484512 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.07627753913402557 - }, - "else": { - "operation": "boost", - "score": 0.10645473003387451 - } + "score": 0.02367737889289856 }, "else": { - "operation": "boost", - "score": -0.012368135154247284 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.01763906143605709 + "score": -0.02853589691221714 }, "else": { "operation": "boost", - "score": 0.09180894494056702 + "score": 0.04168299585580826 } - }, - "else": { - "operation": "boost", - "score": 0.021579047664999962 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.001083776936866343 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.014411182142794132 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05273844674229622 + }, + "else": { + "operation": "boost", + "score": -0.03845735266804695 + } + } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", + "Function", + "Keyword", + "Namespace", "Operator", - "Unknown", - "Constructor", "Type", - "Namespace" + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.1275956928730011 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.047625742852687836 + }, + "else": { + "operation": "boost", + "score": 0.06923598796129227 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.08627963811159134 + }, + "else": { + "operation": "boost", + "score": 0.008077234029769897 + } + } }, "else": { "operation": "boost", - "score": -0.0008961393614299595 + "score": -0.01145399734377861 } } }, "else": { - "operation": "boost", - "score": 0.025668948888778687 - } - }, - "else": { - "operation": "boost", - "score": -0.050620969384908676 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.028774067759513855 - }, - "else": { - "operation": "boost", - "score": -0.00499187596142292 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.015888717025518417 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.01563647948205471 + }, + "else": { + "operation": "boost", + "score": 0.0789041742682457 + } + }, + "else": { + "operation": "boost", + "score": -0.04051728919148445 + } + }, + "else": { + "operation": "boost", + "score": 0.08026840537786484 + } + }, + "else": { + "operation": "boost", + "score": 0.005627820733934641 + } + }, + "else": { + "operation": "boost", + "score": -0.022135311737656593 + } + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05303137004375458 - }, - "else": { - "operation": "boost", - "score": 0.02975280210375786 - } + "operation": "boost", + "score": -0.05338485166430473 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.013864162378013134 + }, + "else": { + "operation": "boost", + "score": -0.07113787531852722 + } + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 266152.5, "then": { - "operation": "boost", - "score": 0.08818325400352478 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 59.0, + "threshold": 272339.5, "then": { - "operation": "boost", - "score": 0.10187336057424545 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.05213538184762001 + }, + "else": { + "operation": "boost", + "score": -0.09691861271858215 + } }, "else": { "operation": "boost", - "score": 0.14672920107841492 + "score": 0.09240256994962692 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 166.5, + "threshold": 251308.0, "then": { + "operation": "boost", + "score": -0.20719008147716522 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 203783.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 219439.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234371.5, + "then": { + "operation": "boost", + "score": 0.08884807676076889 + }, + "else": { + "operation": "boost", + "score": -0.25227174162864685 + } + }, + "else": { + "operation": "boost", + "score": 0.10730250924825668 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" + "FileScope", + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 227.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": -0.021171918138861656 - }, - "else": { - "operation": "boost", - "score": 0.12410902231931686 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.05958600714802742 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2268.5, - "then": { - "operation": "boost", - "score": 0.0658622682094574 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 774.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.0977545753121376 - }, - "else": { - "operation": "boost", - "score": 0.11186406761407852 - } - }, - "else": { - "operation": "boost", - "score": 0.09414530545473099 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10752568393945694 - } + "operation": "boost", + "score": 0.1632252037525177 }, "else": { "operation": "boost", - "score": 0.0715729221701622 + "score": -0.03389706090092659 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1014399304986 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 573.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.06831816583871841 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 542.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.116266168653965 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11275612562894821 - }, - "else": { - "operation": "boost", - "score": -0.19613017141819 - } - }, - "else": { - "operation": "boost", - "score": 0.12447575479745865 - } + "operation": "boost", + "score": -0.11363319307565689 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 353.0, - "then": { - "operation": "boost", - "score": 0.11896578967571259 - }, - "else": { - "operation": "boost", - "score": -0.12552593648433685 - } - }, - "else": { - "operation": "boost", - "score": 0.09601285308599472 - } + "operation": "boost", + "score": 0.014440487138926983 } + }, + "else": { + "operation": "boost", + "score": -0.1114482507109642 } + }, + "else": { + "operation": "boost", + "score": -0.00872083380818367 } - }, - "else": { - "operation": "boost", - "score": 0.10946575552225113 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07255249470472336 - }, - "else": { - "operation": "boost", - "score": 0.0596432127058506 - } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 449.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 23.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "boost", - "score": 0.12992428243160248 + "score": -0.06017237529158592 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "NumReferences", + "threshold": 203783.5, "then": { - "operation": "boost", - "score": 0.07949875295162201 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 207505.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": 0.0323248952627182 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.11776729673147202 + "score": 0.10693728923797607 }, "else": { "operation": "boost", - "score": 0.13345971703529358 + "score": 0.010247703641653061 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, + "then": { + "operation": "boost", + "score": -0.03247803449630737 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50.5, + "threshold": 55483.0, "then": { - "operation": "boost", - "score": 0.11298331618309021 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.10627590864896774 + "score": 0.12336838245391846 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.12451189011335373 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, - "then": { - "operation": "boost", - "score": 0.1287287473678589 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "boost", - "score": 0.7578839063644409 - }, - "else": { - "operation": "boost", - "score": 0.1322612464427948 - } - } - } + "operation": "boost", + "score": -0.20015175640583038 } + }, + "else": { + "operation": "boost", + "score": 0.008403521962463856 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 290761.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10863190144300461 - }, - "else": { - "operation": "boost", - "score": 0.10159795731306076 - } - }, - "else": { - "operation": "boost", - "score": 0.015030228532850742 - } }, "else": { "operation": "boost", - "score": 0.050032489001750946 + "score": -0.04045327380299568 } + }, + "else": { + "operation": "boost", + "score": 0.040843475610017776 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.06102798879146576 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46.0, - "then": { - "operation": "boost", - "score": 0.12319090962409973 - }, - "else": { - "operation": "boost", - "score": 0.1228170096874237 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 556.0, + "threshold": 116663.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 595.5, + "threshold": 131033.0, "then": { "operation": "boost", - "score": 0.053672462701797485 + "score": 0.02042931690812111 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.17893637716770172 - }, - "else": { - "operation": "boost", - "score": 0.10502558201551437 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.07506565004587173 - }, - "else": { - "operation": "boost", - "score": 0.048806775361299515 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0004890883574262261 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.1204078197479248 + "score": -0.09709123522043228 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "boost", - "score": 0.10849657654762268 - }, - "else": { - "operation": "boost", - "score": -0.27687013149261475 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11328643560409546 + "score": 0.13527557253837585 }, "else": { "operation": "boost", - "score": -0.11376836150884628 + "score": -0.1292627602815628 } - }, - "else": { - "operation": "boost", - "score": 0.0495709553360939 } } - } - }, - "else": { - "operation": "boost", - "score": 0.037726372480392456 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13692334294319153 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07955671846866608 + "score": 0.03116259165108204 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 103.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.058422401547431946 + "score": 0.043295081704854965 }, "else": { "operation": "boost", - "score": 0.0005253305425867438 + "score": 0.14086639881134033 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.020635036751627922 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.032868947833776474 - }, - "else": { - "operation": "boost", - "score": -1.2646253108978271 - } - } + "operation": "boost", + "score": 0.0013270790223032236 } } } }, "else": { "operation": "boost", - "score": 0.036313071846961975 + "score": -0.02974041737616062 } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5898.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6404.5, "then": { "operation": "boost", - "score": -0.09369645267724991 + "score": 0.05376705154776573 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 6221.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.11482084542512894 - }, - "else": { - "operation": "boost", - "score": 0.029972977936267853 - } - }, - "else": { - "operation": "boost", - "score": -0.005769222974777222 - } + "operation": "boost", + "score": 0.12748722732067108 }, "else": { "operation": "boost", - "score": 0.008888653479516506 + "score": 0.001223216182552278 } } + }, + "else": { + "operation": "boost", + "score": 0.027933040633797646 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.007837734185159206 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.02195758745074272 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03943977504968643 + }, + "else": { + "operation": "boost", + "score": 0.003999761305749416 + } + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.05379561707377434 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.008634945377707481 + }, + "else": { + "operation": "boost", + "score": 3.2727351936046034e-05 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 40.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.28382036089897156 + }, + "else": { + "operation": "boost", + "score": 0.012617564760148525 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.028883157297968864 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "boost", - "score": 0.07214871793985367 - }, - "else": { - "operation": "boost", - "score": 0.05989977344870567 - } + "operation": "boost", + "score": -0.004185371100902557 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": 0.09805988520383835 - }, - "else": { - "operation": "boost", - "score": 0.12055447697639465 - } - }, - "else": { - "operation": "boost", - "score": 0.08644882589578629 - } + "operation": "boost", + "score": 0.07820496708154678 }, "else": { "operation": "boost", - "score": 0.07629828155040741 + "score": 0.01758917048573494 } } - }, - "else": { - "operation": "boost", - "score": 0.022051164880394936 } - }, - "else": { - "operation": "boost", - "score": -0.019901754334568977 } } } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06813579797744751 }, "else": { + "operation": "boost", + "score": 0.02801465429365635 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5898.0, + "threshold": 6360.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "boost", + "score": 0.06838694959878922 + }, + "else": { + "operation": "boost", + "score": 0.12320278584957123 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5906.0, + "feature": "FractionNameInContext", + "threshold": 0.25833332538604736, "then": { - "operation": "boost", - "score": 0.054638225585222244 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.049814727157354355 + }, + "else": { + "operation": "boost", + "score": 0.026603875681757927 + } }, "else": { "operation": "boost", - "score": 0.11418096721172333 + "score": 0.01651277393102646 } }, "else": { - "operation": "boost", - "score": 0.018427683040499687 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03422358259558678 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.0622943751513958 + }, + "else": { + "operation": "boost", + "score": 0.004265814553946257 + } + } + }, + "else": { + "operation": "boost", + "score": 0.027096141129732132 + } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.07893868535757065 + "score": 0.03268662095069885 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsDeprecated", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.16493552923202515 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09550962597131729 + "score": 0.03895554319024086 }, "else": { "operation": "boost", - "score": 0.1063232347369194 + "score": 0.018597029149532318 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.07852741330862045 - }, - "else": { - "operation": "boost", - "score": -0.015829036012291908 - } - }, - "else": { - "operation": "boost", - "score": 0.04597935080528259 - } + "operation": "boost", + "score": 0.0063331774435937405 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.020888613536953926 - }, - "else": { - "operation": "boost", - "score": 0.07697572559118271 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20942983031272888, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.008263950236141682 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.09727604687213898 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0722176805138588 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.0423538014292717 + }, + "else": { + "operation": "boost", + "score": -0.04413975402712822 + } + } }, "else": { - "operation": "boost", - "score": -0.0078056282363832 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.02862616255879402 + }, + "else": { + "operation": "boost", + "score": -0.06860565394163132 + } } - } - }, - "else": { - "operation": "boost", - "score": 0.009758579544723034 - } - }, - "else": { - "operation": "boost", - "score": 0.03903903812170029 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.020323986187577248 - }, - "else": { - "operation": "boost", - "score": 0.04169640690088272 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.002688474953174591 - } - } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03910352289676666 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.021199572831392288 - }, - "else": { - "operation": "boost", - "score": 0.0032222727313637733 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0013547015842050314 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.060240842401981354 - }, - "else": { - "operation": "boost", - "score": 0.022495562210679054 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.019526425749063492 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03537432476878166 - }, - "else": { - "operation": "boost", - "score": 0.015338650904595852 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04369986429810524 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02409341186285019 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.017036184668540955 - }, - "else": { - "operation": "boost", - "score": 0.061910469084978104 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67685.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "boost", - "score": 0.024838123470544815 - }, - "else": { - "operation": "boost", - "score": -0.12635259330272675 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198405.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.10361205786466599 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.6076923608779907, "then": { - "operation": "boost", - "score": 0.08195760846138 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion" + "FileScope" ], - "then": { - "operation": "boost", - "score": 0.111060231924057 - }, - "else": { - "operation": "boost", - "score": 0.09518096596002579 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.17109569907188416 - }, - "else": { - "operation": "boost", - "score": 0.11836188286542892 - } - }, - "else": { - "operation": "boost", - "score": 0.04136281833052635 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159641.0, - "then": { - "operation": "boost", - "score": -0.33891257643699646 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, - "then": { - "operation": "boost", - "score": 0.037165023386478424 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1153777539730072 - }, - "else": { - "operation": "boost", - "score": 0.11465714871883392 - } - }, - "else": { - "operation": "boost", - "score": 0.10391473770141602 - } - }, - "else": { - "operation": "boost", - "score": 0.0406542643904686 - } + "operation": "boost", + "score": 0.1322205364704132 }, "else": { "operation": "boost", - "score": 0.07276217639446259 + "score": 0.059536710381507874 } }, "else": { "operation": "boost", - "score": 0.05322428047657013 + "score": 0.05007411539554596 } - } - }, - "else": { - "operation": "boost", - "score": 0.04082849621772766 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.027957599610090256 - }, - "else": { - "operation": "boost", - "score": 0.03199189156293869 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, - "then": { - "operation": "boost", - "score": 0.07121126353740692 }, "else": { "operation": "boost", - "score": -0.023419920355081558 + "score": 0.00045403034891933203 } - }, - "else": { - "operation": "boost", - "score": -0.016243215650320053 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.035135142505168915 - }, - "else": { - "operation": "boost", - "score": 0.007587837520986795 - } + "operation": "boost", + "score": -0.06900983303785324 } }, "else": { - "operation": "boost", - "score": -0.0946994200348854 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.028506113216280937 + }, + "else": { + "operation": "boost", + "score": -0.00781386997550726 + } } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.13167212903499603 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.14969614148139954 - }, - "else": { - "operation": "boost", - "score": -0.11153765022754669 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1353096067905426 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07266063988208771 - }, - "else": { - "operation": "boost", - "score": -0.02574349008500576 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07181185483932495 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.038136959075927734 - }, - "else": { - "operation": "boost", - "score": -0.031028112396597862 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0061471350491046906 - } + "operation": "boost", + "score": 0.07987607270479202 }, "else": { "operation": "boost", - "score": 0.013152171857655048 + "score": 0.00267965835519135 } + }, + "else": { + "operation": "boost", + "score": 0.026545090600848198 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { + "operation": "boost", + "score": 0.0775042399764061 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10040083527565002 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.07008057087659836 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.13898177444934845 - }, - "else": { - "operation": "boost", - "score": 0.012671458534896374 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05710701644420624 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.0228284802287817 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.09028047323226929 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1558.5, - "then": { - "operation": "boost", - "score": 0.08490412682294846 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 558.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 704.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12272553890943527 - }, - "else": { - "operation": "boost", - "score": 0.11492361128330231 - } - }, - "else": { - "operation": "boost", - "score": 0.13960784673690796 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.09001000970602036 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 376.5, - "then": { - "operation": "boost", - "score": 0.08530663698911667 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 240.5, - "then": { - "operation": "boost", - "score": 0.13814778625965118 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193.0, - "then": { - "operation": "boost", - "score": -0.10402829945087433 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12509790062904358 - }, - "else": { - "operation": "boost", - "score": 0.11428509652614594 - } - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.5, - "then": { - "operation": "boost", - "score": 0.10206324607133865 - }, - "else": { - "operation": "boost", - "score": 0.11266927421092987 - } - }, - "else": { - "operation": "boost", - "score": 0.04283050820231438 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.07976188510656357 - }, - "else": { - "operation": "boost", - "score": 0.023653985932469368 - } - } - } + "operation": "boost", + "score": 0.0794118270277977 }, "else": { "operation": "boost", - "score": 0.038946911692619324 + "score": -0.0003722311230376363 } - }, - "else": { - "operation": "boost", - "score": 0.018081214278936386 } }, "else": { "operation": "boost", - "score": 0.0006546808290295303 + "score": -0.02819809876382351 } } } } + }, + "else": { + "operation": "boost", + "score": 0.011932929046452045 } }, "else": { - "operation": "boost", - "score": -0.007092191372066736 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1604.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.04291210696101189 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { + "operation": "boost", + "score": 0.03885679319500923 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.1811893880367279 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1101238876581192 - }, - "else": { - "operation": "boost", - "score": 0.06376876682043076 - } + "operation": "boost", + "score": 0.0189548097550869 }, "else": { "operation": "boost", - "score": -0.23015335202217102 + "score": -0.002300758846104145 } - }, - "else": { - "operation": "boost", - "score": 0.00827123410999775 } + } + }, + "else": { + "operation": "boost", + "score": 0.025863733142614365 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09340158104896545 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 71954.5, "then": { - "operation": "boost", - "score": 0.037162598222494125 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 85516.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6067.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.10900365561246872 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.11609316617250443 - }, - "else": { - "operation": "boost", - "score": 0.12128446251153946 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1998811960220337 - } + "operation": "boost", + "score": 0.03408270329236984 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7370.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73222.0, - "then": { - "operation": "boost", - "score": 0.0018753298791125417 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19465.5, - "then": { - "operation": "boost", - "score": 0.15630397200584412 - }, - "else": { - "operation": "boost", - "score": -0.24254107475280762 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1493035852909088 - }, - "else": { - "operation": "boost", - "score": 0.12530717253684998 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03906910866498947 - } - }, - "else": { - "operation": "boost", - "score": 0.10776535421609879 - } + "operation": "boost", + "score": 0.09589584916830063 } + }, + "else": { + "operation": "boost", + "score": 0.00967680849134922 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.02359485626220703 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09266892075538635 - }, - "else": { - "operation": "boost", - "score": 0.11488620936870575 - } + "operation": "boost", + "score": -0.1962067037820816 }, "else": { "operation": "boost", - "score": -0.1820523589849472 + "score": -0.013898156583309174 } - }, - "else": { - "operation": "boost", - "score": 0.03270870819687843 } } } }, "else": { "operation": "boost", - "score": 0.011322420090436935 + "score": 0.003176626982167363 } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", "Variable" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsDeprecated", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": -0.0508747436106205 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.07602657377719879 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 59512.5, "then": { "operation": "boost", - "score": 0.08362066000699997 + "score": -0.07498485594987869 }, "else": { - "operation": "boost", - "score": 0.09989149123430252 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "boost", - "score": 0.09548838436603546 + "score": 0.11240945756435394 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11423948407173157 - }, - "else": { - "operation": "boost", - "score": 0.12990520894527435 - } + "operation": "boost", + "score": -0.11398434638977051 }, "else": { "operation": "boost", - "score": 0.12498944997787476 + "score": -0.016574569046497345 } } - }, - "else": { - "operation": "boost", - "score": 0.14178341627120972 } + }, + "else": { + "operation": "boost", + "score": 0.03046819567680359 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.014065111055970192 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06209895759820938 + "score": 0.05604904890060425 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "boost", - "score": 0.12103359401226044 + "score": 0.10939390957355499 }, "else": { - "operation": "boost", - "score": 0.12507595121860504 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.0829499363899231 + }, + "else": { + "operation": "boost", + "score": 0.13901621103286743 + } } }, "else": { "operation": "boost", - "score": 0.04965367913246155 + "score": 0.12850533425807953 } }, "else": { - "operation": "boost", - "score": 0.0924854725599289 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.020996907725930214 + }, + "else": { + "operation": "boost", + "score": 0.13528235256671906 + } } } }, "else": { "operation": "boost", - "score": 0.06824631243944168 + "score": 0.07462615519762039 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.14148801565170288 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.05079374834895134 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11658254265785217 + }, + "else": { + "operation": "boost", + "score": 0.07975340634584427 + } + } + }, + "else": { + "operation": "boost", + "score": 0.022368090227246284 + } } } }, "else": { "operation": "boost", - "score": 0.03449399024248123 + "score": -0.004271252546459436 } - }, - "else": { - "operation": "boost", - "score": 0.004617501050233841 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope" + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": 0.0028056923765689135 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0332576259970665 - }, - "else": { - "operation": "boost", - "score": 0.13387563824653625 - } + "operation": "boost", + "score": 0.03343024104833603 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.022402655333280563 + "score": 0.030990544706583023 }, "else": { "operation": "boost", - "score": 0.11660578846931458 + "score": -0.017819514498114586 } }, "else": { "operation": "boost", - "score": 0.03399229794740677 + "score": -0.07086755335330963 } } + }, + "else": { + "operation": "boost", + "score": 0.016282638534903526 } }, "else": { - "operation": "boost", - "score": 0.004328985698521137 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03249980881810188 + }, + "else": { + "operation": "boost", + "score": 0.0007111341692507267 + } } - }, - "else": { - "operation": "boost", - "score": -0.0777616798877716 } } }, "else": { "operation": "boost", - "score": -0.003630460938438773 + "score": -0.1160259023308754 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0424213632941246 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.043927207589149475 - }, - "else": { - "operation": "boost", - "score": 0.01652831770479679 - } - } + "operation": "boost", + "score": -0.11955055594444275 } } - }, - "else": { - "operation": "boost", - "score": -0.11910229921340942 } } } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.030125197023153305 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.019565949216485023 + "score": -0.053845301270484924 }, "else": { - "operation": "boost", - "score": 0.0025910327676683664 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0793365091085434 + }, + "else": { + "operation": "boost", + "score": 0.008634760044515133 + } } }, "else": { - "operation": "boost", - "score": -0.0016391681274399161 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.08640097081661224 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.040169116109609604 + }, + "else": { + "operation": "boost", + "score": 0.028451869264245033 + } }, "else": { "operation": "boost", - "score": 0.11339908838272095 + "score": -0.01967122219502926 } }, "else": { - "operation": "boost", - "score": 0.05629705637693405 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.000820386572740972 + "score": -0.012068454176187515 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.09025359153747559 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03297645226120949 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09665914624929428 + }, + "else": { + "operation": "boost", + "score": 0.03496629744768143 + } + } + }, + "else": { + "operation": "boost", + "score": 0.014085836708545685 + } }, "else": { "operation": "boost", - "score": 0.04458116367459297 + "score": -0.00538007915019989 } } + } + }, + "else": { + "operation": "boost", + "score": -0.05975513905286789 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2908.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205835.5, + "then": { + "operation": "boost", + "score": 0.04982677102088928 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31879.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.02901928313076496 + "score": 0.109255850315094 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30750.5, - "then": { - "operation": "boost", - "score": 0.07645416259765625 - }, - "else": { - "operation": "boost", - "score": 0.027653485536575317 - } + "operation": "boost", + "score": 0.05333747714757919 } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172808.5, + "then": { + "operation": "boost", + "score": -0.15091651678085327 + }, + "else": { + "operation": "boost", + "score": 0.024985317140817642 + } } }, "else": { @@ -80777,368 +79961,770 @@ "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.01817762665450573 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.007354373577982187 + "score": 0.04235963150858879 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.027195684611797333 + "score": -0.039623841643333435 }, "else": { - "operation": "boost", - "score": 0.046275608241558075 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05742741376161575 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.014583921059966087 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00022807021741755307 + }, + "else": { + "operation": "boost", + "score": 0.05098012834787369 + } + }, + "else": { + "operation": "boost", + "score": 0.10162442922592163 + } + }, + "else": { + "operation": "boost", + "score": -0.05401912331581116 + } + }, + "else": { + "operation": "boost", + "score": -0.018488705158233643 + } + } + } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05429839715361595 + }, + "else": { + "operation": "boost", + "score": 0.011362566612660885 + } + }, + "else": { + "operation": "boost", + "score": -0.017559457570314407 + } + }, + "else": { + "operation": "boost", + "score": 0.03316080570220947 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1074.5, + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.008793504908680916 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.03944094851613045 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1082.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04987248778343201 + }, + "else": { + "operation": "boost", + "score": 0.007444296032190323 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07708680629730225 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11770032346248627 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.018749859184026718 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.03566965460777283 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004493555054068565 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.009720046073198318 + }, + "else": { + "operation": "boost", + "score": -0.11366816610097885 + } + } + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.020264185965061188 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2367.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.06141388416290283 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.1629796177148819 + }, + "else": { + "operation": "boost", + "score": 0.05866702273488045 + } + }, + "else": { + "operation": "boost", + "score": -0.11145104467868805 + } }, "else": { "operation": "boost", - "score": 0.11383315920829773 + "score": -0.009646838530898094 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", "CCC_SymbolOrNewName", - "CCC_Statement" + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.11154378205537796 + "score": 0.016627321019768715 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.12282747775316238 - }, - "else": { - "operation": "boost", - "score": 0.059932004660367966 - } + "operation": "boost", + "score": -0.020336687564849854 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1782.0, - "then": { - "operation": "boost", - "score": 0.05466178432106972 - }, - "else": { - "operation": "boost", - "score": 0.1172180026769638 - } } }, "else": { "operation": "boost", - "score": 0.06551878154277802 + "score": -0.04406058415770531 } + } + } + } + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06599516421556473 + }, + "else": { + "operation": "boost", + "score": 0.027007006108760834 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.06771646440029144 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "boost", + "score": 0.025830265134572983 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1076.5, + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, "then": { "operation": "boost", - "score": 0.11916948109865189 + "score": 0.10717461258172989 }, "else": { "operation": "boost", - "score": 0.09803646802902222 + "score": -0.10626735538244247 } } }, "else": { + "operation": "boost", + "score": 0.03865004703402519 + } + }, + "else": { + "operation": "boost", + "score": 0.02656443789601326 + } + }, + "else": { + "operation": "boost", + "score": 0.0001861182099673897 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.019536521285772324 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.07099661976099014 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04526727646589279 + }, + "else": { + "operation": "boost", + "score": -0.07656855881214142 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19035.0, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19203.5, + "operation": "boost", + "score": 0.04185245558619499 + }, + "else": { + "operation": "boost", + "score": -0.09628885984420776 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24391.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.04077260568737984 + "score": 0.007986792363226414 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.11419687420129776 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21463.5, - "then": { - "operation": "boost", - "score": 0.10483069717884064 - }, - "else": { - "operation": "boost", - "score": 0.08401595801115036 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, - "then": { - "operation": "boost", - "score": 0.09821303188800812 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21153.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1180325374007225 - }, - "else": { - "operation": "boost", - "score": 0.11854426562786102 - } - }, - "else": { - "operation": "boost", - "score": -0.12222342938184738 - } - }, - "else": { - "operation": "boost", - "score": -0.008353037759661674 - } - } - } + "operation": "boost", + "score": 0.12551741302013397 } }, "else": { "operation": "boost", - "score": 0.11991261690855026 + "score": 0.012176544405519962 } }, "else": { "operation": "boost", - "score": 0.050951190292835236 + "score": 0.05576397478580475 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4207.5, + "operation": "boost", + "score": 0.018088987097144127 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.046480901539325714 + }, + "else": { + "operation": "boost", + "score": 0.02931865304708481 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.030032774433493614 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66036.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.13484859466552734 + "score": -0.13315695524215698 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "boost", - "score": 0.061266928911209106 - }, - "else": { - "operation": "boost", - "score": -0.2817407548427582 - } + "operation": "boost", + "score": 0.11204632371664047 } }, + "else": { + "operation": "boost", + "score": 0.04475810378789902 + } + }, + "else": { + "operation": "boost", + "score": 0.01662321761250496 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.038568805903196335 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205835.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.06487927585840225 + "score": 0.06899367272853851 }, "else": { "operation": "boost", - "score": -0.08152545243501663 + "score": -0.2675694525241852 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.13689520955085754 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15016289055347443 + }, + "else": { + "operation": "boost", + "score": 0.012294663116335869 + } + }, + "else": { + "operation": "boost", + "score": 0.10972605645656586 + } }, "else": { "operation": "boost", - "score": 0.09994592517614365 + "score": 0.0373389907181263 } }, "else": { "operation": "boost", - "score": 0.10540192574262619 + "score": 0.024331461638212204 } }, "else": { "operation": "boost", - "score": -0.1231517642736435 + "score": 0.005878875497728586 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134893.5, - "then": { - "operation": "boost", - "score": -0.20569559931755066 - }, - "else": { - "operation": "boost", - "score": 0.021040402352809906 - } + "operation": "boost", + "score": 0.12353364378213882 } } }, @@ -81147,3520 +80733,2828 @@ "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": -0.021160556003451347 + "score": 0.014929343946278095 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": -0.2291814684867859 + "score": -0.05581148713827133 }, "else": { "operation": "boost", - "score": -1.8256585597991943 + "score": -0.0774768814444542 } }, "else": { - "operation": "boost", - "score": -0.23394614458084106 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1496858447790146 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6076923608779907, + "then": { + "operation": "boost", + "score": 0.11649633198976517 + }, + "else": { + "operation": "boost", + "score": -0.12930066883563995 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.042502593249082565 + }, + "else": { + "operation": "boost", + "score": -0.012107286602258682 + } + } } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03135654330253601 + }, + "else": { + "operation": "boost", + "score": 0.02034856379032135 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.027514120563864708 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.002623109146952629 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable", - "Type" + "ClassScope" ], "then": { + "operation": "boost", + "score": 0.05088033527135849 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4219.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6849.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.07005418092012405 - }, - "else": { - "operation": "boost", - "score": 0.06400834769010544 - } - }, - "else": { - "operation": "boost", - "score": 0.1035466194152832 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.10044491291046143 - }, - "else": { - "operation": "boost", - "score": -0.03592067211866379 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.045374590903520584 - }, - "else": { - "operation": "boost", - "score": -0.32402926683425903 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.012720564380288124 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0031219685915857553 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159.5, - "then": { - "operation": "boost", - "score": 0.08748720586299896 - }, - "else": { - "operation": "boost", - "score": 0.068174347281456 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.14371179044246674 - }, - "else": { - "operation": "boost", - "score": -0.10258322954177856 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "boost", - "score": 0.07628177106380463 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.01834951899945736 + }, + "else": { + "operation": "boost", + "score": 0.05192353203892708 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, "then": { "operation": "boost", - "score": -0.18643465638160706 + "score": 0.011222305707633495 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.5, - "then": { - "operation": "boost", - "score": 0.11587391048669815 - }, - "else": { - "operation": "boost", - "score": 0.12502773106098175 - } + "operation": "boost", + "score": 0.15998151898384094 } } }, "else": { "operation": "boost", - "score": 0.0863308236002922 + "score": 0.0008877521031536162 } }, "else": { "operation": "boost", - "score": 0.05360598862171173 + "score": 0.020474858582019806 } } - }, - "else": { - "operation": "boost", - "score": 0.057492226362228394 } }, "else": { "operation": "boost", - "score": -0.04092225059866905 - } - }, - "else": { - "operation": "boost", - "score": -0.09767231345176697 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07100225985050201 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.018998360261321068 - }, - "else": { - "operation": "boost", - "score": -0.006937433034181595 + "score": -0.004246353637427092 } } } } }, "else": { - "operation": "boost", - "score": -0.040894437581300735 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.10446525365114212 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.08937767893075943 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.13587133586406708 - }, - "else": { - "operation": "boost", - "score": 0.09705880284309387 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0743471011519432 - } + "operation": "boost", + "score": -0.07458390295505524 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.030830416828393936 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "boost", - "score": 0.10780651122331619 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, - "then": { - "operation": "boost", - "score": 0.12175045162439346 - }, - "else": { - "operation": "boost", - "score": 0.10268504172563553 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 570.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1042.5, - "then": { - "operation": "boost", - "score": 0.1015983298420906 - }, - "else": { - "operation": "boost", - "score": 0.11500608175992966 - } - }, - "else": { - "operation": "boost", - "score": 0.10697054862976074 - } - }, - "else": { - "operation": "boost", - "score": 0.06823477894067764 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0722891241312027 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.08659258484840393 - }, - "else": { - "operation": "boost", - "score": 0.062272872775793076 - } - } + "operation": "boost", + "score": 0.013385028578341007 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 896.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 902.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30660.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32083.5, - "then": { - "operation": "boost", - "score": 0.05429811030626297 - }, - "else": { - "operation": "boost", - "score": 0.10886112600564957 - } - }, - "else": { - "operation": "boost", - "score": 0.016173774376511574 - } - }, - "else": { - "operation": "boost", - "score": 0.10402513295412064 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.02942359633743763 - }, - "else": { - "operation": "boost", - "score": -0.020835064351558685 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.033065810799598694 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 287.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 824.0, - "then": { - "operation": "boost", - "score": 0.09850990772247314 - }, - "else": { - "operation": "boost", - "score": 0.13360269367694855 - } - }, - "else": { - "operation": "boost", - "score": 0.10068926960229874 - } - }, - "else": { - "operation": "boost", - "score": 0.05743573606014252 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04036032781004906 - } - } + "operation": "boost", + "score": -0.0877976045012474 }, "else": { "operation": "boost", - "score": -0.004790439270436764 + "score": -0.004517893772572279 } } - }, - "else": { - "operation": "boost", - "score": -0.007808484602719545 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 86.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.007344111334532499 + }, + "else": { + "operation": "boost", + "score": 0.056168049573898315 + } + }, + "else": { + "operation": "boost", + "score": 0.03792433813214302 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.030750662088394165 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_TopLevel", + "CCC_Namespace", "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName" ], + "then": { + "operation": "boost", + "score": 0.009875200688838959 + }, + "else": { + "operation": "boost", + "score": -0.005435336381196976 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009983204305171967 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 94.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "boost", + "score": -0.03333396092057228 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 262.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 291.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 562.0, - "then": { - "operation": "boost", - "score": 0.12709374725818634 - }, - "else": { - "operation": "boost", - "score": 0.09752271324396133 - } - }, - "else": { - "operation": "boost", - "score": 0.08132028579711914 - } - }, - "else": { - "operation": "boost", - "score": 0.1174449548125267 - } - }, - "else": { - "operation": "boost", - "score": 0.06265280395746231 - } + "operation": "boost", + "score": 0.04595034569501877 }, "else": { "operation": "boost", - "score": 0.12836581468582153 + "score": -0.004864725284278393 } }, "else": { "operation": "boost", - "score": 0.0689612552523613 + "score": -0.11348192393779755 } }, "else": { "operation": "boost", - "score": 0.04308740049600601 + "score": 0.0011619820725172758 } - }, - "else": { - "operation": "boost", - "score": 0.04647286981344223 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2757.0, + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4780.0, - "then": { - "operation": "boost", - "score": -0.04850918799638748 - }, - "else": { - "operation": "boost", - "score": 0.13111642003059387 - } + "operation": "boost", + "score": 0.03939232602715492 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "boost", - "score": 0.11421708762645721 - }, - "else": { - "operation": "boost", - "score": 0.044752128422260284 - } + "operation": "boost", + "score": 0.015822671353816986 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.0324704572558403 - }, - "else": { - "operation": "boost", - "score": 0.04074479267001152 - } + "operation": "boost", + "score": -0.021122626960277557 }, "else": { "operation": "boost", - "score": -0.0099408570677042 + "score": 0.012184330262243748 } } } - }, - "else": { - "operation": "boost", - "score": 0.02094602771103382 } - }, - "else": { - "operation": "boost", - "score": 0.0113283796235919 } - }, - "else": { - "operation": "boost", - "score": 0.0007447571842931211 - } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.029685167595744133 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.024084853008389473 - }, - "else": { - "operation": "boost", - "score": 0.004042814951390028 } } - }, - "else": { - "operation": "boost", - "score": -0.005219256039708853 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.5, + "threshold": 25537.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.012503293342888355 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 32056.0, "then": { + "operation": "boost", + "score": 0.02778218500316143 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 68.0, + "threshold": 31126.5, "then": { "operation": "boost", - "score": 0.0777873545885086 + "score": 0.13503733277320862 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": -0.19436940550804138 + "score": 0.14372803270816803 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12808799743652344 - }, - "else": { - "operation": "boost", - "score": -0.10040918737649918 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.1520596295595169 - }, - "else": { - "operation": "boost", - "score": 0.10490712523460388 - } - } + "operation": "boost", + "score": 0.07501694560050964 } } + } + }, + "else": { + "operation": "boost", + "score": -0.039300452917814255 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.023578768596053123 + }, + "else": { + "operation": "boost", + "score": -0.04446394369006157 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09083235263824463 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 161.5, + "threshold": 50.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.07781333476305008 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], "then": { "operation": "boost", - "score": 0.0828460156917572 + "score": 0.06020916998386383 }, "else": { "operation": "boost", - "score": 0.11243365705013275 + "score": 0.009180961176753044 } }, "else": { "operation": "boost", - "score": 0.054659366607666016 + "score": -0.0054914215579628944 } - } - }, - "else": { - "operation": "boost", - "score": 0.07672259956598282 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 290761.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10973773151636124 }, "else": { - "operation": "boost", - "score": 0.10143215954303741 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.05347376689314842 + }, + "else": { + "operation": "boost", + "score": 0.024170711636543274 + } } }, "else": { "operation": "boost", - "score": 0.018041646108031273 + "score": -0.08242456614971161 } + }, + "else": { + "operation": "boost", + "score": -0.07274466007947922 } }, "else": { "operation": "boost", - "score": 0.06916981190443039 + "score": -0.010811444371938705 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.03613352030515671 + }, + "else": { + "operation": "boost", + "score": -0.040632568299770355 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": 0.02728436514735222 + }, + "else": { + "operation": "boost", + "score": -0.0036556199193000793 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 125.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69581.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08775845170021057 + }, + "else": { + "operation": "boost", + "score": 0.036362174898386 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, + "then": { + "operation": "boost", + "score": -0.06511369347572327 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0008481668191961944 + "score": -0.2537919580936432 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, "then": { "operation": "boost", - "score": 0.10521330684423447 + "score": 0.003800041740760207 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.5, - "then": { - "operation": "boost", - "score": 0.11305306851863861 - }, - "else": { - "operation": "boost", - "score": -0.11207370460033417 - } - }, - "else": { - "operation": "boost", - "score": 0.048836857080459595 - } + "operation": "boost", + "score": 0.11003678292036057 } } }, "else": { - "operation": "boost", - "score": 0.03553832322359085 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 48488.5, "then": { + "operation": "boost", + "score": -0.08690131455659866 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 264.0, + "threshold": 44693.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04086945578455925 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "boost", + "score": 0.08025704324245453 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.24084053933620453 + }, + "else": { + "operation": "boost", + "score": 0.11868966370820999 + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 321.0, + "threshold": 47903.5, "then": { "operation": "boost", - "score": 0.11620476841926575 + "score": 0.1237448900938034 }, "else": { "operation": "boost", - "score": 0.11748813837766647 + "score": 0.05445060506463051 } } }, "else": { - "operation": "boost", - "score": 0.10936228930950165 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07402962446212769 + "score": 0.04196176677942276 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12404794245958328 + "score": -0.004746914841234684 }, "else": { - "operation": "boost", - "score": -0.1493755728006363 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.019173603504896164 + }, + "else": { + "operation": "boost", + "score": 0.029147429391741753 + } } } - }, - "else": { - "operation": "boost", - "score": 0.052328240126371384 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12370363622903824 - }, - "else": { - "operation": "boost", - "score": 0.10842622816562653 } - }, - "else": { - "operation": "boost", - "score": 0.03458377346396446 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25286.5, - "then": { - "operation": "boost", - "score": 0.028255118057131767 - }, - "else": { - "operation": "boost", - "score": -0.039729032665491104 } - }, - "else": { - "operation": "boost", - "score": 0.027688592672348022 } } } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Symbol", - "CCC_Expression" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0004686205356847495 - }, - "else": { - "operation": "boost", - "score": 0.025495463982224464 - } + "operation": "boost", + "score": 0.02648601494729519 }, "else": { "operation": "boost", - "score": -0.009482506662607193 + "score": -0.005364524200558662 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "boost", + "score": 0.008465414866805077 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "Type" ], "then": { - "operation": "boost", - "score": -0.0071328734047710896 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.036969587206840515 + }, + "else": { + "operation": "boost", + "score": 0.10573001205921173 + } }, "else": { - "operation": "boost", - "score": -0.09092620760202408 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02107248641550541 + }, + "else": { + "operation": "boost", + "score": -0.04670057073235512 + } } }, "else": { "operation": "boost", - "score": 0.04068358987569809 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.013878131285309792 - }, - "else": { - "operation": "boost", - "score": -0.024988757446408272 + "score": -0.004781418479979038 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.024900181218981743 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.001884403987787664 + }, + "else": { + "operation": "boost", + "score": 0.04281124100089073 + } + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": -0.0188454482704401 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0991370752453804 + }, + "else": { + "operation": "boost", + "score": -0.009535564109683037 + } }, "else": { "operation": "boost", - "score": -0.07360649853944778 + "score": -0.048902593553066254 } - }, - "else": { - "operation": "boost", - "score": -0.0035827995743602514 } } } } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.03185277432203293 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.06600696593523026 + }, + "else": { + "operation": "boost", + "score": 0.01964903064072132 + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 153.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.03832670673727989 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06918095052242279 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { "operation": "boost", - "score": 0.08714766800403595 + "score": 0.054491881281137466 }, "else": { "operation": "boost", - "score": 0.029187016189098358 + "score": 0.01857583038508892 } - } - }, - "else": { - "operation": "boost", - "score": 0.0022665977012366056 - } - }, - "else": { - "operation": "boost", - "score": -0.07145600020885468 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.004438433330506086 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Macro", + "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], "then": { + "operation": "boost", + "score": 0.02684725821018219 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.10150470584630966 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15530087053775787 + "score": 0.19462355971336365 }, "else": { "operation": "boost", - "score": 0.17299604415893555 + "score": 0.07622232288122177 } - } - }, - "else": { - "operation": "boost", - "score": 0.0979367196559906 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08144692331552505 - }, - "else": { - "operation": "boost", - "score": -0.11095718294382095 - } - }, - "else": { - "operation": "boost", - "score": 0.07635113596916199 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21461.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304083.5, - "then": { - "operation": "boost", - "score": 0.03797631338238716 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "boost", - "score": 0.1011427491903305 }, "else": { "operation": "boost", - "score": 0.0768139660358429 + "score": -0.000658760720398277 } } }, "else": { - "operation": "boost", - "score": 0.02608424611389637 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05027838051319122 - } - }, - "else": { - "operation": "boost", - "score": 0.014814074151217937 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2080.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06019754707813263 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2288.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2764.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.0, "then": { "operation": "boost", - "score": 0.09845999628305435 + "score": -0.0019799857400357723 }, "else": { "operation": "boost", - "score": 0.12239048629999161 + "score": 0.11317102611064911 } }, - "else": { - "operation": "boost", - "score": 0.08579037338495255 - } - }, - "else": { - "operation": "boost", - "score": 0.12401192635297775 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90736.0, - "then": { - "operation": "boost", - "score": -0.023771122097969055 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.04317961633205414 + "score": 0.04885664954781532 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24605.5, - "then": { - "operation": "boost", - "score": 0.0689849853515625 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, - "then": { - "operation": "boost", - "score": 0.10702026635408401 - }, - "else": { - "operation": "boost", - "score": 0.09320776164531708 - } - } + "operation": "boost", + "score": 0.014953614212572575 } }, "else": { "operation": "boost", - "score": 0.10608634352684021 + "score": -0.04389209300279617 } }, "else": { - "operation": "boost", - "score": 0.07540962100028992 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06098034232854843 - }, - "else": { - "operation": "boost", - "score": 0.040057651698589325 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, - "then": { - "operation": "boost", - "score": -0.012510381639003754 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43084.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09761904925107956, "then": { "operation": "boost", - "score": 0.10507741570472717 + "score": 0.1686832308769226 }, "else": { "operation": "boost", - "score": 0.06870903819799423 + "score": -0.07062769681215286 } - }, - "else": { - "operation": "boost", - "score": 0.048064667731523514 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", + "CCC_ClassStructUnion", "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, "then": { "operation": "boost", - "score": 0.0984160378575325 + "score": -0.01169491745531559 }, "else": { "operation": "boost", - "score": 0.11561645567417145 + "score": 0.09443113207817078 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09615489095449448 - }, - "else": { - "operation": "boost", - "score": 0.11103545129299164 - } - }, - "else": { - "operation": "boost", - "score": 0.10708088427782059 - } + "operation": "boost", + "score": 0.03518938645720482 } }, "else": { "operation": "boost", - "score": -0.24048803746700287 + "score": -0.0047188797034323215 } + }, + "else": { + "operation": "boost", + "score": 0.0010288914199918509 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.015169814229011536 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Expression" + "Macro", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6724.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11308.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18439.5, - "then": { - "operation": "boost", - "score": 0.08185446262359619 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18103.5, - "then": { - "operation": "boost", - "score": 0.10466224700212479 - }, - "else": { - "operation": "boost", - "score": 0.019610291346907616 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03607213497161865 - } + "operation": "boost", + "score": 0.12964653968811035 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.0796777755022049 + "score": 0.12661920487880707 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10936.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1071305125951767 - }, - "else": { - "operation": "boost", - "score": -0.1112494096159935 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8427.5, - "then": { - "operation": "boost", - "score": 0.01764564774930477 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7875.5, - "then": { - "operation": "boost", - "score": 0.1268225461244583 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1360694020986557 - }, - "else": { - "operation": "boost", - "score": 0.10298074036836624 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6996.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08630163967609406 - }, - "else": { - "operation": "boost", - "score": 0.11156341433525085 - } - }, - "else": { - "operation": "boost", - "score": 0.0617440827190876 - } - }, - "else": { - "operation": "boost", - "score": 0.07192136347293854 - } - } - } + "operation": "boost", + "score": 0.04851605370640755 } } }, "else": { "operation": "boost", - "score": 0.05133851245045662 + "score": -0.008078569546341896 } }, "else": { "operation": "boost", - "score": -0.004673770163208246 + "score": 0.0522083044052124 } - }, - "else": { - "operation": "boost", - "score": 0.03357803821563721 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 367822.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, - "then": { - "operation": "boost", - "score": 0.04428272694349289 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.07492045313119888 - }, - "else": { - "operation": "boost", - "score": 0.11106342822313309 - } + "operation": "boost", + "score": 0.025091493502259254 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Type" ], "then": { "operation": "boost", - "score": -0.01327170804142952 + "score": 0.03890569135546684 }, "else": { "operation": "boost", - "score": -0.07458770275115967 + "score": 0.013286140747368336 } } - }, - "else": { + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.005623173899948597 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "boost", + "score": 0.08054807782173157 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.023455718532204628 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6720.0, + "threshold": 92.5, "then": { "operation": "boost", - "score": 0.2094815969467163 + "score": 0.04714222252368927 }, "else": { "operation": "boost", - "score": 0.11961625516414642 + "score": 0.023630831390619278 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.10135617852210999 - }, - "else": { - "operation": "boost", - "score": 0.008617357350885868 - } + "operation": "boost", + "score": -0.04059493541717529 }, "else": { "operation": "boost", - "score": 0.03693248704075813 + "score": -0.11523276567459106 } } + }, + "else": { + "operation": "boost", + "score": -0.003356190398335457 } + }, + "else": { + "operation": "boost", + "score": 0.03967219963669777 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 26.5, "then": { - "operation": "boost", - "score": -0.010409989394247532 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5916.5, + "threshold": 6360.5, + "then": { + "operation": "boost", + "score": 0.09760750085115433 + }, + "else": { + "operation": "boost", + "score": 0.029845360666513443 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5949.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.05653587728738785 + "score": 0.028206879273056984 }, "else": { + "operation": "boost", + "score": 0.0432850606739521 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.15864048898220062 + }, + "else": { + "operation": "boost", + "score": 0.07351760566234589 + } + }, + "else": { + "operation": "boost", + "score": 0.009502037428319454 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.11193179339170456 + "score": 0.03531753271818161 }, "else": { "operation": "boost", - "score": -0.35022637248039246 + "score": 0.011737114749848843 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06268217414617538 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.017014803364872932 + }, + "else": { + "operation": "boost", + "score": 0.001895543304271996 + } } } }, "else": { "operation": "boost", - "score": 0.01952078379690647 + "score": 0.005671329330652952 } }, "else": { - "operation": "boost", - "score": 0.01510203629732132 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.033080894500017166 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0023011721204966307 + }, + "else": { + "operation": "boost", + "score": -0.04298705980181694 + } + } } } } - }, - "else": { - "operation": "boost", - "score": -0.015650469809770584 } } } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 121.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, "then": { - "operation": "boost", - "score": 0.030102472752332687 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": 0.07635984569787979 + }, + "else": { + "operation": "boost", + "score": 0.11088424175977707 + } }, "else": { "operation": "boost", - "score": -0.0361565463244915 + "score": 0.03415834531188011 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.028848571702837944 + "score": 0.038417719304561615 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.056212443858385086 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.012436351738870144 + }, + "else": { + "operation": "boost", + "score": -0.0001255378156201914 + } }, "else": { "operation": "boost", - "score": -0.019413067027926445 + "score": 0.04319315403699875 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 120.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "operation": "boost", + "score": -0.007247872184962034 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.04827047139406204 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 119809.5, "then": { - "operation": "boost", - "score": -0.09540338814258575 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 131033.0, "then": { "operation": "boost", - "score": 0.12334182858467102 + "score": 0.08689755201339722 }, "else": { - "operation": "boost", - "score": 0.13909722864627838 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10264934599399567 + }, + "else": { + "operation": "boost", + "score": 0.13499245047569275 + } } + }, + "else": { + "operation": "boost", + "score": 0.08586341142654419 } + }, + "else": { + "operation": "boost", + "score": 0.016235224902629852 } - }, - "else": { - "operation": "boost", - "score": -0.05567193403840065 } }, "else": { "operation": "boost", - "score": 0.0007083556265570223 + "score": -0.021487630903720856 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85788.5, - "then": { - "operation": "boost", - "score": 0.0674857348203659 - }, - "else": { - "operation": "boost", - "score": 0.018112080171704292 - } - }, - "else": { - "operation": "boost", - "score": 0.05222548916935921 - } + "operation": "boost", + "score": -0.07637163996696472 } }, "else": { - "operation": "boost", - "score": 0.010475614108145237 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01843740977346897 - }, - "else": { - "operation": "boost", - "score": 0.0018229072447866201 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { + "operation": "boost", + "score": 0.04598081856966019 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23047.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23667.0, "then": { "operation": "boost", - "score": 0.18564501404762268 + "score": 0.036998897790908813 }, "else": { "operation": "boost", - "score": 0.001973107224330306 + "score": 0.08052412420511246 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.010283700190484524 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.061519112437963486 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.05099557712674141 + }, + "else": { + "operation": "boost", + "score": -0.0002297559258295223 + } + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281590.5, + "then": { + "operation": "boost", + "score": 0.040802519768476486 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.01611262373626232 }, "else": { "operation": "boost", - "score": 0.0726984515786171 + "score": -0.0007539942744188011 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.04900979995727539 }, "else": { "operation": "boost", - "score": -0.0805223286151886 + "score": -0.06930915266275406 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 50563.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7591.0, + "threshold": 241916.0, "then": { - "operation": "boost", - "score": 0.017672158777713776 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, "then": { "operation": "boost", - "score": -0.018543360754847527 + "score": 0.04614109545946121 }, "else": { "operation": "boost", - "score": -0.19564083218574524 + "score": -0.11478741466999054 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47355.5, + "threshold": 187158.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.027631811797618866 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53585.5, + "threshold": 207505.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 234850.0, "then": { "operation": "boost", - "score": 0.05843604728579521 + "score": 0.10413713753223419 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61054.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.017686134204268456 + "score": -0.22774949669837952 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08858092129230499 - }, - "else": { - "operation": "boost", - "score": 0.10536844283342361 - } + "operation": "boost", + "score": 0.07293318212032318 } } }, "else": { - "operation": "boost", - "score": 0.11714880168437958 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.13634440302848816 + }, + "else": { + "operation": "boost", + "score": 0.10010747611522675 + } } + }, + "else": { + "operation": "boost", + "score": 0.05000597611069679 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 153907.0, "then": { "operation": "boost", - "score": 0.12448772042989731 + "score": -0.2670902907848358 }, "else": { - "operation": "boost", - "score": -0.12718261778354645 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.07268374413251877 + }, + "else": { + "operation": "boost", + "score": -0.01826605573296547 + } + }, + "else": { + "operation": "boost", + "score": 0.028909100219607353 + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53585.5, + "then": { + "operation": "boost", + "score": -0.029718928039073944 + }, + "else": { + "operation": "boost", + "score": 0.09710567444562912 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25503.0, + "then": { + "operation": "boost", + "score": 0.06254015862941742 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 8246.5, + "then": { + "operation": "boost", + "score": 0.03284737095236778 + }, + "else": { + "operation": "boost", + "score": -0.030439872294664383 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1970.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.08865810185670853 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 158.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.011484429240226746 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09977762401103973 + "score": -0.10807570070028305 }, "else": { "operation": "boost", - "score": 0.11338888108730316 + "score": 0.057236652821302414 } }, "else": { - "operation": "boost", - "score": 0.10518111288547516 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.057623717933893204 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.048729512840509415 + }, + "else": { + "operation": "boost", + "score": 0.025386903434991837 + } + } } }, "else": { "operation": "boost", - "score": 0.06893852353096008 + "score": -0.10573021322488785 } + }, + "else": { + "operation": "boost", + "score": 0.010989846661686897 } + }, + "else": { + "operation": "boost", + "score": 0.0031622766982764006 } }, "else": { "operation": "boost", - "score": 0.003483752952888608 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "boost", - "score": -0.020558379590511322 - }, - "else": { - "operation": "boost", - "score": -0.1367088407278061 + "score": -0.019724467769265175 } } }, "else": { - "operation": "boost", - "score": 0.026458794251084328 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 183.5, + "then": { + "operation": "boost", + "score": 0.061464861035346985 + }, + "else": { + "operation": "boost", + "score": 0.014190821908414364 + } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Type" + "ClassScope" ], "then": { + "operation": "boost", + "score": 0.04177280142903328 + }, + "else": { + "operation": "boost", + "score": 0.0180609580129385 + } + }, + "else": { + "operation": "boost", + "score": -0.07416082918643951 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46972.0, + "then": { + "operation": "boost", + "score": -0.15487782657146454 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10589955002069473 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 119.5, + "threshold": 418.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 126.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.10391107201576233 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.12740188837051392 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 420.5, "then": { - "operation": "boost", - "score": 0.11089044064283371 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1449.5, + "then": { + "operation": "boost", + "score": 0.02105853334069252 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1429.5, + "then": { + "operation": "boost", + "score": 0.22994694113731384 + }, + "else": { + "operation": "boost", + "score": 0.07943032681941986 + } + } }, "else": { "operation": "boost", - "score": -0.12309914827346802 + "score": 0.12720438838005066 } + }, + "else": { + "operation": "boost", + "score": 0.011072822846472263 } + }, + "else": { + "operation": "boost", + "score": -0.038213711231946945 } }, "else": { - "operation": "boost", - "score": 0.1229807436466217 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.03668301925063133 + "score": -0.001828620908781886 }, "else": { "operation": "boost", - "score": 0.12194278091192245 + "score": 0.03125448897480965 } - }, - "else": { - "operation": "boost", - "score": 0.0933670848608017 } + }, + "else": { + "operation": "boost", + "score": -0.009297071024775505 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05087712034583092 }, "else": { "operation": "boost", - "score": 0.07754278928041458 + "score": -0.0032711524982005358 } }, "else": { "operation": "boost", - "score": 0.0445169061422348 + "score": 0.005745461210608482 } - }, - "else": { - "operation": "boost", - "score": 0.04514029622077942 } - }, - "else": { - "operation": "boost", - "score": 0.03103025071322918 } + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3150322735309601 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06332670897245407 + }, + "else": { + "operation": "boost", + "score": 0.024936603382229805 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68401.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104000.0, + "then": { + "operation": "boost", + "score": 0.044759973883628845 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 96602.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.04118020087480545 - }, - "else": { - "operation": "boost", - "score": -0.19654276967048645 - } + "operation": "boost", + "score": 0.12990790605545044 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_Type" + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.05122999846935272 + "score": 0.10149210691452026 }, "else": { "operation": "boost", - "score": -0.018985873088240623 + "score": 0.057254306972026825 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02927108108997345 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.010238813236355782 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 62405.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": -0.016405219212174416 + "score": -0.07712960988283157 }, "else": { "operation": "boost", - "score": -0.06637326627969742 + "score": -0.6988016963005066 } }, "else": { - "operation": "boost", - "score": -0.004807045683264732 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.02252013236284256 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.04230945557355881 + }, + "else": { + "operation": "boost", + "score": -0.002068500267341733 + } + } } } + }, + "else": { + "operation": "boost", + "score": 0.030502518638968468 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.0056626093573868275 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.25833332538604736, + "then": { + "operation": "boost", + "score": 0.03824469819664955 + }, + "else": { + "operation": "boost", + "score": 0.010993768461048603 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11715424805879593 - }, - "else": { - "operation": "boost", - "score": 0.12253823131322861 - } - }, - "else": { - "operation": "boost", - "score": 0.0760316327214241 - } - }, - "else": { - "operation": "boost", - "score": 0.06361331790685654 - } + "operation": "boost", + "score": 0.018170326948165894 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", "Destructor", - "Constructor", - "Type" + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { + "operation": "boost", + "score": 0.06672044098377228 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 31.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08717422187328339 + "score": 0.04153907671570778 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21461.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304083.5, - "then": { - "operation": "boost", - "score": 0.028426405042409897 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07238021492958069 - }, - "else": { - "operation": "boost", - "score": 0.09655483812093735 - } - }, - "else": { - "operation": "boost", - "score": -0.00994004774838686 - } - } - }, - "else": { - "operation": "boost", - "score": -2.6403826268506236e-05 - } + "operation": "boost", + "score": -0.07331603765487671 } - }, - "else": { - "operation": "boost", - "score": -0.04938111826777458 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.12788791954517365 - }, - "else": { - "operation": "boost", - "score": 0.21937048435211182 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04307427257299423 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04207745939493179 - }, - "else": { - "operation": "boost", - "score": 0.012532896362245083 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.02225440926849842 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08851653337478638 + "score": 0.04017689451575279 }, "else": { "operation": "boost", - "score": 0.08824627846479416 + "score": -0.08224816620349884 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.6833333373069763, "then": { "operation": "boost", - "score": 0.02002578042447567 + "score": -0.023492805659770966 }, "else": { "operation": "boost", - "score": 0.12142549455165863 + "score": 0.1241416484117508 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11730841547250748 - }, - "else": { - "operation": "boost", - "score": 0.11944764852523804 - } - }, - "else": { - "operation": "boost", - "score": 0.13285496830940247 - } + "operation": "boost", + "score": 0.014948275871574879 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.12186844646930695 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13546694815158844 - }, - "else": { - "operation": "boost", - "score": 0.14449086785316467 - } - }, - "else": { - "operation": "boost", - "score": 0.1271180361509323 - } - } + "operation": "boost", + "score": 0.05555806681513786 } } }, "else": { "operation": "boost", - "score": -0.05986245721578598 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.045022912323474884 - }, - "else": { - "operation": "boost", - "score": -0.03896204009652138 + "score": 0.016027072444558144 } } } }, "else": { - "operation": "boost", - "score": -0.015233042649924755 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.08392838388681412 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0059119779616594315 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.06102503091096878 + "score": 0.039423320442438126 }, "else": { "operation": "boost", - "score": 0.022833826020359993 + "score": 0.1358916014432907 } }, "else": { - "operation": "boost", - "score": -0.015503346920013428 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.060445405542850494 + }, + "else": { + "operation": "boost", + "score": 0.00887239445000887 + } } }, "else": { "operation": "boost", - "score": 0.06608603149652481 + "score": -0.058783359825611115 } }, "else": { - "operation": "boost", - "score": -0.02222730964422226 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.052860382944345474 + "score": -0.15921242535114288 }, "else": { "operation": "boost", - "score": 0.04473995789885521 + "score": 0.02121574804186821 } }, "else": { - "operation": "boost", - "score": 0.058804310858249664 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { + "operation": "boost", + "score": 0.02848539873957634 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3311.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3548.5, - "then": { - "operation": "boost", - "score": 0.062277767807245255 - }, - "else": { - "operation": "boost", - "score": 0.12097527831792831 - } - }, - "else": { - "operation": "boost", - "score": -0.04116370901465416 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.09779283404350281 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14064271748065948 - }, - "else": { - "operation": "boost", - "score": 0.09381303191184998 - } - }, - "else": { - "operation": "boost", - "score": 0.07120483368635178 - } - }, - "else": { - "operation": "boost", - "score": 0.028336089104413986 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.013337423093616962 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14971.5, - "then": { - "operation": "boost", - "score": 0.08060920983552933 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.002061940962448716 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10431923717260361 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.37000998854637146 - }, - "else": { - "operation": "boost", - "score": -0.13796746730804443 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.01682526245713234 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.018720533698797226 + "score": 0.038323551416397095 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04432129114866257 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11389318853616714 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08379063755273819 - }, - "else": { - "operation": "boost", - "score": 0.06657944619655609 - } - } - } + "operation": "boost", + "score": 0.01796489953994751 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0622582770884037 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Namespace", + "Operator", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.01652233488857746 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.032169684767723083 - }, - "else": { - "operation": "boost", - "score": -0.1248989999294281 - } + "operation": "boost", + "score": -0.0004533436440397054 } + }, + "else": { + "operation": "boost", + "score": -0.017612449824810028 } } } - }, - "else": { - "operation": "boost", - "score": -0.01834535412490368 } } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.02232012152671814 }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.012421585619449615 - }, - "else": { - "operation": "boost", - "score": 0.08667685836553574 - } - }, - "else": { - "operation": "boost", - "score": -0.0006187302060425282 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0016488278051838279 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 86.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.01038298662751913 + "score": 0.0052430047653615475 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08522992581129074 - }, - "else": { - "operation": "boost", - "score": 0.03307950496673584 - } + "operation": "boost", + "score": 0.042179640382528305 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { "operation": "boost", - "score": -0.27176523208618164 + "score": 0.07968740165233612 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 123410.5, + "threshold": 4678.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4927.5, "then": { - "operation": "boost", - "score": 0.10787360370159149 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09068281948566437 + "score": 0.0880064070224762 }, "else": { "operation": "boost", - "score": 0.11708507686853409 + "score": 0.03995514288544655 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119809.5, - "then": { - "operation": "boost", - "score": -2.654709577560425 }, "else": { "operation": "boost", - "score": 0.018805790692567825 + "score": 0.11769755184650421 } + }, + "else": { + "operation": "boost", + "score": 0.020958367735147476 } } } @@ -84668,2349 +83562,3415 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3191.5, - "then": { - "operation": "boost", - "score": -0.08843325823545456 - }, - "else": { - "operation": "boost", - "score": 0.08323679864406586 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.03022889420390129 - }, - "else": { - "operation": "boost", - "score": 0.006641191430389881 - } - }, - "else": { - "operation": "boost", - "score": 0.011048514395952225 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 120342.5, - "then": { - "operation": "boost", - "score": -0.12158408015966415 - }, - "else": { - "operation": "boost", - "score": -0.039203446358442307 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67685.0, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "boost", - "score": 0.026712151244282722 - }, - "else": { - "operation": "boost", - "score": -0.10378751158714294 - } + "operation": "boost", + "score": -0.04947579652070999 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198405.5, + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" + "CCC_Symbol", + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": 0.09913966059684753 + "score": 0.15357670187950134 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.17972122132778168 - }, - "else": { - "operation": "boost", - "score": 0.10723704844713211 - } - }, - "else": { - "operation": "boost", - "score": 0.04963737726211548 - } + "operation": "boost", + "score": 0.0910377949476242 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120342.5, - "then": { - "operation": "boost", - "score": -0.020845597609877586 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.10772162675857544 - }, - "else": { - "operation": "boost", - "score": 0.09836070984601974 - } - }, - "else": { - "operation": "boost", - "score": 0.06327999383211136 - } - }, - "else": { - "operation": "boost", - "score": 0.058627624064683914 - } - }, - "else": { - "operation": "boost", - "score": 0.03638699650764465 - } - } + "operation": "boost", + "score": 0.014629373326897621 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.019709071144461632 + "score": 0.03404625505208969 }, "else": { - "operation": "boost", - "score": 0.028348784893751144 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04822720214724541 + }, + "else": { + "operation": "boost", + "score": 0.012755039148032665 + } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "boost", + "score": -0.05435968190431595 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02853870764374733 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" + "Namespace", + "Type" ], "then": { "operation": "boost", - "score": 0.0905148833990097 + "score": 0.02579071931540966 }, "else": { - "operation": "boost", - "score": 0.04607498645782471 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03869986534118652 + }, + "else": { + "operation": "boost", + "score": 0.012748331762850285 + } } }, "else": { "operation": "boost", - "score": 0.02619863860309124 + "score": -0.06938375532627106 } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.10551843047142029 - }, - "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1176450178027153 + "score": -0.017890850082039833 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "boost", + "score": -0.10121551901102066 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "boost", + "score": -0.047735750675201416 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { + "operation": "boost", + "score": 0.008937377482652664 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0706649199128151 + "score": 0.01575460471212864 }, "else": { - "operation": "boost", - "score": 0.007559794932603836 - } - }, - "else": { - "operation": "boost", - "score": -0.05371614173054695 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.014350627548992634 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "boost", - "score": 0.04728851467370987 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.1498935967683792 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.07626311480998993 + }, + "else": { + "operation": "boost", + "score": -0.019952718168497086 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.026939550414681435 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.039573170244693756 + }, + "else": { + "operation": "boost", + "score": 0.037206508219242096 + } + } + } }, "else": { "operation": "boost", - "score": 0.18616430461406708 + "score": -0.03904210403561592 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.14500924944877625 }, "else": { "operation": "boost", - "score": 0.1150236427783966 + "score": 0.003354314947500825 } + }, + "else": { + "operation": "boost", + "score": -0.0008184568141587079 } - }, - "else": { - "operation": "boost", - "score": -0.08425764739513397 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03310787305235863 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.0903579592704773 + "score": 0.031794220209121704 }, "else": { "operation": "boost", - "score": 0.012131360359489918 + "score": -0.0056568896397948265 } } }, "else": { "operation": "boost", - "score": -0.0011018242221325636 + "score": -0.02599988505244255 } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.029116343706846237 + }, + "else": { + "operation": "boost", + "score": 0.014455555006861687 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.023634951561689377 + }, + "else": { + "operation": "boost", + "score": -0.035194799304008484 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 212125.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.020588364452123642 + }, + "else": { + "operation": "boost", + "score": -0.13655290007591248 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.08969251066446304 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234371.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.10159620642662048 + }, + "else": { + "operation": "boost", + "score": 0.04362988844513893 + } + }, + "else": { + "operation": "boost", + "score": -0.15944910049438477 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.09863307327032089 + }, + "else": { + "operation": "boost", + "score": 0.015169422142207623 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.09432277828454971 + }, + "else": { + "operation": "boost", + "score": -0.03518777713179588 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026228733360767365 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168474.5, + "then": { + "operation": "boost", + "score": -0.13669416308403015 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 167779.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.09594564139842987 + }, + "else": { + "operation": "boost", + "score": -0.20061367750167847 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 154962.0, + "then": { + "operation": "boost", + "score": -0.2461247593164444 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1226152554154396 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "ClassScope" ], "then": { + "operation": "boost", + "score": 0.02093491703271866 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.10997404158115387 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1521230936050415 - }, - "else": { - "operation": "boost", - "score": 0.09561850875616074 - } - }, - "else": { - "operation": "boost", - "score": 0.1309516578912735 - } - } - }, - "else": { - "operation": "boost", - "score": -0.19444134831428528 - } + "operation": "boost", + "score": -0.03804098814725876 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.06487594544887543 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 533.5, - "then": { - "operation": "boost", - "score": 0.10917531698942184 - }, - "else": { - "operation": "boost", - "score": 0.09760706126689911 - } - } + "operation": "boost", + "score": 0.024791307747364044 }, "else": { "operation": "boost", - "score": 0.05448324978351593 + "score": -0.034680746495723724 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, - "then": { - "operation": "boost", - "score": -0.3209773004055023 - }, - "else": { - "operation": "boost", - "score": -0.035788826644420624 - } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.01712394505739212 + "score": 0.031210025772452354 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.0033913259394466877 + "score": 0.10639522969722748 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.04431990534067154 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 66.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06324257701635361 + "score": -0.012012451887130737 }, "else": { "operation": "boost", - "score": 0.045604851096868515 + "score": 0.12355966866016388 } + }, + "else": { + "operation": "boost", + "score": 0.09704960882663727 } } }, "else": { "operation": "boost", - "score": 0.11126060783863068 + "score": 0.07267844676971436 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.01573498547077179 - }, - "else": { - "operation": "boost", - "score": -0.04521724954247475 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.008792242966592312 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.02551785297691822 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.034178294241428375 - }, - "else": { - "operation": "boost", - "score": -0.14771457016468048 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.026719655841588974 - } - } + "operation": "boost", + "score": -0.006634158082306385 } }, "else": { "operation": "boost", - "score": 0.015041018836200237 + "score": -0.027926357463002205 } } + }, + "else": { + "operation": "boost", + "score": -0.013660753145813942 } } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", "Constructor", + "Destructor", "Function", - "Namespace" + "Keyword", + "Macro", + "Namespace", + "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": 0.02579347975552082 + }, + "else": { + "operation": "boost", + "score": -0.07009876519441605 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08059168606996536 - }, - "else": { - "operation": "boost", - "score": 0.10783430933952332 - } - }, - "else": { - "operation": "boost", - "score": 0.06852275133132935 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.015241788700222969 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.05766758695244789 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.1292070597410202 - }, - "else": { - "operation": "boost", - "score": 0.10685066133737564 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.015738381072878838 - } - }, - "else": { - "operation": "boost", - "score": 0.01657169498503208 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06580720841884613 - } + "operation": "boost", + "score": 0.12277809530496597 }, "else": { "operation": "boost", - "score": -0.016465406864881516 + "score": 0.0721064954996109 } }, "else": { "operation": "boost", - "score": 0.018118536099791527 + "score": 0.03299844264984131 + } + }, + "else": { + "operation": "boost", + "score": -0.0033102771267294884 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1646.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05328943952918053 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.013557597994804382 + }, + "else": { + "operation": "boost", + "score": -0.043568436056375504 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03924234211444855 + }, + "else": { + "operation": "boost", + "score": 0.0202465932816267 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.02550564333796501 + }, + "else": { + "operation": "boost", + "score": -0.0056140064261853695 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.005834126845002174 + }, + "else": { + "operation": "boost", + "score": -0.06107764691114426 + } + }, + "else": { + "operation": "boost", + "score": -0.003877968993037939 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.029518358409404755 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.14891254901885986 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6397.0, + "then": { + "operation": "boost", + "score": 0.08168542385101318 + }, + "else": { + "operation": "boost", + "score": 0.027322864159941673 + } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1218060553073883 + "score": -0.14524239301681519 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80547.0, - "then": { - "operation": "boost", - "score": -0.30585771799087524 - }, - "else": { - "operation": "boost", - "score": 0.008963296189904213 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.04896078631281853 - }, - "else": { - "operation": "boost", - "score": 0.11733075231313705 - } - }, - "else": { - "operation": "boost", - "score": 0.05896072834730148 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.12552925944328308 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05289963632822037 - }, - "else": { - "operation": "boost", - "score": 0.09298224002122879 - } - } - } - } + "operation": "boost", + "score": 0.03894997388124466 }, "else": { "operation": "boost", - "score": 0.05678054690361023 + "score": 0.01878349669277668 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.5235981941223145 + "score": 0.011622094549238682 }, "else": { "operation": "boost", - "score": -0.1042635515332222 + "score": -0.32438424229621887 } } } }, "else": { - "operation": "boost", - "score": -0.017538875341415405 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.13087837398052216 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.038096822798252106 + "score": 0.06980464607477188 }, "else": { "operation": "boost", - "score": 0.09343649446964264 + "score": 0.04826856032013893 } + }, + "else": { + "operation": "boost", + "score": 0.033942870795726776 } }, "else": { "operation": "boost", - "score": 0.028523679822683334 + "score": -0.14366477727890015 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.1180739477276802 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.05472857505083084 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, + "then": { + "operation": "boost", + "score": 0.11328479647636414 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.15971289575099945 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.12324393540620804 + }, + "else": { + "operation": "boost", + "score": 0.12622664868831635 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06781888008117676 + } + }, + "else": { + "operation": "boost", + "score": 0.02459508739411831 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.04432837292551994 + }, + "else": { + "operation": "boost", + "score": -0.06371011584997177 + } + } }, "else": { "operation": "boost", - "score": -0.16443845629692078 + "score": 0.019716866314411163 } }, "else": { "operation": "boost", - "score": -0.09427766501903534 + "score": -0.0027233115397393703 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.11796797811985016 - }, - "else": { - "operation": "boost", - "score": -0.10115362703800201 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08895443379878998 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "boost", - "score": 0.09601928293704987 + "score": 0.08503548055887222 }, "else": { "operation": "boost", - "score": 0.056079380214214325 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10456787049770355 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.12302614748477936 - }, - "else": { - "operation": "boost", - "score": 0.13490204513072968 - } + "score": -0.0009523615008220077 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": -0.08685760945081711 + "score": 0.028729598969221115 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.09775490313768387 - }, - "else": { - "operation": "boost", - "score": 0.025848103687167168 - } + "operation": "boost", + "score": -0.0019335818942636251 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13744063675403595 - }, - "else": { - "operation": "boost", - "score": 0.10128773748874664 - } - }, - "else": { - "operation": "boost", - "score": 0.1082383245229721 - } + "operation": "boost", + "score": -0.03974420577287674 }, "else": { "operation": "boost", - "score": -0.038697369396686554 + "score": -0.04788099601864815 } }, "else": { "operation": "boost", - "score": -0.20491832494735718 + "score": 0.013470067642629147 } - }, - "else": { - "operation": "boost", - "score": 0.14938980340957642 } } } - }, - "else": { - "operation": "boost", - "score": -0.006548475474119186 } }, "else": { "operation": "boost", - "score": -0.11749647557735443 + "score": 0.009931347332894802 } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.23959071934223175 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.025756968185305595 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.022154033184051514 - }, - "else": { - "operation": "boost", - "score": 0.0025754442904144526 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 5394.0, "then": { + "operation": "boost", + "score": 0.07260030508041382 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07392704486846924 + "score": -0.051290638744831085 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], "then": { + "operation": "boost", + "score": 0.016866371035575867 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.08212748169898987 + "score": 0.030633170157670975 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "boost", - "score": 0.1394778937101364 - }, - "else": { - "operation": "boost", - "score": 0.08063844591379166 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2096.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.09425174444913864 + "score": 0.05607203021645546 }, "else": { "operation": "boost", - "score": 0.04449908062815666 + "score": 0.0035881693474948406 } }, "else": { "operation": "boost", - "score": 0.04646610468626022 + "score": 0.027901340276002884 } - }, - "else": { - "operation": "boost", - "score": 0.0662451982498169 } } } - }, - "else": { - "operation": "boost", - "score": 0.013318215496838093 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 51599.0, + "threshold": 62324.5, "then": { "operation": "boost", - "score": 0.0318695530295372 + "score": 0.061268400400877 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09571418166160583 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 0.04508022964000702 + }, + "else": { + "operation": "boost", + "score": 0.02477002702653408 + } }, "else": { - "operation": "boost", - "score": 0.11018694192171097 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.010294867679476738 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": 0.07242672890424728 + }, + "else": { + "operation": "boost", + "score": -0.008996978402137756 + } + } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 27.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.0007054847665131092 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.06846655905246735 + }, + "else": { + "operation": "boost", + "score": 0.14471328258514404 + } + }, + "else": { + "operation": "boost", + "score": 0.0160425566136837 + } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": -0.1562257707118988 + "score": 0.08133696019649506 }, "else": { + "operation": "boost", + "score": 0.16380886733531952 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01830585114657879 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.028327608481049538 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0579410195350647 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.15447598695755005 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12004683166742325 + "score": -0.0028927207458764315 }, "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04816155880689621 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10154607892036438 + }, + "else": { + "operation": "boost", + "score": 0.12648095190525055 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02116917073726654 + } + }, + "else": { + "operation": "boost", + "score": 0.03562617301940918 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03682680055499077 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.008216231130063534 + }, + "else": { + "operation": "boost", + "score": 0.049695517867803574 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 127271.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 167779.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 146.0, + "threshold": 168474.5, "then": { "operation": "boost", - "score": 0.16796688735485077 + "score": -0.03230232745409012 }, "else": { "operation": "boost", - "score": 0.12577706575393677 + "score": 0.09685645252466202 } + }, + "else": { + "operation": "boost", + "score": -0.2493424266576767 } }, "else": { - "operation": "boost", - "score": 0.11240410804748535 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { + "operation": "boost", + "score": 0.11685050278902054 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.019918520003557205 + }, + "else": { + "operation": "boost", + "score": 0.14441601932048798 + } + }, + "else": { + "operation": "boost", + "score": -0.002471942687407136 + } + } } } } - }, - "else": { - "operation": "boost", - "score": 0.0577244758605957 } - }, - "else": { - "operation": "boost", - "score": 0.04635084047913551 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { + "operation": "boost", + "score": -0.049823593348264694 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12799899280071259 + "score": 0.10001002252101898 }, "else": { "operation": "boost", - "score": -0.08331967145204544 + "score": 0.05108213797211647 } }, "else": { - "operation": "boost", - "score": 0.06364329159259796 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.07667280733585358 + }, + "else": { + "operation": "boost", + "score": 0.011899604462087154 + } + }, + "else": { + "operation": "boost", + "score": 0.00027067691553384066 + } } - }, - "else": { - "operation": "boost", - "score": 0.025067737326025963 } } }, "else": { - "operation": "boost", - "score": 0.012747850269079208 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.05848148837685585 - }, - "else": { - "operation": "boost", - "score": -0.11607865989208221 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.001998779596760869 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.026463842019438744 - }, - "else": { - "operation": "boost", - "score": -0.008596131578087807 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": -0.002877861959859729 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34582.0, "then": { + "operation": "boost", + "score": 0.06741086393594742 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], + "then": { + "operation": "boost", + "score": 0.023839155212044716 + }, + "else": { + "operation": "boost", + "score": -0.09243499487638474 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.016828861087560654 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12712721526622772 + "score": 0.005006530322134495 }, "else": { "operation": "boost", - "score": 0.14096103608608246 + "score": -0.05812980607151985 } }, "else": { - "operation": "boost", - "score": 0.051933713257312775 - } - }, - "else": { - "operation": "boost", - "score": 0.029515095055103302 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type" + "Type", + "Variable" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_EnumTag", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" + "ClassScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.06399893760681152 + }, + "else": { + "operation": "boost", + "score": 0.028346847742795944 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], "then": { + "operation": "boost", + "score": 0.029666204005479813 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, "then": { "operation": "boost", - "score": 0.04372962936758995 + "score": 0.01858740672469139 }, "else": { - "operation": "boost", - "score": 0.12689617276191711 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.15733471512794495 + }, + "else": { + "operation": "boost", + "score": -0.11930187046527863 + } } }, "else": { "operation": "boost", - "score": 0.027897372841835022 + "score": 0.006986898835748434 } - }, - "else": { - "operation": "boost", - "score": 0.02913856692612171 } - }, - "else": { - "operation": "boost", - "score": 0.006111158523708582 } }, "else": { "operation": "boost", - "score": 0.0016754899406805634 + "score": 0.019791506230831146 } - }, - "else": { - "operation": "boost", - "score": -0.015765829011797905 } - }, - "else": { - "operation": "boost", - "score": -0.055301204323768616 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.034434426575899124 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.03250298276543617 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.04880952462553978, + "then": { + "operation": "boost", + "score": 0.0021168862003833055 + }, + "else": { + "operation": "boost", + "score": 0.1077246442437172 + } + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 26.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Function" ], - "then": { - "operation": "boost", - "score": 0.12464550137519836 - }, - "else": { - "operation": "boost", - "score": 0.11389359086751938 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.15641790628433228 - }, - "else": { - "operation": "boost", - "score": 0.12958543002605438 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { "operation": "boost", - "score": 0.10012225806713104 + "score": -0.12171506136655807 }, "else": { - "operation": "boost", - "score": -0.04713987559080124 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10950176417827606 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "boost", - "score": 0.10908053815364838 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.10158539563417435 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.137354776263237 - }, - "else": { - "operation": "boost", - "score": 0.12003444880247116 - } + "operation": "boost", + "score": -0.10346771776676178 }, "else": { "operation": "boost", - "score": 0.21589675545692444 + "score": 0.09501705318689346 } + }, + "else": { + "operation": "boost", + "score": 0.054042525589466095 } - }, - "else": { - "operation": "boost", - "score": 0.12232035398483276 } }, "else": { "operation": "boost", - "score": 0.08902759850025177 + "score": 0.0011201559100300074 } + }, + "else": { + "operation": "boost", + "score": -0.0072914049960672855 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "boost", + "score": -0.10823965072631836 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0900426134467125 - }, - "else": { - "operation": "boost", - "score": 0.007315473631024361 - } + "operation": "boost", + "score": -0.24329298734664917 }, "else": { "operation": "boost", - "score": 0.06313769519329071 + "score": -0.12301970273256302 } - }, - "else": { - "operation": "boost", - "score": 0.044651683419942856 } } } - }, - "else": { - "operation": "boost", - "score": -0.0023860647343099117 } } } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04830457270145416 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07492697238922119 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.008489402011036873 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "boost", + "score": -0.08954038470983505 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10882770270109177 + "score": -0.04387462139129639 }, "else": { "operation": "boost", - "score": -0.020130710676312447 + "score": 0.06153779849410057 } - }, - "else": { - "operation": "boost", - "score": 0.008369600400328636 } } } } + }, + "else": { + "operation": "boost", + "score": -0.011415326036512852 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 74698.5, + "threshold": 5898.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 6404.5, "then": { + "operation": "boost", + "score": 0.04976096749305725 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6221.5, + "then": { + "operation": "boost", + "score": 0.1261860430240631 + }, + "else": { + "operation": "boost", + "score": -0.009893939830362797 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026066744700074196 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.028422033414244652 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05191721022129059 + }, + "else": { + "operation": "boost", + "score": 0.017305100336670876 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.004213890992105007 + }, + "else": { + "operation": "boost", + "score": -0.0837666466832161 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.011636472307145596 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.038415566086769104 + }, + "else": { + "operation": "boost", + "score": 0.06640665978193283 + } + }, + "else": { + "operation": "boost", + "score": 0.0013842800399288535 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.3576662242412567 + "score": -0.11476488411426544 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 195234.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220112.0, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10367194563150406 + "score": -0.0001051498475135304 }, "else": { "operation": "boost", - "score": 0.08103953301906586 + "score": -0.046939488500356674 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.02031710185110569 + "score": 0.012585564516484737 }, "else": { "operation": "boost", - "score": 0.08706554025411606 + "score": -0.002538092201575637 } } } - }, - "else": { - "operation": "boost", - "score": 0.022977396845817566 } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.028344156220555305 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.06363079696893692 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace" - ], + "operation": "boost", + "score": 0.018236296251416206 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71.5, "then": { + "operation": "boost", + "score": 0.03279786929488182 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.022797834128141403 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08170706778764725 - }, - "else": { - "operation": "boost", - "score": 0.08782532066106796 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.018772177398204803 - }, - "else": { - "operation": "boost", - "score": 0.12077051401138306 - } + "operation": "boost", + "score": 0.0166033748537302 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.09193392097949982 + "score": 0.058560531586408615 }, "else": { "operation": "boost", - "score": 0.12153052538633347 + "score": 0.012396966107189655 } }, "else": { "operation": "boost", - "score": 0.14182718098163605 + "score": 0.028194133192300797 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.12013469636440277 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07792744040489197 + }, + "else": { + "operation": "boost", + "score": -0.03352377563714981 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.13496699929237366 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.14567887783050537 + }, + "else": { + "operation": "boost", + "score": -0.33251050114631653 + } }, "else": { "operation": "boost", - "score": 0.14163093268871307 + "score": 0.07768227159976959 } }, "else": { "operation": "boost", - "score": 0.1243896484375 + "score": 0.029740985482931137 } } }, "else": { "operation": "boost", - "score": -0.10485631972551346 + "score": 0.0003032396489288658 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0594976544380188 + "score": -0.009048271924257278 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97466.0, - "then": { - "operation": "boost", - "score": 0.10902814567089081 - }, - "else": { - "operation": "boost", - "score": -0.14807723462581635 - } + "operation": "boost", + "score": 0.009233581833541393 } - }, - "else": { - "operation": "boost", - "score": -0.047588370740413666 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.010293903760612011 }, "else": { - "operation": "boost", - "score": 0.03751387819647789 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07469969242811203 + }, + "else": { + "operation": "boost", + "score": -0.00431204866617918 + } } } - }, - "else": { - "operation": "boost", - "score": -0.01071810070425272 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 55.5, "then": { - "operation": "boost", - "score": -0.017132315784692764 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0013180304085835814 + }, + "else": { + "operation": "boost", + "score": 0.036363016813993454 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.07682221382856369 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19968.0, + "then": { + "operation": "boost", + "score": 0.0514121912419796 + }, + "else": { + "operation": "boost", + "score": 0.02349972352385521 + } + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "operation": "boost", + "score": -0.0205409936606884 + }, + "else": { + "operation": "boost", + "score": 0.016601761803030968 + } + }, + "else": { + "operation": "boost", + "score": -0.049540966749191284 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09386811405420303 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 189.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.046010758727788925 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04290610924363136 + }, + "else": { + "operation": "boost", + "score": -0.015523991547524929 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.021165786311030388 + "score": 0.044851236045360565 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "boost", + "score": -0.050078898668289185 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.11113648861646652 + "score": 0.055406127125024796 }, "else": { "operation": "boost", - "score": 0.008421097882091999 + "score": 0.019577806815505028 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 173.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.1085018739104271 + "score": 0.011349315755069256 }, "else": { - "operation": "boost", - "score": 0.08220699429512024 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.03194013610482216 + }, + "else": { + "operation": "boost", + "score": -0.14729806780815125 + } } - }, - "else": { - "operation": "boost", - "score": 0.08290256559848785 } } } }, "else": { "operation": "boost", - "score": 0.062459975481033325 + "score": -0.0012235015165060759 } }, "else": { - "operation": "boost", - "score": 0.05268236994743347 - } - }, + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01550176553428173 + }, + "else": { + "operation": "boost", + "score": 0.010400710627436638 + } + } + }, "else": { - "operation": "boost", - "score": 0.034643713384866714 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04037828743457794 + }, + "else": { + "operation": "boost", + "score": -0.00010789276711875573 + } } + } + }, + "else": { + "operation": "boost", + "score": -0.11562870442867279 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14372.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03354918956756592 + }, + "else": { + "operation": "boost", + "score": 0.003168744733557105 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.0352800078690052 }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.03654273599386215 + }, + "else": { + "operation": "boost", + "score": -0.0014521604171022773 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08618396520614624 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11163546144962311 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2757.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Type" + ], "then": { - "operation": "boost", - "score": 0.11621426790952682 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56010.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.07923044264316559 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.007422917056828737 + }, + "else": { + "operation": "boost", + "score": 0.04237207770347595 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52191.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.11136644333600998 + "score": 0.016250479966402054 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2769.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.04811074212193489 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04056255519390106 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02728543058037758 + }, + "else": { + "operation": "boost", + "score": 0.018069762736558914 + } + } }, "else": { "operation": "boost", - "score": 0.4499160945415497 + "score": -0.01061770599335432 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" - ], - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "FileScope" ], "then": { "operation": "boost", - "score": 0.03567282110452652 + "score": 0.12403631210327148 }, "else": { "operation": "boost", - "score": -0.07657191902399063 + "score": -0.02778046764433384 } - }, - "else": { - "operation": "boost", - "score": -0.020692946389317513 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.026663780212402344 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.007129849400371313 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0697815790772438 + }, + "else": { + "operation": "boost", + "score": 0.09478320926427841 + } }, "else": { "operation": "boost", - "score": 0.13631458580493927 + "score": 0.06070978194475174 } }, "else": { - "operation": "boost", - "score": -0.03865477815270424 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.04367470741271973 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03827163949608803 + }, + "else": { + "operation": "boost", + "score": -0.01234228815883398 + } + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "boost", - "score": 0.09598399698734283 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.005479310639202595 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.06339535862207413 + }, + "else": { + "operation": "boost", + "score": -0.11914955079555511 + } + }, + "else": { + "operation": "boost", + "score": 0.07532592117786407 + } + }, + "else": { + "operation": "boost", + "score": -0.10733359307050705 + } + }, + "else": { + "operation": "boost", + "score": 0.07321043312549591 + } + }, + "else": { + "operation": "boost", + "score": -0.1450224220752716 + } + }, + "else": { + "operation": "boost", + "score": 0.07440772652626038 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.1252143532037735 + }, + "else": { + "operation": "boost", + "score": 0.0663054883480072 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.019737938418984413 + } + }, + "else": { + "operation": "boost", + "score": -0.03877343609929085 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.11811241507530212 + "score": -0.03655645251274109 }, "else": { - "operation": "boost", - "score": 0.12089645862579346 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05348433926701546 + }, + "else": { + "operation": "boost", + "score": -0.15787701308727264 + } + }, + "else": { + "operation": "boost", + "score": 0.004877576604485512 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.001928027835674584 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.05213730409741402 + }, + "else": { + "operation": "boost", + "score": 0.0387892872095108 + } + }, + "else": { + "operation": "boost", + "score": -0.14184752106666565 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.08588092029094696 + }, + "else": { + "operation": "boost", + "score": -0.005964307114481926 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.13172608613967896 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.06404954195022583 + }, + "else": { + "operation": "boost", + "score": 0.0065474798902869225 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.10916602611541748 + }, + "else": { + "operation": "boost", + "score": 0.015734855085611343 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10517902672290802 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.06970490515232086 + }, + "else": { + "operation": "boost", + "score": 0.010267677716910839 + } + }, + "else": { + "operation": "boost", + "score": -0.04154708608984947 + } + } } }, "else": { - "operation": "boost", - "score": 0.09969880431890488 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.10080592334270477 + }, + "else": { + "operation": "boost", + "score": -0.1482430398464203 + } } } } @@ -87018,860 +86978,961 @@ }, "else": { "operation": "boost", - "score": 0.011517041362822056 + "score": -0.019608668982982635 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.04890824481844902 + }, + "else": { + "operation": "boost", + "score": 0.017013942822813988 + } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.030236436054110527 + }, + "else": { + "operation": "boost", + "score": -0.04158875346183777 + } + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07345451414585114 + "score": 0.01988386921584606 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_Namespace", + "CCC_Statement", + "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0966697707772255 - }, - "else": { - "operation": "boost", - "score": 0.09703364968299866 - } + "operation": "boost", + "score": 0.044099707156419754 }, "else": { "operation": "boost", - "score": 0.04185652732849121 + "score": -0.002097941702231765 } }, "else": { "operation": "boost", - "score": 0.035363126546144485 + "score": 0.001588897779583931 } }, "else": { "operation": "boost", - "score": 0.0163692869246006 + "score": -0.00805275235325098 } } - }, - "else": { - "operation": "boost", - "score": -0.005166045390069485 } } } } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02444259077310562 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5898.0, "then": { - "operation": "boost", - "score": -0.20470532774925232 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.020819077268242836 + "score": 0.05189673602581024 }, "else": { "operation": "boost", - "score": 0.0028531907591968775 + "score": 0.022923942655324936 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.019849667325615883 - }, - "else": { - "operation": "boost", - "score": 0.08959035575389862 - } - }, - "else": { - "operation": "boost", - "score": 0.017906438559293747 - } + "operation": "boost", + "score": 0.019493643194437027 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.15977884829044342 - }, - "else": { - "operation": "boost", - "score": -0.1092768982052803 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.12402839213609695 - }, - "else": { - "operation": "boost", - "score": -0.4377630054950714 - } - } - }, - "else": { - "operation": "boost", - "score": -0.018865074962377548 - } + "operation": "boost", + "score": -0.03631434217095375 }, "else": { "operation": "boost", - "score": -0.023281170055270195 + "score": 0.004299085587263107 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess" + "Function", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.023398438468575478 + "score": 0.004612463992089033 }, "else": { "operation": "boost", - "score": -0.0036178368609398603 + "score": -0.058023251593112946 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21492.0, - "then": { - "operation": "boost", - "score": -0.057366643100976944 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6360.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, - "then": { - "operation": "boost", - "score": 0.058351870626211166 - }, - "else": { - "operation": "boost", - "score": 0.11099480837583542 - } - }, - "else": { - "operation": "boost", - "score": 0.03240234777331352 - } - } + "operation": "boost", + "score": -0.022819219157099724 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.0, - "then": { - "operation": "boost", - "score": 0.028195302933454514 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.12859974801540375 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, - "then": { - "operation": "boost", - "score": 0.10543566942214966 - }, - "else": { - "operation": "boost", - "score": -0.40477117896080017 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0015543807530775666 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": 0.11191999912261963 - }, - "else": { - "operation": "boost", - "score": 0.050038132816553116 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.11889412999153137 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": -0.10386870056390762 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": -0.2334531843662262 - }, - "else": { - "operation": "boost", - "score": 0.11539093405008316 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.055730726569890976 - } + "operation": "boost", + "score": 0.01349903829395771 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.012082746252417564 + "score": -0.025234537199139595 }, "else": { - "operation": "boost", - "score": 0.03894732519984245 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.0658809170126915 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.1555570811033249 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.12909723818302155 - }, - "else": { - "operation": "boost", - "score": 0.08971330523490906 - } + "operation": "boost", + "score": -0.03504638373851776 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07365266978740692 + "score": -0.1103881374001503 }, "else": { "operation": "boost", - "score": 0.11387677490711212 + "score": 0.006185272708535194 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.06374325603246689 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 290761.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.021463114768266678 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", "CCC_SymbolOrNewName", - "CCC_Expression" + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.11074429005384445 + "score": 0.03590245917439461 }, "else": { "operation": "boost", - "score": 0.10131554305553436 + "score": -0.013805372640490532 } - }, - "else": { - "operation": "boost", - "score": -0.00878042820841074 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.036336783319711685 }, "else": { "operation": "boost", - "score": 0.05621746927499771 + "score": 0.04686436802148819 } } } - }, - "else": { - "operation": "boost", - "score": 0.011776783503592014 } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.01024016086012125 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.12137780338525772 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11837195605039597 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.0, - "then": { - "operation": "boost", - "score": 0.16934902966022491 - }, - "else": { - "operation": "boost", - "score": 0.12394537031650543 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11042331904172897 - } - } - } - }, - "else": { + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03237351030111313 + }, + "else": { + "operation": "boost", + "score": -0.03156250715255737 + } + }, + "else": { + "operation": "boost", + "score": -0.10688316822052002 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.08056818693876266 + }, + "else": { + "operation": "boost", + "score": -0.1023520976305008 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08368158340454102 + }, + "else": { + "operation": "boost", + "score": -0.013645214028656483 + } + }, + "else": { + "operation": "boost", + "score": 0.04660370200872421 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029734313488006592 + }, + "else": { + "operation": "boost", + "score": 0.012180114164948463 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.02513471618294716 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.005861897487193346 + }, + "else": { + "operation": "boost", + "score": -0.02645217254757881 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.014727617613971233 + }, + "else": { + "operation": "boost", + "score": -0.12358443439006805 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.03345167264342308 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.15000559389591217 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.046753931790590286 + "score": 0.0988524779677391 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.1165381595492363 - }, - "else": { - "operation": "boost", - "score": -0.08041463047266006 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.5, - "then": { - "operation": "boost", - "score": 0.12081503868103027 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83.5, - "then": { - "operation": "boost", - "score": -0.18465907871723175 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.11331497132778168 - }, - "else": { - "operation": "boost", - "score": 0.12838122248649597 - } - } - } - } + "operation": "boost", + "score": 0.0459587387740612 } + }, + "else": { + "operation": "boost", + "score": -0.01814989186823368 } }, "else": { - "operation": "boost", - "score": 0.03809057176113129 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.010040149092674255 + }, + "else": { + "operation": "boost", + "score": -0.11976847797632217 + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.037665825337171555 + }, + "else": { + "operation": "boost", + "score": -0.04340199753642082 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.034680552780628204 + }, + "else": { + "operation": "boost", + "score": -0.13369305431842804 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.23303167521953583, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.04360782727599144 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234.5, + "then": { + "operation": "boost", + "score": 0.057689227163791656 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0431709922850132 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], "then": { + "operation": "boost", + "score": 0.03909771516919136 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12375158816576004 + "score": 0.013458352535963058 }, "else": { "operation": "boost", - "score": 0.10671888291835785 + "score": -0.09674172848463058 } - }, - "else": { - "operation": "boost", - "score": 0.031826939433813095 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41288.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.03443927690386772 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.038146745413541794 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Function" + "ClassScope" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007233771029859781 - }, - "else": { - "operation": "boost", - "score": 0.12235146760940552 - } + "operation": "boost", + "score": -0.0003040516749024391 }, "else": { "operation": "boost", - "score": -0.09416690468788147 + "score": 0.05093694478273392 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.05336586385965347 + "score": 0.05374142900109291 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "feature": "FractionNameInContext", + "threshold": 0.6306818127632141, "then": { "operation": "boost", - "score": 0.043120790272951126 + "score": 0.07148976624011993 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09663739055395126 - }, - "else": { - "operation": "boost", - "score": 0.09981808811426163 - } + "operation": "boost", + "score": 0.1245587021112442 } }, "else": { "operation": "boost", - "score": -0.22378501296043396 + "score": 0.0028835050761699677 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82306.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.05098113790154457 - }, - "else": { - "operation": "boost", - "score": 0.09613853693008423 - } - }, - "else": { - "operation": "boost", - "score": 0.07073832303285599 - } + "operation": "boost", + "score": 0.002516498789191246 } } } + }, + "else": { + "operation": "boost", + "score": -0.002752893604338169 } }, "else": { - "operation": "boost", - "score": 0.002787626115605235 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1888871192932129 + "score": 0.04132842272520065 }, "else": { "operation": "boost", - "score": -0.02954082004725933 + "score": 0.01576550304889679 } - }, - "else": { - "operation": "boost", - "score": 0.01664680987596512 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Constructor", - "Type" + "ClassScope", + "FileScope" ], "then": { - "operation": "boost", - "score": 0.006734339985996485 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04932120814919472 + }, + "else": { + "operation": "boost", + "score": 0.017092561349272728 + } }, "else": { - "operation": "boost", - "score": -0.007826769724488258 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "boost", - "score": 0.09569049626588821 + "score": 0.010718714445829391 }, "else": { "operation": "boost", - "score": -0.02397749572992325 + "score": -0.02348782867193222 } + } + }, + "else": { + "operation": "boost", + "score": -0.0025395285338163376 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.049892719835042953 }, "else": { "operation": "boost", - "score": 0.01011196244508028 + "score": 0.015008090063929558 } + }, + "else": { + "operation": "boost", + "score": 0.01430212240666151 } } } @@ -87879,1332 +87940,1143 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44220.5, + "threshold": 120.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Macro" ], "then": { + "operation": "boost", + "score": 0.030407723039388657 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.0025908525567501783 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "boost", - "score": 0.1653703898191452 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.05384524166584015 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 99880.5, "then": { "operation": "boost", - "score": -0.5175366997718811 + "score": -0.07301373779773712 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 104520.5, + "threshold": 98088.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.1066562756896019 + "score": 0.12336883693933487 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.0810539647936821 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.007292285095900297 - }, - "else": { - "operation": "boost", - "score": 0.12258957326412201 - } - } + "operation": "boost", + "score": 0.1680920124053955 } }, "else": { - "operation": "boost", - "score": 0.07411079853773117 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004422527272254229 + }, + "else": { + "operation": "boost", + "score": 0.04250997304916382 + } } } + }, + "else": { + "operation": "boost", + "score": 0.0024732269812375307 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.020015807822346687 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.07965527474880219 + "score": 0.18509477376937866 }, "else": { "operation": "boost", - "score": 0.08575695753097534 + "score": 0.12069874256849289 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148934.5, + "threshold": 94786.0, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.016993671655654907 - }, - "else": { - "operation": "boost", - "score": 0.11450060456991196 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.11159248650074005 + "score": -0.017008939757943153 }, "else": { - "operation": "boost", - "score": 0.11539120227098465 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "boost", + "score": 0.0474570170044899 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.06434082984924316 + }, + "else": { + "operation": "boost", + "score": 0.13507506251335144 + } + }, + "else": { + "operation": "boost", + "score": -0.14598602056503296 + } + } } }, "else": { "operation": "boost", - "score": 0.06378869712352753 + "score": 0.027493707835674286 } + }, + "else": { + "operation": "boost", + "score": -0.026684043928980827 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.11707079410552979 + "score": -0.06181695684790611 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13138364255428314 - }, - "else": { - "operation": "boost", - "score": 0.12874849140644073 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.1272069364786148 - }, - "else": { - "operation": "boost", - "score": 0.11728635430335999 - } - } + "operation": "boost", + "score": -0.0019068651599809527 } } + }, + "else": { + "operation": "boost", + "score": 0.04571026191115379 } - }, - "else": { - "operation": "boost", - "score": -0.04295014962553978 } + } + }, + "else": { + "operation": "boost", + "score": 0.050979118794202805 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.048603348433971405 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00019587029237300158 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.032467588782310486 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 34243.5, "then": { + "operation": "boost", + "score": 0.06037047505378723 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13804137706756592 - }, - "else": { - "operation": "boost", - "score": 0.11303748190402985 - } - }, - "else": { - "operation": "boost", - "score": 0.11978143453598022 - } + "operation": "boost", + "score": -0.2671273946762085 }, "else": { "operation": "boost", - "score": -0.034369152039289474 + "score": 0.023205429315567017 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11847671121358871 }, "else": { "operation": "boost", - "score": 0.1358901411294937 + "score": 0.018161825835704803 } } } } - }, - "else": { - "operation": "boost", - "score": -0.014454500749707222 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.0167688075453043 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 189.5, + "feature": "FractionNameInContext", + "threshold": 0.04545454680919647, "then": { "operation": "boost", - "score": 0.044069111347198486 + "score": 0.12698349356651306 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.020605482161045074 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 137.0, - "then": { - "operation": "boost", - "score": 0.10841625183820724 - }, - "else": { - "operation": "boost", - "score": 0.10958486050367355 - } - }, - "else": { - "operation": "boost", - "score": 0.006517632864415646 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 173.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.10723293572664261 - }, - "else": { - "operation": "boost", - "score": 0.07977677881717682 - } - }, - "else": { - "operation": "boost", - "score": 0.08169077336788177 - } - } + "operation": "boost", + "score": 0.12330633401870728 } }, "else": { "operation": "boost", - "score": 0.052683450281620026 + "score": 0.07646258175373077 } }, "else": { + "operation": "boost", + "score": -0.05363034829497337 + } + }, + "else": { + "operation": "boost", + "score": 0.06286618113517761 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.06277875602245331 + "score": -0.010601761750876904 }, "else": { "operation": "boost", - "score": 0.03600062057375908 + "score": 0.013709502294659615 } + }, + "else": { + "operation": "boost", + "score": 0.042083073407411575 } }, "else": { - "operation": "boost", - "score": 0.0298269372433424 - } - }, - "else": { - "operation": "boost", - "score": 0.01500996295362711 - } - }, - "else": { - "operation": "boost", - "score": -0.0020145257003605366 - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.024932047352194786 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.028148211538791656 - }, - "else": { - "operation": "boost", - "score": -0.013078194111585617 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": -0.004713030532002449 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08337713778018951 - }, - "else": { - "operation": "boost", - "score": 0.03714810684323311 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.04987650364637375 + }, + "else": { + "operation": "boost", + "score": -8.707261440576985e-05 + } + }, + "else": { + "operation": "boost", + "score": 0.008135441690683365 + } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2588992118835449 + "score": 0.016412384808063507 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86511.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.06492332369089127 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49723.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.10799582302570343 + "score": 0.004056458827108145 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6360.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6390.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, - "then": { - "operation": "boost", - "score": 0.05908535420894623 - }, - "else": { - "operation": "boost", - "score": 0.08750468492507935 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40616.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.047480542212724686 - }, - "else": { - "operation": "boost", - "score": 0.12234195321798325 - } - }, - "else": { - "operation": "boost", - "score": 0.030212854966521263 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.018858255818486214 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14916.5, - "then": { - "operation": "boost", - "score": 0.08887248486280441 - }, - "else": { - "operation": "boost", - "score": 0.11811117082834244 - } - }, - "else": { - "operation": "boost", - "score": 0.04781106859445572 - } - } - } + "operation": "boost", + "score": 0.007825520820915699 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1145351380109787 - }, - "else": { - "operation": "boost", - "score": 0.12345010042190552 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10822183638811111 - }, - "else": { - "operation": "boost", - "score": 0.07450775057077408 - } - } + "operation": "boost", + "score": 0.055987659841775894 } }, "else": { "operation": "boost", - "score": 0.0073492564260959625 + "score": 0.007051027845591307 } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.03710594400763512 + }, + "else": { + "operation": "boost", + "score": -0.13241954147815704 + } } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3191.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07231363654136658 + "score": -0.06209050118923187 }, "else": { - "operation": "boost", - "score": 0.0812092125415802 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.030674273148179054 - }, - "else": { - "operation": "boost", - "score": 0.013844478875398636 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.014840417541563511 - }, - "else": { - "operation": "boost", - "score": 0.0004981762613169849 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.005267179571092129 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.013181084766983986 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0016188351437449455 + }, + "else": { + "operation": "boost", + "score": 0.03212911635637283 + } + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.030504964292049408 + "score": 0.03554157167673111 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.17372801899909973 - }, - "else": { - "operation": "boost", - "score": 0.11896109580993652 - } + "operation": "boost", + "score": 0.010257530957460403 + }, + "else": { + "operation": "boost", + "score": -0.21813078224658966 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.003321306314319372 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", + "Macro", + "Namespace", "Type", - "Namespace" + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.10637980699539185 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.05268391966819763 + }, + "else": { + "operation": "boost", + "score": 0.11044403165578842 + } }, "else": { "operation": "boost", - "score": -0.22249038517475128 + "score": -0.07087605446577072 } } - } - }, - "else": { - "operation": "boost", - "score": 0.016802683472633362 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09996062517166138 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassStructUnion", "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20988.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11773129552602768 + "score": -0.06066427752375603 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FractionNameInContext", + "threshold": 0.035098522901535034, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 440.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12885071337223053 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.18208588659763336 + "score": -0.007405574433505535 }, "else": { - "operation": "boost", - "score": 0.1540772169828415 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.1786331832408905 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.15904909372329712 + "score": 0.0038683153688907623 }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", - "score": 0.12684877216815948 + "score": 0.05794771760702133 }, "else": { - "operation": "boost", - "score": 0.10620424151420593 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": -0.019359517842531204 + }, + "else": { + "operation": "boost", + "score": 0.044035404920578 + } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.14283542335033417 - }, - "else": { - "operation": "boost", - "score": 0.1259634643793106 - } - }, - "else": { - "operation": "boost", - "score": 0.08045249432325363 - } + "operation": "boost", + "score": -0.0038216484244912863 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.021680733188986778 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.08565860241651535 - }, - "else": { - "operation": "boost", - "score": 0.0829138532280922 - } + "operation": "boost", + "score": 0.024480648338794708 } } }, "else": { "operation": "boost", - "score": 0.07304459065198898 + "score": -0.002597517566755414 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.023147333413362503 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.07154969871044159 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09589219838380814 + }, + "else": { + "operation": "boost", + "score": 0.015654820948839188 + } + }, + "else": { + "operation": "boost", + "score": -0.01015009917318821 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.10297191143035889 + "score": -0.0704164057970047 }, "else": { "operation": "boost", - "score": 0.14429406821727753 + "score": -0.09039995074272156 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.032936859875917435 + }, + "else": { + "operation": "boost", + "score": -0.03757384419441223 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14.0, + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.10589127242565155 + "score": -0.04574383795261383 }, "else": { "operation": "boost", - "score": 0.0591760016977787 + "score": 0.002362153260037303 } }, "else": { "operation": "boost", - "score": 0.12394702434539795 + "score": -0.0595037005841732 } - }, - "else": { - "operation": "boost", - "score": -0.09277991205453873 } }, "else": { "operation": "boost", - "score": 0.11945488303899765 + "score": -0.010897117666900158 } } - }, - "else": { - "operation": "boost", - "score": 0.06361561268568039 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.07331434637308121 - }, - "else": { - "operation": "boost", - "score": 0.0343426875770092 - } } }, "else": { "operation": "boost", - "score": 0.03760238364338875 + "score": -0.10950612276792526 } - }, - "else": { - "operation": "boost", - "score": 0.027775418013334274 } } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6360.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "boost", + "score": 0.05944008380174637 + }, + "else": { + "operation": "boost", + "score": 0.1194356307387352 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0972369834780693 + }, + "else": { + "operation": "boost", + "score": 0.03558103367686272 + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_Symbol" + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.03352880850434303 + "score": 0.05232113599777222 }, "else": { "operation": "boost", - "score": -0.031097490340471268 + "score": -0.06823897361755371 } } + }, + "else": { + "operation": "boost", + "score": 0.006129433400928974 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.046753812581300735 - }, - "else": { - "operation": "boost", - "score": -0.02940702624619007 - } - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.10020574182271957 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.03581104055047035 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.11434081941843033 - }, - "else": { - "operation": "boost", - "score": 0.14048679172992706 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05723436921834946 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.10712576657533646 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10935937613248825 - }, - "else": { - "operation": "boost", - "score": 0.119108647108078 - } - }, - "else": { - "operation": "boost", - "score": 0.04053780809044838 - } - }, - "else": { - "operation": "boost", - "score": 0.015985073521733284 - } - }, - "else": { - "operation": "boost", - "score": -0.1617063581943512 - } - } - }, - "else": { - "operation": "boost", - "score": -0.21001489460468292 - } - } + "operation": "boost", + "score": 0.11157327145338058 }, "else": { "operation": "boost", - "score": -0.039746761322021484 + "score": 0.039436157792806625 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "boost", + "score": 0.021321117877960205 + } + }, + "else": { + "operation": "boost", + "score": 0.12922966480255127 + } + }, + "else": { + "operation": "boost", + "score": -0.008879323489964008 + } + }, + "else": { + "operation": "boost", + "score": -0.023896707221865654 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": 0.026307646185159683 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.06562147289514542 - }, - "else": { - "operation": "boost", - "score": 0.022489653900265694 - } + "operation": "boost", + "score": 0.13217797875404358 }, "else": { "operation": "boost", - "score": 0.014401696622371674 + "score": 0.11398869752883911 } } }, "else": { + "operation": "boost", + "score": -0.10706824064254761 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.0004659640835598111 - }, - "else": { - "operation": "boost", - "score": -0.0738721638917923 - } + "operation": "boost", + "score": 0.13315151631832123 }, "else": { "operation": "boost", - "score": -0.10121028125286102 + "score": 0.11698681116104126 } + }, + "else": { + "operation": "boost", + "score": 0.03212253376841545 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { "operation": "boost", - "score": 0.003244561143219471 + "score": 0.04480677470564842 }, "else": { "operation": "boost", - "score": -0.02119724079966545 + "score": 0.010440630838274956 } } } @@ -89213,673 +89085,556 @@ }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 71.5, "then": { + "operation": "boost", + "score": 0.03095298260450363 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 775.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 780.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "boost", + "score": -0.3131951689720154 + }, + "else": { + "operation": "boost", + "score": 0.027867961674928665 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "FractionNameInContext", + "threshold": 0.4409722089767456, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10517210513353348 + "score": 0.014731482602655888 }, "else": { - "operation": "boost", - "score": 0.0873253121972084 - } - }, - "else": { - "operation": "boost", - "score": 0.02705262415111065 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23530.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23667.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06422528624534607 - }, - "else": { - "operation": "boost", - "score": 0.08981603384017944 - } - }, - "else": { - "operation": "boost", - "score": -0.2883565127849579 - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32056.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12055348604917526 + "score": 0.024755820631980896 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.09571520239114761 + "score": 0.036056723445653915 }, "else": { - "operation": "boost", - "score": 0.1192256510257721 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.13191694021224976 + }, + "else": { + "operation": "boost", + "score": -0.034959692507982254 + } } } + }, + "else": { + "operation": "boost", + "score": 0.035129401832818985 } - }, - "else": { - "operation": "boost", - "score": 0.14434629678726196 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "operation": "boost", + "score": 0.00693721417337656 + } + }, + "else": { + "operation": "boost", + "score": -0.09666159749031067 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2794.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.13535234332084656 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.1488601118326187 + }, + "else": { + "operation": "boost", + "score": -0.10535126179456711 + } }, "else": { "operation": "boost", - "score": -0.14476528763771057 + "score": 0.03419611603021622 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6230.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7448.5, - "then": { - "operation": "boost", - "score": 0.024196133017539978 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12181486934423447 - }, - "else": { - "operation": "boost", - "score": 0.11418786644935608 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11531852930784225 - } - }, - "else": { - "operation": "boost", - "score": -0.13479682803153992 - } + "operation": "boost", + "score": 0.01925099827349186 }, "else": { "operation": "boost", - "score": -0.13923320174217224 + "score": -0.015673860907554626 } } + }, + "else": { + "operation": "boost", + "score": 0.019542088732123375 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.053574852645397186 + }, + "else": { + "operation": "boost", + "score": -0.007513819728046656 + } + }, + "else": { + "operation": "boost", + "score": 0.14421014487743378 } } - }, - "else": { - "operation": "boost", - "score": 0.10801546275615692 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 723.5, - "then": { - "operation": "boost", - "score": -0.14349070191383362 - }, - "else": { - "operation": "boost", - "score": 0.02155354805290699 } } }, "else": { - "operation": "boost", - "score": 0.013683815486729145 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.1209329217672348 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.12026329338550568 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05012550577521324 + }, + "else": { + "operation": "boost", + "score": -0.0515170656144619 + } }, "else": { - "operation": "boost", - "score": 0.09443435817956924 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "boost", + "score": 0.0009494354599155486 + }, + "else": { + "operation": "boost", + "score": 0.1528455913066864 + } + }, + "else": { + "operation": "boost", + "score": 0.0790838897228241 + } + }, + "else": { + "operation": "boost", + "score": 0.03212624043226242 + } } - } - }, - "else": { - "operation": "boost", - "score": 0.00724259065464139 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.03863472864031792 }, "else": { - "operation": "boost", - "score": -0.039346348494291306 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "boost", - "score": 0.06071893498301506 + "score": 0.03354231268167496 }, "else": { "operation": "boost", - "score": 0.04017289727926254 + "score": 0.002263030968606472 } }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.19417835772037506 - }, - "else": { - "operation": "boost", - "score": 0.024934133514761925 - } + "operation": "boost", + "score": -0.009689218364655972 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown" ], "then": { "operation": "boost", - "score": 0.019014600664377213 + "score": 0.05133965611457825 }, "else": { - "operation": "boost", - "score": -0.023337550461292267 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": -0.02415419928729534 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.11090321838855743 + }, + "else": { + "operation": "boost", + "score": -0.09691590815782547 + } + } + }, + "else": { + "operation": "boost", + "score": -0.050047166645526886 + } + }, + "else": { + "operation": "boost", + "score": 0.024119161069393158 + } + }, + "else": { + "operation": "boost", + "score": -0.013035263866186142 + } } } - }, - "else": { - "operation": "boost", - "score": 0.012174037285149097 } } - }, - "else": { - "operation": "boost", - "score": -0.024449076503515244 } - } - }, - "else": { - "operation": "boost", - "score": -0.015544342808425426 - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.025598300620913506 - }, - "else": { - "operation": "boost", - "score": -0.046842310577631 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.025796886533498764 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.05560905486345291 + "score": 0.006093696691095829 }, "else": { "operation": "boost", - "score": -0.021166905760765076 + "score": -0.13991934061050415 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.00023903977125883102 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.052359405905008316 - }, - "else": { - "operation": "boost", - "score": 0.09826172888278961 - } - }, - "else": { - "operation": "boost", - "score": 0.059091079980134964 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.036318182945251465 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08393877744674683 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10584382712841034 - }, - "else": { - "operation": "boost", - "score": 0.10757286846637726 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05207102373242378 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.05633464455604553 - }, - "else": { - "operation": "boost", - "score": 0.035363949835300446 - } - }, - "else": { - "operation": "boost", - "score": -0.043908242136240005 - } - } + "operation": "boost", + "score": -0.2125382125377655 }, "else": { "operation": "boost", - "score": 0.018043527379631996 + "score": 0.022442752495408058 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6159.0, + "threshold": 443558.5, "then": { + "operation": "boost", + "score": 0.07706760615110397 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Macro", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.01215172279626131 + "score": 0.026817260310053825 }, "else": { - "operation": "boost", - "score": 0.11514711380004883 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.010089797899127007 + }, + "else": { + "operation": "boost", + "score": -0.0035717375576496124 + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7164.5, + "threshold": 236336.5, "then": { + "operation": "boost", + "score": -0.07446784526109695 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 88678.0, + "threshold": 191566.0, "then": { "operation": "boost", - "score": 0.07465754449367523 + "score": 0.06907937675714493 }, "else": { - "operation": "boost", - "score": 0.023995770141482353 - } - }, - "else": { - "operation": "boost", - "score": 0.08792520314455032 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 127271.0, "then": { "operation": "boost", - "score": 0.08311339467763901 + "score": -0.08487830311059952 }, "else": { - "operation": "boost", - "score": -0.05528486147522926 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "boost", + "score": 0.08877373486757278 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0019179219380021095 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.0230843685567379 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.0105823939666152 + }, + "else": { + "operation": "boost", + "score": -0.0011192617239430547 + } + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.05025263875722885 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.06069076061248779 - }, - "else": { - "operation": "boost", - "score": 0.019093185663223267 } } - }, - "else": { - "operation": "boost", - "score": -0.253995805978775 } } } @@ -89888,1381 +89643,2121 @@ }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.016838645562529564 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace" - ], + "operation": "boost", + "score": 0.032017387449741364 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.005360722541809082 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", + "Macro", "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14428.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14993.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "boost", - "score": 0.03924862667918205 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.1153416857123375 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.12089831382036209 + }, + "else": { + "operation": "boost", + "score": 0.08412431925535202 + } }, "else": { "operation": "boost", - "score": -0.029311276972293854 + "score": -0.03982770815491676 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.20648279786109924 + }, + "else": { + "operation": "boost", + "score": 0.08307991921901703 + } + }, + "else": { + "operation": "boost", + "score": -0.030643971636891365 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2695.5, + "threshold": 432212.0, + "then": { + "operation": "boost", + "score": -1.202111005783081 + }, + "else": { + "operation": "boost", + "score": 0.012955508194863796 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2834.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07359103113412857 + "score": 0.02715340629220009 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2813.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.11743861436843872 + "score": 0.07171360403299332 }, "else": { "operation": "boost", - "score": 0.09034326672554016 + "score": 0.021605174988508224 } } }, - "else": { - "operation": "boost", - "score": -0.025603123009204865 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13213950395584106 - }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_TopLevel" + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 74740.0, "then": { "operation": "boost", - "score": 0.1201925054192543 + "score": 0.10117487609386444 }, "else": { "operation": "boost", - "score": 0.10818133503198624 + "score": -0.013085567392408848 } }, "else": { "operation": "boost", - "score": -0.10780923068523407 + "score": 0.02575511857867241 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": -0.029958106577396393 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005856631323695183 + }, + "else": { + "operation": "boost", + "score": -0.02673337794840336 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.011067919433116913 + }, + "else": { + "operation": "boost", + "score": -0.0681920200586319 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 266152.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 272339.5, + "then": { + "operation": "boost", + "score": 0.023722810670733452 + }, + "else": { + "operation": "boost", + "score": 0.0931207537651062 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 251308.0, + "then": { + "operation": "boost", + "score": -0.19359195232391357 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 219439.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11024724692106247 - }, - "else": { - "operation": "boost", - "score": 0.05877949297428131 - } + "operation": "boost", + "score": 0.0013906712410971522 }, "else": { "operation": "boost", - "score": 0.010880619287490845 + "score": 0.098707415163517 } + }, + "else": { + "operation": "boost", + "score": -0.004722291138023138 } } } }, "else": { "operation": "boost", - "score": -0.0025292886421084404 + "score": -0.026610445231199265 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.061278048902750015 }, "else": { - "operation": "boost", - "score": 0.005263220984488726 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.031042736023664474 + }, + "else": { + "operation": "boost", + "score": -0.022272970527410507 + } } } - }, - "else": { - "operation": "boost", - "score": -0.021777698770165443 } - }, - "else": { - "operation": "boost", - "score": -0.008384274318814278 } - }, - "else": { - "operation": "boost", - "score": -0.026531832292675972 } - }, - "else": { - "operation": "boost", - "score": 0.009758093394339085 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": -0.021154211834073067 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.02477280981838703 + }, + "else": { + "operation": "boost", + "score": -0.06199798360466957 + } }, "else": { - "operation": "boost", - "score": -0.0981256514787674 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.036659616976976395 + }, + "else": { + "operation": "boost", + "score": -0.0021293330937623978 + } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 219.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 69581.5, "then": { + "operation": "boost", + "score": 0.036840926855802536 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 56138.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "boost", + "score": -0.05729000270366669 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.22045603394508362 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 56010.5, + "then": { + "operation": "boost", + "score": 0.006874884478747845 + }, + "else": { + "operation": "boost", + "score": 0.1029396504163742 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "boost", + "score": -0.0792083591222763 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 47903.5, "then": { "operation": "boost", - "score": 0.08302424848079681 + "score": 0.11948675662279129 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.5, - "then": { - "operation": "boost", - "score": 0.058081552386283875 - }, - "else": { - "operation": "boost", - "score": 0.029391996562480927 - } + "operation": "boost", + "score": 0.09508539736270905 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09691213071346283 - }, - "else": { - "operation": "boost", - "score": 0.12110298126935959 - } - }, - "else": { - "operation": "boost", - "score": 0.07916240394115448 - } + "operation": "boost", + "score": 0.05138392001390457 } } }, "else": { "operation": "boost", - "score": 0.03795795142650604 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05221347138285637 - }, - "else": { - "operation": "boost", - "score": -0.010308235883712769 + "score": 0.018052857369184494 } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.016673343256115913 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.007197351660579443 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6799.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6825.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11269339174032211 + "score": 0.03511970862746239 }, "else": { "operation": "boost", - "score": 0.040470946580171585 + "score": 0.09366658329963684 } }, "else": { - "operation": "boost", - "score": 0.11659260094165802 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.03012598305940628 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.04063120856881142 - }, - "else": { - "operation": "boost", - "score": -0.1366117298603058 - } + "operation": "boost", + "score": 0.02038237638771534 }, "else": { "operation": "boost", - "score": 0.014695430174469948 + "score": -0.042077500373125076 } } + }, + "else": { + "operation": "boost", + "score": -0.003583386540412903 } } }, "else": { "operation": "boost", - "score": 0.014650074765086174 + "score": -0.0038710832595825195 } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.07783982157707214 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "operation": "boost", + "score": 0.03807879611849785 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0951598733663559 + }, + "else": { + "operation": "boost", + "score": 0.032984815537929535 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0499747097492218 + }, + "else": { + "operation": "boost", + "score": -0.06007838249206543 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.019815636798739433 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0489652119576931 + "score": -0.06054336577653885 + }, + "else": { + "operation": "boost", + "score": 0.00204429286532104 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.11159086227416992 + }, + "else": { + "operation": "boost", + "score": 0.05836672708392143 + } }, "else": { "operation": "boost", - "score": 0.1083119586110115 + "score": 0.010174103081226349 } }, "else": { "operation": "boost", - "score": 0.034748468548059464 + "score": 0.013398370705544949 } }, "else": { - "operation": "boost", - "score": 0.010357639752328396 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.014807409606873989 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1051780954003334 + }, + "else": { + "operation": "boost", + "score": 0.13968174159526825 + } + }, + "else": { + "operation": "boost", + "score": 0.025568567216396332 + } + } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Namespace", + "Type", + "Variable" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", + "CCC_Expression", "CCC_ParenthesizedExpression", - "CCC_Other", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.02465202473104 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": 0.05592609941959381 + }, + "else": { + "operation": "boost", + "score": 0.09195660799741745 + } + }, + "else": { + "operation": "boost", + "score": -0.002449724590405822 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", "CCC_Expression", - "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "GlobalScope" + "Variable" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "GlobalScope" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.005357701797038317 + "score": 0.008124840445816517 }, "else": { - "operation": "boost", - "score": 0.02489509806036949 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { "operation": "boost", - "score": -0.13489142060279846 + "score": 0.06883756071329117 }, "else": { "operation": "boost", - "score": 0.06737449765205383 + "score": 0.03508324921131134 } - }, - "else": { - "operation": "boost", - "score": -0.00615696469321847 } + }, + "else": { + "operation": "boost", + "score": 0.00032069714507088065 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11018995940685272 + "score": -0.08498905599117279 }, "else": { "operation": "boost", - "score": -0.10809887945652008 + "score": 0.020198684185743332 } } }, "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.06574603170156479 + }, + "else": { + "operation": "boost", + "score": 0.0011964760487899184 + } + } + }, + "else": { + "operation": "boost", + "score": -0.003434103215113282 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.022033268585801125 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.10860873013734818 + "score": 0.09673745930194855 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "boost", + "score": -0.18622885644435883 + } + }, + "else": { + "operation": "boost", + "score": 0.21168190240859985 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.07927114516496658 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.00563888531178236 + "score": 0.03105495497584343 }, "else": { - "operation": "boost", - "score": -0.047443047165870667 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.0638909712433815 + }, + "else": { + "operation": "boost", + "score": -0.0506594181060791 + } } } + }, + "else": { + "operation": "boost", + "score": 0.031496912240982056 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0024616767186671495 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58.5, + "then": { + "operation": "boost", + "score": 0.09281805157661438 + }, + "else": { + "operation": "boost", + "score": 0.1209552064538002 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.1443425565958023 + }, + "else": { + "operation": "boost", + "score": 0.10235652327537537 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12891879677772522 + }, + "else": { + "operation": "boost", + "score": -0.055701449513435364 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.4305555522441864, "then": { "operation": "boost", - "score": -0.06586934626102448 + "score": 0.04259919747710228 }, "else": { "operation": "boost", - "score": 0.10905759036540985 + "score": 0.01320596132427454 } } + } + }, + "else": { + "operation": "boost", + "score": -0.014658037573099136 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.007307675201445818 + }, + "else": { + "operation": "boost", + "score": 0.02117861621081829 + } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.014511502347886562 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Function" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05953654646873474 + "score": 0.046642303466796875 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { + "operation": "boost", + "score": 0.11973614990711212 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11748731136322021 - }, - "else": { - "operation": "boost", - "score": 0.11353887617588043 - } - }, - "else": { - "operation": "boost", - "score": 0.11890413612127304 - } + "operation": "boost", + "score": -0.06384696066379547 }, "else": { "operation": "boost", - "score": 0.034009356051683426 + "score": 0.1325548142194748 } - }, - "else": { - "operation": "boost", - "score": 0.0840410590171814 } } }, "else": { "operation": "boost", - "score": 0.06262879073619843 + "score": -0.04620324820280075 } }, "else": { "operation": "boost", - "score": 0.06244855746626854 + "score": 0.05542948096990585 } }, "else": { "operation": "boost", - "score": 0.004875708371400833 + "score": 0.020467065274715424 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04221935570240021 - }, - "else": { - "operation": "boost", - "score": -0.033651094883680344 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "boost", - "score": -0.16283321380615234 - }, - "else": { "operation": "if_greater", - "feature": "IsDeprecated", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07581270486116409 + "score": 0.04817112535238266 }, "else": { "operation": "boost", - "score": 0.014699332416057587 + "score": 0.015198469161987305 } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04070732370018959 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10905246436595917 + "score": -0.014216596260666847 }, "else": { "operation": "boost", - "score": 0.05273665487766266 + "score": 0.014543615281581879 } } }, "else": { "operation": "boost", - "score": -0.003041570307686925 + "score": 0.0019239264074712992 } - }, - "else": { - "operation": "boost", - "score": -0.11771337687969208 } } } }, "else": { - "operation": "boost", - "score": -0.09004230797290802 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.006523359566926956 + }, + "else": { + "operation": "boost", + "score": -0.09342163056135178 + } } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.04563390091061592 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.04690547287464142 + }, + "else": { + "operation": "boost", + "score": 0.05047669634222984 + } + }, + "else": { + "operation": "boost", + "score": 0.10516437888145447 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0006706796702928841 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.010200460441410542 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.08441198617219925 + "score": 0.038940537720918655 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.08111788332462311 + "score": -0.00497979624196887 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.11408577859401703 + "score": 0.03406664729118347 }, "else": { "operation": "boost", - "score": 0.09829194843769073 + "score": 0.0062378463335335255 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { + "operation": "boost", + "score": 0.03916854038834572 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.09418949484825134 + "score": 0.0040156044997274876 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.047498419880867004 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.11375121772289276 + "score": 0.0018274649046361446 }, "else": { "operation": "boost", - "score": 0.12965866923332214 + "score": 0.03635337948799133 } - }, - "else": { - "operation": "boost", - "score": 0.125909686088562 } } - }, - "else": { - "operation": "boost", - "score": 0.14131785929203033 } } }, "else": { - "operation": "boost", - "score": 0.0037025443743914366 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11888182908296585 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.048747718334198 + "score": -0.11761781573295593 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1377417892217636 - }, - "else": { - "operation": "boost", - "score": 0.05623319000005722 - } + "operation": "boost", + "score": 0.04539550468325615 } }, "else": { - "operation": "boost", - "score": -0.024630950763821602 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.05193039029836655 + }, + "else": { + "operation": "boost", + "score": 0.0358036607503891 + } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.002354951109737158 }, "else": { + "operation": "boost", + "score": -0.0653892382979393 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator" ], "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.02587965503334999 + }, + "else": { + "operation": "boost", + "score": 0.08558264374732971 + } + }, + "else": { + "operation": "boost", + "score": 0.04292575269937515 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.05542775243520737 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97784.5, + "then": { + "operation": "boost", + "score": -0.09935300797224045 + }, + "else": { + "operation": "boost", + "score": 0.04748992994427681 + } + }, + "else": { + "operation": "boost", + "score": -0.0025724531151354313 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.012586679309606552 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", "Constructor", "Function", - "Type" + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" ], "then": { - "operation": "boost", - "score": -0.01830182410776615 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 266152.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 272339.5, "then": { "operation": "boost", - "score": -0.14930739998817444 + "score": 0.03540997952222824 }, "else": { "operation": "boost", - "score": 0.05453125387430191 + "score": 0.08858969807624817 } }, "else": { - "operation": "boost", - "score": 0.01906544342637062 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.1616353839635849 + }, + "else": { + "operation": "boost", + "score": -0.02863086760044098 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.03183393552899361 + }, + "else": { + "operation": "boost", + "score": -0.11536179482936859 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08885039389133453 + }, + "else": { + "operation": "boost", + "score": 0.0025919058825820684 + } + } + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.03727031871676445 + "score": -0.023223668336868286 }, "else": { "operation": "boost", - "score": 0.10513582825660706 + "score": 0.03602071478962898 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.025071797892451286 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.2769813537597656 - }, - "else": { - "operation": "boost", - "score": -0.06393836438655853 - } + "operation": "boost", + "score": -0.03288566693663597 } } } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.024103645235300064 - }, - "else": { - "operation": "boost", - "score": -0.04832860454916954 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02751644141972065 }, "else": { - "operation": "boost", - "score": 0.012419442646205425 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 749331.5, + "then": { + "operation": "boost", + "score": 0.04103514924645424 + }, + "else": { + "operation": "boost", + "score": -0.0417940728366375 + } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 130.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.03419599309563637 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1318535.0, "then": { "operation": "boost", - "score": 0.04449552670121193 + "score": -0.4588862657546997 }, "else": { - "operation": "boost", - "score": -0.0012175880838185549 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.07034698128700256 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120391.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 125771.5, + "then": { + "operation": "boost", + "score": -0.026484476402401924 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.13276895880699158 + }, + "else": { + "operation": "boost", + "score": -0.12310326844453812 + } + } + }, + "else": { + "operation": "boost", + "score": 0.032555364072322845 + } }, "else": { - "operation": "boost", - "score": 0.01473129354417324 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.019387833774089813 + }, + "else": { + "operation": "boost", + "score": 0.018201172351837158 + } } - }, - "else": { - "operation": "boost", - "score": 0.04844263195991516 } } }, "else": { - "operation": "boost", - "score": 0.009919838048517704 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.00633607804775238 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2368.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol" + "Namespace" ], "then": { + "operation": "boost", + "score": 0.07099331170320511 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.026131825521588326 + "score": -0.08490655571222305 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3700.0, - "then": { - "operation": "boost", - "score": 0.05520329996943474 - }, - "else": { - "operation": "boost", - "score": 0.11831936985254288 - } + "operation": "boost", + "score": 0.012509100139141083 } - }, - "else": { - "operation": "boost", - "score": 0.01145070232450962 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", + "CCC_DotMemberAccess", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "boost", + "score": 0.0004297455889172852 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.0004031365388073027 + "score": 0.10748737305402756 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "boost", + "score": 0.01251264289021492 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02582438476383686 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.020591989159584045 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11106449365615845 + }, + "else": { + "operation": "boost", + "score": 0.047174010425806046 + } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10395810753107071 - }, - "else": { - "operation": "boost", - "score": 0.0724131315946579 - } + "operation": "boost", + "score": -0.0017978358082473278 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.08509495854377747 - }, - "else": { - "operation": "boost", - "score": -0.2111499309539795 - } + "operation": "boost", + "score": 0.020411254838109016 } } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.10259103775024414 + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6360.5, + "then": { + "operation": "boost", + "score": 0.0669485330581665 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0403277650475502 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0003852247609756887 + "score": -0.2046610563993454 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.05614982172846794 - }, - "else": { - "operation": "boost", - "score": 0.025970231741666794 - } + "operation": "boost", + "score": 0.07070837914943695 + }, + "else": { + "operation": "boost", + "score": 0.019064778462052345 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0562322624027729 }, "else": { "operation": "boost", - "score": 0.017947712913155556 + "score": 0.016043605282902718 } + }, + "else": { + "operation": "boost", + "score": -0.02081209234893322 } } }, @@ -91270,884 +91765,1273 @@ "operation": "if_member", "feature": "Scope", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.05471723899245262 + }, + "else": { + "operation": "boost", + "score": 0.00250087957829237 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.00955228041857481 + }, + "else": { + "operation": "boost", + "score": 0.03858266770839691 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118.5, + "then": { + "operation": "boost", + "score": 0.03097316063940525 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1457304209470749 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.025323254987597466 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4409722089767456, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.12686562538146973 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.0834699496626854 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.11492402106523514 + "score": 0.003690059296786785 }, "else": { - "operation": "boost", - "score": 0.19516704976558685 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.11745902895927429 + "score": -0.1365300863981247 }, "else": { - "operation": "boost", - "score": -0.08626771718263626 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.07173657417297363 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, + "then": { + "operation": "boost", + "score": 0.12325357645750046 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0019929443951696157 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.17464402318000793 + }, + "else": { + "operation": "boost", + "score": 0.0774165689945221 + } + }, + "else": { + "operation": "boost", + "score": 0.1226639598608017 + } + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.06903650611639023 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.14366912841796875 - }, - "else": { - "operation": "boost", - "score": 0.08318018913269043 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": -0.10048949718475342 - }, - "else": { - "operation": "boost", - "score": 0.12053702771663666 - } - } + "operation": "boost", + "score": 0.04588470235466957 } }, "else": { "operation": "boost", - "score": 0.06841433793306351 + "score": 0.008076044730842113 } + }, + "else": { + "operation": "boost", + "score": 0.007629083003848791 } }, "else": { "operation": "boost", - "score": 0.040926430374383926 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.04337010905146599 - }, - "else": { - "operation": "boost", - "score": 0.008033058606088161 + "score": -0.08434988558292389 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0026591450441628695 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.014762339182198048 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.14089737832546234 + }, + "else": { + "operation": "boost", + "score": -0.09464501589536667 + } + }, + "else": { + "operation": "boost", + "score": 0.03205668926239014 + } + }, + "else": { + "operation": "boost", + "score": 0.002415245398879051 + } }, "else": { "operation": "boost", - "score": 0.04209195077419281 + "score": 0.018435880541801453 } }, "else": { - "operation": "boost", - "score": -0.00958522129803896 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.046760305762290955 + }, + "else": { + "operation": "boost", + "score": -0.0044740475714206696 + } + }, + "else": { + "operation": "boost", + "score": 0.13910794258117676 + } } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.1371055394411087 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 847.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06991651654243469 + "score": 0.05160613730549812 }, "else": { - "operation": "boost", - "score": 0.10167111456394196 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.006230470724403858 + }, + "else": { + "operation": "boost", + "score": -0.08814743906259537 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { "operation": "boost", - "score": 0.11237724125385284 + "score": -0.024843955412507057 }, "else": { "operation": "boost", - "score": 0.09802037477493286 + "score": 0.1385258287191391 } }, "else": { "operation": "boost", - "score": 0.04420272633433342 + "score": 0.0750664472579956 } }, "else": { "operation": "boost", - "score": -0.03913263976573944 + "score": 0.027716418728232384 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { + }, + "else": { "operation": "if_member", "feature": "Scope", "set": [ - "FunctionScope", - "GlobalScope" + "ClassScope" ], "then": { - "operation": "boost", - "score": -0.012818785384297371 - }, - "else": { - "operation": "boost", - "score": -0.15206214785575867 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.012619270011782646 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.02225402183830738 + }, + "else": { + "operation": "boost", + "score": -0.006759664975106716 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 688.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown" + ], "then": { + "operation": "boost", + "score": 0.046984802931547165 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 794.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.039975449442863464 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "boost", + "score": -0.04106384143233299 + }, + "else": { + "operation": "boost", + "score": 0.020258933305740356 + } }, "else": { "operation": "boost", - "score": 0.12886157631874084 + "score": -0.011730240657925606 } - }, - "else": { - "operation": "boost", - "score": 0.048384372144937515 } } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.009748408570885658 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07666249573230743 + }, + "else": { + "operation": "boost", + "score": -0.0035449874121695757 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.020959777757525444 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "boost", + "score": 0.07705967128276825 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.024711906909942627 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.008450224995613098 + "score": 0.00925609190016985 }, "else": { "operation": "boost", - "score": -0.015538513660430908 + "score": -0.0033290074206888676 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 236336.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.013095499947667122 - }, - "else": { - "operation": "boost", - "score": -0.10727464407682419 - } - }, - "else": { - "operation": "boost", - "score": -0.286746621131897 - } + "operation": "boost", + "score": -0.06783748418092728 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 642.5, + "threshold": 191566.0, "then": { "operation": "boost", - "score": 0.11676861345767975 - }, - "else": { - "operation": "boost", - "score": -0.026269210502505302 - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.03188036382198334 - }, - "else": { - "operation": "boost", - "score": -0.0349697582423687 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10518208891153336 + "score": 0.06465093791484833 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 116663.5, "then": { "operation": "boost", - "score": 0.19549372792243958 + "score": -0.07392913848161697 }, "else": { - "operation": "boost", - "score": 0.17750845849514008 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { + "operation": "boost", + "score": 0.053854454308748245 + }, + "else": { + "operation": "boost", + "score": 0.1392991840839386 + } + }, + "else": { + "operation": "boost", + "score": 0.061968397349119186 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.022866886109113693 + }, + "else": { + "operation": "boost", + "score": 0.0006749511230736971 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6731.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7092.5, + "then": { + "operation": "boost", + "score": -0.04056865721940994 + }, + "else": { + "operation": "boost", + "score": -0.46331706643104553 + } + }, + "else": { + "operation": "boost", + "score": -0.04578372836112976 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.11884935945272446 + }, + "else": { + "operation": "boost", + "score": 0.10160478204488754 + } + }, + "else": { + "operation": "boost", + "score": 0.03356080874800682 + } + }, + "else": { + "operation": "boost", + "score": -0.000688007683493197 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.019477667286992073 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.009300579316914082 + }, + "else": { + "operation": "boost", + "score": -0.0011082966811954975 + } + } + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.06800539791584015 } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1825.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.031243907287716866 + }, + "else": { + "operation": "boost", + "score": 0.001313940272666514 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.04525928944349289 + }, + "else": { + "operation": "boost", + "score": 0.02025272138416767 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.014805309474468231 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.024014370515942574 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.07490584999322891 + "score": 0.005108109209686518 }, "else": { "operation": "boost", - "score": 0.03912839666008949 + "score": 0.04407354071736336 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.021541893482208252 + }, + "else": { + "operation": "boost", + "score": -0.0199350006878376 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0593155212700367 + }, + "else": { + "operation": "boost", + "score": 0.012883846648037434 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", "Variable" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07837499678134918 + "score": -0.10939280688762665 }, "else": { "operation": "boost", - "score": -0.03982410207390785 + "score": 0.0037009681109339 } }, "else": { - "operation": "boost", - "score": 0.02706010639667511 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope", + "FileScope" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.01632048189640045 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.08568167686462402 + "score": 0.02906283736228943 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09122718125581741 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11395497620105743 - }, - "else": { - "operation": "boost", - "score": 0.1284082531929016 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13948683440685272 - }, - "else": { - "operation": "boost", - "score": 0.11906526237726212 - } - } - } + "operation": "boost", + "score": -0.07135161757469177 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0175457876175642 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08329617232084274 - }, - "else": { - "operation": "boost", - "score": 0.0805961936712265 - } - } - }, - "else": { - "operation": "boost", - "score": -0.012002633884549141 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.18022732436656952 + "score": 0.07247715443372726 }, "else": { "operation": "boost", - "score": 0.027612388134002686 + "score": -0.0206089336425066 } - }, - "else": { - "operation": "boost", - "score": -0.0572894923388958 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.02124555967748165 - }, - "else": { - "operation": "boost", - "score": -0.12386781722307205 - } + "operation": "boost", + "score": 0.014809241518378258 } - }, - "else": { - "operation": "boost", - "score": 0.004455329850316048 } } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Operator" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006184176541864872 + }, + "else": { + "operation": "boost", + "score": 0.036706238985061646 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.010453733615577221 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10159973055124283 + }, + "else": { + "operation": "boost", + "score": 0.01332151424139738 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01830599643290043 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.0020279965829104185 + "score": 0.0012367902090772986 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02906121499836445 + "score": -0.04477526620030403 }, "else": { + "operation": "boost", + "score": 0.04942285269498825 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.08826518803834915 + "score": -0.0019415990682318807 }, "else": { + "operation": "boost", + "score": -0.058337513357400894 + } + }, + "else": { + "operation": "boost", + "score": 0.015024877153337002 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.06601675599813461 + "score": 0.030286086723208427 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.13078798353672028 - }, - "else": { - "operation": "boost", - "score": 0.11932650208473206 - } + "operation": "boost", + "score": 0.012483504600822926 } + }, + "else": { + "operation": "boost", + "score": 0.033955007791519165 } }, "else": { "operation": "boost", - "score": 0.07230564951896667 + "score": -0.011300098150968552 } } + }, + "else": { + "operation": "boost", + "score": -0.018340392038226128 } - }, - "else": { - "operation": "boost", - "score": 0.0183603186160326 } + } + }, + "else": { + "operation": "boost", + "score": -0.11185437440872192 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10816860944032669 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.004169804975390434 + }, + "else": { + "operation": "boost", + "score": 0.04297995939850807 + } + }, + "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], "then": { "operation": "boost", - "score": 0.08171099424362183 + "score": -0.022447532042860985 }, "else": { + "operation": "boost", + "score": -0.10955038666725159 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.085345059633255 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.0109631372615695 + "score": 0.04353662580251694 }, "else": { "operation": "boost", - "score": 0.11113474518060684 + "score": -0.0657368078827858 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11086170375347137 - }, - "else": { - "operation": "boost", - "score": 0.11414231359958649 - } + "operation": "boost", + "score": -0.11759180575609207 }, "else": { "operation": "boost", - "score": 0.03436379134654999 + "score": 0.005724205169826746 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, "then": { - "operation": "boost", - "score": 0.11875981092453003 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.1157807931303978 - }, - "else": { - "operation": "boost", - "score": 0.1268949955701828 - } + "operation": "boost", + "score": -0.06541253626346588 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.14339077472686768 + "score": 0.022472260519862175 }, "else": { "operation": "boost", - "score": 0.11390656977891922 + "score": -0.04046831652522087 } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.037628334015607834 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "boost", - "score": 0.030413158237934113 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11377279460430145 }, "else": { "operation": "boost", - "score": 0.11836861819028854 + "score": -0.08117755502462387 } }, "else": { "operation": "boost", - "score": -0.031003408133983612 + "score": -0.019550932571291924 } - }, - "else": { - "operation": "boost", - "score": 0.14600452780723572 } } } @@ -92155,4035 +93039,2889 @@ }, "else": { "operation": "boost", - "score": -0.009753072634339333 + "score": -0.11044760048389435 } - }, - "else": { + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.0434676818549633 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", - "Namespace" + "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39783.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40755.0, - "then": { - "operation": "boost", - "score": -0.10135450959205627 - }, - "else": { - "operation": "boost", - "score": 0.12041553109884262 - } - }, - "else": { - "operation": "boost", - "score": -0.05409432202577591 - } + "operation": "boost", + "score": 0.06537231057882309 }, "else": { "operation": "boost", - "score": 0.011657556518912315 + "score": 0.030004555359482765 } }, "else": { - "operation": "boost", - "score": -0.016104796901345253 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04614033177495003 + }, + "else": { + "operation": "boost", + "score": -0.060666874051094055 + } } }, + "else": { + "operation": "boost", + "score": 0.004917940590530634 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.016607005149126053 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.015522509813308716 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.04609619453549385 - }, - "else": { - "operation": "boost", - "score": 0.11959243565797806 - } - }, - "else": { - "operation": "boost", - "score": 0.031871650367975235 - } + "operation": "boost", + "score": 0.10091196745634079 }, "else": { "operation": "boost", - "score": 0.006377519574016333 + "score": 0.13683739304542542 } }, "else": { - "operation": "boost", - "score": -0.03742305934429169 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "boost", + "score": 0.04631711170077324 + }, + "else": { + "operation": "boost", + "score": 0.006820891052484512 + } } - }, - "else": { - "operation": "boost", - "score": -0.024788713082671165 } } } } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Function", - "Type", - "Namespace" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10082.5, "then": { "operation": "boost", - "score": 0.056333646178245544 + "score": 0.05263073742389679 }, "else": { - "operation": "boost", - "score": 0.01822161115705967 - } - }, - "else": { - "operation": "boost", - "score": -0.038162097334861755 - } - }, - "else": { - "operation": "boost", - "score": -0.7045518755912781 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6360.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.13729296624660492 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04852414131164551 + "score": 0.00021719647338613868 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15737.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10774865001440048 - }, - "else": { - "operation": "boost", - "score": 0.1161368265748024 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.01750040240585804 + }, + "else": { + "operation": "boost", + "score": 0.025309456512331963 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8266.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9244.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { "operation": "boost", - "score": 0.07785721868276596 + "score": 0.05938597023487091 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "boost", + "score": 0.016718652099370956 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8853.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11338017135858536 + "score": -0.027594275772571564 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8580.5, - "then": { - "operation": "boost", - "score": 0.08314336836338043 - }, - "else": { - "operation": "boost", - "score": 0.12733455002307892 - } + "operation": "boost", + "score": 0.05990315601229668 } }, "else": { "operation": "boost", - "score": 0.09011195600032806 + "score": 0.008796686306595802 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.04632173478603363 + }, + "else": { + "operation": "boost", + "score": 0.03905278816819191 } } - }, - "else": { - "operation": "boost", - "score": 0.04626661539077759 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.035000476986169815 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10293.5, - "then": { - "operation": "boost", - "score": -0.14325794577598572 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6925.5, - "then": { - "operation": "boost", - "score": 0.11234139651060104 - }, - "else": { - "operation": "boost", - "score": 0.1124882698059082 - } - } - } + "operation": "boost", + "score": -0.0126465680077672 } - }, - "else": { - "operation": "boost", - "score": 0.04295714199542999 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.01776696927845478 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14916.5, - "then": { - "operation": "boost", - "score": 0.08458447456359863 - }, - "else": { - "operation": "boost", - "score": 0.11547242850065231 } }, "else": { - "operation": "boost", - "score": 0.04138105735182762 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11348661035299301 - }, - "else": { - "operation": "boost", - "score": 0.12170860916376114 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10704824328422546 - }, - "else": { - "operation": "boost", - "score": 0.0708945170044899 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.005311501212418079 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 3.588245090213604e-05 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.08269128203392029 - }, - "else": { - "operation": "boost", - "score": -0.13424617052078247 - } - } - }, - "else": { - "operation": "boost", - "score": 0.013917717151343822 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.02123742736876011 - }, - "else": { - "operation": "boost", - "score": 0.040552400052547455 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06786329299211502 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31541.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": -0.011967112310230732 - }, - "else": { - "operation": "boost", - "score": 0.038963038474321365 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "threshold": 57.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 58.5, "then": { "operation": "boost", - "score": 0.1013784185051918 + "score": 0.08483608812093735 }, "else": { "operation": "boost", - "score": 0.11159912496805191 + "score": 0.11915308237075806 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 8.0, "then": { "operation": "boost", - "score": 0.09719756245613098 + "score": 0.13914854824543 }, "else": { - "operation": "boost", - "score": 0.11283493041992188 - } - }, - "else": { - "operation": "boost", - "score": -0.29601192474365234 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24366.0, - "then": { - "operation": "boost", - "score": -0.051322996616363525 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20414.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { + "operation": "boost", + "score": 0.09499769657850266 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08318299055099487 + "score": 0.125129833817482 }, "else": { "operation": "boost", - "score": 0.12355715036392212 + "score": -0.06502658873796463 } - }, - "else": { - "operation": "boost", - "score": 0.0800175815820694 } - }, - "else": { - "operation": "boost", - "score": 0.03070611134171486 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.013687360100448132 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.06358610838651657 - }, - "else": { - "operation": "boost", - "score": -0.011600787751376629 - } + "operation": "boost", + "score": 0.029831886291503906 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "boost", - "score": -0.06326930224895477 + "score": 0.013631048612296581 }, "else": { "operation": "boost", - "score": 0.0034120315685868263 + "score": 0.0022733230143785477 } } } - }, - "else": { - "operation": "boost", - "score": 0.008684852160513401 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.01575368642807007 - }, - "else": { - "operation": "boost", - "score": -0.0780198946595192 } } - }, - "else": { - "operation": "boost", - "score": -0.037582967430353165 } }, "else": { "operation": "boost", - "score": -0.013309022411704063 + "score": 0.004695722367614508 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { + "operation": "boost", + "score": 0.01991737075150013 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression" + "Macro", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05586666613817215 - }, - "else": { - "operation": "boost", - "score": 0.03549237549304962 - } - }, - "else": { - "operation": "boost", - "score": 0.0346807986497879 - } + "operation": "boost", + "score": 0.00886403489857912 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2757.0, + "threshold": 296854.0, "then": { + "operation": "boost", + "score": 0.06500323116779327 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2769.0, + "threshold": 236336.5, "then": { "operation": "boost", - "score": 0.041999075561761856 + "score": -0.09156626462936401 }, "else": { - "operation": "boost", - "score": 0.28164324164390564 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "boost", - "score": -0.025694632902741432 + "score": 0.05948089808225632 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116663.5, "then": { "operation": "boost", - "score": 0.03801236301660538 + "score": -0.06911660730838776 }, "else": { - "operation": "boost", - "score": -0.11665480583906174 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "boost", + "score": 0.08618050068616867 + }, + "else": { + "operation": "boost", + "score": 0.0016890473198145628 + } } } - }, - "else": { - "operation": "boost", - "score": -0.0008745536906644702 } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.022246865555644035 + }, + "else": { + "operation": "boost", + "score": -0.05731528624892235 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 858647.0, + "threshold": 188273.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 212623.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 281926.5, "then": { "operation": "boost", - "score": 0.04582836106419563 + "score": 0.018013272434473038 }, "else": { - "operation": "boost", - "score": 0.1031181663274765 - } - }, - "else": { - "operation": "boost", - "score": 0.030557140707969666 - } - }, - "else": { - "operation": "boost", - "score": 0.011153722181916237 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08476965874433517 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.07781799882650375 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11478248238563538 - }, - "else": { - "operation": "boost", - "score": 0.08530531823635101 - } - } - } + "operation": "boost", + "score": -0.08540664613246918 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09435859322547913 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11318790912628174 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12750226259231567 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13654188811779022 - }, - "else": { - "operation": "boost", - "score": 0.11732891201972961 - } - } - }, - "else": { - "operation": "boost", - "score": 0.14816047251224518 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 234371.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.00778938177973032 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11027269065380096 - }, - "else": { - "operation": "boost", - "score": 0.11460921168327332 - } - }, - "else": { - "operation": "boost", - "score": 0.14277717471122742 - } - }, - "else": { - "operation": "boost", - "score": 0.08851328492164612 - } - }, - "else": { - "operation": "boost", - "score": 0.0837985947728157 - } - }, - "else": { - "operation": "boost", - "score": 0.049610961228609085 - } - } - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope" + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.16629987955093384 + "score": 0.1012294590473175 }, "else": { "operation": "boost", - "score": 0.027786988765001297 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.022947708144783974 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05899897590279579 - }, - "else": { - "operation": "boost", - "score": 0.05912117287516594 - } - }, - "else": { - "operation": "boost", - "score": -0.011648215353488922 - } + "score": 0.04339785873889923 } }, "else": { "operation": "boost", - "score": -0.018655981868505478 + "score": -0.13818757236003876 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.005058859474956989 - }, - "else": { - "operation": "boost", - "score": -0.13034644722938538 - } + "operation": "boost", + "score": 0.06475590914487839 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168474.5, "then": { + "operation": "boost", + "score": -0.1444423794746399 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 167779.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.09398183971643448 + }, + "else": { + "operation": "boost", + "score": -0.19713540375232697 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159339.0, + "then": { + "operation": "boost", + "score": -0.22856277227401733 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", - "Operator", - "Unknown", - "Constructor" + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.037298403680324554 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 98088.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 108163.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.03302215039730072 - }, - "else": { - "operation": "boost", - "score": -0.051145702600479126 - } + "operation": "boost", + "score": -0.20566076040267944 }, "else": { "operation": "boost", - "score": 0.13260389864444733 + "score": 0.13626264035701752 } }, "else": { "operation": "boost", - "score": -0.044928573071956635 + "score": 0.027822067961096764 } + }, + "else": { + "operation": "boost", + "score": 0.040303487330675125 } }, "else": { - "operation": "boost", - "score": -0.12407217919826508 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.04007554426789284 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.03751187026500702 + }, + "else": { + "operation": "boost", + "score": 0.0003286873979959637 + } + } } }, "else": { - "operation": "boost", - "score": -0.10288795083761215 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.026163123548030853 + "score": 0.010526537895202637 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Type" + ], "then": { - "operation": "boost", - "score": 0.03350843861699104 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.056307993829250336 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.034858766943216324 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33342.0, + "then": { + "operation": "boost", + "score": 0.06103077903389931 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04720829054713249 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10947704315185547 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.025996359065175056 + }, + "else": { + "operation": "boost", + "score": -0.09361021965742111 + } + }, + "else": { + "operation": "boost", + "score": 0.0390082448720932 + } + }, + "else": { + "operation": "boost", + "score": -0.07355809956789017 + } + }, + "else": { + "operation": "boost", + "score": 0.031476955860853195 + } + } + } + } + } + } }, "else": { "operation": "boost", - "score": 0.07730898261070251 + "score": -0.012988271191716194 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 448.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" ], "then": { "operation": "boost", - "score": 0.09760354459285736 + "score": 0.018615808337926865 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1659499853849411 - }, - "else": { - "operation": "boost", - "score": 0.11182691901922226 - } - }, - "else": { - "operation": "boost", - "score": -0.3180740177631378 - } + "operation": "boost", + "score": 0.006494444794952869 }, "else": { "operation": "boost", - "score": 0.052776679396629333 + "score": -0.06157669052481651 } } }, "else": { "operation": "boost", - "score": 0.09452398866415024 + "score": -0.02460254170000553 } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.010928434319794178 - }, - "else": { - "operation": "boost", - "score": -0.005326257552951574 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.03579071909189224 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0587376169860363 - }, - "else": { - "operation": "boost", - "score": 0.11389374732971191 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.006740173324942589 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.018643783405423164 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04846633970737457 }, "else": { - "operation": "boost", - "score": 0.11320774257183075 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Keyword", + "Macro" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { + "operation": "boost", + "score": -0.016912449151277542 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, "then": { - "operation": "boost", - "score": 0.08967337757349014 - }, - "else": { - "operation": "boost", - "score": 0.09540093690156937 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.11848071217536926 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.06467700004577637 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.09611944109201431 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.06177370995283127 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.1484692543745041 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.06424812972545624 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.119837187230587 + }, + "else": { + "operation": "boost", + "score": 0.06176620349287987 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0005432674661278725 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.029925454407930374 + }, + "else": { + "operation": "boost", + "score": 0.0519048236310482 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.005981202702969313 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.036434393376111984 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.009300119243562222 + }, + "else": { + "operation": "boost", + "score": 0.03233451023697853 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.0119941933080554 + }, + "else": { + "operation": "boost", + "score": -0.07174067944288254 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.058034222573041916 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05406728386878967 + "score": 0.0011287499219179153 }, "else": { "operation": "boost", - "score": 0.09748180955648422 + "score": -0.06079039350152016 } } }, "else": { "operation": "boost", - "score": -0.05956672132015228 + "score": -0.04479892551898956 } - }, - "else": { - "operation": "boost", - "score": 0.008974392898380756 } } } } } - }, - "else": { - "operation": "boost", - "score": -0.09145243465900421 } - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.054418738931417465 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.015019124373793602 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.020139407366514206 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.01674613542854786 - }, - "else": { - "operation": "boost", - "score": -0.1978420466184616 - } - } - } + "operation": "boost", + "score": 0.01769552007317543 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 120.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.045542068779468536 - }, - "else": { - "operation": "boost", - "score": -0.0031014145351946354 - } + "operation": "boost", + "score": 0.042738176882267 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.02383885160088539 + "score": 0.011078440584242344 }, "else": { "operation": "boost", - "score": 0.04938792437314987 + "score": -0.044913433492183685 } }, "else": { - "operation": "boost", - "score": -0.11773887276649475 - } - } - }, - "else": { - "operation": "boost", - "score": 0.008465767838060856 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 552.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 56010.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.06496864557266235 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11423.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22433.5, - "then": { - "operation": "boost", - "score": 0.09658346325159073 - }, - "else": { - "operation": "boost", - "score": 0.10907315462827682 - } - }, - "else": { - "operation": "boost", - "score": 0.12783001363277435 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.05073300749063492 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.06920643895864487 - }, - "else": { - "operation": "boost", - "score": 0.018565984442830086 - } - } - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19035.0, + "threshold": 69581.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19203.5, + "threshold": 176731.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24391.5, + "threshold": 188273.5, "then": { "operation": "boost", - "score": 0.031035684049129486 + "score": 0.041943054646253586 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.10958490520715714 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21463.5, - "then": { - "operation": "boost", - "score": 0.10499155521392822 - }, - "else": { - "operation": "boost", - "score": 0.07331069558858871 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21153.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11644239723682404 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.103324294090271 - }, - "else": { - "operation": "boost", - "score": 0.12123578041791916 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1204800009727478 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, - "then": { - "operation": "boost", - "score": 0.09196814149618149 - }, - "else": { - "operation": "boost", - "score": -0.009411809034645557 - } - } - } + "operation": "boost", + "score": -0.14767305552959442 } }, - "else": { - "operation": "boost", - "score": 0.1198195293545723 - } - }, - "else": { - "operation": "boost", - "score": 0.04176165163516998 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4310.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4324.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, - "then": { - "operation": "boost", - "score": -0.016717178747057915 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 43084.0, + "threshold": 120391.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45000.0, + "threshold": 123410.5, "then": { "operation": "boost", - "score": 0.048959892243146896 + "score": 0.060498230159282684 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.11269960552453995 + "score": -0.09394924342632294 }, "else": { "operation": "boost", - "score": 0.09624797850847244 + "score": 0.1322462409734726 } }, "else": { "operation": "boost", - "score": 0.014394156634807587 + "score": -0.1141667515039444 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24844.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.030947793275117874 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25815.0, - "then": { - "operation": "boost", - "score": -0.04644164443016052 - }, - "else": { - "operation": "boost", - "score": -0.8965163230895996 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11843398213386536 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1635984182357788 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11130837351083755 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6049.0, - "then": { - "operation": "boost", - "score": 0.09969661384820938 - }, - "else": { - "operation": "boost", - "score": 0.11532872915267944 - } - } - }, - "else": { - "operation": "boost", - "score": 0.14996445178985596 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7157.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11711.5, - "then": { - "operation": "boost", - "score": 0.053681761026382446 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11245.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12991268932819366 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11807354539632797 - }, - "else": { - "operation": "boost", - "score": 0.11282537132501602 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0898984968662262 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07504616677761078 - } - }, - "else": { - "operation": "boost", - "score": 0.0496232733130455 - } - }, - "else": { - "operation": "boost", - "score": 0.04834446310997009 - } - } - } + "operation": "boost", + "score": 0.0334947407245636 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10170615464448929 - }, - "else": { - "operation": "boost", - "score": 0.11537405848503113 - } + "operation": "boost", + "score": -0.028784077614545822 } }, "else": { "operation": "boost", - "score": 0.0047228457406163216 + "score": -0.07660795748233795 } + }, + "else": { + "operation": "boost", + "score": 0.0979456827044487 } }, "else": { - "operation": "boost", - "score": -0.00032504519913345575 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "boost", + "score": -0.12229518592357635 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47903.5, + "then": { + "operation": "boost", + "score": 0.11395049095153809 + }, + "else": { + "operation": "boost", + "score": 0.02025422267615795 + } + } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.022736577317118645 + }, + "else": { + "operation": "boost", + "score": -0.0078004891984164715 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0009485561749897897 }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.060955073684453964 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.10531524568796158 + }, + "else": { + "operation": "boost", + "score": 0.011810597032308578 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.13886532187461853 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" + "ClassScope" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.10888850688934326 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.03182118758559227 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.17463083565235138 - }, - "else": { - "operation": "boost", - "score": -0.05656004324555397 - } - }, - "else": { - "operation": "boost", - "score": 0.13254790008068085 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.11659520864486694 - }, - "else": { - "operation": "boost", - "score": 0.0951073169708252 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.05939529836177826 - }, - "else": { - "operation": "boost", - "score": -0.012629859149456024 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05930671840906143 - } + "operation": "boost", + "score": -0.18700574338436127 }, "else": { "operation": "boost", - "score": -0.02821389026939869 + "score": 0.013010665774345398 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13479238748550415 }, "else": { "operation": "boost", - "score": 0.015198169276118279 + "score": 0.010494804941117764 } - }, - "else": { - "operation": "boost", - "score": -0.008240621536970139 } + }, + "else": { + "operation": "boost", + "score": -0.008105181157588959 } }, "else": { "operation": "boost", - "score": -0.020698558539152145 + "score": -0.09009432792663574 } } } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04105702042579651 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.037100695073604584 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": -0.5757347345352173 - }, - "else": { - "operation": "boost", - "score": -0.0962938740849495 - } - } + "operation": "boost", + "score": -0.017231881618499756 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "operation": "boost", + "score": -0.17604584991931915 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.048748914152383804 + "score": 0.08283902704715729 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15652334690093994 - }, - "else": { - "operation": "boost", - "score": -0.10832421481609344 - } + "operation": "boost", + "score": -0.014637026935815811 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2318.5, - "then": { - "operation": "boost", - "score": 0.05540318414568901 - }, - "else": { - "operation": "boost", - "score": 0.06275279074907303 - } + "operation": "boost", + "score": 0.0424962043762207 } }, "else": { + "operation": "boost", + "score": 0.020236322656273842 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.08775494992733002 - }, - "else": { - "operation": "boost", - "score": 0.06449808180332184 - } + "operation": "boost", + "score": 0.0463605560362339 + }, + "else": { + "operation": "boost", + "score": 0.016872631385922432 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.003959497436881065 }, "else": { "operation": "boost", - "score": 0.05240543559193611 + "score": -0.025029011070728302 } } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.010767867788672447 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "operation": "boost", + "score": -0.11612685769796371 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.1793050765991211 + "score": 0.031486593186855316 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 896.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 902.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31541.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, - "then": { - "operation": "boost", - "score": 0.059279367327690125 - }, - "else": { - "operation": "boost", - "score": 0.10250308364629745 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.040039412677288055 - }, - "else": { - "operation": "boost", - "score": 0.041663188487291336 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10317739844322205 - }, - "else": { - "operation": "boost", - "score": -0.013579671271145344 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.02417987771332264 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.11183785647153854 - }, - "else": { - "operation": "boost", - "score": -0.5452554821968079 - } - } - }, - "else": { - "operation": "boost", - "score": -0.02800241857767105 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.02450399287045002 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 287.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 824.0, - "then": { - "operation": "boost", - "score": 0.09473424404859543 - }, - "else": { - "operation": "boost", - "score": 0.13195809721946716 - } - }, - "else": { - "operation": "boost", - "score": 0.09877585619688034 - } - }, - "else": { - "operation": "boost", - "score": 0.05800643563270569 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12306267023086548 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 619.0, - "then": { - "operation": "boost", - "score": 0.1320677101612091 - }, - "else": { - "operation": "boost", - "score": 0.08322305232286453 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.12275438755750656 - }, - "else": { - "operation": "boost", - "score": 0.10386400669813156 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, - "then": { - "operation": "boost", - "score": 0.13334359228610992 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "boost", - "score": 0.11979330331087112 - }, - "else": { - "operation": "boost", - "score": -0.11567174643278122 - } - }, - "else": { - "operation": "boost", - "score": 0.12377680838108063 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.021176116541028023 - } - }, - "else": { - "operation": "boost", - "score": 0.08048950880765915 - } - }, - "else": { - "operation": "boost", - "score": 0.03182004764676094 - } - } - } - } + "operation": "boost", + "score": -0.14725276827812195 + }, + "else": { + "operation": "boost", + "score": -0.009049896150827408 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03747669234871864 }, "else": { "operation": "boost", - "score": -0.010236942209303379 + "score": -0.11760041862726212 } + }, + "else": { + "operation": "boost", + "score": -0.04166598990559578 } } }, "else": { - "operation": "boost", - "score": -0.006144518498331308 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.004418191034346819 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.04965889826416969 + }, + "else": { + "operation": "boost", + "score": -0.1290377378463745 + } + } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11200.0, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0437740720808506 + "score": 0.04008049517869949 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace", + "Type" + ], "then": { + "operation": "boost", + "score": 0.018790144473314285 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09802475571632385 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.036790307611227036 + }, + "else": { + "operation": "boost", + "score": -0.07423635572195053 + } }, "else": { "operation": "boost", - "score": 0.022571494802832603 + "score": -0.06203550472855568 } - }, - "else": { - "operation": "boost", - "score": 0.017125073820352554 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 1300.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.06818202137947083 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "boost", + "score": 0.03639160469174385 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "boost", - "score": 0.06990315020084381 - }, - "else": { - "operation": "boost", - "score": 0.05231378600001335 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.08391193300485611 - }, - "else": { - "operation": "boost", - "score": 0.04186335206031799 - } - } + "operation": "boost", + "score": 0.03024807572364807 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", - "score": 0.046041641384363174 + "score": 0.04574919119477272 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 149.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 158.5, - "then": { - "operation": "boost", - "score": 0.03844006359577179 - }, - "else": { - "operation": "boost", - "score": 0.09764174371957779 - } - }, - "else": { - "operation": "boost", - "score": -0.013926979154348373 - } + "operation": "boost", + "score": 0.00880042091012001 } }, "else": { "operation": "boost", - "score": 0.0238500963896513 + "score": -0.005724189803004265 } }, "else": { - "operation": "boost", - "score": 0.009691997431218624 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03892077878117561 + }, + "else": { + "operation": "boost", + "score": 0.012033442966639996 + } } } - }, - "else": { - "operation": "boost", - "score": 0.003174439538270235 } - }, - "else": { - "operation": "boost", - "score": 0.0008211841341108084 } } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.015552625991404057 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 120.5, "then": { - "operation": "boost", - "score": -0.00011407351848902181 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { + "operation": "boost", + "score": 0.03009229339659214 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.055319253355264664 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "boost", - "score": 0.03105471283197403 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 99880.5, "then": { "operation": "boost", - "score": 0.0304380152374506 + "score": -0.06078767776489258 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 98088.5, "then": { "operation": "boost", - "score": 0.09177760034799576 + "score": 0.12603884935379028 }, "else": { - "operation": "boost", - "score": 0.10642676055431366 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4938.5, + "then": { + "operation": "boost", + "score": 0.00610078452154994 + }, + "else": { + "operation": "boost", + "score": 0.052912041544914246 + } } } }, "else": { "operation": "boost", - "score": 0.12208757549524307 + "score": 0.0023054652847349644 } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.16105873882770538 + }, + "else": { + "operation": "boost", + "score": 0.11564847826957703 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01048929151147604 + }, + "else": { + "operation": "boost", + "score": -0.038581185042858124 + } + }, + "else": { + "operation": "boost", + "score": 0.03914244845509529 } } - }, - "else": { - "operation": "boost", - "score": 0.027938485145568848 } }, "else": { "operation": "boost", - "score": 0.015755824744701385 + "score": 0.04662083089351654 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, - "then": { - "operation": "boost", - "score": 0.06867407262325287 - }, - "else": { - "operation": "boost", - "score": 0.028126386925578117 - } + "operation": "boost", + "score": 0.044552549719810486 }, "else": { - "operation": "boost", - "score": -0.2127716839313507 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0021319251973181963 + "score": 0.0005204029148444533 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.012987065128982067 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 34243.5, "then": { + "operation": "boost", + "score": 0.056882500648498535 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08944357931613922 + "score": -0.22162650525569916 }, "else": { + "operation": "boost", + "score": 0.020706042647361755 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 1392.0, "then": { "operation": "boost", - "score": 0.08025994896888733 + "score": -0.05439665913581848 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.1278180181980133 + "score": 0.1438538134098053 }, "else": { "operation": "boost", - "score": 0.11547364294528961 + "score": 0.18355749547481537 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118314.0, - "then": { - "operation": "boost", - "score": -0.10766060650348663 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11520245671272278 - }, - "else": { - "operation": "boost", - "score": 0.08048352599143982 - } + "operation": "boost", + "score": 0.06596371531486511 } + }, + "else": { + "operation": "boost", + "score": 0.017023714259266853 } } } - }, - "else": { - "operation": "boost", - "score": 0.015622173435986042 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.08011465519666672 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.055574558675289154 + }, + "else": { + "operation": "boost", + "score": 0.007061059586703777 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.00949164293706417 - }, - "else": { - "operation": "boost", - "score": 0.1141238734126091 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.07892005890607834 - }, - "else": { - "operation": "boost", - "score": 0.11771708726882935 - } - }, - "else": { - "operation": "boost", - "score": 0.045310404151678085 - } - } + "operation": "boost", + "score": 0.044468484818935394 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.021174969151616096 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.4182620048522949 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, "then": { "operation": "boost", - "score": 0.11569403111934662 + "score": 0.19044767320156097 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.11510356515645981 - }, - "else": { - "operation": "boost", - "score": 0.1246563121676445 - } - }, - "else": { - "operation": "boost", - "score": 0.11961387097835541 - } + "operation": "boost", + "score": 0.10685832053422928 } + }, + "else": { + "operation": "boost", + "score": 0.0025846934877336025 } - }, - "else": { - "operation": "boost", - "score": -0.1036909893155098 } } } }, "else": { - "operation": "boost", - "score": 0.0027367197908461094 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.07518445700407028 + }, + "else": { + "operation": "boost", + "score": -0.08775011450052261 + } } }, "else": { - "operation": "boost", - "score": 0.03469590097665787 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00822228193283081 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0640980452299118 + "score": -0.05749422311782837 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.035098522901535034, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type" + "Macro", + "Type" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "boost", - "score": 0.03751181811094284 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10331443697214127 - }, - "else": { - "operation": "boost", - "score": 0.11495780199766159 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.09910009801387787 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0873652920126915 + "score": -0.05776900425553322 }, "else": { "operation": "boost", - "score": 0.11198475956916809 + "score": 0.12906663119792938 } }, "else": { "operation": "boost", - "score": 0.09541306644678116 + "score": 0.03637619689106941 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.00022969962446950376 + }, + "else": { + "operation": "boost", + "score": 0.025984404608607292 } } + }, + "else": { + "operation": "boost", + "score": -0.03813124820590019 } }, "else": { + "operation": "boost", + "score": -0.0062629482708871365 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10229814797639847 + "score": 0.10085245221853256 }, "else": { "operation": "boost", - "score": -0.0013734424719586968 + "score": 0.030609816312789917 } + }, + "else": { + "operation": "boost", + "score": 0.00851849652826786 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33449.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.08481350541114807 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": 0.06804139167070389 + }, + "else": { + "operation": "boost", + "score": 0.11053574830293655 + } }, "else": { - "operation": "boost", - "score": 0.13034231960773468 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.013453341089189053 + }, + "else": { + "operation": "boost", + "score": 0.03371778875589371 + } } }, "else": { "operation": "boost", - "score": 0.021148880943655968 + "score": 0.003305082907900214 } } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsNameInContext", "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1109665036201477 - }, - "else": { - "operation": "boost", - "score": 0.019109180197119713 - } - } - }, - "else": { - "operation": "boost", - "score": -0.007726233918219805 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.003335708985105157 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.012791267596185207 + }, + "else": { + "operation": "boost", + "score": -0.06440457701683044 + } + }, + "else": { + "operation": "boost", + "score": -0.03451082482933998 + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5663.5, - "then": { - "operation": "boost", - "score": 0.08966038376092911 - }, - "else": { - "operation": "boost", - "score": 0.05006154254078865 - } + "operation": "boost", + "score": 0.039276912808418274 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.14795951545238495 + "score": 0.031052321195602417 }, "else": { - "operation": "boost", - "score": -0.28153613209724426 - } - }, - "else": { - "operation": "boost", - "score": 0.06383686512708664 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 682.0, - "then": { - "operation": "boost", - "score": 0.10978098213672638 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.20880979299545288 + }, + "else": { + "operation": "boost", + "score": -0.11235108971595764 + } + }, + "else": { + "operation": "boost", + "score": 0.008451576344668865 + } + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -1.5767089128494263 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.041748981922864914 + }, + "else": { + "operation": "boost", + "score": 0.009075114503502846 + } + }, + "else": { + "operation": "boost", + "score": 0.0009624421363696456 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.08501172065734863 + "score": -0.10410244017839432 }, "else": { "operation": "boost", - "score": 0.13879667222499847 + "score": -0.15531226992607117 } } } - }, - "else": { - "operation": "boost", - "score": 0.07294178754091263 } - } - }, - "else": { - "operation": "boost", - "score": 0.041226983070373535 - } - }, - "else": { - "operation": "boost", - "score": 0.1084766685962677 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.05654335767030716 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09726296365261078 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15072163939476013 - }, - "else": { - "operation": "boost", - "score": 0.08614400029182434 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04913511127233505 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.10545092821121216 - }, - "else": { - "operation": "boost", - "score": 0.06807728856801987 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.06573942303657532 + "score": 0.0958361029624939 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.048418715596199036 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07735010236501694 - }, - "else": { - "operation": "boost", - "score": 0.1082824096083641 - } - } + "operation": "boost", + "score": 0.023621493950486183 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11905276775360107 - }, - "else": { - "operation": "boost", - "score": -0.10762564092874527 - } - }, - "else": { - "operation": "boost", - "score": -0.7695448398590088 - } - }, - "else": { - "operation": "boost", - "score": 0.06044192612171173 - } - }, - "else": { - "operation": "boost", - "score": 0.030341768637299538 - } + "operation": "boost", + "score": -0.0021904688328504562 } }, "else": { "operation": "boost", - "score": 0.042515333741903305 + "score": 0.022085458040237427 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel", + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.06024845689535141 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.0516928993165493 + }, + "else": { + "operation": "boost", + "score": -0.04822525009512901 + } }, "else": { "operation": "boost", - "score": -0.010925321839749813 + "score": 0.0299016572535038 } } + }, + "else": { + "operation": "boost", + "score": -0.12644533812999725 } - }, - "else": { - "operation": "boost", - "score": -0.0047847554087638855 } }, "else": { - "operation": "boost", - "score": -0.13053588569164276 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.06090843304991722 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8460.0, - "then": { - "operation": "boost", - "score": 0.052483025938272476 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.06397204846143723 - }, - "else": { - "operation": "boost", - "score": -0.26731985807418823 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04475809633731842 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Type" + "Function", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.11416976898908615 - }, - "else": { - "operation": "boost", - "score": 0.12559424340724945 - } + "operation": "boost", + "score": 0.04803824797272682 }, "else": { "operation": "boost", - "score": 0.1562146544456482 + "score": -0.07177163660526276 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.15957945585250854 - }, - "else": { - "operation": "boost", - "score": 0.16691552102565765 - } - }, - "else": { - "operation": "boost", - "score": 0.09368803352117538 - } + "operation": "boost", + "score": -0.002357656368985772 } - }, - "else": { - "operation": "boost", - "score": 0.050306592136621475 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.05354788526892662 }, "else": { "operation": "boost", - "score": 0.06526617705821991 + "score": -0.03105163387954235 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07607553154230118 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.11302125453948975 - }, - "else": { - "operation": "boost", - "score": -0.42555931210517883 - } + "operation": "boost", + "score": 0.0348626933991909 }, "else": { "operation": "boost", - "score": 0.038714636117219925 + "score": -0.003758589504286647 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15692441165447235 + "score": -0.09758062660694122 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12590235471725464 - }, - "else": { - "operation": "boost", - "score": -0.10096262395381927 - } - }, - "else": { - "operation": "boost", - "score": -0.01289917528629303 - } + "operation": "boost", + "score": -0.0016921875067055225 } } } }, "else": { - "operation": "boost", - "score": 0.06747472286224365 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.07976129651069641 - }, - "else": { - "operation": "boost", - "score": 0.06332841515541077 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04691476374864578 + }, + "else": { + "operation": "boost", + "score": 0.008272189646959305 + } + }, + "else": { + "operation": "boost", + "score": -0.04011697694659233 + } } } - }, - "else": { - "operation": "boost", - "score": 0.02216263674199581 } - }, - "else": { - "operation": "boost", - "score": -0.005686386954039335 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", + "CCC_Namespace", "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": 0.041110701858997345 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.04323635995388031 - }, - "else": { - "operation": "boost", - "score": -0.0013212681515142322 - } - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": -0.018087340518832207 + "score": 0.045772671699523926 }, "else": { "operation": "boost", - "score": -0.17730110883712769 + "score": -0.01907969079911709 } + }, + "else": { + "operation": "boost", + "score": 0.0488976426422596 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.012991616502404213 + "score": 0.014501474797725677 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.03653471916913986 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.06198114529252052 - }, - "else": { - "operation": "boost", - "score": 0.03763628751039505 - } - }, - "else": { - "operation": "boost", - "score": 0.04199433699250221 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02903536520898342 - } - }, - "else": { - "operation": "boost", - "score": 0.028919130563735962 - } + "operation": "boost", + "score": -0.008779989555478096 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 23.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.0815599113702774 + }, + "else": { + "operation": "boost", + "score": 0.03848912939429283 } + }, + "else": { + "operation": "boost", + "score": 0.01352621614933014 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05760873481631279 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.014388681389391422 + }, + "else": { + "operation": "boost", + "score": 0.041829053312540054 + } }, "else": { "operation": "boost", - "score": -0.10695401579141617 + "score": 0.0014898446388542652 } } - }, - "else": { - "operation": "boost", - "score": 0.006410025525838137 } - }, - "else": { - "operation": "boost", - "score": 0.0006696001510135829 } } } @@ -96191,334 +95929,206 @@ }, { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0163880567997694 - }, - "else": { - "operation": "boost", - "score": -0.03795398399233818 - } - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 46.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6360.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, + "operation": "boost", + "score": 0.07206141948699951 + }, + "else": { + "operation": "boost", + "score": 0.032875906676054 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.04681795835494995 + "score": 0.060764748603105545 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13648.0, - "then": { - "operation": "boost", - "score": 0.112042136490345 - }, - "else": { - "operation": "boost", - "score": 0.0672244057059288 - } + "operation": "boost", + "score": 0.026925433427095413 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.018885938450694084 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14916.5, - "then": { - "operation": "boost", - "score": 0.08217563480138779 - }, - "else": { - "operation": "boost", - "score": 0.11428388953208923 - } - }, - "else": { - "operation": "boost", - "score": 0.041039399802684784 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.11220629513263702 - }, - "else": { - "operation": "boost", - "score": 0.12125342339277267 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10557905584573746 + "score": 0.043559178709983826 }, "else": { "operation": "boost", - "score": 0.06534349918365479 + "score": -0.05464918911457062 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.017743553966283798 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04630691930651665 + "score": -0.05364804342389107 }, "else": { - "operation": "boost", - "score": -0.01669161207973957 - } - }, - "else": { - "operation": "boost", - "score": -0.059455111622810364 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.04867655783891678 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { "operation": "boost", - "score": 0.07122763246297836 + "score": -0.03745052218437195 }, "else": { "operation": "boost", - "score": 0.038583628833293915 + "score": 0.003025791374966502 } - }, - "else": { - "operation": "boost", - "score": 0.04227396100759506 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0004779496230185032 - }, - "else": { - "operation": "boost", - "score": 0.02124938741326332 } } - }, - "else": { - "operation": "boost", - "score": 0.0027727577835321426 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.041260696947574615 }, "else": { - "operation": "boost", - "score": 0.02525823749601841 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": -0.0038868889678269625 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63355.5, - "then": { - "operation": "boost", - "score": 0.13659057021141052 - }, - "else": { - "operation": "boost", - "score": 0.027053629979491234 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, "then": { - "operation": "boost", - "score": -0.058628056198358536 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.09606858342885971 + "score": 0.0186779722571373 }, "else": { "operation": "boost", - "score": -0.11005115509033203 + "score": 0.07884956896305084 } + }, + "else": { + "operation": "boost", + "score": 0.12263157963752747 } }, "else": { "operation": "boost", - "score": 0.017947833985090256 + "score": -0.04094868153333664 } }, "else": { @@ -96527,233 +96137,324 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1148671880364418 + "score": 0.03918440267443657 }, "else": { "operation": "boost", - "score": -0.007521668449044228 + "score": -0.040675681084394455 } } - } - }, - "else": { - "operation": "boost", - "score": -0.057283490896224976 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11200.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11308.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04206709936261177 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0961955264210701 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03692564740777016 + }, + "else": { + "operation": "boost", + "score": -0.09175467491149902 + } }, "else": { - "operation": "boost", - "score": 0.021359283477067947 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.04033005237579346 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": 0.07578017562627792 + }, + "else": { + "operation": "boost", + "score": 0.12695612013339996 + } + }, + "else": { + "operation": "boost", + "score": 0.06763997673988342 + } + } + }, + "else": { + "operation": "boost", + "score": 0.038844313472509384 + } } }, "else": { - "operation": "boost", - "score": 0.017386402934789658 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.04723542556166649 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.012276604771614075 + }, + "else": { + "operation": "boost", + "score": 0.08082020282745361 + } + }, + "else": { + "operation": "boost", + "score": 0.001915031811222434 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.012564416043460369 + }, + "else": { + "operation": "boost", + "score": -0.014244114980101585 + } + } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11209.5, + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Operator", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.025416487827897072 + "score": -0.0018375503132119775 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.07834864407777786 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "boost", + "score": 0.06696493923664093 + }, + "else": { + "operation": "boost", + "score": 0.03143089637160301 + } }, "else": { "operation": "boost", - "score": 0.14313814043998718 + "score": -0.0293552465736866 } } }, "else": { - "operation": "boost", - "score": 0.025862064212560654 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.17811445891857147 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": 0.2692127823829651 + }, + "else": { + "operation": "boost", + "score": 0.008373741991817951 + } }, "else": { "operation": "boost", - "score": 0.007333116605877876 + "score": -0.053463615477085114 } - }, - "else": { - "operation": "boost", - "score": 0.3320293426513672 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08605776727199554 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": -0.08557277172803879 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08305396139621735 + "score": 0.045406240969896317 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.07686042040586472 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11376751959323883 - }, - "else": { - "operation": "boost", - "score": 0.08152207732200623 - } - } + "operation": "boost", + "score": 0.02811427041888237 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.08939637243747711 + "score": 0.03848155215382576 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.11062607169151306 + "score": -0.5155418515205383 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1275779902935028 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13106076419353485 - }, - "else": { - "operation": "boost", - "score": 0.11409441381692886 - } - } - }, - "else": { - "operation": "boost", - "score": 0.13111086189746857 - } + "operation": "boost", + "score": -0.18863269686698914 } } } @@ -96762,1010 +96463,448 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0061248852871358395 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.1202009841799736 - }, - "else": { - "operation": "boost", - "score": -0.10706224292516708 - } - }, - "else": { - "operation": "boost", - "score": 0.11222730576992035 - } - }, - "else": { - "operation": "boost", - "score": 0.13856889307498932 - } - }, - "else": { - "operation": "boost", - "score": 0.08518686145544052 - } - }, - "else": { - "operation": "boost", - "score": 0.07901700586080551 - } - }, - "else": { - "operation": "boost", - "score": 0.04599772021174431 - } - } + "operation": "boost", + "score": 0.0782860815525055 }, "else": { "operation": "boost", - "score": 0.024207694455981255 + "score": 0.026128679513931274 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02602410688996315 - }, - "else": { - "operation": "boost", - "score": -0.019480399787425995 - } + "operation": "boost", + "score": 0.019840501248836517 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.016845285892486572 - }, - "else": { - "operation": "boost", - "score": 0.07842114567756653 - } - }, - "else": { - "operation": "boost", - "score": -0.022261643782258034 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.01009997259825468 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.05364629626274109 + "score": 0.0745910257101059 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.095374695956707 + "score": 0.15171365439891815 }, "else": { "operation": "boost", - "score": 0.095738984644413 + "score": 0.14363425970077515 } } - } - }, - "else": { - "operation": "boost", - "score": -0.005810008849948645 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1762150228023529 }, "else": { - "operation": "boost", - "score": 0.027569977566599846 - } - }, - "else": { - "operation": "boost", - "score": 0.02906663715839386 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03806176781654358 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor" - ], - "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { "operation": "boost", - "score": -0.03129812702536583 + "score": 0.06042564660310745 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.029331211000680923 - }, - "else": { - "operation": "boost", - "score": 0.1372128576040268 - } - }, - "else": { - "operation": "boost", - "score": -0.026103336364030838 - } + "operation": "boost", + "score": 0.15943121910095215 }, "else": { "operation": "boost", - "score": -0.04217727109789848 + "score": 0.06862872838973999 } } - }, - "else": { - "operation": "boost", - "score": -0.11868148297071457 } }, "else": { "operation": "boost", - "score": -0.09781377017498016 + "score": -0.006926950067281723 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.03646276891231537 + } + }, + "else": { + "operation": "boost", + "score": 0.022527875378727913 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02207236737012863 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03233272209763527 - }, - "else": { - "operation": "boost", - "score": 0.08036213368177414 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.16820934414863586 - }, - "else": { - "operation": "boost", - "score": 0.10867325961589813 - } - }, - "else": { - "operation": "boost", - "score": -0.11569187045097351 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.09717860072851181 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.08669430762529373 - }, - "else": { - "operation": "boost", - "score": -0.005901901517063379 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.14308597147464752 - } - } - } + "operation": "boost", + "score": 0.002756634261459112 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74740.0, "then": { "operation": "boost", - "score": 0.010449814610183239 + "score": 0.09317293018102646 }, "else": { "operation": "boost", - "score": -0.003474958473816514 + "score": 0.02109207585453987 } } + }, + "else": { + "operation": "boost", + "score": 0.006835853215306997 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": -0.0016145480331033468 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "GlobalScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": -0.01710072159767151 + "score": -0.13369978964328766 }, "else": { "operation": "boost", - "score": -0.06423246115446091 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5647.0, - "then": { - "operation": "boost", - "score": 0.10285380482673645 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04877963662147522 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.15542390942573547 - }, - "else": { - "operation": "boost", - "score": 0.11300810426473618 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04708545655012131 - } + "score": -0.11170926690101624 } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.03752858564257622 + }, + "else": { + "operation": "boost", + "score": 0.09271413832902908 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "boost", + "score": 0.022404244169592857 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.041177406907081604 - }, - "else": { - "operation": "boost", - "score": -0.002333443844690919 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": -0.022171664983034134 - }, - "else": { - "operation": "boost", - "score": -0.1737380474805832 - } - }, - "else": { - "operation": "boost", - "score": 0.10784222930669785 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "boost", - "score": 0.07800186425447464 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11365028470754623 - }, - "else": { - "operation": "boost", - "score": -0.10381922870874405 - } - }, - "else": { - "operation": "boost", - "score": 0.08706019073724747 - } - }, - "else": { - "operation": "boost", - "score": 0.06787335127592087 - } - }, - "else": { - "operation": "boost", - "score": 0.013069610111415386 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.05716024711728096 - }, - "else": { - "operation": "boost", - "score": -0.0005937865353189409 - } - } - }, - "else": { - "operation": "boost", - "score": 0.026369882747530937 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0008690996328368783 - } + "operation": "boost", + "score": 0.019557319581508636 }, "else": { "operation": "boost", - "score": -0.000567403098102659 + "score": -0.004223562777042389 } + }, + "else": { + "operation": "boost", + "score": -0.016114210709929466 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.046873509883880615 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.09184373915195465 + "score": 0.007617449853569269 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08411869406700134 - }, - "else": { - "operation": "boost", - "score": 0.05097726732492447 - } + "operation": "boost", + "score": 0.10105389356613159 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02485729567706585 - }, - "else": { - "operation": "boost", - "score": 0.09463326632976532 - } + "operation": "boost", + "score": 0.05745235085487366 } }, "else": { "operation": "boost", - "score": -0.008241844363510609 + "score": 0.00015539051673840731 } } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0904168039560318 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08638183027505875 - }, - "else": { - "operation": "boost", - "score": 0.02255217730998993 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.16028663516044617 - }, - "else": { - "operation": "boost", - "score": -0.1068832278251648 - } + "operation": "boost", + "score": 0.029006032273173332 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.12102676182985306 - }, - "else": { - "operation": "boost", - "score": -0.2673211693763733 - } + "operation": "boost", + "score": -0.0015981891192495823 } - }, - "else": { - "operation": "boost", - "score": -0.013304667547345161 } - }, - "else": { - "operation": "boost", - "score": -0.02376498281955719 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "FunctionScope" ], "then": { "operation": "boost", - "score": 0.014218645170331001 - }, - "else": { - "operation": "boost", - "score": -0.011384723708033562 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.012712503783404827 - }, - "else": { - "operation": "boost", - "score": 0.06697653979063034 - } - }, - "else": { - "operation": "boost", - "score": 0.00724938465282321 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2007.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.0895376205444336 + "score": 0.018687991425395012 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24308.0, + "threshold": 38.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.011370310559868813 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.00011117298708995804 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.09051787108182907 + }, + "else": { + "operation": "boost", + "score": 0.009430029429495335 + } + }, + "else": { + "operation": "boost", + "score": 0.029012572020292282 + } + } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" + "Namespace", + "Variable" ], "then": { "operation": "boost", - "score": 0.014135392382740974 + "score": 0.07317130267620087 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 432212.0, + "threshold": 19968.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 25940.5, "then": { "operation": "boost", - "score": -0.33262401819229126 + "score": 0.04225064814090729 }, "else": { - "operation": "boost", - "score": 0.039518777281045914 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "boost", + "score": 0.10088250786066055 + }, + "else": { + "operation": "boost", + "score": 0.04644254222512245 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.1399393081665039 + "score": -0.014859527349472046 }, "else": { "operation": "boost", - "score": -0.03851113095879555 + "score": 0.02584080770611763 } } } @@ -97774,1087 +96913,519 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7103.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.059845615178346634 - }, - "else": { - "operation": "boost", - "score": 0.11808077245950699 - } - }, - "else": { - "operation": "boost", - "score": 0.05326658859848976 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, - "then": { - "operation": "boost", - "score": 0.10611044615507126 - }, - "else": { - "operation": "boost", - "score": 0.0974397137761116 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13264977931976318 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10628580302000046 - }, - "else": { - "operation": "boost", - "score": 0.11785533279180527 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.14669111371040344 - }, - "else": { - "operation": "boost", - "score": 0.13231933116912842 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11588437855243683 - } - } - } - } + "operation": "boost", + "score": -0.020688043907284737 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", "CCC_Symbol", "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11605.0, - "then": { - "operation": "boost", - "score": 0.033564455807209015 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.11044168472290039 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7434.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8187.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8265.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8506.0, - "then": { - "operation": "boost", - "score": 0.11055117100477219 - }, - "else": { - "operation": "boost", - "score": -0.15736214816570282 - } - }, - "else": { - "operation": "boost", - "score": 0.11369460821151733 - } - }, - "else": { - "operation": "boost", - "score": -0.002903086831793189 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10835311561822891 - }, - "else": { - "operation": "boost", - "score": 0.08336123824119568 - } - }, - "else": { - "operation": "boost", - "score": 0.11119896918535233 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12240078300237656 - }, - "else": { - "operation": "boost", - "score": 0.0745239183306694 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14555.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18139.5, - "then": { - "operation": "boost", - "score": -0.10728286951780319 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17327.0, - "then": { - "operation": "boost", - "score": 0.12086668610572815 - }, - "else": { - "operation": "boost", - "score": 0.11429555714130402 - } - }, - "else": { - "operation": "boost", - "score": -0.11415302008390427 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10808650404214859 - } - }, - "else": { - "operation": "boost", - "score": 0.08137495070695877 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06540583819150925 - } + "operation": "boost", + "score": 0.028289271518588066 }, "else": { "operation": "boost", - "score": 0.04619299992918968 + "score": 0.0068213921040296555 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, + "operation": "boost", + "score": -0.046918727457523346 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08765628188848495 - }, - "else": { - "operation": "boost", - "score": 0.10701030492782593 - } - }, - "else": { - "operation": "boost", - "score": -0.08146880567073822 - } + "operation": "boost", + "score": 0.0038619970437139273 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24164.5, - "then": { - "operation": "boost", - "score": -0.10250594466924667 - }, - "else": { - "operation": "boost", - "score": 0.11504463851451874 - } - }, - "else": { - "operation": "boost", - "score": 0.05078556761145592 - } + "operation": "boost", + "score": 0.014250781387090683 } }, "else": { "operation": "boost", - "score": 0.039904747158288956 + "score": -0.11621180921792984 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7081.5, - "then": { - "operation": "boost", - "score": -0.3700868785381317 }, "else": { "operation": "boost", - "score": 0.028523892164230347 + "score": -0.003931946121156216 } } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0062354435212910175 + "score": -0.04324723407626152 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04287667199969292 + "score": -0.06764782965183258 }, "else": { - "operation": "boost", - "score": 0.014106810092926025 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.061394624412059784 + "score": -0.0454011894762516 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09290014207363129 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09228067100048065 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10949837416410446 - }, - "else": { - "operation": "boost", - "score": 0.12791672348976135 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1284111589193344 - }, - "else": { - "operation": "boost", - "score": 0.12409568578004837 - } - } - } - } + "operation": "boost", + "score": 0.009603488259017467 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.006577915512025356 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09563586860895157 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11830440163612366 - }, - "else": { - "operation": "boost", - "score": 0.12249799072742462 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08201462030410767 - } - }, - "else": { - "operation": "boost", - "score": 0.07347958534955978 - } - }, - "else": { - "operation": "boost", - "score": 0.04353887960314751 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02448834665119648 - } - }, - "else": { - "operation": "boost", - "score": 0.0035209027118980885 - } + "operation": "boost", + "score": -0.174080491065979 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.07555735111236572 + }, + "else": { + "operation": "boost", + "score": 0.03278103098273277 } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.009458140470087528 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4724.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4809.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04788602516055107 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0024646404199302197 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" + "Namespace", + "Type", + "Variable" ], "then": { "operation": "boost", - "score": 0.01196307223290205 + "score": 0.037892721593379974 }, "else": { "operation": "boost", - "score": -0.0173349529504776 + "score": 0.019695132970809937 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4777.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.2394275814294815 + }, + "else": { + "operation": "boost", + "score": 0.065458282828331 + } }, "else": { "operation": "boost", - "score": 0.0001914749591378495 + "score": 0.09156343340873718 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", "CCC_SymbolOrNewName", - "CCC_Other" + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06624539196491241 + "score": -0.14507848024368286 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07887017726898193 - }, - "else": { - "operation": "boost", - "score": 0.041397031396627426 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01670435443520546 - }, - "else": { - "operation": "boost", - "score": 0.09227734804153442 - } - } + "operation": "boost", + "score": 0.018006939440965652 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.02028624527156353 + "score": -0.03204500675201416 }, "else": { "operation": "boost", - "score": -0.04712958633899689 + "score": 0.002927349181845784 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 458.0, - "then": { - "operation": "boost", - "score": 0.07547803968191147 - }, - "else": { - "operation": "boost", - "score": 0.13051718473434448 - } - }, - "else": { - "operation": "boost", - "score": 0.06850282847881317 - } - }, - "else": { - "operation": "boost", - "score": 0.04817560315132141 - } + "operation": "boost", + "score": 0.07934954762458801 }, "else": { "operation": "boost", - "score": -0.016733642667531967 + "score": 0.03982485830783844 } }, "else": { "operation": "boost", - "score": -0.07096695154905319 + "score": -0.04359908401966095 } }, "else": { - "operation": "boost", - "score": -0.05266650393605232 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" - ], - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_Type" + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.03934461250901222 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "boost", + "score": 0.05611506476998329 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.11774799227714539 + "score": 0.014449289999902248 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10318152606487274 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.11334889382123947 - }, - "else": { - "operation": "boost", - "score": -0.11949720233678818 - } - } - }, - "else": { - "operation": "boost", - "score": -1.745175541145727e-05 - } - }, - "else": { - "operation": "boost", - "score": 0.047842223197221756 - } + "operation": "boost", + "score": -0.01470847986638546 } - }, - "else": { - "operation": "boost", - "score": 0.008214760571718216 } - }, - "else": { - "operation": "boost", - "score": -0.0023124851286411285 } }, "else": { "operation": "boost", - "score": -0.007647773716598749 + "score": -0.032235078513622284 } - }, - "else": { - "operation": "boost", - "score": -0.049524303525686264 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.06550610065460205 + "score": 0.010013054125010967 }, "else": { "operation": "boost", - "score": 0.0344441793859005 + "score": -0.08339560776948929 } }, "else": { - "operation": "boost", - "score": 0.034818727523088455 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15139897167682648 - }, - "else": { - "operation": "boost", - "score": 0.12595206499099731 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11059929430484772 - }, - "else": { - "operation": "boost", - "score": 0.059271037578582764 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10584205389022827 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.10719461739063263 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.1661926507949829 - }, - "else": { - "operation": "boost", - "score": 0.11426982283592224 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05607953667640686 - } - }, - "else": { - "operation": "boost", - "score": 0.09320685267448425 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06563470512628555 - } + "operation": "boost", + "score": -0.004089669790118933 }, "else": { "operation": "boost", - "score": 0.04000730812549591 + "score": -0.07885318249464035 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.08924373239278793 - }, - "else": { - "operation": "boost", - "score": 0.07777409255504608 - } + "operation": "boost", + "score": -9.687299461802468e-05 }, "else": { "operation": "boost", - "score": 0.06513924896717072 + "score": 0.012244309298694134 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.03874659910798073 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "boost", - "score": 0.055791549384593964 - }, - "else": { - "operation": "boost", - "score": 0.023986244574189186 - } - } - }, - "else": { - "operation": "boost", - "score": 0.008156634867191315 - } + "operation": "boost", + "score": -0.009205595590174198 } - }, - "else": { - "operation": "boost", - "score": 0.0005468350718729198 } } } @@ -98864,300 +97435,387 @@ }, { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "ClassScope", + "FileScope", + "GlobalScope" ], "then": { - "operation": "boost", - "score": 0.015222183428704739 - }, - "else": { - "operation": "boost", - "score": -0.0377466194331646 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.016222042962908745 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.06156446039676666 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.027976421639323235 + }, + "else": { + "operation": "boost", + "score": -0.029897339642047882 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.07028959691524506 + "score": 0.12346014380455017 }, "else": { "operation": "boost", - "score": 0.12966704368591309 + "score": -0.0852026492357254 } } + }, + "else": { + "operation": "boost", + "score": -0.10104726254940033 } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "boost", + "score": -0.16199244558811188 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.0278407521545887 - }, - "else": { "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope" + "ClassScope", + "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", "Variable" ], - "then": { - "operation": "boost", - "score": 0.06774892657995224 - }, - "else": { - "operation": "boost", - "score": 0.038604360073804855 - } - }, - "else": { - "operation": "boost", - "score": 0.02795519307255745 - } - }, - "else": { - "operation": "boost", - "score": 0.007536064833402634 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.10072097927331924 - }, - "else": { - "operation": "boost", - "score": 0.0056487214751541615 - } - }, - "else": { - "operation": "boost", - "score": -0.006880889646708965 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.06033611670136452 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.025118399411439896 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08065369725227356 - }, - "else": { - "operation": "boost", - "score": 0.10325681418180466 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10115622729063034 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.0513664074242115 - }, - "else": { - "operation": "boost", - "score": -0.0417315810918808 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.05125279352068901 - }, - "else": { - "operation": "boost", - "score": 0.027807150036096573 - } + "operation": "boost", + "score": 0.07840599864721298 }, "else": { "operation": "boost", - "score": -0.04578853398561478 + "score": -0.012243119068443775 } }, "else": { "operation": "boost", - "score": -0.09721001982688904 + "score": 0.03993644565343857 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.008605257607996464 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.0547906830906868 + "score": 0.018027449026703835 }, "else": { "operation": "boost", - "score": 0.027055658400058746 + "score": -0.09946931898593903 } } + }, + "else": { + "operation": "boost", + "score": 0.01765330135822296 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.022511428222060204 + }, + "else": { + "operation": "boost", + "score": -0.11699681729078293 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.07600966095924377 + }, + "else": { + "operation": "boost", + "score": 0.021067675203084946 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.00028935709269717336 + }, + "else": { + "operation": "boost", + "score": -0.048129767179489136 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.029456064105033875 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8217.5, + "then": { + "operation": "boost", + "score": -0.26123306155204773 + }, + "else": { + "operation": "boost", + "score": -0.01658075861632824 } } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03152866289019585 + }, + "else": { + "operation": "boost", + "score": -0.03605586662888527 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.013706988655030727 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.02926739677786827 + }, + "else": { + "operation": "boost", + "score": -0.08642549812793732 } } } @@ -99165,930 +97823,1057 @@ }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, + "feature": "FractionNameInContext", + "threshold": 0.23303167521953583, "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.1889885812997818 + }, + "else": { + "operation": "boost", + "score": 0.061760928481817245 + } + }, + "else": { + "operation": "boost", + "score": 0.030248722061514854 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234.5, + "then": { + "operation": "boost", + "score": 0.050652436912059784 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.015098980627954006 + }, + "else": { + "operation": "boost", + "score": 0.012307027354836464 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.002782319439575076 + }, + "else": { + "operation": "boost", + "score": 0.0133379390463233 + } + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205637.0, + "threshold": 120.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232885.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.028956713154911995 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { + "operation": "boost", + "score": 0.025965576991438866 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.10356961935758591 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.0034738928079605103 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 327227.0, + "threshold": 63551.0, "then": { - "operation": "boost", - "score": 0.10226493328809738 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": 0.00409740349277854 + }, + "else": { + "operation": "boost", + "score": 0.059568874537944794 + } }, "else": { "operation": "boost", - "score": 0.03467216342687607 + "score": 0.015330738388001919 } + }, + "else": { + "operation": "boost", + "score": 0.0042724586091935635 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 263945.0, "then": { "operation": "boost", - "score": 0.12283138930797577 + "score": 0.06490904092788696 }, "else": { "operation": "boost", - "score": 0.10006901621818542 + "score": 0.005402117967605591 } }, "else": { - "operation": "boost", - "score": 0.01993466354906559 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56762.0, + "then": { + "operation": "boost", + "score": -0.157640278339386 + }, + "else": { + "operation": "boost", + "score": -0.036265868693590164 + } } } }, "else": { "operation": "boost", - "score": 0.022188421338796616 + "score": 0.11655662208795547 } - } - }, - "else": { - "operation": "boost", - "score": -0.0013560170773416758 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1269340068101883 }, "else": { - "operation": "boost", - "score": 0.03696778044104576 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.02359423227608204 + }, + "else": { + "operation": "boost", + "score": 0.03770177438855171 + } } - }, - "else": { - "operation": "boost", - "score": 0.024593517184257507 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.047518130391836166 }, "else": { "operation": "boost", - "score": -0.43231233954429626 + "score": 0.04161845147609711 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.04267645254731178 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", - "Operator", + "Function", + "Keyword", + "Macro", + "Namespace", "Unknown", - "Constructor", - "Type", - "Namespace" + "Variable" ], "then": { "operation": "boost", - "score": 0.08744392544031143 + "score": 0.012104342691600323 }, "else": { "operation": "boost", - "score": -0.11061277240514755 + "score": -0.02553577721118927 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 56010.5, "then": { - "operation": "boost", - "score": 0.30719491839408875 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.055320028215646744 + }, + "else": { + "operation": "boost", + "score": 0.002600056119263172 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.11851023882627487 + "score": 0.10972978174686432 }, "else": { "operation": "boost", - "score": -0.11514341086149216 + "score": 0.09063219279050827 } } }, "else": { "operation": "boost", - "score": 0.010189978405833244 + "score": 0.019500402733683586 } } - }, - "else": { - "operation": "boost", - "score": 0.03365654870867729 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" + "Macro", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.057571012526750565 - }, - "else": { - "operation": "boost", - "score": 0.10971719771623611 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.04840891808271408 + "score": 0.11810559779405594 }, "else": { "operation": "boost", - "score": 0.08654813468456268 + "score": 0.06927484273910522 } - } - }, - "else": { - "operation": "boost", - "score": -0.2761431932449341 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.09272880852222443 - }, - "else": { - "operation": "boost", - "score": 0.1229669526219368 - } - }, - "else": { - "operation": "boost", - "score": 0.04512179642915726 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09965753555297852 }, "else": { "operation": "boost", - "score": 0.10518518090248108 + "score": -0.028027435764670372 } }, "else": { - "operation": "boost", - "score": 0.1248968094587326 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.011293618008494377 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.09538482129573822 - }, - "else": { - "operation": "boost", - "score": 0.08160386979579926 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11954725533723831 - }, - "else": { - "operation": "boost", - "score": 0.1273864209651947 - } - }, - "else": { - "operation": "boost", - "score": 0.08231890201568604 - } - }, - "else": { - "operation": "boost", - "score": -0.17893339693546295 - } - }, - "else": { - "operation": "boost", - "score": 0.12412501871585846 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.0947161540389061 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.13591215014457703 - }, - "else": { - "operation": "boost", - "score": 0.07647211104631424 - } - }, - "else": { - "operation": "boost", - "score": 0.13015080988407135 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, - "then": { - "operation": "boost", - "score": 0.0993603989481926 - }, - "else": { - "operation": "boost", - "score": 0.061129167675971985 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, - "then": { - "operation": "boost", - "score": 0.08033515512943268 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.02380952425301075, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.04332993924617767 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.12297366559505463 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03637463226914406 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11570818722248077 + }, + "else": { + "operation": "boost", + "score": 0.019202303141355515 + } + }, + "else": { + "operation": "boost", + "score": -0.02498564124107361 + } + }, + "else": { + "operation": "boost", + "score": 0.035658638924360275 + } + } }, "else": { - "operation": "boost", - "score": 0.08395574241876602 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.09819086641073227 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": 0.02387552708387375 + }, + "else": { + "operation": "boost", + "score": 0.054393839091062546 + } + }, + "else": { + "operation": "boost", + "score": -0.01422639936208725 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.020927734673023224 } }, "else": { - "operation": "boost", - "score": -0.019600864499807358 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "boost", + "score": 0.009846163913607597 + }, + "else": { + "operation": "boost", + "score": -0.014134456403553486 + } } }, "else": { - "operation": "boost", - "score": 0.016417235136032104 - } - }, - "else": { - "operation": "boost", - "score": 0.05330626294016838 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.3591793179512024 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11912.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99880.5, - "then": { - "operation": "boost", - "score": -0.08317742496728897 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75477.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Namespace" ], "then": { - "operation": "boost", - "score": 0.153207927942276 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.04038776457309723 + "score": 0.023827601224184036 }, "else": { + "operation": "boost", + "score": 0.005768734961748123 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89371.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { - "operation": "boost", - "score": 0.11610791087150574 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.12468650937080383 + "score": -0.002310876501724124 }, "else": { "operation": "boost", - "score": -0.10612571984529495 + "score": -0.05969751626253128 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11542760580778122 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76763.5, - "then": { - "operation": "boost", - "score": 0.017442164942622185 - }, - "else": { - "operation": "boost", - "score": 0.1789778172969818 - } + "operation": "boost", + "score": 0.01252078264951706 } + }, + "else": { + "operation": "boost", + "score": 0.011251511983573437 } + }, + "else": { + "operation": "boost", + "score": -0.01151289977133274 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0025727611500769854 }, "else": { "operation": "boost", - "score": 0.05645914748311043 + "score": -0.07177291065454483 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.008440650068223476 + "score": 0.01827268861234188 + }, + "else": { + "operation": "boost", + "score": -0.016170555725693703 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.031125228852033615 + }, + "else": { + "operation": "boost", + "score": -0.0059385341592133045 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 86.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04941180720925331 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.11728756129741669 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.057350169867277145 + }, + "else": { + "operation": "boost", + "score": 0.08480794727802277 + } }, "else": { "operation": "boost", - "score": -0.10251528024673462 + "score": 0.052195243537425995 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 34.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.022854400798678398 + }, + "else": { + "operation": "boost", + "score": -0.025140108540654182 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.0495871976017952 }, "else": { "operation": "boost", - "score": 0.0528707318007946 + "score": 0.014091034419834614 } } } + }, + "else": { + "operation": "boost", + "score": -0.12004073709249496 } } }, "else": { - "operation": "boost", - "score": -0.006132381036877632 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.02593200094997883 + }, + "else": { + "operation": "boost", + "score": -0.045360397547483444 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.053334906697273254 + }, + "else": { + "operation": "boost", + "score": 0.025305328890681267 + } + } + }, + "else": { + "operation": "boost", + "score": 0.007872170768678188 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.06371573358774185 - }, - "else": { - "operation": "boost", - "score": 0.005505015607923269 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 120391.0, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.07125776261091232 + "score": -0.027199266478419304 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131140.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.041848763823509216 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.10320436954498291 + "score": 0.019407017156481743 }, "else": { "operation": "boost", - "score": 0.08203589171171188 + "score": 0.002760627306997776 } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.10818924754858017 - }, - "else": { - "operation": "boost", - "score": 0.11825942993164062 - } - }, - "else": { - "operation": "boost", - "score": 0.1221337541937828 - } + "operation": "boost", + "score": -0.029802381992340088 }, "else": { "operation": "boost", - "score": 0.11325450241565704 + "score": -0.2259327471256256 } + }, + "else": { + "operation": "boost", + "score": -0.06943868845701218 } + }, + "else": { + "operation": "boost", + "score": -0.07334505766630173 } - }, - "else": { - "operation": "boost", - "score": -0.03776627033948898 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2844.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.05342399701476097 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2865.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11120700091123581 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" + "Constructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3030.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "boost", + "score": -0.010385612957179546 + }, + "else": { + "operation": "boost", + "score": -0.059432677924633026 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.025490373373031616 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23063.5, - "then": { - "operation": "boost", - "score": 0.11862793564796448 - }, - "else": { - "operation": "boost", - "score": -0.05037100985646248 - } - }, - "else": { - "operation": "boost", - "score": -0.04612359404563904 - } + "operation": "boost", + "score": 0.027369698509573936 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1363314539194107 - }, - "else": { - "operation": "boost", - "score": 0.0946098268032074 - } + "operation": "boost", + "score": 0.004565492272377014 } }, "else": { - "operation": "boost", - "score": 0.060881588608026505 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.002195828128606081 + }, + "else": { + "operation": "boost", + "score": -0.08970291167497635 + } } - }, - "else": { - "operation": "boost", - "score": 0.03603222966194153 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FractionNameInContext", + "threshold": 0.035098522901535034, "then": { "operation": "boost", - "score": 0.12183598428964615 + "score": 0.003149392083287239 }, "else": { "operation": "boost", - "score": 0.1007986068725586 + "score": -0.0076941680163145065 } } - }, - "else": { - "operation": "boost", - "score": 0.04352768510580063 } }, "else": { "operation": "boost", - "score": 0.010592574253678322 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.006039645057171583 - }, - "else": { - "operation": "boost", - "score": 0.12180040031671524 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.00771256722509861 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.04458343982696533 - }, - "else": { - "operation": "boost", - "score": 0.02501790225505829 + "score": -0.1118781790137291 } } } @@ -100096,41 +98881,109 @@ }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], + "then": { + "operation": "boost", + "score": 0.03667404502630234 + }, + "else": { + "operation": "boost", + "score": 0.009346842765808105 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.17813318967819214 + "score": 0.05261973664164543 }, "else": { "operation": "boost", - "score": 0.10770446062088013 + "score": 0.020371265709400177 } }, "else": { - "operation": "boost", - "score": 0.1653481423854828 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.021131327375769615 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 23.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06351539492607117 + }, + "else": { + "operation": "boost", + "score": 0.03238349407911301 + } + }, + "else": { + "operation": "boost", + "score": -0.061416566371917725 + } + }, + "else": { + "operation": "boost", + "score": 0.0066382382065057755 + } + }, + "else": { + "operation": "boost", + "score": -0.024585364386439323 + } + } } - }, - "else": { - "operation": "boost", - "score": -0.002932087518274784 } } - }, - "else": { - "operation": "boost", - "score": 0.0002227326767751947 } } } @@ -100145,1312 +98998,1407 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5394.0, "then": { + "operation": "boost", + "score": 0.059999845921993256 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope" + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.02605646476149559 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.03589833155274391 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.07150706648826599 + "score": 0.0367005281150341 }, "else": { "operation": "boost", - "score": 0.012407969683408737 + "score": 0.011135446839034557 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 122.5, - "then": { - "operation": "boost", - "score": 0.06485482305288315 - }, - "else": { - "operation": "boost", - "score": 0.13287925720214844 - } + "operation": "boost", + "score": 0.003299789736047387 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.01858401671051979 + "score": 0.006414040457457304 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09378086775541306 - }, - "else": { - "operation": "boost", - "score": 0.01871163584291935 - } - }, - "else": { - "operation": "boost", - "score": -0.10071002691984177 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.007305405102670193 - }, - "else": { - "operation": "boost", - "score": 0.03088224120438099 - } - }, - "else": { - "operation": "boost", - "score": -0.01723775453865528 - } - } + "operation": "boost", + "score": 0.03496182709932327 } } - }, - "else": { - "operation": "boost", - "score": 0.0229963269084692 } - } - }, - "else": { - "operation": "boost", - "score": -0.012265131808817387 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.1067826896905899 - }, - "else": { - "operation": "boost", - "score": -0.021000143140554428 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2301.5, - "then": { - "operation": "boost", - "score": 0.014720641076564789 }, "else": { "operation": "boost", - "score": 0.004419982898980379 + "score": -0.16796159744262695 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.05997221916913986 + "score": 0.030494684353470802 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.04385679215192795 + }, + "else": { + "operation": "boost", + "score": -0.17262287437915802 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05097613483667374 - }, - "else": { - "operation": "boost", - "score": 0.014580471441149712 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.07485323399305344 + }, + "else": { + "operation": "boost", + "score": 0.03418472409248352 + } + }, + "else": { + "operation": "boost", + "score": 0.014904329553246498 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, "then": { + "operation": "boost", + "score": 0.06098787859082222 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 35.5, "then": { "operation": "boost", - "score": 0.08178090304136276 + "score": 0.10212890058755875 }, "else": { "operation": "boost", - "score": -0.13667242228984833 + "score": 0.2015175074338913 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.038887783885002136 }, "else": { "operation": "boost", - "score": 0.12444748729467392 + "score": -0.06041523069143295 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.07408419251441956 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": -1.0884262323379517 + "score": 0.1672564595937729 }, "else": { "operation": "boost", - "score": -0.14019200205802917 + "score": 0.10258150100708008 } } } }, "else": { - "operation": "boost", - "score": -0.06190063804388046 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.4121217727661133 + }, + "else": { + "operation": "boost", + "score": 0.016623605042696 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.32428252696990967 + "score": -0.021299047395586967 }, "else": { "operation": "boost", - "score": -0.16796249151229858 + "score": -0.07496010512113571 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], + "operation": "boost", + "score": -0.049314409494400024 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "operation": "boost", + "score": -0.14595571160316467 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "boost", - "score": 0.019974706694483757 + "score": 0.04589444771409035 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.1061350628733635 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.1119827926158905 - }, - "else": { - "operation": "boost", - "score": 0.08773238211870193 - } - } + "operation": "boost", + "score": 0.01499840896576643 } }, "else": { "operation": "boost", - "score": -0.12070313096046448 + "score": -0.003364401403814554 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10148710012435913 - }, - "else": { - "operation": "boost", - "score": 0.11958421766757965 - } - }, - "else": { - "operation": "boost", - "score": 0.0032719627488404512 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 34.5, "then": { "operation": "boost", - "score": -0.017223643139004707 + "score": -0.052139174193143845 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04104802384972572 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 59512.5, "then": { "operation": "boost", - "score": 0.06725556403398514 + "score": -0.10594604909420013 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "boost", - "score": 0.12095407396554947 + "score": 0.10820161551237106 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12072662264108658 - }, - "else": { - "operation": "boost", - "score": 0.11987292766571045 - } + "operation": "boost", + "score": -0.01897764392197132 } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.08267640322446823 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.18074509501457214 - }, - "else": { - "operation": "boost", - "score": -0.054119233042001724 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.10661912709474564 - }, - "else": { - "operation": "boost", - "score": -0.2130347490310669 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117984.0, - "then": { - "operation": "boost", - "score": -0.04510018229484558 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro" + ], "then": { - "operation": "boost", - "score": 0.01827598176896572 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 108984.0, + "threshold": 151424.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11747898906469345 - }, - "else": { - "operation": "boost", - "score": 0.02147352695465088 - } + "operation": "boost", + "score": 0.06287229061126709 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10819052904844284 + "score": 0.05973834544420242 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07779654860496521 + "score": -0.24603410065174103 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09200350940227509 - }, - "else": { - "operation": "boost", - "score": 0.11988192051649094 - } - }, - "else": { - "operation": "boost", - "score": 0.07885532081127167 - } + "operation": "boost", + "score": 0.11232347041368484 } } }, "else": { "operation": "boost", - "score": -0.10716181248426437 + "score": -0.187574103474617 } }, "else": { "operation": "boost", - "score": 0.0410345084965229 + "score": -0.02530699595808983 } }, "else": { "operation": "boost", - "score": 0.0532398521900177 + "score": 0.016656072810292244 } }, "else": { "operation": "boost", - "score": 0.04885426536202431 + "score": 0.007682160008698702 } } + }, + "else": { + "operation": "boost", + "score": -0.0005192339303903282 } } } - }, - "else": { - "operation": "boost", - "score": 0.013728059828281403 } } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0003423729503992945 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, + "then": { + "operation": "boost", + "score": 0.05660240724682808 + }, + "else": { + "operation": "boost", + "score": 0.0967518538236618 + } + }, + "else": { + "operation": "boost", + "score": 0.024446187540888786 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0443752221763134 + }, + "else": { + "operation": "boost", + "score": -0.08320096135139465 + } + } + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", "CCC_Statement", - "CCC_Namespace" + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.011331886053085327 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07739751785993576 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148934.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.00036272304714657366 + "score": 0.03093569166958332 }, "else": { "operation": "boost", - "score": 0.11042357236146927 + "score": 0.1203204020857811 } }, "else": { + "operation": "boost", + "score": 0.0017726122168824077 + } + }, + "else": { + "operation": "boost", + "score": -0.04952637106180191 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1558704376220703, + "then": { + "operation": "boost", + "score": 0.016707489266991615 + }, + "else": { + "operation": "boost", + "score": 0.010185997001826763 + } + }, + "else": { + "operation": "boost", + "score": -0.11947037279605865 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.028603676706552505 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.04880952462553978, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07562145590782166 + "score": -0.20978260040283203 }, "else": { "operation": "boost", - "score": 0.11524003744125366 + "score": 0.04646321386098862 } }, "else": { "operation": "boost", - "score": -0.03521697595715523 + "score": 0.010681167244911194 } }, "else": { "operation": "boost", - "score": 0.11584791541099548 + "score": 0.00253682560287416 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09046617895364761 + }, + "else": { + "operation": "boost", + "score": -0.11752552539110184 } } }, "else": { + "operation": "boost", + "score": 0.10093560069799423 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.05708376318216324 + }, + "else": { + "operation": "boost", + "score": 0.004402089398354292 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.10606135427951813 + "score": 0.11433184146881104 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 26.5, "then": { - "operation": "boost", - "score": 0.11621260643005371 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": -0.05662062391638756 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08389978110790253 + }, + "else": { + "operation": "boost", + "score": 0.046299047768116 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0063761938363313675 + } }, "else": { "operation": "boost", - "score": 0.11921567469835281 + "score": -0.010800966061651707 } } }, "else": { - "operation": "boost", - "score": 0.11224214732646942 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.08153422921895981 + }, + "else": { + "operation": "boost", + "score": 0.001242998638190329 + } + }, + "else": { + "operation": "boost", + "score": 0.0044263978488743305 + } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.0782366544008255 }, "else": { - "operation": "boost", - "score": -0.10334983468055725 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.21296614408493042 + }, + "else": { + "operation": "boost", + "score": -0.11019354313611984 + } } } } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86511.0, + "then": { + "operation": "boost", + "score": 0.07425707578659058 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0333237498998642 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.011676819995045662 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.009918025694787502 + }, + "else": { + "operation": "boost", + "score": 0.011875782161951065 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.005416477099061012 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 104520.5, + "threshold": 119809.5, "then": { - "operation": "boost", - "score": 0.055174145847558975 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97466.0, + "threshold": 131033.0, "then": { "operation": "boost", - "score": 0.10775597393512726 + "score": 0.08590472489595413 }, "else": { - "operation": "boost", - "score": -0.1482658088207245 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09073320031166077 + }, + "else": { + "operation": "boost", + "score": 0.13240568339824677 + } } + }, + "else": { + "operation": "boost", + "score": 0.07781877368688583 } }, "else": { "operation": "boost", - "score": -0.030436193570494652 + "score": 0.015170847065746784 } } }, "else": { "operation": "boost", - "score": 0.030760420486330986 + "score": -0.01536569558084011 } + }, + "else": { + "operation": "boost", + "score": -0.06772133708000183 } }, "else": { - "operation": "boost", - "score": -0.0064721787348389626 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", "Function", - "Namespace" + "Macro", + "Namespace", + "Variable" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.040223628282547 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.015894591808319092 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.09854082763195038 + }, + "else": { + "operation": "boost", + "score": 0.042500194162130356 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06609336286783218 - }, - "else": { - "operation": "boost", - "score": 0.1158699169754982 - } + "operation": "boost", + "score": 0.07135593146085739 }, "else": { "operation": "boost", - "score": 0.08426232635974884 + "score": -9.488161595072597e-05 } } }, "else": { - "operation": "boost", - "score": 0.02989281341433525 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23047.5, + "then": { + "operation": "boost", + "score": 0.03951925039291382 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.006534911692142487 + }, + "else": { + "operation": "boost", + "score": 0.037082038819789886 + } + } } }, "else": { "operation": "boost", - "score": 0.010714899748563766 + "score": 0.011492914520204067 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0002596431295387447 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 304083.5, + "then": { + "operation": "boost", + "score": -0.12658096849918365 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.0805462971329689 + }, + "else": { + "operation": "boost", + "score": -0.041913945227861404 + } } }, "else": { "operation": "boost", - "score": -0.06396342813968658 + "score": -0.06333062797784805 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2058.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 8506.0, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "boost", + "score": 0.03779643774032593 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": 0.1438121646642685 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.08339829742908478 + }, + "else": { + "operation": "boost", + "score": 0.021531937643885612 + } }, "else": { - "operation": "boost", - "score": 0.03334589675068855 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04824136570096016 + "score": -0.06374657899141312 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22792.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09826666116714478 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24374.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53478.0, + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.1828867793083191 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.018787328153848648 + }, + "else": { + "operation": "boost", + "score": 0.015264918096363544 + } }, "else": { "operation": "boost", - "score": -0.2746266722679138 + "score": -0.05601263418793678 } }, "else": { - "operation": "boost", - "score": 0.12723033130168915 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.07441685348749161 - }, - "else": { - "operation": "boost", - "score": 0.11546960473060608 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.004879108630120754 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5929.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.14277130365371704 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.042568791657686234 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.012542026117444038 + }, + "else": { + "operation": "boost", + "score": -0.012850752100348473 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11510835587978363 - }, - "else": { - "operation": "boost", - "score": 0.1271827518939972 - } + "operation": "boost", + "score": 0.030736656859517097 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7311.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.10276421904563904 + "score": 0.001964410999789834 }, "else": { "operation": "boost", - "score": 0.11686693876981735 + "score": 0.025860359892249107 } - } - }, - "else": { - "operation": "boost", - "score": -0.17713280022144318 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61387.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11491192132234573 }, "else": { "operation": "boost", - "score": -0.40766119956970215 + "score": -0.014374143444001675 } - }, - "else": { - "operation": "boost", - "score": 0.04710274934768677 } } - }, - "else": { - "operation": "boost", - "score": 0.07595030963420868 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61155.5, - "then": { - "operation": "boost", - "score": -0.1104644387960434 - }, - "else": { - "operation": "boost", - "score": -0.4604669511318207 - } }, "else": { "operation": "boost", - "score": 0.025837615132331848 + "score": -0.1054556667804718 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03487382084131241 - }, - "else": { - "operation": "boost", - "score": 0.01450202614068985 - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Namespace" + "ClassScope", + "FileScope" ], "then": { - "operation": "boost", - "score": 0.10083679109811783 - }, - "else": { - "operation": "boost", - "score": 0.013387041166424751 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.02551882527768612 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8493.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8701.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.07238571345806122 + "score": 0.06809727102518082 }, "else": { "operation": "boost", - "score": 0.12600693106651306 + "score": 0.012447888031601906 } }, "else": { "operation": "boost", - "score": 0.019718071445822716 + "score": -0.009784668684005737 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.009345168247818947 + "score": 0.02874496579170227 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08226409554481506 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08323410153388977 - }, - "else": { - "operation": "boost", - "score": 0.0986100286245346 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05879083648324013 - } + "operation": "boost", + "score": 0.0037180916406214237 } } - }, - "else": { - "operation": "boost", - "score": 0.013967829756438732 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.01681201532483101 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.05885821953415871 - }, - "else": { - "operation": "boost", - "score": 0.0846586525440216 - } - }, - "else": { - "operation": "boost", - "score": 0.03886092081665993 } - }, - "else": { - "operation": "boost", - "score": 0.012124607339501381 } } } @@ -101459,3044 +100407,2406 @@ }, { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.05655878409743309 + }, + "else": { + "operation": "boost", + "score": 0.018780697137117386 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1996075063943863 + "score": -0.0028569456189870834 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.014192401431500912 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.343137264251709, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.05817131698131561 + "score": 0.029951946809887886 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.017158769071102142 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1127360463142395 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.0905570536851883 - }, - "else": { - "operation": "boost", - "score": 0.10471045970916748 - } - }, - "else": { - "operation": "boost", - "score": 0.079247385263443 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.046314626932144165 - } + "operation": "boost", + "score": 0.09278161078691483 } }, "else": { "operation": "boost", - "score": 0.02018781192600727 + "score": 0.009011354297399521 } + }, + "else": { + "operation": "boost", + "score": -0.015428265556693077 } }, - "else": { - "operation": "boost", - "score": 0.005348753184080124 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0319412536919117 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.017206978052854538 - }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Destructor", - "Unknown", + "Constructor", "Function", + "Macro", + "Namespace", + "Operator", "Type", - "Namespace" + "Variable" ], "then": { - "operation": "boost", - "score": 0.028692355379462242 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.07371587306261063 - }, - "else": { - "operation": "boost", - "score": 0.01574854366481304 - } + "operation": "boost", + "score": 0.030848465859889984 }, "else": { "operation": "boost", - "score": 0.08274255692958832 + "score": 0.016175219789147377 } + }, + "else": { + "operation": "boost", + "score": -0.12003493309020996 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.010983777232468128 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2013.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2015.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04905340075492859 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 820317.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08531233668327332 + "score": 0.016562214121222496 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, + "feature": "FileProximityDistanceCost", + "threshold": 29.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61155.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1962215006351471 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61318.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { + "operation": "boost", + "score": 0.05213085561990738 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", - "score": 0.033034548163414 + "score": 0.03383727744221687 }, "else": { "operation": "boost", - "score": -0.11647643893957138 + "score": 0.0007580540841445327 } - }, - "else": { - "operation": "boost", - "score": -0.006593164522200823 } }, "else": { - "operation": "boost", - "score": 0.10863428562879562 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.09761904925107956, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06394219398498535 - }, - "else": { - "operation": "boost", - "score": -0.346941739320755 - } - }, - "else": { - "operation": "boost", - "score": -0.4166484773159027 - } + "operation": "boost", + "score": 0.0012015588581562042 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12332145124673843 - }, - "else": { - "operation": "boost", - "score": -0.009118026122450829 - } + "operation": "boost", + "score": 0.10590396076440811 } - }, - "else": { - "operation": "boost", - "score": -0.027667861431837082 } } }, + "else": { + "operation": "boost", + "score": -0.016966544091701508 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.017435694113373756 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.021749896928668022 + }, + "else": { + "operation": "boost", + "score": -0.05458897724747658 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.0364827997982502 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7103.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Function", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.029757201671600342 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7166.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8408.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.04575693607330322 + }, + "else": { + "operation": "boost", + "score": 0.004576199222356081 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8476.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07592881470918655 + "score": 0.02566862851381302 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.11628075689077377 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09967310726642609 + }, + "else": { + "operation": "boost", + "score": 0.0064409272745251656 + } }, "else": { - "operation": "boost", - "score": -0.1595335602760315 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.18569549918174744 + }, + "else": { + "operation": "boost", + "score": 0.25252798199653625 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.13169491291046143 + }, + "else": { + "operation": "boost", + "score": 0.1021914929151535 + } + } } } }, "else": { "operation": "boost", - "score": 0.019152894616127014 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7145.0, - "then": { - "operation": "boost", - "score": 0.11289793998003006 - }, - "else": { - "operation": "boost", - "score": 0.20014412701129913 + "score": 0.007691866718232632 } } }, + "else": { + "operation": "boost", + "score": 0.01079937070608139 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, + "then": { + "operation": "boost", + "score": -0.03823171183466911 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20608.0, + "threshold": 19176.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49299.0, - "then": { - "operation": "boost", - "score": 0.11022043973207474 - }, - "else": { - "operation": "boost", - "score": -0.1319546401500702 - } - }, - "else": { - "operation": "boost", - "score": -0.06636503338813782 - } + "operation": "boost", + "score": 0.10350263118743896 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20410.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.11053047329187393 - }, - "else": { - "operation": "boost", - "score": 0.10027848929166794 - } + "operation": "boost", + "score": 0.042087361216545105 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.06893905997276306 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12069585919380188 - }, - "else": { - "operation": "boost", - "score": -0.10434170067310333 - } - } + "operation": "boost", + "score": 0.13448169827461243 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.06176665797829628 + "score": -0.03366788849234581 }, "else": { "operation": "boost", - "score": 0.1221412792801857 + "score": 0.0026453742757439613 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Keyword", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12453475594520569 + "score": -0.13439612090587616 }, "else": { "operation": "boost", - "score": 0.07061014324426651 + "score": 0.013730434700846672 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18842.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19220.5, - "then": { - "operation": "boost", - "score": -0.21993780136108398 - }, - "else": { - "operation": "boost", - "score": 0.11561378091573715 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0972176119685173 - }, - "else": { - "operation": "boost", - "score": -0.1497158706188202 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04636991024017334 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33949.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.054379794746637344 + "score": -0.011254052631556988 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.12022699415683746 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12250497937202454 - }, - "else": { - "operation": "boost", - "score": 0.06705186516046524 - } - } + "operation": "boost", + "score": -0.05039924383163452 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23527.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.03479449823498726 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ClassStructUnion", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": -0.19664224982261658 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1135098785161972 + "score": -0.11066985130310059 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11222623288631439 - }, - "else": { - "operation": "boost", - "score": 0.14129230380058289 - } + "operation": "boost", + "score": 0.032572221010923386 } + }, + "else": { + "operation": "boost", + "score": -0.11537347733974457 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08566278964281082 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05357908084988594 + "score": -0.11397617310285568 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10410760343074799 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76763.5, + "then": { + "operation": "boost", + "score": 0.024327926337718964 + }, + "else": { + "operation": "boost", + "score": -0.02563866786658764 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11702.0, - "then": { - "operation": "boost", - "score": -0.1046375259757042 - }, - "else": { - "operation": "boost", - "score": 0.12848113477230072 - } + "operation": "boost", + "score": -0.07851066440343857 }, "else": { "operation": "boost", - "score": 0.21850866079330444 + "score": 0.012293297797441483 } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32329.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.014783789403736591 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.010549576953053474 + }, + "else": { + "operation": "boost", + "score": 0.05731713026762009 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.07490140199661255 + "score": 0.014335177838802338 }, "else": { "operation": "boost", - "score": 0.05140407010912895 + "score": -0.1126018762588501 } + }, + "else": { + "operation": "boost", + "score": -0.02320118434727192 } } } } + } + }, + "else": { + "operation": "boost", + "score": -0.035509321838617325 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.07263775914907455 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "boost", + "score": 0.049740228801965714 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "boost", - "score": 0.09380879253149033 - }, - "else": { - "operation": "boost", - "score": -0.04911450669169426 - } + "operation": "boost", + "score": -0.022784464061260223 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol" + "Constructor", + "Destructor", + "Keyword", + "Macro" ], "then": { - "operation": "boost", - "score": 0.03932145982980728 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { + "operation": "boost", + "score": -0.013665090315043926 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 178863.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30126.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10617195814847946 - }, - "else": { - "operation": "boost", - "score": 0.09128059446811676 - } - }, - "else": { - "operation": "boost", - "score": 0.11146797984838486 - } + "operation": "boost", + "score": 0.052865561097860336 }, "else": { "operation": "boost", - "score": 0.035124797374010086 + "score": 0.010308504104614258 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "boost", + "score": -0.5279580354690552 }, "else": { "operation": "boost", - "score": -0.04512675106525421 + "score": -0.027863604947924614 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7081.5, - "then": { - "operation": "boost", - "score": -0.273457795381546 }, "else": { - "operation": "boost", - "score": 0.025745665654540062 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.12933818995952606 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.004733403213322163 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.039960604161024094 - }, - "else": { - "operation": "boost", - "score": 0.01353180781006813 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.048389632254838943 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0907345712184906 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0806216225028038 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1095169186592102 - }, - "else": { - "operation": "boost", - "score": 0.12780897319316864 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12581218779087067 - }, - "else": { - "operation": "boost", - "score": 0.1225782185792923 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.004684169311076403 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09607616066932678 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11578259617090225 - }, - "else": { - "operation": "boost", - "score": 0.11807162314653397 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07922372967004776 - } - }, - "else": { - "operation": "boost", - "score": 0.07131318002939224 - } - }, - "else": { - "operation": "boost", - "score": 0.03830990940332413 - } - } - }, - "else": { - "operation": "boost", - "score": 0.021564926952123642 - } - }, - "else": { - "operation": "boost", - "score": 0.004450944717973471 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "GlobalScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Keyword", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.023461678996682167 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.0052857547998428345 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.104324571788311 - }, - "else": { - "operation": "boost", - "score": 0.0657273381948471 - } - }, - "else": { - "operation": "boost", - "score": -0.026681138202548027 - } + "operation": "boost", + "score": 0.13329261541366577 }, "else": { "operation": "boost", - "score": -0.34607475996017456 + "score": 0.025821158662438393 } + }, + "else": { + "operation": "boost", + "score": -0.026992756873369217 } - }, - "else": { - "operation": "boost", - "score": 0.020107341930270195 } }, "else": { "operation": "boost", - "score": -0.04695618897676468 + "score": -0.04208843782544136 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.02048751711845398 + "score": -0.07519478350877762 }, "else": { "operation": "boost", - "score": 0.04512559995055199 + "score": -0.10419312864542007 } } - }, - "else": { - "operation": "boost", - "score": 0.011555218137800694 } - }, - "else": { - "operation": "boost", - "score": -0.016626683995127678 } } - }, - "else": { - "operation": "boost", - "score": 0.0001373049453832209 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Other" + "Function", + "Macro" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": -0.057473812252283096 + "score": 0.051098089665174484 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83.5, - "then": { - "operation": "boost", - "score": -0.3640061318874359 - }, - "else": { - "operation": "boost", - "score": 0.0843447595834732 - } - }, - "else": { - "operation": "boost", - "score": 0.040612783282995224 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.015359980054199696 - }, - "else": { - "operation": "boost", - "score": 0.08948705345392227 - } - } + "operation": "boost", + "score": 0.025647277012467384 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.01858322136104107 + "score": 0.03845896199345589 }, "else": { "operation": "boost", - "score": -0.04421335831284523 + "score": 0.0015722744865342975 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 34.5, "then": { - "operation": "boost", - "score": -0.020884381607174873 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "boost", + "score": 0.03745754063129425 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Variable" + ], "then": { "operation": "boost", - "score": 0.01668235845863819 + "score": 0.010735615156590939 }, "else": { "operation": "boost", - "score": 0.07012762874364853 + "score": -0.026646453887224197 } }, "else": { - "operation": "boost", - "score": 0.025531373918056488 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 38.5, + "threshold": 56010.5, "then": { + "operation": "boost", + "score": 0.0323273167014122 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.07891016453504562 + "score": 0.10696668177843094 }, "else": { "operation": "boost", - "score": 0.0641339048743248 + "score": 0.08574328571557999 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "boost", + "score": -0.11292045563459396 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 47903.5, "then": { "operation": "boost", - "score": 0.07773824781179428 + "score": 0.11005241423845291 }, "else": { "operation": "boost", - "score": 0.04231167212128639 + "score": 0.017832661047577858 } } - }, - "else": { - "operation": "boost", - "score": 0.020721709355711937 } - }, - "else": { - "operation": "boost", - "score": -0.002789352321997285 } } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1332462579011917 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.014055776409804821 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.022462183609604836 + }, + "else": { + "operation": "boost", + "score": -0.013426230289041996 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.05164337158203125 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.05095802992582321 + "score": 0.008277458138763905 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1172543466091156 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.09595806896686554 - }, - "else": { - "operation": "boost", - "score": 0.1038350984454155 - } - }, - "else": { - "operation": "boost", - "score": 0.09717953205108643 - } - } + "operation": "boost", + "score": 0.04553498327732086 } }, "else": { "operation": "boost", - "score": 0.04848923161625862 + "score": -0.0013333630049601197 } - } - }, - "else": { - "operation": "boost", - "score": 0.01806282438337803 - } - } - }, - "else": { - "operation": "boost", - "score": 0.004922512453049421 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, - "then": { - "operation": "boost", - "score": 0.06808024644851685 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10863.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.004408429376780987 + "score": -0.18666324019432068 }, "else": { "operation": "boost", - "score": 0.11151157319545746 + "score": -0.05785110220313072 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.002382950158789754 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.03871970996260643 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.024445977061986923 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.13899430632591248 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.007711535785347223 + "score": 0.10390473157167435 }, "else": { "operation": "boost", - "score": 0.11435553431510925 + "score": 0.11020470410585403 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.10295672714710236 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.4223143756389618 - }, - "else": { - "operation": "boost", - "score": 0.14708401262760162 - } - }, - "else": { - "operation": "boost", - "score": -0.10415113717317581 - } - } + "operation": "boost", + "score": 0.07790952175855637 } + }, + "else": { + "operation": "boost", + "score": 0.045853883028030396 } + }, + "else": { + "operation": "boost", + "score": 0.002504076110199094 } }, + "else": { + "operation": "boost", + "score": 0.005653791129589081 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10010524094104767 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 327.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 427.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.08536221086978912 + "score": 0.06553984433412552 }, "else": { "operation": "boost", - "score": 0.11220376938581467 + "score": 0.009696713648736477 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04957890510559082 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08548647910356522 - }, - "else": { - "operation": "boost", - "score": 0.11368590593338013 - } - }, - "else": { - "operation": "boost", - "score": 0.18350866436958313 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03621279448270798 - } + "operation": "boost", + "score": 0.02291863225400448 } } } - }, - "else": { - "operation": "boost", - "score": 0.030223509296774864 - } - } - }, - "else": { - "operation": "boost", - "score": 0.022568078711628914 - } - }, - "else": { - "operation": "boost", - "score": -0.3578667640686035 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.020192885771393776 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01066802442073822 - }, - "else": { - "operation": "boost", - "score": -0.15154536068439484 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Unknown", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.02779490500688553 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.07454022020101547 - }, - "else": { - "operation": "boost", - "score": 0.014627008698880672 - } - }, - "else": { - "operation": "boost", - "score": 0.08347325026988983 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.010363410227000713 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32538.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.18201309442520142 - }, - "else": { - "operation": "boost", - "score": 0.13038551807403564 } }, "else": { - "operation": "boost", - "score": -0.1240813285112381 - } - }, - "else": { - "operation": "boost", - "score": -0.02508707530796528 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.006212947890162468 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08300144970417023 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.07808496057987213 + "score": 0.029492583125829697 }, "else": { - "operation": "boost", - "score": 0.11880388110876083 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03730740770697594 + }, + "else": { + "operation": "boost", + "score": 0.004053792450577021 + } } }, "else": { "operation": "boost", - "score": 0.09646614640951157 + "score": -0.01511345710605383 } + }, + "else": { + "operation": "boost", + "score": -0.016853084787726402 } - }, - "else": { - "operation": "boost", - "score": 0.0713287889957428 } } } }, "else": { - "operation": "boost", - "score": 0.015606660395860672 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace" - ], - "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11349531263113022 + }, + "else": { + "operation": "boost", + "score": 0.056727562099695206 + } + }, + "else": { + "operation": "boost", + "score": 0.00529444869607687 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07443921267986298 + "score": -0.05384319648146629 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190379.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.004018864594399929 + "score": 0.014144610613584518 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "boost", + "score": 0.003342939307913184 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.04829201474785805 + "score": 0.036826737225055695 }, "else": { - "operation": "boost", - "score": 0.11123050004243851 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.08325912803411484 + }, + "else": { + "operation": "boost", + "score": 0.007388814352452755 + } } - }, - "else": { - "operation": "boost", - "score": -0.10209174454212189 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09240482747554779 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.007807630114257336 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { "operation": "boost", - "score": 0.12389513850212097 + "score": 0.09175892919301987 }, "else": { "operation": "boost", - "score": -0.1588388979434967 + "score": -0.12146227061748505 } }, "else": { - "operation": "boost", - "score": 0.11725358664989471 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11391232907772064 - }, - "else": { - "operation": "boost", - "score": 0.11962917447090149 - } - }, - "else": { - "operation": "boost", - "score": 0.10914255678653717 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.006486658006906509 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32671.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 749331.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.048165977001190186 - }, - "else": { - "operation": "boost", - "score": -0.4047398865222931 - } - }, - "else": { - "operation": "boost", - "score": -0.2875328063964844 - } - }, - "else": { - "operation": "boost", - "score": 0.08360887318849564 - } - }, - "else": { - "operation": "boost", - "score": -0.08669420331716537 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "boost", - "score": 0.05324823781847954 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { "operation": "boost", - "score": 0.09149586409330368 - }, - "else": { - "operation": "boost", - "score": 0.09781865775585175 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09260090440511703 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, - "then": { - "operation": "boost", - "score": -0.05766738951206207 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.021658822894096375 - }, - "else": { - "operation": "boost", - "score": 0.1426907181739807 - } + "score": 0.06677465885877609 }, "else": { "operation": "boost", - "score": 0.0885034054517746 + "score": 0.03063090331852436 } }, "else": { "operation": "boost", - "score": 0.05782601609826088 + "score": -0.11275365948677063 } - }, - "else": { - "operation": "boost", - "score": -0.3840232491493225 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10278269648551941 }, "else": { "operation": "boost", - "score": 0.024190492928028107 + "score": -0.028751235455274582 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10099197924137115 - }, - "else": { - "operation": "boost", - "score": 0.14319466054439545 - } } } } - }, - "else": { - "operation": "boost", - "score": -0.00872153788805008 } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01150002982467413 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Type", + "Variable" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", + "CCC_Other", "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.00610074307769537 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "boost", - "score": -0.023582441732287407 + "score": 0.09074285626411438 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06182263791561127 - }, - "else": { - "operation": "boost", - "score": 0.1313660889863968 - } + "operation": "boost", + "score": 0.14880114793777466 } }, "else": { "operation": "boost", - "score": -0.1840236932039261 + "score": 0.04605426639318466 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.01764434576034546 + "score": -0.011581739410758018 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11833084374666214 - }, - "else": { - "operation": "boost", - "score": -0.2522695064544678 - } + "operation": "boost", + "score": 0.034685373306274414 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11026.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12576.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16033.5, - "then": { - "operation": "boost", - "score": -0.023699894547462463 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15553.5, - "then": { - "operation": "boost", - "score": 0.11202451586723328 - }, - "else": { - "operation": "boost", - "score": 0.049553919583559036 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12794028222560883 - } - }, - "else": { - "operation": "boost", - "score": 0.01208366546779871 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 688.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 772.5, - "then": { - "operation": "boost", - "score": 0.05271639674901962 - }, - "else": { - "operation": "boost", - "score": 0.12576648592948914 - } - }, - "else": { - "operation": "boost", - "score": 0.03939148783683777 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.006918361876159906 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.02379699796438217 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.14352332055568695 - }, - "else": { - "operation": "boost", - "score": -0.07267352938652039 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.023183384910225868 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.09228396415710449 - }, - "else": { - "operation": "boost", - "score": 0.04574039578437805 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.009397591464221478 - } - } + "operation": "boost", + "score": 0.04136919230222702 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.02779395319521427 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "boost", - "score": 0.027988947927951813 - }, - "else": { - "operation": "boost", - "score": 0.12378106266260147 - } - }, - "else": { - "operation": "boost", - "score": -0.11049740016460419 - } - } - }, - "else": { - "operation": "boost", - "score": -0.18952351808547974 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 642.5, - "then": { - "operation": "boost", - "score": 0.1118425652384758 - }, - "else": { - "operation": "boost", - "score": -0.02861838974058628 - } - } + "operation": "boost", + "score": 0.014901879243552685 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.021651336923241615 + }, + "else": { + "operation": "boost", + "score": -0.19233117997646332 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope" + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.02093484252691269 + "score": 0.02704518660902977 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01238090917468071 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12384967505931854 - }, - "else": { - "operation": "boost", - "score": 0.05455932393670082 - } - } + "operation": "boost", + "score": -0.14538906514644623 + }, + "else": { + "operation": "boost", + "score": -0.03323420137166977 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.07005158066749573 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.028905903920531273 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010968293063342571 - }, - "else": { - "operation": "boost", - "score": 0.08269169181585312 - } - }, - "else": { - "operation": "boost", - "score": 0.0752057135105133 - } - }, - "else": { - "operation": "boost", - "score": -0.04718570038676262 - } - }, - "else": { - "operation": "boost", - "score": 0.02128901518881321 - } + "operation": "boost", + "score": -0.012219890020787716 }, "else": { "operation": "boost", - "score": 0.012032714672386646 + "score": -0.05458785593509674 } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.020714046433568 }, "else": { "operation": "boost", - "score": -0.009724891744554043 + "score": -0.08893156051635742 } - }, - "else": { - "operation": "boost", - "score": 0.10804293304681778 } } } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.23303167521953583, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.016702953726053238 - }, - "else": { - "operation": "boost", - "score": 0.0001837198797147721 - } - }, - "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.08937713503837585 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 43.5, + "threshold": 6397.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "boost", + "score": 0.08002658188343048 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.8819444179534912, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.11682413518428802 - }, - "else": { - "operation": "boost", - "score": 0.0801817923784256 - } - }, - "else": { - "operation": "boost", - "score": 0.045386798679828644 - } + "operation": "boost", + "score": -0.295769602060318 }, "else": { "operation": "boost", - "score": 0.01005419623106718 + "score": 0.03875812143087387 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, + "operation": "boost", + "score": 0.012286447919905186 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.06150725483894348 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12427271902561188 + "score": 0.04082502797245979 }, "else": { "operation": "boost", - "score": 0.10489927977323532 + "score": 0.011789160780608654 } + }, + "else": { + "operation": "boost", + "score": 0.004695393610745668 } + }, + "else": { + "operation": "boost", + "score": -0.003968730568885803 } }, "else": { + "operation": "boost", + "score": 0.01186963077634573 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11538.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "Macro", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.044690247625112534 + "score": -0.027728626504540443 }, "else": { "operation": "boost", - "score": -0.013693063519895077 + "score": 0.03290214389562607 } }, "else": { "operation": "boost", - "score": -0.05558621510863304 + "score": 0.002767222933471203 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "boost", + "score": -0.06044550985097885 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.05206622555851936 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13537.0, "then": { + "operation": "boost", + "score": 0.017076730728149414 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Type" + ], + "then": { + "operation": "boost", + "score": 0.09357676655054092 + }, + "else": { + "operation": "boost", + "score": 0.06992003321647644 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 25.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.06426052004098892 + "score": -0.01752423495054245 }, "else": { - "operation": "boost", - "score": 0.03216971084475517 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1282.0, + "then": { + "operation": "boost", + "score": -0.036759428679943085 + }, + "else": { + "operation": "boost", + "score": 0.09643704444169998 + } + }, + "else": { + "operation": "boost", + "score": 0.018648376688361168 + } } }, "else": { "operation": "boost", - "score": 0.022722214460372925 + "score": -0.07913464307785034 } }, "else": { - "operation": "boost", - "score": 0.008944462053477764 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6753.5, + "then": { + "operation": "boost", + "score": -0.23702946305274963 + }, + "else": { + "operation": "boost", + "score": 0.028713738545775414 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.014947880990803242 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 19.0, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0648217648267746 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05426621809601784 + "score": -0.11560741066932678 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.016124555841088295 + "score": -0.0397600457072258 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope" ], "then": { + "operation": "boost", + "score": 0.013937159441411495 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08371914178133011 + "score": -0.1347620040178299 }, "else": { - "operation": "boost", - "score": 0.10290994495153427 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.00022021248878445476 + }, + "else": { + "operation": "boost", + "score": 0.03787078708410263 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04990806430578232 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05825858563184738 + }, + "else": { + "operation": "boost", + "score": -0.11484655737876892 + } + }, + "else": { + "operation": "boost", + "score": 0.026996441185474396 + } + }, + "else": { + "operation": "boost", + "score": -0.05418839305639267 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.15269342064857483 + }, + "else": { + "operation": "boost", + "score": 0.054033324122428894 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.040962908416986465 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.09795699268579483 + }, + "else": { + "operation": "boost", + "score": 0.08426354080438614 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005051585845649242 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.044524185359478 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06785233318805695 + }, + "else": { + "operation": "boost", + "score": 0.02631577104330063 + } + }, + "else": { + "operation": "boost", + "score": -0.002940180478617549 + } + } + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.0961068719625473 } } } - }, - "else": { - "operation": "boost", - "score": 0.02208452671766281 } }, "else": { "operation": "boost", - "score": 0.010595511645078659 + "score": -0.016633426770567894 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "Constructor", + "Destructor", + "Keyword", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.03734108805656433 - }, - "else": { - "operation": "boost", - "score": 0.01924777589738369 - } - }, - "else": { - "operation": "boost", - "score": -0.15626581013202667 - } - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11495991796255112 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": -0.07901834696531296 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, - "then": { - "operation": "boost", - "score": -0.10103780776262283 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05445033311843872 + }, + "else": { + "operation": "boost", + "score": 0.09381868690252304 + } + }, + "else": { + "operation": "boost", + "score": 0.046487826853990555 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.10746300220489502 + "score": 0.10288578271865845 }, "else": { "operation": "boost", - "score": 0.11726599931716919 + "score": 0.00937761552631855 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.05411136522889137 + "score": -0.009100121445953846 }, "else": { - "operation": "boost", - "score": 0.10548625141382217 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.05594070628285408 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.05587027221918106 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.09836450964212418 + }, + "else": { + "operation": "boost", + "score": 0.0416906476020813 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009888457134366035 + } + }, + "else": { + "operation": "boost", + "score": -0.0037047695368528366 + } + }, + "else": { + "operation": "boost", + "score": -0.006857056636363268 + } + } } }, "else": { "operation": "boost", - "score": 0.08788397908210754 + "score": -0.03903406858444214 } } + } + }, + "else": { + "operation": "boost", + "score": -0.014745493419468403 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.041611939668655396 + }, + "else": { + "operation": "boost", + "score": 0.01045547891408205 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04328424111008644 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.03936902806162834 - }, - "else": { - "operation": "boost", - "score": 0.07961930334568024 - } + "operation": "boost", + "score": 0.04545494541525841 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.030597034841775894 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.059374988079071045 + }, + "else": { + "operation": "boost", + "score": -0.017712559551000595 + } }, "else": { "operation": "boost", - "score": 0.12089163064956665 + "score": 0.034874726086854935 } }, "else": { "operation": "boost", - "score": 0.054514698684215546 + "score": 0.0014959834516048431 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08512867987155914 - }, - "else": { - "operation": "boost", - "score": 0.11762837320566177 - } + "operation": "boost", + "score": 0.012851179577410221 }, "else": { "operation": "boost", - "score": 0.061248764395713806 + "score": -0.020558562129735947 } } } @@ -104504,2139 +102814,1903 @@ }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10330379009246826 - }, - "else": { - "operation": "boost", - "score": -0.07791402190923691 - } - }, - "else": { - "operation": "boost", - "score": 0.13654464483261108 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Variable" ], "then": { - "operation": "boost", - "score": 0.07646924257278442 - }, - "else": { - "operation": "boost", - "score": 0.013476116582751274 - } - }, - "else": { - "operation": "boost", - "score": 0.05111529678106308 - } - }, - "else": { - "operation": "boost", - "score": 0.005556175950914621 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.12530675530433655 - }, - "else": { - "operation": "boost", - "score": -0.16240444779396057 - } - }, - "else": { - "operation": "boost", - "score": -0.020351102575659752 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71306.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { + "operation": "boost", + "score": 0.10550690442323685 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.00725763663649559 - }, - "else": { - "operation": "boost", - "score": -0.16632439196109772 - } + "operation": "boost", + "score": 0.038360845297575 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.030393358319997787 - }, - "else": { - "operation": "boost", - "score": 0.11701102554798126 - } + "operation": "boost", + "score": -0.18151047825813293 }, "else": { "operation": "boost", - "score": 0.04936535283923149 + "score": 0.13014563918113708 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.06598395109176636 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2578778862953186 - }, - "else": { - "operation": "boost", - "score": 0.022876271978020668 - } - } + "operation": "boost", + "score": 0.00988228153437376 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0017220383742824197 }, "else": { "operation": "boost", - "score": -0.1289965808391571 + "score": -0.12067995220422745 } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.003860791679471731 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type" + ], "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02678476646542549 + }, + "else": { + "operation": "boost", + "score": 0.08119005709886551 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 187158.0, - "then": { - "operation": "boost", - "score": 0.07880914211273193 - }, - "else": { - "operation": "boost", - "score": 0.01687467284500599 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.11072497814893723 - }, - "else": { - "operation": "boost", - "score": 0.11755393445491791 - } - }, - "else": { - "operation": "boost", - "score": 0.09120655804872513 - } - }, - "else": { - "operation": "boost", - "score": 0.021261192858219147 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03673330321907997 - }, - "else": { - "operation": "boost", - "score": 0.07632116973400116 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02011762745678425 - } + "operation": "boost", + "score": -0.08698058873414993 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85554.5, - "then": { - "operation": "boost", - "score": -0.01046582031995058 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10925406217575073 - }, - "else": { - "operation": "boost", - "score": 0.07110124826431274 - } - }, - "else": { - "operation": "boost", - "score": 0.12430063635110855 - } - } - }, - "else": { - "operation": "boost", - "score": 0.060997530817985535 - } + "operation": "boost", + "score": -0.0992853045463562 }, "else": { "operation": "boost", - "score": -0.15891118347644806 + "score": -0.07707279920578003 } } - }, - "else": { - "operation": "boost", - "score": 0.0354640893638134 } } - }, - "else": { - "operation": "boost", - "score": -0.006712046917527914 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05849084258079529 + }, + "else": { + "operation": "boost", + "score": 0.018477724865078926 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.034137625247240067 }, "else": { "operation": "boost", - "score": 0.008107968606054783 + "score": 0.011897680349647999 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 263421.0, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": -0.011062785051763058 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04933464527130127 - }, - "else": { - "operation": "boost", - "score": 0.08945021033287048 - } - }, - "else": { - "operation": "boost", - "score": 0.036832358688116074 - } - }, - "else": { - "operation": "boost", - "score": 0.060733988881111145 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 26.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6644.5, + "threshold": 29.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6719.0, - "then": { - "operation": "boost", - "score": 0.059216514229774475 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.14223125576972961 - }, - "else": { - "operation": "boost", - "score": 0.10687073320150375 - } - } + "operation": "boost", + "score": 0.006255957297980785 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.029125092551112175 + "score": 0.08327508717775345 }, "else": { "operation": "boost", - "score": 0.07965259253978729 + "score": 0.13262230157852173 } }, "else": { "operation": "boost", - "score": 0.051201362162828445 + "score": 0.05790461227297783 } } }, "else": { "operation": "boost", - "score": 0.04468134418129921 + "score": -0.08849408477544785 } }, "else": { "operation": "boost", - "score": 0.0037271936889737844 + "score": 0.043239302933216095 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.046009719371795654 + }, + "else": { + "operation": "boost", + "score": 0.011723071336746216 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.11752330511808395 + "score": 0.04492722079157829 }, "else": { + "operation": "boost", + "score": 0.008481742814183235 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.05553411319851875 + "score": 0.006423247512429953 }, "else": { + "operation": "boost", + "score": 0.04249892756342888 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Variable" + ], + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.10965045541524887 + "score": 0.01795179583132267 }, "else": { "operation": "boost", - "score": -0.003961089998483658 + "score": -0.12106898427009583 } + }, + "else": { + "operation": "boost", + "score": -0.011949531733989716 } - }, - "else": { - "operation": "boost", - "score": 0.013890981674194336 } }, "else": { + "operation": "boost", + "score": -0.05955107510089874 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.057793643325567245 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1539601981639862 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10750653594732285 - }, - "else": { - "operation": "boost", - "score": -0.10612674057483673 - } - } - } + "operation": "boost", + "score": -0.08937552571296692 }, "else": { "operation": "boost", - "score": 0.10009314119815826 + "score": 0.010798439383506775 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69564.0, - "then": { - "operation": "boost", - "score": -0.4305429458618164 - }, - "else": { - "operation": "boost", - "score": -0.0015654595335945487 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03261910378932953 - }, - "else": { - "operation": "boost", - "score": 0.07618407905101776 - } - }, - "else": { - "operation": "boost", - "score": 0.10659977793693542 - } - } - }, - "else": { - "operation": "boost", - "score": 0.053303658962249756 - } + "operation": "boost", + "score": -0.027031080797314644 } + }, + "else": { + "operation": "boost", + "score": -0.022945456206798553 } } - }, - "else": { - "operation": "boost", - "score": -0.017166145145893097 } } } - }, - "else": { - "operation": "boost", - "score": 0.10691174119710922 } } } - }, - "else": { + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" + "Variable" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": -0.1672011762857437 + }, + "else": { + "operation": "boost", + "score": 0.08992193639278412 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.043713755905628204 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.012724822387099266 + "score": -0.10955479741096497 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11447829753160477 - }, - "else": { - "operation": "boost", - "score": -0.11272714287042618 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11595622450113297 - }, - "else": { - "operation": "boost", - "score": 0.10282764583826065 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12637177109718323 - } - }, - "else": { - "operation": "boost", - "score": 0.0716828927397728 - } + "operation": "boost", + "score": 0.08793220669031143 }, "else": { "operation": "boost", - "score": 0.06701027601957321 + "score": 0.10683734714984894 } }, "else": { "operation": "boost", - "score": 0.03301555663347244 + "score": 0.041912298649549484 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.012208306230604649 + "score": -0.1334502249956131 }, "else": { "operation": "boost", - "score": -0.03214407339692116 + "score": 0.012314686551690102 } } - }, - "else": { - "operation": "boost", - "score": -0.1322566419839859 } - }, - "else": { - "operation": "boost", - "score": 0.0008899254025891423 } }, - "else": { - "operation": "boost", - "score": -0.013494818471372128 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03606438636779785 - }, - "else": { - "operation": "boost", - "score": -0.014507715590298176 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.16856133937835693 - }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "threshold": 0.800000011920929, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.02570102922618389 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07655194401741028 + }, + "else": { + "operation": "boost", + "score": 0.019364919513463974 + } + } + }, + "else": { + "operation": "boost", + "score": -0.003610124345868826 + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.011226381175220013 + "score": -0.1010725200176239 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.05247248336672783 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.048918597400188446 + "score": 0.017483724281191826 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.025183066725730896 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12738679349422455 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.08806188404560089 - }, - "else": { - "operation": "boost", - "score": 0.10236550867557526 - } - }, - "else": { - "operation": "boost", - "score": 0.147722989320755 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05173017084598541 - } + "operation": "boost", + "score": -0.004310849588364363 } - }, - "else": { - "operation": "boost", - "score": 0.024388333782553673 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.08088043332099915 + "score": 0.05602660030126572 }, "else": { "operation": "boost", - "score": 0.054479245096445084 + "score": -0.041864726692438126 } } } - }, - "else": { - "operation": "boost", - "score": 0.00550473527982831 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { "operation": "boost", - "score": 0.06857681274414062 + "score": -0.008493813686072826 }, "else": { "operation": "boost", - "score": 0.027581846341490746 + "score": 0.020844873040914536 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.0208554919809103 - }, - "else": { - "operation": "boost", - "score": -0.12636466324329376 - } + "operation": "boost", + "score": 0.027429649606347084 }, "else": { "operation": "boost", - "score": 0.008776834234595299 + "score": -0.014214739203453064 } }, + "else": { + "operation": "boost", + "score": 0.0011995723471045494 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.024250537157058716 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008483229205012321 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.0909789651632309 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.021020036190748215 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12303251028060913 + }, + "else": { + "operation": "boost", + "score": 0.14287889003753662 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08173603564500809 + } + } + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", + "Constructor", "Destructor", - "Operator", - "Unknown", "Function", + "Keyword", + "Macro", + "Namespace", "Type", - "Namespace" + "Unknown" ], "then": { "operation": "boost", - "score": 0.016848981380462646 + "score": 0.05471886321902275 }, "else": { + "operation": "boost", + "score": -0.01265869289636612 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.06132253259420395 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.032699476927518845 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.02828373946249485 + }, + "else": { + "operation": "boost", + "score": -0.46777379512786865 + } }, "else": { "operation": "boost", - "score": -0.07553571462631226 + "score": 0.025369731709361076 } + }, + "else": { + "operation": "boost", + "score": -0.12219560146331787 } }, "else": { - "operation": "boost", - "score": 0.03461311757564545 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0556306354701519 + }, + "else": { + "operation": "boost", + "score": 0.011132343672215939 + } } } } - } - }, - "else": { - "operation": "boost", - "score": -0.010329888202250004 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11399387568235397 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19968.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", + "CCC_Namespace", "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 23872.5, "then": { "operation": "boost", - "score": -0.015856510028243065 + "score": 0.050364911556243896 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 105656.5, + "threshold": 23701.5, + "then": { + "operation": "boost", + "score": 0.14764437079429626 + }, + "else": { + "operation": "boost", + "score": 0.07250925153493881 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02134108357131481 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": 0.03186328709125519 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.07222352921962738 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.026429973542690277 + }, + "else": { + "operation": "boost", + "score": -0.010955184698104858 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.012773687951266766 - }, - "else": { - "operation": "boost", - "score": 0.10965774953365326 - } + "operation": "boost", + "score": 0.01111049484461546 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10650277137756348 - }, - "else": { - "operation": "boost", - "score": -0.006916820537298918 - } - }, - "else": { - "operation": "boost", - "score": 0.11302413046360016 - } + "operation": "boost", + "score": 0.060490258038043976 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10086531937122345 - }, - "else": { - "operation": "boost", - "score": 0.11223107576370239 - } - }, - "else": { - "operation": "boost", - "score": 0.11702177673578262 - } + "operation": "boost", + "score": -0.0301316287368536 }, "else": { "operation": "boost", - "score": 0.10781931132078171 + "score": 0.013008498586714268 } } } - }, - "else": { - "operation": "boost", - "score": 0.5832801461219788 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 325.5, + "operation": "boost", + "score": -0.10950282216072083 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 780.5, - "then": { - "operation": "boost", - "score": 0.06522759795188904 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 615.5, - "then": { - "operation": "boost", - "score": 0.10947438329458237 - }, - "else": { - "operation": "boost", - "score": 0.03743361681699753 - } - } + "operation": "boost", + "score": 0.08033385872840881 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 602.5, - "then": { - "operation": "boost", - "score": 0.10664474964141846 - }, - "else": { - "operation": "boost", - "score": 0.12456053495407104 - } - }, - "else": { - "operation": "boost", - "score": 0.11336550861597061 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3334.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4290.5, - "then": { - "operation": "boost", - "score": 0.0943632647395134 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4261.5, - "then": { - "operation": "boost", - "score": 0.15969248116016388 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4023.5, - "then": { - "operation": "boost", - "score": -0.14925332367420197 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11336667090654373 - }, - "else": { - "operation": "boost", - "score": -0.10851377248764038 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09511519223451614 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1357036530971527 - } + "operation": "boost", + "score": -0.11633839458227158 } }, "else": { - "operation": "boost", - "score": 0.053169041872024536 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.039697274565696716 + }, + "else": { + "operation": "boost", + "score": -0.0322967953979969 + } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02283564582467079 - }, - "else": { - "operation": "boost", - "score": 0.018434183672070503 - } + "operation": "boost", + "score": -0.11660299450159073 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": -0.10557188093662262 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" + "Function", + "Namespace", + "Variable" ], "then": { + "operation": "boost", + "score": 0.028911828994750977 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": -0.13762132823467255 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0551726296544075 + }, + "else": { + "operation": "boost", + "score": -0.21477921307086945 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", - "score": 0.07769101113080978 + "score": -0.025998283177614212 }, "else": { "operation": "boost", - "score": 0.10384050011634827 + "score": 0.06474508345127106 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.11553255468606949 - }, - "else": { - "operation": "boost", - "score": 0.11116784811019897 - } + "operation": "boost", + "score": 0.007003704085946083 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0488741435110569 - }, - "else": { - "operation": "boost", - "score": 0.10494249314069748 - } + "operation": "boost", + "score": 0.04827321320772171 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.021624360233545303 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08159423619508743 - }, - "else": { - "operation": "boost", - "score": 0.09460094571113586 - } - }, - "else": { - "operation": "boost", - "score": 0.06432972103357315 - } - } + "operation": "boost", + "score": -0.020232729613780975 } }, "else": { - "operation": "boost", - "score": 0.06923183053731918 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.03188901022076607 + }, + "else": { + "operation": "boost", + "score": 0.00613003084436059 + } } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.04564954340457916 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.08740564435720444 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.09506255388259888 + "score": 0.10475239157676697 }, "else": { "operation": "boost", - "score": 0.1466289460659027 + "score": 0.0267327968031168 } } - } - }, - "else": { - "operation": "boost", - "score": -0.020620618015527725 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71306.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.032615721225738525 + "score": -0.041107501834630966 }, "else": { "operation": "boost", - "score": 0.0010233648354187608 + "score": -0.23711994290351868 } }, "else": { "operation": "boost", - "score": -0.11767002940177917 + "score": -0.018268423154950142 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.048753056675195694 - }, - "else": { - "operation": "boost", - "score": 0.0328800231218338 - } + "operation": "boost", + "score": -0.11183249950408936 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.05060736462473869 + }, + "else": { + "operation": "boost", + "score": 0.08744215965270996 } }, "else": { "operation": "boost", - "score": -0.007912864908576012 + "score": -0.02186942845582962 } }, "else": { "operation": "boost", - "score": 0.007605336140841246 + "score": 0.03310148045420647 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0598205104470253 + }, + "else": { + "operation": "boost", + "score": 0.01761571504175663 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008432230912148952 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": -0.010314283892512321 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0467476025223732 - }, - "else": { - "operation": "boost", - "score": 0.08594009280204773 - } - }, - "else": { - "operation": "boost", - "score": 0.03326618671417236 - } - }, - "else": { - "operation": "boost", - "score": 0.03924889490008354 - } - } + "operation": "boost", + "score": 0.0009137805318459868 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.035294245928525925 - }, - "else": { - "operation": "boost", - "score": 0.01683053933084011 - } + "operation": "boost", + "score": 0.04302852228283882 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.11656895279884338 + "score": 0.014039518311619759 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.04885396733880043 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.10834012180566788 - }, - "else": { - "operation": "boost", - "score": -0.024949977174401283 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011724439449608326 - } - }, - "else": { + "operation": "boost", + "score": -0.03186482936143875 + } + }, + "else": { + "operation": "boost", + "score": -0.006042721681296825 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07968689501285553 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.0009640800999477506 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25286.5, + "then": { + "operation": "boost", + "score": -0.1117279902100563 + }, + "else": { + "operation": "boost", + "score": 0.02334633469581604 + } + }, + "else": { + "operation": "boost", + "score": 0.006447385996580124 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Operator" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.0048584407195448875 + }, + "else": { + "operation": "boost", + "score": -0.10441387444734573 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.028611522167921066 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 207505.0, "then": { "operation": "boost", - "score": -0.057488758116960526 + "score": 0.05748986452817917 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.14521050453186035 + "score": 0.12414827942848206 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10423329472541809 - }, - "else": { - "operation": "boost", - "score": -0.10550494492053986 - } + "operation": "boost", + "score": 0.08766338974237442 } } }, "else": { "operation": "boost", - "score": 0.09585534781217575 + "score": -0.059840548783540726 } }, "else": { + "operation": "boost", + "score": -0.02303328923881054 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10357367247343063 + }, + "else": { + "operation": "boost", + "score": -0.10144715756177902 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.00016910943668335676 + }, + "else": { + "operation": "boost", + "score": -0.054193705320358276 + } + }, + "else": { + "operation": "boost", + "score": 0.004347482230514288 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.07243475317955017 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69564.0, - "then": { - "operation": "boost", - "score": -0.34375324845314026 - }, - "else": { - "operation": "boost", - "score": 0.0005488388705998659 - } + "operation": "boost", + "score": -0.12995260953903198 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.11361376941204071 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.20269225537776947 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.0, - "then": { - "operation": "boost", - "score": 0.09375040978193283 - }, - "else": { - "operation": "boost", - "score": 0.1404128223657608 - } - }, - "else": { - "operation": "boost", - "score": 0.08985763043165207 - } + "operation": "boost", + "score": 0.9996175169944763 }, "else": { "operation": "boost", - "score": 0.14385080337524414 + "score": -0.10086706280708313 } + }, + "else": { + "operation": "boost", + "score": 0.8737509846687317 } + }, + "else": { + "operation": "boost", + "score": -0.10194680839776993 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.029415879398584366 + "score": 1.1761845350265503 }, "else": { "operation": "boost", - "score": 0.0716937705874443 + "score": -0.10083610564470291 } } } }, "else": { "operation": "boost", - "score": 0.04853120446205139 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.015826666727662086 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.011982697993516922 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09244261682033539 - }, - "else": { - "operation": "boost", - "score": 0.10414449870586395 - } - }, - "else": { - "operation": "boost", - "score": 0.1214480772614479 - } - }, - "else": { - "operation": "boost", - "score": 0.06566102802753448 + "score": 0.6098985075950623 } }, "else": { "operation": "boost", - "score": 0.06353985518217087 + "score": 0.5003851652145386 } }, "else": { "operation": "boost", - "score": 0.02998708002269268 + "score": -0.12335032224655151 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.010966116562485695 - }, - "else": { - "operation": "boost", - "score": -0.02795409969985485 - } + "operation": "boost", + "score": -0.04354546591639519 } - }, - "else": { - "operation": "boost", - "score": -0.13102269172668457 } }, "else": { "operation": "boost", - "score": 0.0009384581935591996 + "score": 0.014233840629458427 } }, "else": { - "operation": "boost", - "score": -0.013377374969422817 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "NumReferences", "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007861959747970104 + }, + "else": { + "operation": "boost", + "score": -0.02031085267663002 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.04347182810306549 + }, + "else": { + "operation": "boost", + "score": -0.06890421360731125 + } + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Unknown", + "Constructor", + "Destructor", "Function", - "Type", - "Namespace" + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06519264727830887 + "score": -0.09657695144414902 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08017583936452866 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09538585692644119 - }, - "else": { - "operation": "boost", - "score": 0.12118831276893616 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10680568963289261 - }, - "else": { - "operation": "boost", - "score": 0.11450190842151642 - } - } - } + "operation": "boost", + "score": -0.0060792709700763226 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.027196288108825684 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "boost", - "score": -0.012259744107723236 + "score": 0.00898686982691288 }, "else": { "operation": "boost", - "score": 0.03594211861491203 + "score": -0.01755828782916069 } - }, - "else": { - "operation": "boost", - "score": 0.007705328520387411 } } }, "else": { "operation": "boost", - "score": -0.10716072469949722 + "score": -0.04981663450598717 } - }, - "else": { - "operation": "boost", - "score": -0.04332064837217331 } - }, - "else": { - "operation": "boost", - "score": -0.01548166386783123 } } } @@ -106651,1284 +104725,1454 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6360.5, "then": { + "operation": "boost", + "score": 0.057434018701314926 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.017733745276927948 + "score": -0.038852300494909286 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { + "operation": "boost", + "score": 0.016255537047982216 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.23776139318943024 + "score": 0.033104829490184784 }, "else": { "operation": "boost", - "score": -0.0918249785900116 + "score": -0.027054650709033012 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12040341645479202 + "score": 0.017789533361792564 }, "else": { "operation": "boost", - "score": -0.12482620775699615 + "score": -0.0851164162158966 } + }, + "else": { + "operation": "boost", + "score": 0.03156503289937973 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, + "then": { + "operation": "boost", + "score": 0.0348152294754982 }, "else": { "operation": "boost", - "score": 0.0014464674750342965 + "score": 0.0035548999439924955 } - }, - "else": { - "operation": "boost", - "score": -0.02462395653128624 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.017696114256978035 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.007127881515771151 - }, - "else": { - "operation": "boost", - "score": 0.01767251268029213 } } } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.10316027700901031 + "score": -0.09116345643997192 }, "else": { "operation": "boost", - "score": -0.021253082901239395 + "score": -0.16204077005386353 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.0052828602492809296 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "ClassScope" ], "then": { "operation": "boost", - "score": -0.004745012149214745 + "score": 0.051204320043325424 }, "else": { "operation": "boost", - "score": -0.08448465913534164 + "score": 0.02443871460855007 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24318.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 104520.5, + "threshold": 28548.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10159864276647568 - }, - "else": { - "operation": "boost", - "score": -0.004902319051325321 - } + "operation": "boost", + "score": -0.05516062676906586 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11642176657915115 - }, - "else": { - "operation": "boost", - "score": 0.017160529270768166 - } - }, - "else": { - "operation": "boost", - "score": 0.07701389491558075 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": -0.08082114160060883 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.02951006591320038 - }, - "else": { - "operation": "boost", - "score": 0.12401336431503296 - } - }, - "else": { - "operation": "boost", - "score": -0.21586070954799652 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 960.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1315.0, - "then": { - "operation": "boost", - "score": -0.08127401769161224 - }, - "else": { - "operation": "boost", - "score": 0.10287932306528091 - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { "operation": "boost", - "score": 0.11837257444858551 + "score": 0.010217494331300259 }, "else": { "operation": "boost", - "score": 0.08568163216114044 + "score": 0.08133838325738907 } }, "else": { "operation": "boost", - "score": 0.053538139909505844 + "score": -0.01601145602762699 } }, "else": { "operation": "boost", - "score": -0.03738189861178398 + "score": -0.05105886235833168 } + }, + "else": { + "operation": "boost", + "score": -0.016423214226961136 } } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1338.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134893.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.03309917077422142 + "score": 0.03014920838177204 }, "else": { "operation": "boost", - "score": -1.0459266901016235 + "score": -0.08804195374250412 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Function", + "Macro", + "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1339.5, + "threshold": 152619.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5613.5, + "threshold": 299159.5, + "then": { + "operation": "boost", + "score": 0.03814125433564186 + }, + "else": { + "operation": "boost", + "score": 0.06916239857673645 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0329459086060524 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13381.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.03483198210597038 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7473.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8648.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_Expression", + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.04080953076481819 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10936.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { + "operation": "boost", + "score": 0.10730478167533875 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11711.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.07055792957544327 + "score": 0.029371406883001328 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09686630219221115 - }, - "else": { - "operation": "boost", - "score": 0.11090420186519623 - } + "operation": "boost", + "score": 0.12213048338890076 } - }, - "else": { - "operation": "boost", - "score": 0.09861699491739273 } - }, - "else": { - "operation": "boost", - "score": 0.0758550688624382 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12984.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13065.0, - "then": { - "operation": "boost", - "score": 0.07848555594682693 - }, - "else": { - "operation": "boost", - "score": 0.11431295424699783 - } - }, - "else": { - "operation": "boost", - "score": 0.04924769699573517 - } + "operation": "boost", + "score": 0.026946716010570526 + } + }, + "else": { + "operation": "boost", + "score": -0.03384548798203468 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.04338904470205307 + }, + "else": { + "operation": "boost", + "score": 0.011987020261585712 } }, + "else": { + "operation": "boost", + "score": 0.0010719775455072522 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.005755984224379063 + }, + "else": { + "operation": "boost", + "score": 0.03665198013186455 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.03780032694339752 + }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.11862608045339584 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7907.5, + "threshold": 59.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8052.0, + "feature": "FractionNameInContext", + "threshold": 0.17142857611179352, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1161971315741539 - }, - "else": { - "operation": "boost", - "score": 0.09295118600130081 - } - }, - "else": { - "operation": "boost", - "score": 0.0954146608710289 - } + "operation": "boost", + "score": -0.14219559729099274 }, "else": { "operation": "boost", - "score": 0.12749911844730377 + "score": 0.3214721977710724 } }, "else": { "operation": "boost", - "score": 0.08589472621679306 + "score": -0.10155407339334488 } + }, + "else": { + "operation": "boost", + "score": 0.10935366898775101 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5639.0, - "then": { - "operation": "boost", - "score": 0.05240587517619133 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1982704997062683 - }, - "else": { - "operation": "boost", - "score": 0.10875387489795685 - } - } + "operation": "boost", + "score": -0.04433530941605568 } + }, + "else": { + "operation": "boost", + "score": 0.07686594873666763 } }, "else": { "operation": "boost", - "score": 0.042888931930065155 + "score": 0.010156487114727497 } }, "else": { - "operation": "boost", - "score": 0.11503124982118607 - } - }, - "else": { - "operation": "boost", - "score": -0.012040579691529274 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 120524.0, "then": { + "operation": "boost", + "score": -0.043901000171899796 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 58696.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.07555035501718521 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11880559474229813 - }, - "else": { - "operation": "boost", - "score": -0.08475448936223984 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.5, - "then": { - "operation": "boost", - "score": 0.0893532782793045 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.14327941834926605 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.0, - "then": { - "operation": "boost", - "score": 0.14036323130130768 - }, - "else": { - "operation": "boost", - "score": -0.10033196955919266 - } - } - } - } + "operation": "boost", + "score": 0.07718737423419952 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1063.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1173.0, - "then": { - "operation": "boost", - "score": 0.11451691389083862 - }, - "else": { - "operation": "boost", - "score": 0.10247526317834854 - } - }, - "else": { - "operation": "boost", - "score": 0.04461882263422012 - } + "operation": "boost", + "score": -0.00011024565901607275 }, "else": { "operation": "boost", - "score": 0.025409357622265816 + "score": -0.04222094267606735 } } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1224.5, + "then": { + "operation": "boost", + "score": 0.032731931656599045 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Operator", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.003168532159179449 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 477.5, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.13028088212013245 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.12546072900295258 - }, - "else": { - "operation": "boost", - "score": 0.0721789300441742 - } - } + "operation": "boost", + "score": 0.06386128813028336 }, "else": { "operation": "boost", - "score": 0.08903247117996216 + "score": 0.030323948711156845 } }, "else": { "operation": "boost", - "score": 0.11828433722257614 + "score": -0.024629177525639534 } } }, "else": { - "operation": "boost", - "score": -0.0664248913526535 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.120979443192482 + }, + "else": { + "operation": "boost", + "score": -0.07005836814641953 + } } }, "else": { + "operation": "boost", + "score": -0.08009305596351624 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Constructor", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.10795661807060242 + "score": 0.027671249583363533 }, "else": { "operation": "boost", - "score": 0.1007390022277832 + "score": -0.04473263770341873 } }, "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.018094312399625778 + }, + "else": { + "operation": "boost", + "score": 0.014411559328436852 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 126.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 130.5, "then": { "operation": "boost", - "score": 0.06928569823503494 + "score": 0.15507842600345612 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, "then": { "operation": "boost", - "score": 0.0311103668063879 + "score": 0.024737613275647163 }, "else": { + "operation": "boost", + "score": 0.24817320704460144 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.10334174335002899 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.09967140853404999 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13322322070598602 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06723824888467789 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10515835881233215 + }, + "else": { + "operation": "boost", + "score": 0.15720374882221222 + } + }, + "else": { + "operation": "boost", + "score": 0.07018215209245682 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.057987280189991 + } }, "else": { "operation": "boost", - "score": 0.12145843356847763 + "score": -0.003448744770139456 } - }, - "else": { - "operation": "boost", - "score": 0.10285953432321548 } + }, + "else": { + "operation": "boost", + "score": 0.025963973253965378 } + }, + "else": { + "operation": "boost", + "score": 0.005752846598625183 } - }, - "else": { - "operation": "boost", - "score": 0.07716834545135498 } + }, + "else": { + "operation": "boost", + "score": -0.007708538789302111 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.015564528293907642 }, "else": { "operation": "boost", - "score": 0.05221688002347946 + "score": 0.00588969187811017 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { + "operation": "boost", + "score": 0.14751030504703522 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.012662793509662151 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.0029069846495985985 + "score": -0.008665794506669044 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "boost", + "score": 0.08805015683174133 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.07975462824106216 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": -0.012711979448795319 + }, + "else": { + "operation": "boost", + "score": -0.0843718871474266 + } }, "else": { "operation": "boost", - "score": 0.10125166177749634 + "score": 0.024262169376015663 } }, "else": { "operation": "boost", - "score": 0.05232779681682587 + "score": -0.07967641204595566 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.05330895632505417 + }, + "else": { + "operation": "boost", + "score": 0.016066985204815865 + } + }, + "else": { + "operation": "boost", + "score": -0.004632439464330673 + } + }, + "else": { + "operation": "boost", + "score": 0.03224949911236763 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.017870379611849785 + }, + "else": { + "operation": "boost", + "score": -0.11369480937719345 + } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "boost", + "score": -0.045336224138736725 + }, + "else": { + "operation": "boost", + "score": -0.014868082478642464 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { "operation": "boost", - "score": -0.11934079229831696 + "score": -0.03352372720837593 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": 0.12224933505058289 - }, - "else": { - "operation": "boost", - "score": 0.04807942360639572 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.14797350764274597 - }, - "else": { - "operation": "boost", - "score": 0.1365996152162552 - } - }, - "else": { - "operation": "boost", - "score": -0.10004149377346039 - } - } - }, - "else": { - "operation": "boost", - "score": 0.028782865032553673 - } + "operation": "boost", + "score": -0.13015176355838776 }, "else": { "operation": "boost", - "score": 0.06132744997739792 + "score": 0.013986271806061268 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0513157919049263, "then": { "operation": "boost", - "score": 0.14234286546707153 + "score": 0.0015239089261740446 }, "else": { "operation": "boost", - "score": -0.08022787421941757 + "score": 0.0951092541217804 } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.13347220420837402 + "score": 0.08625168353319168 }, "else": { "operation": "boost", - "score": 0.027355976402759552 + "score": -0.1167207732796669 } } }, "else": { - "operation": "boost", - "score": 0.001484749955125153 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.05228208377957344 + }, + "else": { + "operation": "boost", + "score": 0.004467518534511328 + } + }, + "else": { + "operation": "boost", + "score": -0.007038779091089964 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.07677242159843445 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.19298090040683746 + }, + "else": { + "operation": "boost", + "score": -0.10219791531562805 + } + } + } } } } } - }, - "else": { - "operation": "boost", - "score": -0.006083586718887091 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.037633925676345825 }, "else": { "operation": "boost", - "score": -0.03316879644989967 + "score": 0.006346292328089476 } }, "else": { + "operation": "boost", + "score": -0.008310186676681042 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5898.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "boost", + "score": 0.04103269800543785 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6221.5, + "then": { + "operation": "boost", + "score": 0.12364301830530167 + }, + "else": { + "operation": "boost", + "score": -0.027902089059352875 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5908.5, + "then": { + "operation": "boost", + "score": 0.021066877990961075 + }, + "else": { + "operation": "boost", + "score": 0.1135588064789772 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_Symbol" ], "then": { + "operation": "boost", + "score": 0.10490783303976059 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": 0.0432092547416687 + }, + "else": { + "operation": "boost", + "score": 0.009704730473458767 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.04214794188737869 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.06816952675580978 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05784045532345772 - }, - "else": { - "operation": "boost", - "score": 0.10551965236663818 - } + "operation": "boost", + "score": 0.09605629742145538 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "boost", - "score": 0.10333742946386337 + "score": 0.03377765789628029 }, "else": { "operation": "boost", - "score": 0.017561836168169975 + "score": 0.025076471269130707 } } }, "else": { "operation": "boost", - "score": 0.1029408723115921 + "score": -0.03507456183433533 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09775012731552124 + "score": -0.032995790243148804 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1130182221531868 - }, - "else": { - "operation": "boost", - "score": 0.11503367871046066 - } + "operation": "boost", + "score": 0.012742121703922749 } }, "else": { "operation": "boost", - "score": 0.10706435889005661 + "score": -0.020801961421966553 } } + }, + "else": { + "operation": "boost", + "score": -0.025313911959528923 } - }, - "else": { - "operation": "boost", - "score": 0.4045504927635193 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": -0.017519088461995125 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.04955887049436569 + "score": -0.06708414107561111 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05208778381347656 - }, - "else": { - "operation": "boost", - "score": 0.10133904218673706 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.04294333606958389 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.045940954238176346 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07548262178897858 - }, - "else": { - "operation": "boost", - "score": 0.09025805443525314 - } - }, - "else": { - "operation": "boost", - "score": 0.06651009619235992 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0689048022031784 - } + "operation": "boost", + "score": -0.2716217637062073 } - }, - "else": { - "operation": "boost", - "score": 0.005359038710594177 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, - "then": { - "operation": "boost", - "score": 0.009153135120868683 - }, - "else": { - "operation": "boost", - "score": 0.11832141876220703 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0067834872752428055 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10069455951452255 - }, - "else": { - "operation": "boost", - "score": -0.02605581097304821 - } - }, - "else": { - "operation": "boost", - "score": -0.08326694369316101 } }, "else": { "operation": "boost", - "score": -0.033047690987586975 + "score": -0.001062791678123176 } - }, - "else": { - "operation": "boost", - "score": -0.014602585695683956 } } } @@ -107939,2300 +106183,2802 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.09905215352773666 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.022424008697271347 + }, + "else": { + "operation": "boost", + "score": 0.044719770550727844 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.0004056215693708509 + "score": 0.03237592428922653 }, "else": { - "operation": "boost", - "score": -0.05204370617866516 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.004728218074887991 + }, + "else": { + "operation": "boost", + "score": 0.020171338692307472 + } } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], + "operation": "boost", + "score": 0.028739577159285545 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.015345647931098938 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.023469913750886917 + }, + "else": { + "operation": "boost", + "score": -0.08639080822467804 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "operation": "boost", + "score": -0.047842178493738174 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.0896696075797081 + "score": 0.01313652005046606 }, "else": { - "operation": "boost", - "score": 0.02066684141755104 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.07009503245353699 + }, + "else": { + "operation": "boost", + "score": 0.02986270934343338 + } } }, "else": { "operation": "boost", - "score": -0.10062400251626968 + "score": -0.061199914664030075 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 59512.5, "then": { "operation": "boost", - "score": 0.008086701855063438 + "score": -0.09078659117221832 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 55483.0, "then": { "operation": "boost", - "score": 0.03792133182287216 + "score": 0.10850478708744049 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.014134753495454788 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 160757.0, + "then": { + "operation": "boost", + "score": 0.05943522974848747 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.025172824040055275 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03697383031249046 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": -0.7709452509880066 + }, + "else": { + "operation": "boost", + "score": 0.10475604236125946 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.04078303277492523 + }, + "else": { + "operation": "boost", + "score": 0.11808086186647415 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.027875376865267754 + } + }, + "else": { + "operation": "boost", + "score": -0.01177812460809946 + } }, "else": { - "operation": "boost", - "score": 0.06603620201349258 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": 0.03369489312171936 + }, + "else": { + "operation": "boost", + "score": -0.006001174449920654 + } } }, "else": { "operation": "boost", - "score": -0.021443016827106476 + "score": 0.007134441286325455 } } + }, + "else": { + "operation": "boost", + "score": -0.0002517095999792218 } - }, - "else": { - "operation": "boost", - "score": -0.015141594223678112 } } - }, - "else": { - "operation": "boost", - "score": 0.027154888957738876 } } - }, - "else": { - "operation": "boost", - "score": -0.005631088744848967 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3005.5, + "threshold": 33.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_Namespace", - "CCC_Symbol" + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.0234302319586277 + "score": 0.025965284556150436 }, "else": { "operation": "boost", - "score": 0.008615506812930107 + "score": 0.004686519503593445 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "boost", + "score": -0.008213505148887634 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.5566332340240479 - }, - "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.016595080494880676 + "score": 0.028210068121552467 }, "else": { - "operation": "boost", - "score": 0.07845385372638702 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.12256933003664017 + }, + "else": { + "operation": "boost", + "score": -0.45666950941085815 + } } }, "else": { "operation": "boost", - "score": 0.019355997443199158 + "score": 0.003929443191736937 } + }, + "else": { + "operation": "boost", + "score": -0.03985830023884773 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", "Constructor", "Function", - "Type" + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.1558704376220703, + "then": { + "operation": "boost", + "score": 0.014236782677471638 + }, + "else": { + "operation": "boost", + "score": 0.008844412863254547 + } + }, + "else": { + "operation": "boost", + "score": -0.11556033790111542 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.044988781213760376 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.1341850459575653 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.006117547396570444 + "score": -0.02683376893401146 }, "else": { + "operation": "boost", + "score": -0.17527104914188385 + } + }, + "else": { + "operation": "boost", + "score": 0.034743424504995346 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06579270213842392 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2734.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.018671521916985512 + }, + "else": { + "operation": "boost", + "score": 0.0426197275519371 + } + }, + "else": { + "operation": "boost", + "score": -0.06931557506322861 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14867597818374634 + }, + "else": { + "operation": "boost", + "score": 0.0012396987294778228 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.02147924154996872 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.00781989935785532 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.07351981103420258 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.18647116422653198 + }, + "else": { + "operation": "boost", + "score": -0.10673105716705322 + } + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86511.0, + "then": { + "operation": "boost", + "score": 0.07152165472507477 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.018274059519171715 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.024438854306936264 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.023834899067878723 + }, + "else": { + "operation": "boost", + "score": 0.01310131698846817 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0072065419517457485 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.03425312042236328 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.012871936894953251 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2793.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.030927347019314766 + "score": -0.13151085376739502 }, "else": { - "operation": "boost", - "score": 0.11173368245363235 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { + "operation": "boost", + "score": 0.05687014386057854 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.0675099790096283 + "score": -0.10747475177049637 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.14608028531074524 + "score": 0.056520864367485046 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.12136198580265045 - }, - "else": { - "operation": "boost", - "score": -0.17328450083732605 - } + "operation": "boost", + "score": -0.14571061730384827 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.060176920145750046 + "score": 0.050864268094301224 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, - "then": { - "operation": "boost", - "score": 0.12145481258630753 - }, - "else": { - "operation": "boost", - "score": 0.02510826289653778 - } + "operation": "boost", + "score": -0.09428320825099945 }, "else": { "operation": "boost", - "score": 0.10786628723144531 + "score": 0.050660502165555954 } } } } } - }, - "else": { - "operation": "boost", - "score": 0.06865250319242477 } - }, - "else": { - "operation": "boost", - "score": 0.032116666436195374 } + }, + "else": { + "operation": "boost", + "score": 0.00252702459692955 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05255269259214401 + }, + "else": { + "operation": "boost", + "score": -0.09036267548799515 } } }, "else": { - "operation": "boost", - "score": 0.02695772796869278 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.00841303076595068 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04611080512404442 + }, + "else": { + "operation": "boost", + "score": -0.10881736874580383 + } + } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", "CCC_Expression", - "CCC_Type" + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.00586438924074173 + }, + "else": { + "operation": "boost", + "score": 0.02392776869237423 + } + }, + "else": { + "operation": "boost", + "score": -0.04775720834732056 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.038305673748254776 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00027869187761098146 + }, + "else": { + "operation": "boost", + "score": -0.05425821989774704 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.013306746259331703 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.06278681755065918 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.15550115704536438 + }, + "else": { + "operation": "boost", + "score": -0.10828885436058044 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { "operation": "boost", - "score": -0.11158162355422974 + "score": 0.15083342790603638 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.027494490146636963 - }, - "else": { - "operation": "boost", - "score": 0.030500654131174088 - } + "operation": "boost", + "score": 0.03298678249120712 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.004520157352089882 + "score": -0.004327040631324053 }, "else": { - "operation": "boost", - "score": -0.09550648927688599 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.027854278683662415 + "score": 0.05277803912758827 }, "else": { "operation": "boost", - "score": 0.09708821773529053 + "score": -0.008605851791799068 } - }, - "else": { - "operation": "boost", - "score": -0.11662982404232025 } - }, - "else": { - "operation": "boost", - "score": -0.006602647714316845 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.009083997458219528 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.01356183085590601 + "score": 0.005975387524813414 }, "else": { - "operation": "boost", - "score": -0.03374127298593521 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.08723459392786026 + }, + "else": { + "operation": "boost", + "score": 0.0003872342058457434 + } } } + }, + "else": { + "operation": "boost", + "score": 0.01776563748717308 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.022714626044034958 + "score": -0.02568986639380455 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.11684924364089966 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5546.5, + "then": { + "operation": "boost", + "score": -0.01710537262260914 + }, + "else": { + "operation": "boost", + "score": 0.05090288072824478 + } }, "else": { "operation": "boost", - "score": -0.09655643999576569 + "score": 0.0032961349934339523 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.007516422308981419 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.015702322125434875 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.036052439361810684 - }, - "else": { - "operation": "boost", - "score": -0.020671159029006958 - } - } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 71.0, + "threshold": 32454.0, "then": { - "operation": "boost", - "score": -0.06571249663829803 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61.5, + "threshold": 56010.5, "then": { - "operation": "boost", - "score": 0.12292664498090744 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 29.5, + "threshold": 191566.0, "then": { - "operation": "boost", - "score": 0.13769814372062683 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10.5, + "threshold": 245728.5, "then": { + "operation": "boost", + "score": -0.22694531083106995 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.10721609741449356 + "score": 0.08792002499103546 }, "else": { "operation": "boost", - "score": -0.060143545269966125 + "score": 0.1165243536233902 } - }, - "else": { - "operation": "boost", - "score": 0.13025374710559845 } + }, + "else": { + "operation": "boost", + "score": -0.03299134597182274 } }, "else": { "operation": "boost", - "score": -0.025919266045093536 + "score": -0.16379031538963318 } }, "else": { "operation": "boost", - "score": 0.026409391313791275 + "score": 0.021794775500893593 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.010137274861335754 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1012.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1211.0, - "then": { - "operation": "boost", - "score": -0.015593823045492172 - }, - "else": { - "operation": "boost", - "score": 0.09093716740608215 - } - }, - "else": { - "operation": "boost", - "score": -0.05854639410972595 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1205.0, - "then": { - "operation": "boost", - "score": 0.10407000035047531 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11157297343015671 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05909976735711098 }, "else": { - "operation": "boost", - "score": -0.1584426611661911 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.13435152173042297 + }, + "else": { + "operation": "boost", + "score": -0.21990960836410522 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05867268517613411 + }, + "else": { + "operation": "boost", + "score": -0.06366857141256332 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.006885842885822058 } }, "else": { - "operation": "boost", - "score": 0.0057294913567602634 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": -0.107254758477211 + }, + "else": { + "operation": "boost", + "score": -0.022954484447836876 + } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.08777084201574326 + "score": 0.060219865292310715 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "boost", + "score": 0.015654228627681732 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.057540904730558395 - }, - "else": { - "operation": "boost", - "score": 0.11501388996839523 - } + "operation": "boost", + "score": 0.11715234071016312 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.1942962408065796 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05814635753631592 - }, - "else": { - "operation": "boost", - "score": -0.06212635710835457 - } - }, - "else": { - "operation": "boost", - "score": -0.11851025372743607 - } - }, - "else": { - "operation": "boost", - "score": -0.11069086939096451 - } - } + "operation": "boost", + "score": -0.004379733465611935 } + }, + "else": { + "operation": "boost", + "score": 0.01937681995332241 } + }, + "else": { + "operation": "boost", + "score": -0.051213983446359634 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.016854479908943176 + }, + "else": { + "operation": "boost", + "score": -0.02306055836379528 } } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 224557.0, + "threshold": 189.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_EnumTag", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.015986865386366844 + "score": -0.003999622538685799 }, "else": { - "operation": "boost", - "score": -0.044042449444532394 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69581.5, + "then": { + "operation": "boost", + "score": 0.03488783910870552 + }, + "else": { + "operation": "boost", + "score": 0.01999494805932045 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.46008795499801636 + "score": 0.01812909170985222 }, "else": { "operation": "boost", - "score": -0.08655750006437302 + "score": -0.05197471007704735 } } }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0014050399186089635 + }, + "else": { + "operation": "boost", + "score": -0.0067369830794632435 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.023393960669636726 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.016875959932804108 + }, + "else": { + "operation": "boost", + "score": -0.017406081780791283 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 8.0, "then": { "operation": "boost", - "score": 0.07335144281387329 + "score": 0.0020318888127803802 }, "else": { - "operation": "boost", - "score": 0.06937139481306076 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12286108732223511 + }, + "else": { + "operation": "boost", + "score": 0.12081676721572876 + } } }, "else": { "operation": "boost", - "score": -0.3567558825016022 + "score": 0.01744028367102146 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08450423181056976 - }, - "else": { - "operation": "boost", - "score": 0.10145487636327744 - } + "operation": "boost", + "score": 0.03535402938723564 }, "else": { "operation": "boost", - "score": 0.07845914363861084 + "score": 0.01082882471382618 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": 0.06877851486206055 }, "else": { + "operation": "boost", + "score": -0.046541906893253326 + } + }, + "else": { + "operation": "boost", + "score": 0.002167745493352413 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176731.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.10569055378437042 + "score": 0.04386962950229645 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174936.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "boost", + "score": 0.023823466151952744 + }, + "else": { + "operation": "boost", + "score": -0.022414401173591614 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.008450840599834919 + }, + "else": { + "operation": "boost", + "score": -0.15390627086162567 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.026709062978625298 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28548.0, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "boost", + "score": -0.055472198873758316 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.04872918501496315 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.043821655213832855 + }, + "else": { + "operation": "boost", + "score": -0.04944739490747452 + } }, "else": { "operation": "boost", - "score": 0.1230851262807846 + "score": -0.021242186427116394 } - }, - "else": { - "operation": "boost", - "score": -0.201684832572937 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.040833331644535065, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13286.0, + "threshold": 7575.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24339.0, + "threshold": 7681.0, "then": { "operation": "boost", - "score": 0.015632594004273415 + "score": 0.016784798353910446 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.11717686802148819 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18534.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.023726141080260277 - }, - "else": { - "operation": "boost", - "score": 0.10866213589906693 - } + "operation": "boost", + "score": 0.026396222412586212 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19373.5, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { "operation": "boost", - "score": 0.11039309948682785 + "score": 0.0905475988984108 }, "else": { "operation": "boost", - "score": 0.28200554847717285 + "score": 0.1454775482416153 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.11379911005496979 - }, - "else": { - "operation": "boost", - "score": 0.04679002985358238 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15708.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16227.0, - "then": { - "operation": "boost", - "score": -0.13028055429458618 - }, - "else": { - "operation": "boost", - "score": 0.11493513733148575 - } - }, - "else": { - "operation": "boost", - "score": 0.007343273144215345 - } - } + "operation": "boost", + "score": 0.005689991172403097 } }, "else": { "operation": "boost", - "score": 0.06196891888976097 + "score": -0.05595921725034714 } }, - "else": { - "operation": "boost", - "score": 0.04212542623281479 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13235.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07794139534235 - }, - "else": { - "operation": "boost", - "score": 0.12363641709089279 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.051534153521060944 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12924.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion" ], "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03322446718811989 + }, + "else": { + "operation": "boost", + "score": -0.03374385088682175 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13192.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.28609707951545715 + "score": -0.028046857565641403 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", "Function" ], "then": { - "operation": "boost", - "score": 0.11518270522356033 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.09785666316747665 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.04565230384469032 + }, + "else": { + "operation": "boost", + "score": 0.1098584458231926 + } + } + }, + "else": { + "operation": "boost", + "score": 0.031121309846639633 + } + }, + "else": { + "operation": "boost", + "score": 0.02213222347199917 + } + }, + "else": { + "operation": "boost", + "score": 0.028287876397371292 + } }, "else": { "operation": "boost", - "score": 0.10485021024942398 + "score": 0.005316158756613731 } } - }, - "else": { - "operation": "boost", - "score": 0.08216260373592377 } }, "else": { - "operation": "boost", - "score": 0.10856101661920547 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31541.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44392.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.027543196454644203 + "score": 0.02211897261440754 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32674.0, - "then": { - "operation": "boost", - "score": 0.09304960072040558 - }, - "else": { - "operation": "boost", - "score": -0.16813907027244568 - } + "operation": "boost", + "score": -0.002706253668293357 } - }, - "else": { - "operation": "boost", - "score": 0.09613671153783798 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6920.5, + "then": { + "operation": "boost", + "score": -0.42749086022377014 }, "else": { "operation": "boost", - "score": 0.0030552095267921686 + "score": -0.020933346822857857 } - }, - "else": { - "operation": "boost", - "score": 0.024136044085025787 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, - "then": { - "operation": "boost", - "score": -0.09474243968725204 - }, - "else": { - "operation": "boost", - "score": -0.006807259749621153 } } + }, + "else": { + "operation": "boost", + "score": 2.45273756980896 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.006251648999750614 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04681963101029396 - }, - "else": { - "operation": "boost", - "score": 0.018327239900827408 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.02819407917559147 - }, - "else": { - "operation": "boost", - "score": -0.030240662395954132 - } - }, - "else": { - "operation": "boost", - "score": 0.008689966052770615 - } - }, - "else": { - "operation": "boost", - "score": -0.009383740834891796 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.16799412667751312 - }, - "else": { - "operation": "boost", - "score": 0.12205598503351212 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.03876448795199394 - }, - "else": { - "operation": "boost", - "score": 0.0696120336651802 - } - }, - "else": { - "operation": "boost", - "score": 0.03979099541902542 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4152.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4159.5, - "then": { - "operation": "boost", - "score": 0.03592969849705696 }, "else": { - "operation": "boost", - "score": 0.11507496237754822 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Constructor", - "Function", - "Type" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09913903474807739 + "score": 0.06860829144716263 }, "else": { "operation": "boost", - "score": 0.04694843664765358 + "score": 0.1257946938276291 } }, "else": { "operation": "boost", - "score": 0.04381747171282768 + "score": 0.04299791529774666 } }, - "else": { - "operation": "boost", - "score": 0.04875978082418442 - } - }, - "else": { - "operation": "boost", - "score": -0.03341435641050339 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.0007354388944804668 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5916.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5949.5, - "then": { - "operation": "boost", - "score": 0.04088205099105835 - }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function", + "Macro", "Namespace" ], "then": { "operation": "boost", - "score": 0.1106129139661789 + "score": 0.03133697807788849 }, "else": { "operation": "boost", - "score": 0.062056198716163635 + "score": 0.007859385572373867 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1224.5, + "then": { + "operation": "boost", + "score": 0.030676977708935738 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.024334469810128212 - }, - "else": { - "operation": "boost", - "score": -0.0008300002082251012 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 412.0, + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 528.5, + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.0948372483253479 + }, + "else": { + "operation": "boost", + "score": 0.1191881000995636 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 763.0, - "then": { - "operation": "boost", - "score": 0.07565879821777344 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 706.0, - "then": { - "operation": "boost", - "score": 0.1210116297006607 - }, - "else": { - "operation": "boost", - "score": 0.059592969715595245 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03309042006731033 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 522.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.17864273488521576 - }, - "else": { - "operation": "boost", - "score": -0.1379636824131012 - } - }, - "else": { - "operation": "boost", - "score": -0.11810654401779175 - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Type" + "FunctionScope", + "GlobalScope" ], "then": { - "operation": "boost", - "score": 0.10969620943069458 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.2311224341392517 + "score": -0.030647272244095802 }, "else": { "operation": "boost", - "score": 0.13080105185508728 + "score": 0.03354388102889061 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06909742951393127 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { "operation": "boost", - "score": -0.30139365792274475 + "score": 0.059119343757629395 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.12187453359365463 + "score": 0.026751095429062843 }, "else": { "operation": "boost", - "score": 0.09429962933063507 + "score": 0.11397317051887512 } } + }, + "else": { + "operation": "boost", + "score": -0.020040828734636307 } } + }, + "else": { + "operation": "boost", + "score": -0.06129121407866478 } + }, + "else": { + "operation": "boost", + "score": -0.06915709376335144 } + }, + "else": { + "operation": "boost", + "score": -0.20475341379642487 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20942983031272888, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Constructor", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { + "operation": "boost", + "score": 0.014768454246222973 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 331.5, "then": { "operation": "boost", - "score": 0.054847683757543564 + "score": 0.20851945877075195 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.3566650152206421 - }, - "else": { - "operation": "boost", - "score": 0.13125775754451752 - } + "operation": "boost", + "score": 0.02246239222586155 } }, "else": { "operation": "boost", - "score": 0.06506606936454773 + "score": -0.007829999551177025 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0139167420566082 }, "else": { "operation": "boost", - "score": 0.019475573673844337 + "score": 0.0056691849604249 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.005967679433524609 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.04696986451745033 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02731511741876602 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.1388888955116272, + "then": { + "operation": "boost", + "score": 0.14293965697288513 + }, + "else": { + "operation": "boost", + "score": 0.06423050165176392 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.0016895747976377606 + }, + "else": { + "operation": "boost", + "score": 0.08225000649690628 + } + }, + "else": { + "operation": "boost", + "score": 0.011939614079892635 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "boost", + "score": -0.04224705696105957 + }, + "else": { + "operation": "boost", + "score": -0.014560898765921593 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.009175068698823452 - }, - "else": { - "operation": "boost", - "score": 0.1464824676513672 - } + "operation": "boost", + "score": -0.1432214379310608 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, "then": { "operation": "boost", - "score": 0.07860857993364334 + "score": 0.029593417420983315 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 4.0, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "boost", - "score": 0.11816012114286423 + "score": 0.2269800901412964 }, "else": { "operation": "boost", - "score": 0.16553561389446259 + "score": 0.08748947083950043 } }, "else": { - "operation": "boost", - "score": 0.11606702953577042 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2967033088207245, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "boost", + "score": -0.07020515203475952 + }, + "else": { + "operation": "boost", + "score": 0.1118769571185112 + } + }, + "else": { + "operation": "boost", + "score": 0.028908319771289825 + } + }, + "else": { + "operation": "boost", + "score": 0.082688108086586 + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.12354361265897751 - }, - "else": { - "operation": "boost", - "score": 0.1591312140226364 - } + "operation": "boost", + "score": 0.03139038383960724 }, "else": { "operation": "boost", - "score": -0.10022890567779541 + "score": -0.0009271121816709638 } } }, "else": { - "operation": "boost", - "score": -0.0051230210810899734 - } - }, - "else": { - "operation": "boost", - "score": 0.06304684281349182 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.0513157919049263, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1113179475069046 - }, - "else": { - "operation": "boost", - "score": 0.1630907505750656 - } + "operation": "boost", + "score": -0.1651851087808609 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.11848624050617218 - }, - "else": { - "operation": "boost", - "score": 0.10832832008600235 - } + "operation": "boost", + "score": 0.4648086428642273 } }, "else": { "operation": "boost", - "score": -0.12512187659740448 + "score": -0.0104170897975564 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.09919018298387527 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.15652871131896973 - }, - "else": { - "operation": "boost", - "score": 0.11082581430673599 - } - } + "operation": "boost", + "score": 0.013029581867158413 }, "else": { "operation": "boost", - "score": -0.06731564551591873 + "score": 0.002535431180149317 } } }, "else": { "operation": "boost", - "score": 0.08006951212882996 + "score": 0.09408837556838989 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08442378044128418 }, "else": { "operation": "boost", - "score": -0.0791751891374588 + "score": -0.11640388518571854 } - }, - "else": { - "operation": "boost", - "score": 0.0645354688167572 } - }, - "else": { - "operation": "boost", - "score": 0.004929039627313614 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.002144545316696167 }, "else": { - "operation": "boost", - "score": 0.04061449319124222 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.0, - "then": { - "operation": "boost", - "score": -0.148782879114151 - }, - "else": { - "operation": "boost", - "score": 0.1279321312904358 - } + "operation": "boost", + "score": 0.1021021157503128 }, "else": { "operation": "boost", - "score": 0.0649547204375267 + "score": 0.0475919172167778 } }, "else": { "operation": "boost", - "score": -0.14729788899421692 + "score": 0.0019996571354568005 } }, "else": { - "operation": "boost", - "score": 0.11050157248973846 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": -0.006899653002619743 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.10473156720399857 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.17867478728294373 + }, + "else": { + "operation": "boost", + "score": -0.09809662401676178 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.03376302495598793 } - }, - "else": { - "operation": "boost", - "score": 0.00651297764852643 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11469583213329315 - }, - "else": { - "operation": "boost", - "score": -0.21385513246059418 - } - }, - "else": { - "operation": "boost", - "score": -0.13698218762874603 - } - }, - "else": { - "operation": "boost", - "score": -0.07177554816007614 - } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.024975204840302467 + "score": -0.035975903272628784 }, "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11404133588075638 + "score": -0.06484151631593704 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.08357851952314377 + "score": -0.21717113256454468 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_DotMemberAccess" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.011040485464036465 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.041530925780534744 + "score": -0.04083048179745674 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.03112807869911194 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.04487402364611626 + }, + "else": { + "operation": "boost", + "score": 0.013956933282315731 + } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.04817595332860947 + "score": -0.02110833302140236 }, "else": { "operation": "boost", - "score": 0.0021273980382829905 + "score": 0.011627529747784138 } }, "else": { - "operation": "boost", - "score": -0.024977784603834152 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.19035032391548157 + }, + "else": { + "operation": "boost", + "score": -0.05382019281387329 + } + }, + "else": { + "operation": "boost", + "score": 0.0184167493134737 + } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03078744374215603 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.013491070829331875 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.0593934990465641 - }, - "else": { - "operation": "boost", - "score": 0.0875178873538971 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05150885134935379 - } - } - }, - "else": { - "operation": "boost", - "score": 0.038324348628520966 - } + "operation": "boost", + "score": 0.06639424711465836 }, "else": { + "operation": "boost", + "score": 0.00828997790813446 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.034485019743442535 + "score": -0.019553298130631447 }, "else": { "operation": "boost", - "score": 0.024164322763681412 + "score": 0.05999472737312317 } + }, + "else": { + "operation": "boost", + "score": -0.17481648921966553 } - }, - "else": { - "operation": "boost", - "score": 0.019254712387919426 } }, "else": { "operation": "boost", - "score": -5.609936488326639e-05 + "score": 0.014748971909284592 } } } } + }, + "else": { + "operation": "boost", + "score": -0.16630050539970398 } } } } }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 35.5, + "then": { + "operation": "boost", + "score": -0.13945895433425903 + }, + "else": { + "operation": "boost", + "score": -0.0077065653167665005 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1646.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.03967147320508957 + }, + "else": { + "operation": "boost", + "score": 0.017796602100133896 + } + }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope" + "Macro", + "Namespace", + "Variable" ], "then": { "operation": "if_greater", @@ -110240,336 +108986,67 @@ "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.10356408357620239 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.05761202052235603 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08835535496473312 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08283797651529312 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10898932069540024 - }, - "else": { - "operation": "boost", - "score": 0.12606890499591827 - } - }, - "else": { - "operation": "boost", - "score": 0.11848317086696625 - } - } - } - } + "operation": "boost", + "score": 0.03997628390789032 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.027999527752399445 - }, - "else": { - "operation": "boost", - "score": 0.07440938800573349 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0032805593218654394 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08944956213235855 - }, - "else": { - "operation": "boost", - "score": 0.10182957351207733 - } - }, - "else": { - "operation": "boost", - "score": 0.11968647688627243 - } - }, - "else": { - "operation": "boost", - "score": 0.06817863136529922 - } - }, - "else": { - "operation": "boost", - "score": 0.060808759182691574 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010466992855072021 - }, - "else": { - "operation": "boost", - "score": 0.04897391051054001 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02310745231807232 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1320701688528061 - }, - "else": { - "operation": "boost", - "score": 0.054175324738025665 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.003408469259738922 - }, - "else": { - "operation": "boost", - "score": 0.05281674489378929 - } - } - }, - "else": { - "operation": "boost", - "score": -0.019942631945014 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.037311144173145294 - }, - "else": { - "operation": "boost", - "score": -0.03614649921655655 - } - } - } + "operation": "boost", + "score": 0.007974939420819283 } - }, - "else": { - "operation": "boost", - "score": -0.09656775742769241 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.006532543804496527 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.014626646414399147 - }, - "else": { - "operation": "boost", - "score": 0.006269518285989761 - } + "operation": "boost", + "score": 0.025782162323594093 }, "else": { "operation": "boost", - "score": 0.00018556686700321734 + "score": -0.0259876549243927 } - }, - "else": { - "operation": "boost", - "score": -0.017611874267458916 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": -0.021360863000154495 - }, - "else": { - "operation": "boost", - "score": -0.07604283839464188 - } - }, - "else": { - "operation": "boost", - "score": -0.015542824752628803 - } + "operation": "boost", + "score": -0.0017215897096320987 } } } @@ -110577,4234 +109054,3613 @@ }, { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 29.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "FileScope" + "Variable" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07809092104434967 + "score": 0.037703968584537506 }, "else": { - "operation": "boost", - "score": 0.013866784051060677 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "boost", + "score": -0.11112568527460098 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.15181852877140045 + "score": -0.0973752811551094 }, "else": { - "operation": "boost", - "score": -0.09384829550981522 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09540975093841553 + }, + "else": { + "operation": "boost", + "score": 0.0374724417924881 + } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11849839985370636 + "score": -0.11592119187116623 }, "else": { "operation": "boost", - "score": -0.1195109561085701 + "score": 0.011607781052589417 } } - }, - "else": { - "operation": "boost", - "score": 0.005504683591425419 } - }, - "else": { - "operation": "boost", - "score": -0.01450575701892376 - } - } - }, - "else": { - "operation": "boost", - "score": 0.007579066790640354 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.009992234408855438 - }, - "else": { - "operation": "boost", - "score": 0.05718285217881203 } }, "else": { - "operation": "boost", - "score": 0.002482177224010229 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.08947324007749557 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.037578415125608444 + }, + "else": { + "operation": "boost", + "score": 0.012934810481965542 + } }, "else": { "operation": "boost", - "score": 0.12988892197608948 + "score": -0.0032454964239150286 } }, "else": { - "operation": "boost", - "score": 0.05361367389559746 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.09828212112188339 - }, - "else": { - "operation": "boost", - "score": -0.14771823585033417 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09702187776565552 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "boost", - "score": 0.15910527110099792 + "score": 0.044078245759010315 }, "else": { - "operation": "boost", - "score": 0.12943081557750702 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.02097887545824051 + }, + "else": { + "operation": "boost", + "score": -0.006243009120225906 + } } }, "else": { "operation": "boost", - "score": -0.12051382660865784 + "score": -0.0032376472372561693 } }, "else": { "operation": "boost", - "score": -0.016884129494428635 + "score": -0.033195603638887405 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.022338656708598137 }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.058251406997442245 + }, + "else": { + "operation": "boost", + "score": -0.045790836215019226 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01685783639550209 + } + }, + "else": { + "operation": "boost", + "score": 0.001496477983891964 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.022056538611650467 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.004051030147820711 + "score": -0.011226153932511806 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.08576362580060959 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.07946082949638367 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.05000000074505806, "then": { "operation": "boost", - "score": 0.060460858047008514 + "score": -0.01973530650138855 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Variable" ], "then": { "operation": "boost", - "score": 0.11788507550954819 + "score": 0.11678534746170044 }, "else": { "operation": "boost", - "score": 0.09264495968818665 + "score": 0.14498525857925415 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118314.0, - "then": { - "operation": "boost", - "score": -0.07334688305854797 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11336848139762878 - }, - "else": { - "operation": "boost", - "score": 0.07712389528751373 - } + "operation": "boost", + "score": 0.07992631196975708 } } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.051093120127916336 + }, + "else": { + "operation": "boost", + "score": -0.013118745759129524 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.05734270438551903 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45000.0, + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.010731061920523643 + }, + "else": { + "operation": "boost", + "score": -0.10837003588676453 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.05479481816291809 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06031012535095215 - }, - "else": { - "operation": "boost", - "score": 0.005771809257566929 - } + "operation": "boost", + "score": 0.08140316605567932 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, + "operation": "boost", + "score": 0.004414119757711887 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19968.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "boost", + "score": 0.046530842781066895 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.14377610385417938 + }, + "else": { + "operation": "boost", + "score": 0.10399763286113739 + } + }, + "else": { + "operation": "boost", + "score": 0.070024773478508 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01960446871817112 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64855.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132033.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174936.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "boost", - "score": 0.012188334949314594 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.10784579813480377 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 288840.5, - "then": { - "operation": "boost", - "score": -0.6314000487327576 - }, - "else": { - "operation": "boost", - "score": -0.46236273646354675 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, - "then": { - "operation": "boost", - "score": 0.07654829323291779 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.06255797296762466 - }, - "else": { - "operation": "boost", - "score": 0.11455372720956802 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04635797068476677 - } - }, - "else": { - "operation": "boost", - "score": -0.06333442777395248 - } - }, - "else": { - "operation": "boost", - "score": -0.03606041893362999 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166361.0, - "then": { - "operation": "boost", - "score": -0.5219283103942871 - }, - "else": { - "operation": "boost", - "score": -0.08307034522294998 - } - }, - "else": { - "operation": "boost", - "score": -2.070903778076172 - } - } + "operation": "boost", + "score": 0.07489890605211258 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.11650291830301285 - }, - "else": { - "operation": "boost", - "score": 0.05346772074699402 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86186.0, - "then": { - "operation": "boost", - "score": 0.10189205408096313 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.07346916198730469 - }, - "else": { - "operation": "boost", - "score": 0.1095663458108902 - } - }, - "else": { - "operation": "boost", - "score": 0.008589815348386765 - } - } - }, - "else": { - "operation": "boost", - "score": -0.062438081949949265 - } - } + "operation": "boost", + "score": 0.11352191865444183 }, "else": { "operation": "boost", - "score": -0.02715246193110943 + "score": -0.034395504742860794 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.033725619316101074 - }, - "else": { - "operation": "boost", - "score": -0.21179643273353577 - } + "operation": "boost", + "score": 0.0266929492354393 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10747141391038895 - }, - "else": { - "operation": "boost", - "score": -0.03133254498243332 - } - }, - "else": { - "operation": "boost", - "score": 0.003938344307243824 - } + "operation": "boost", + "score": 0.014037338085472584 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.16689898073673248 + "score": 0.02604440040886402 }, "else": { "operation": "boost", - "score": 0.10738355666399002 + "score": -0.256021648645401 } }, "else": { "operation": "boost", - "score": 0.11525668948888779 + "score": -0.010816991329193115 } - }, - "else": { - "operation": "boost", - "score": -0.348863810300827 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.18300673365592957 + "score": -0.06535903364419937 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Namespace" ], "then": { "operation": "boost", - "score": 0.03345656767487526 + "score": 0.114238440990448 }, "else": { "operation": "boost", - "score": -0.022295678034424782 + "score": -0.022969355806708336 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": 0.016344774514436722 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.030087871477007866 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 549246.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.025354042649269104 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 492.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 820317.5, + "threshold": 953.5, "then": { "operation": "boost", - "score": 0.015354830771684647 + "score": 0.025492805987596512 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 899.0, "then": { - "operation": "boost", - "score": 0.07099756598472595 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.09776517003774643 + "score": 0.11301657557487488 }, "else": { "operation": "boost", - "score": -0.07490992546081543 + "score": 0.1274406462907791 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07398351281881332 }, "else": { "operation": "boost", - "score": -0.2677353620529175 + "score": 0.07596437633037567 } - }, - "else": { - "operation": "boost", - "score": -0.028524456545710564 } + }, + "else": { + "operation": "boost", + "score": 0.001350689330138266 } - }, - "else": { - "operation": "boost", - "score": -0.00945724081248045 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": -0.02011210098862648 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1118842288851738 - }, - "else": { - "operation": "boost", - "score": -0.06151549518108368 - } + "operation": "boost", + "score": 0.027601057663559914 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.008303452283143997 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04768522456288338 + }, + "else": { + "operation": "boost", + "score": -0.23388324677944183 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 89516.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.10910964012145996 - }, - "else": { - "operation": "boost", - "score": 0.1233953982591629 - } + "operation": "boost", + "score": 0.039285674691200256 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75472.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79923.5, - "then": { - "operation": "boost", - "score": -0.05155754089355469 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.13202279806137085 - }, - "else": { - "operation": "boost", - "score": -0.22179043292999268 - } - } - }, - "else": { - "operation": "boost", - "score": 0.046591538935899734 - } + "operation": "boost", + "score": 0.008867972530424595 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "boost", + "score": -0.013527999632060528 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.18995285034179688 - }, - "else": { - "operation": "boost", - "score": 0.13981030881404877 - } - }, - "else": { - "operation": "boost", - "score": 0.7134833931922913 - } + "operation": "boost", + "score": 0.028418395668268204 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": -0.04811609536409378 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11736086010932922 - }, - "else": { - "operation": "boost", - "score": -0.13075308501720428 - } - } + "operation": "boost", + "score": 0.004863514099270105 } - }, - "else": { - "operation": "boost", - "score": 0.016658395528793335 } } } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Unknown" + ], "then": { + "operation": "boost", + "score": 0.033078309148550034 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.06463178992271423 + "score": 0.0918223038315773 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190379.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0032315836288034916 + "score": -0.14434446394443512 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03898996114730835 - }, - "else": { - "operation": "boost", - "score": 0.1060749739408493 - } - }, - "else": { - "operation": "boost", - "score": -0.10156150907278061 - } + "operation": "boost", + "score": 0.02077125944197178 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.08088698238134384 + "score": -0.01821650005877018 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "boost", - "score": 0.11952745914459229 - }, - "else": { - "operation": "boost", - "score": 0.11380952596664429 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": -0.1334874927997589 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.07007722556591034 - }, - "else": { - "operation": "boost", - "score": 0.10998072475194931 - } - } - } + "operation": "boost", + "score": -0.09188435971736908 } } - }, - "else": { + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1558704376220703, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 8.0, "then": { "operation": "boost", - "score": 0.046225108206272125 + "score": 0.12841925024986267 }, "else": { "operation": "boost", - "score": -0.0655016154050827 + "score": 0.08693089336156845 } + }, + "else": { + "operation": "boost", + "score": 0.0654030591249466 + } + }, + "else": { + "operation": "boost", + "score": -0.020435206592082977 + } + }, + "else": { + "operation": "boost", + "score": 0.0167329553514719 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01268976554274559 + }, + "else": { + "operation": "boost", + "score": -0.0901099145412445 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45000.0, + "threshold": 28352.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": -0.041085392236709595 + }, + "else": { + "operation": "boost", + "score": 0.0014445974957197905 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191.5, + "then": { + "operation": "boost", + "score": 0.031524259597063065 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.051925960928201675 + }, + "else": { + "operation": "boost", + "score": -0.0117747588083148 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 357084.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.005459258332848549 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": 0.07414814084768295 + }, + "else": { + "operation": "boost", + "score": 0.2142341285943985 + } + }, + "else": { + "operation": "boost", + "score": 0.0162554569542408 + } }, "else": { "operation": "boost", - "score": 0.14077933132648468 + "score": -0.03378303349018097 } }, "else": { "operation": "boost", - "score": 0.03621353581547737 - } - }, - "else": { - "operation": "boost", - "score": 0.041892506182193756 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.046492259949445724 - }, - "else": { - "operation": "boost", - "score": -0.0026366624515503645 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11347357928752899 - }, - "else": { - "operation": "boost", - "score": 0.11774074286222458 + "score": 0.012547432444989681 } }, "else": { "operation": "boost", - "score": -0.07598315924406052 + "score": -0.0031058844178915024 } }, "else": { "operation": "boost", - "score": 0.12495332956314087 + "score": -0.04409098997712135 } } } } - }, - "else": { - "operation": "boost", - "score": -0.005581398960202932 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 143.5, "then": { - "operation": "boost", - "score": -0.008136586286127567 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": -0.0003616895410232246 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.029688145965337753 - }, - "else": { - "operation": "boost", - "score": -0.08343840390443802 - } - }, - "else": { - "operation": "boost", - "score": 0.0257763359695673 - } + "operation": "boost", + "score": 0.05358985438942909 }, "else": { "operation": "boost", - "score": 0.009963863529264927 + "score": 0.014200911857187748 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Operator" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_EnumTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_TypeQualifiers" ], "then": { - "operation": "boost", - "score": 0.0026814586017280817 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.08461099863052368 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.08492794632911682 + "score": -0.019634705036878586 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.10750753432512283 + "score": 0.08301091194152832 }, "else": { - "operation": "boost", - "score": 0.11984872817993164 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.1170605942606926 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.0776289775967598 + }, + "else": { + "operation": "boost", + "score": 0.011204355396330357 + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.05747877061367035 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04221540316939354 + "score": -0.029881784692406654 }, "else": { "operation": "boost", - "score": 0.05612543225288391 + "score": 0.03676402196288109 } } }, "else": { - "operation": "boost", - "score": -0.004372728522866964 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.013708489947021008 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.010057748295366764 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.009179881773889065 + }, + "else": { + "operation": "boost", + "score": -0.04722519963979721 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03504427149891853 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.05150406062602997 + }, + "else": { + "operation": "boost", + "score": -0.0009269930887967348 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.029411764815449715, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03447171673178673 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01943589188158512 + }, + "else": { + "operation": "boost", + "score": 0.0302076768130064 + } + } + }, + "else": { + "operation": "boost", + "score": -0.001610844163224101 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.011183620430529118 + }, + "else": { + "operation": "boost", + "score": -0.020620975643396378 + } + } + } + } + }, + "else": { "operation": "boost", - "score": 0.06309624016284943 + "score": -0.022196628153324127 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0850372314453125, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.23901787400245667 + }, + "else": { + "operation": "boost", + "score": -0.4973312318325043 + } }, "else": { "operation": "boost", - "score": -0.03921071067452431 + "score": 0.16555023193359375 } }, "else": { "operation": "boost", - "score": -0.014901822432875633 + "score": 0.1345115751028061 } } + }, + "else": { + "operation": "boost", + "score": -0.09926263988018036 } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1339544802904129 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.011085816659033298 + "score": -0.05162927135825157 }, "else": { "operation": "boost", - "score": 0.04091113060712814 + "score": -0.06773241609334946 } }, "else": { - "operation": "boost", - "score": -0.0002573787060100585 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.010112243704497814 + }, + "else": { + "operation": "boost", + "score": 0.0011320925550535321 + } } } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.05389002710580826 }, "else": { + "operation": "boost", + "score": 0.01661154441535473 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0009421068243682384 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6360.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6388.5, + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.010713696479797363 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.010225612670183182 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "boost", + "score": 0.02399919554591179 + }, + "else": { + "operation": "boost", + "score": 0.007140217814594507 + } }, "else": { - "operation": "boost", - "score": 0.10907746106386185 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": 0.11026262491941452 + }, + "else": { + "operation": "boost", + "score": 0.07031583040952682 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.01367452833801508 }, "else": { "operation": "boost", - "score": 0.035427525639534 + "score": -0.03072693571448326 } - }, - "else": { - "operation": "boost", - "score": 0.11538082361221313 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 637.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.022763114422559738 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02748003974556923 + }, + "else": { + "operation": "boost", + "score": 0.013715528883039951 + } }, "else": { "operation": "boost", - "score": 0.030123943462967873 + "score": -0.11564687639474869 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03798620402812958 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "boost", + "score": 0.014521687291562557 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03244130685925484 + "score": -0.12980788946151733 }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.09761904925107956, "then": { "operation": "boost", - "score": 0.08628743141889572 + "score": 0.0026911080349236727 }, "else": { "operation": "boost", - "score": 0.0016646413132548332 + "score": 0.10093600302934647 } } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.009740496054291725 - }, - "else": { - "operation": "boost", - "score": -0.14481323957443237 - } + "operation": "boost", + "score": -0.01579108089208603 } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.019925298169255257 + }, + "else": { + "operation": "boost", + "score": -0.14983415603637695 + } + }, + "else": { + "operation": "boost", + "score": -0.0026117151137441397 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1806.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0024464258458465338 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04386616870760918 }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.20119620859622955 - }, - "else": { - "operation": "boost", - "score": -0.017781270667910576 - } + "operation": "boost", + "score": 0.001807592692784965 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Unknown", - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.02631285786628723 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2025275081396103 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.06307826191186905 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.026654548943042755 - }, - "else": { - "operation": "boost", - "score": 0.024965614080429077 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.01829403266310692 + "score": 0.059495311230421066 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0020563064608722925 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.09392505139112473 - }, - "else": { - "operation": "boost", - "score": 0.11489252001047134 - } - }, - "else": { - "operation": "boost", - "score": -0.09474018216133118 - } - } + "operation": "boost", + "score": 0.12653906643390656 }, "else": { "operation": "boost", - "score": -0.03378302603960037 + "score": 0.05332442373037338 } }, "else": { "operation": "boost", - "score": -0.1325269341468811 + "score": -0.02266327477991581 } } }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.018022621050477028 - }, - "else": { - "operation": "boost", - "score": -0.05254213511943817 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05467723309993744 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.009208745323121548 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.17390106618404388 - }, "else": { "operation": "boost", - "score": 0.1270388960838318 + "score": 0.0044036447070539 } }, "else": { - "operation": "boost", - "score": -0.11848245561122894 - } - }, - "else": { - "operation": "boost", - "score": -0.01489521935582161 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.00704483687877655 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.07563205808401108 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.07400606572628021 + "score": 0.03842472285032272 }, "else": { - "operation": "boost", - "score": 0.11635338515043259 - } + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.0095536969602108 + }, + "else": { + "operation": "boost", + "score": 0.03265639767050743 + } + } }, "else": { - "operation": "boost", - "score": 0.08255258202552795 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06772007793188095 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.013550016097724438 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06180323660373688 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190379.0, - "then": { - "operation": "boost", - "score": 0.0029950204771012068 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 34.0, "then": { - "operation": "boost", - "score": 0.03513401746749878 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.02104836143553257 + }, + "else": { + "operation": "boost", + "score": -0.021484250202775 + } }, "else": { - "operation": "boost", - "score": 0.10457836836576462 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.009545119479298592 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.20476816594600677 + }, + "else": { + "operation": "boost", + "score": -0.04413534700870514 + } + }, + "else": { + "operation": "boost", + "score": 0.007745806127786636 + } + } } - }, - "else": { - "operation": "boost", - "score": -0.10151039063930511 } + }, + "else": { + "operation": "boost", + "score": -0.10685154050588608 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.08020705729722977 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.02818717621266842 + }, + "else": { + "operation": "boost", + "score": 0.06492865085601807 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "boost", - "score": 0.09785891324281693 - }, - "else": { - "operation": "boost", - "score": 0.11014766246080399 - } - }, - "else": { - "operation": "boost", - "score": 0.11802761256694794 - } + "operation": "boost", + "score": 0.039825279265642166 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 190994.0, + "threshold": 548.5, "then": { "operation": "boost", - "score": -0.1278628259897232 + "score": 0.05706578865647316 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0665724128484726 - }, - "else": { - "operation": "boost", - "score": 0.10816220939159393 - } + "operation": "boost", + "score": 0.009680529125034809 } } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "ClassScope", + "FileScope" ], "then": { + "operation": "boost", + "score": 0.011916846968233585 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97466.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.08672671020030975 - }, - "else": { - "operation": "boost", - "score": 0.11269985884428024 - } - }, - "else": { - "operation": "boost", - "score": -0.018672971054911613 - } - }, - "else": { - "operation": "boost", - "score": 0.10914500802755356 - } + "operation": "boost", + "score": -0.012261577881872654 }, "else": { "operation": "boost", - "score": -0.2733260691165924 + "score": 0.013393268920481205 } - }, - "else": { - "operation": "boost", - "score": -0.034080829471349716 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "boost", - "score": 0.02394901029765606 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11226838827133179 - }, - "else": { - "operation": "boost", - "score": 0.11639665812253952 - } - }, - "else": { - "operation": "boost", - "score": -0.06173698604106903 - } + "operation": "boost", + "score": -0.02761734277009964 }, "else": { "operation": "boost", - "score": 0.11155658960342407 + "score": -0.0018493842799216509 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.046288687735795975 - }, - "else": { - "operation": "boost", - "score": 0.01770184375345707 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Operator", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.002810490084812045 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 76.5, "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.05027791112661362 + }, + "else": { + "operation": "boost", + "score": 0.15624995529651642 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.028211770579218864 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 902.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.0644921138882637 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": 0.08782786875963211 + }, + "else": { + "operation": "boost", + "score": 0.03620534762740135 + } + }, + "else": { + "operation": "boost", + "score": -0.00505052087828517 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 896.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.10123725235462189 + "score": 0.052176833152770996 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.03829217329621315 + "score": 0.141835555434227 }, "else": { "operation": "boost", - "score": 0.06533105671405792 + "score": 0.09895777702331543 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.014552833512425423 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.05832184851169586 + }, + "else": { + "operation": "boost", + "score": -0.026015067473053932 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10548856854438782 + }, + "else": { + "operation": "boost", + "score": 0.08340681344270706 + } } + }, + "else": { + "operation": "boost", + "score": 0.04827757179737091 } } } }, "else": { - "operation": "boost", - "score": -0.011141096241772175 - } - }, - "else": { - "operation": "boost", - "score": -0.015368728898465633 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3346.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7425.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.4107034206390381 + "score": -0.028081152588129044 }, "else": { "operation": "boost", - "score": 0.11022191494703293 + "score": 0.007028191816061735 } - }, - "else": { - "operation": "boost", - "score": -0.19197282195091248 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0372106172144413 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": -0.0023053751792758703 + "score": 0.14898401498794556 }, "else": { "operation": "boost", - "score": -0.042409759014844894 + "score": -0.020751407369971275 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "boost", - "score": 0.09307120740413666 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, - "then": { - "operation": "boost", - "score": 0.2066696286201477 - }, - "else": { - "operation": "boost", - "score": 0.12223285436630249 - } + "operation": "boost", + "score": 0.036372411996126175 }, "else": { "operation": "boost", - "score": 0.07837001234292984 + "score": 0.020669657737016678 } + }, + "else": { + "operation": "boost", + "score": -0.1082642674446106 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "boost", - "score": 0.13791482150554657 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.1223527044057846 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07322956621646881 + }, + "else": { + "operation": "boost", + "score": 0.03696579858660698 + } }, "else": { - "operation": "boost", - "score": 0.1389112025499344 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.042947422713041306 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1755.5, + "then": { + "operation": "boost", + "score": 0.13299337029457092 + }, + "else": { + "operation": "boost", + "score": -0.074998639523983 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10864917933940887 + }, + "else": { + "operation": "boost", + "score": 0.04691395163536072 + } + } + } } }, "else": { "operation": "boost", - "score": -0.17192815244197845 + "score": -0.00017939400277100503 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.15731285512447357 + "score": -0.05026007816195488 }, "else": { - "operation": "boost", - "score": 0.6076871752738953 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.019633343443274498 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.032085686922073364 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04808421805500984 + }, + "else": { + "operation": "boost", + "score": -0.06130432337522507 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.054160311818122864 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11305700987577438 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.0413113608956337 + }, + "else": { + "operation": "boost", + "score": 0.029463229700922966 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.037728626281023026 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.020476100966334343 + }, + "else": { + "operation": "boost", + "score": -0.019059419631958008 + } + } + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.022448386996984482 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.021799376234412193 }, "else": { "operation": "boost", - "score": 0.03199528157711029 + "score": 0.028584623709321022 } - }, - "else": { - "operation": "boost", - "score": -0.0016155883204191923 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.065094493329525 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type" + ], "then": { "operation": "boost", - "score": 0.043676409870386124 + "score": 0.02329234965145588 }, "else": { "operation": "boost", - "score": 0.010031315498054028 + "score": -0.025753788650035858 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.03731226921081543 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.03278869763016701 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010885135270655155 + }, + "else": { + "operation": "boost", + "score": 0.014400629326701164 + } }, "else": { - "operation": "boost", - "score": -0.08942768722772598 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.009833641350269318 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.045280177146196365 + }, + "else": { + "operation": "boost", + "score": -0.1306351274251938 + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42129.5, - "then": { - "operation": "boost", - "score": 0.09598565101623535 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11026.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12576.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16033.5, - "then": { - "operation": "boost", - "score": -0.051981035619974136 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15553.5, - "then": { - "operation": "boost", - "score": 0.10914351046085358 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10553552955389023 - }, - "else": { - "operation": "boost", - "score": -0.0315476730465889 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.12028569728136063 - } + "operation": "boost", + "score": -0.02336900867521763 }, "else": { - "operation": "boost", - "score": 0.007562835235148668 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 688.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 772.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.044035524129867554 + "score": -0.02442571334540844 }, "else": { "operation": "boost", - "score": 0.11955268681049347 + "score": 0.014611756429076195 } - }, - "else": { - "operation": "boost", - "score": 0.03480007126927376 } + }, + "else": { + "operation": "boost", + "score": -0.06036724895238876 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.003968892153352499 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05126666650176048 + "score": -0.1445903182029724 }, "else": { "operation": "boost", - "score": 0.13720329105854034 + "score": 0.010138248093426228 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.019500430673360825 - }, - "else": { - "operation": "boost", - "score": 0.09292887896299362 - } + "operation": "boost", + "score": 0.0010728162014856935 } - } - }, - "else": { - "operation": "boost", - "score": -0.01118216197937727 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.028979215770959854 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "boost", - "score": 0.019082440063357353 - }, - "else": { - "operation": "boost", - "score": 0.11937577277421951 - } + "operation": "boost", + "score": -0.004113609902560711 }, "else": { "operation": "boost", - "score": -0.09956569969654083 + "score": -0.10111788660287857 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": -0.08915475755929947 + "score": 0.05150683969259262 }, "else": { "operation": "boost", - "score": 0.08167427778244019 + "score": -0.015574995428323746 } }, - "else": { - "operation": "boost", - "score": -0.22776134312152863 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.0, - "then": { - "operation": "boost", - "score": 0.07135670632123947 - }, - "else": { - "operation": "boost", - "score": -0.030490517616271973 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.03308931365609169 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.019063960760831833 - }, - "else": { - "operation": "boost", - "score": 0.0076848724856972694 - } - } - }, - "else": { - "operation": "boost", - "score": -0.008813121356070042 - } - }, - "else": { - "operation": "boost", - "score": 0.1057330071926117 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11628775298595428 - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1517466902732849 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.012395542114973068 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.04904639720916748 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.014676832593977451 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10985641181468964 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10008913278579712 - }, - "else": { - "operation": "boost", - "score": 0.10195866972208023 - } - }, - "else": { - "operation": "boost", - "score": 0.14960120618343353 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02536408230662346 - } - } - }, - "else": { - "operation": "boost", - "score": 0.013412882573902607 - } - } - }, - "else": { - "operation": "boost", - "score": 0.003587705083191395 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6159.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.03800981491804123 - }, - "else": { - "operation": "boost", - "score": 0.10946422070264816 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7112.0, - "then": { - "operation": "boost", - "score": 0.033925026655197144 - }, - "else": { - "operation": "boost", - "score": 0.07888499647378922 - } - } - }, - "else": { - "operation": "boost", - "score": 0.012493439950048923 - } - } - }, - "else": { - "operation": "boost", - "score": -0.008496902883052826 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2089.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.08221212774515152 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32538.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61155.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61318.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06272812932729721 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62580.5, - "then": { - "operation": "boost", - "score": 0.011175904422998428 - }, - "else": { - "operation": "boost", - "score": 0.11292009800672531 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234371.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "boost", - "score": 0.01713823899626732 - }, - "else": { - "operation": "boost", - "score": -0.1367592066526413 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1086130142211914 - }, - "else": { - "operation": "boost", - "score": 0.11205422133207321 - } - }, - "else": { - "operation": "boost", - "score": 0.03099081665277481 - } - }, - "else": { - "operation": "boost", - "score": 0.07843604683876038 - } + "operation": "boost", + "score": 0.12992767989635468 }, "else": { "operation": "boost", - "score": 0.012577020563185215 + "score": -0.14629556238651276 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.07567106932401657 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.10168440639972687 - }, - "else": { - "operation": "boost", - "score": 0.11975093930959702 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, - "then": { - "operation": "boost", - "score": 0.0575571171939373 - }, - "else": { - "operation": "boost", - "score": 0.10705012828111649 - } - } - }, - "else": { - "operation": "boost", - "score": -0.019143179059028625 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10973823815584183 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05697208270430565 - }, - "else": { - "operation": "boost", - "score": -0.2591334879398346 - } - }, - "else": { - "operation": "boost", - "score": -0.3434999883174896 - } - }, - "else": { - "operation": "boost", - "score": 0.09564999490976334 - } - }, - "else": { - "operation": "boost", - "score": -0.010635670274496078 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43376.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, - "then": { - "operation": "boost", - "score": 0.12100321054458618 - }, - "else": { - "operation": "boost", - "score": -0.12050549685955048 - } - }, - "else": { - "operation": "boost", - "score": -0.10549720376729965 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50368.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10131342709064484 - }, - "else": { - "operation": "boost", - "score": 0.10907400399446487 - } + "score": 0.055571917444467545 }, "else": { "operation": "boost", - "score": -0.11519620567560196 + "score": -0.08549552410840988 } - }, - "else": { - "operation": "boost", - "score": -0.28468555212020874 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48070.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.0037742946296930313 + "score": 0.008606716059148312 }, "else": { "operation": "boost", - "score": 0.09598264843225479 + "score": 0.03570609539747238 } }, "else": { "operation": "boost", - "score": -0.053489070385694504 + "score": 0.002327321795746684 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.09163620322942734 + "score": 0.04021833464503288 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10440949350595474 - }, - "else": { - "operation": "boost", - "score": 0.11125440150499344 - } + "operation": "boost", + "score": -0.0017223469913005829 } }, "else": { "operation": "boost", - "score": 0.09273581206798553 + "score": 0.019678814336657524 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44558.0, - "then": { - "operation": "boost", - "score": 0.11058168113231659 - }, - "else": { - "operation": "boost", - "score": 0.069486603140831 - } + "operation": "boost", + "score": -0.022188350558280945 } - }, - "else": { - "operation": "boost", - "score": 0.11207404732704163 } } - }, - "else": { - "operation": "boost", - "score": -0.016191232949495316 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, + "operation": "boost", + "score": -0.00729366997256875 + } + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5394.0, + "then": { + "operation": "boost", + "score": 0.05257115140557289 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.016847502440214157 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.0029181058052927256 + }, + "else": { + "operation": "boost", + "score": 0.018755847588181496 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.002293347381055355 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10082.5, + "then": { + "operation": "boost", + "score": 0.04692764952778816 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.1273903250694275 - }, - "else": { - "operation": "boost", - "score": 0.11190260946750641 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12273116409778595 - }, - "else": { - "operation": "boost", - "score": 0.1099093034863472 - } - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33009.5, + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, "then": { "operation": "boost", - "score": -0.1241740956902504 + "score": 0.10973736643791199 }, "else": { "operation": "boost", - "score": 0.10497194528579712 + "score": 0.046852242201566696 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.02428918145596981 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27980.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37379.5, - "then": { - "operation": "boost", - "score": 0.007035726681351662 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10773727297782898 + "score": 0.05510761961340904 }, "else": { "operation": "boost", - "score": 0.10476019978523254 + "score": 0.02829638123512268 } }, "else": { - "operation": "boost", - "score": -0.13918714225292206 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34626.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, "then": { "operation": "boost", - "score": 0.027848633006215096 + "score": 0.010658026672899723 }, "else": { - "operation": "boost", - "score": 0.11435133963823318 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.13344214856624603 + }, + "else": { + "operation": "boost", + "score": 0.06590430438518524 + } } - }, - "else": { - "operation": "boost", - "score": 0.032722488045692444 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.13653625547885895 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 432212.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10897155851125717 - }, - "else": { - "operation": "boost", - "score": 0.021476713940501213 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.3871825337409973 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.07575423270463943 + "score": -0.05192257836461067 }, "else": { "operation": "boost", - "score": -0.23768188059329987 + "score": -0.30611133575439453 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 375849.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.1093929186463356 - }, - "else": { - "operation": "boost", - "score": 0.04596942290663719 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25815.0, - "then": { - "operation": "boost", - "score": -0.06391661614179611 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25411.0, - "then": { - "operation": "boost", - "score": -0.5293570160865784 - }, - "else": { - "operation": "boost", - "score": -0.2342379093170166 - } - } - } + "operation": "boost", + "score": -0.04645320400595665 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7103.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "feature": "FractionNameInContext", + "threshold": 0.2928921580314636, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.05308033525943756 - }, - "else": { - "operation": "boost", - "score": 0.11753499507904053 - } - }, - "else": { - "operation": "boost", - "score": 0.045019928365945816 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", + "CCC_TopLevel", "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, - "then": { - "operation": "boost", - "score": 0.10524334758520126 - }, - "else": { - "operation": "boost", - "score": 0.09522618353366852 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10089197009801865 - }, - "else": { - "operation": "boost", - "score": 0.1108623668551445 - } + "operation": "boost", + "score": 0.07413214445114136 }, "else": { "operation": "boost", - "score": 0.11771417409181595 + "score": 0.005341779440641403 } }, "else": { - "operation": "boost", - "score": 0.05046508088707924 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.12754791975021362 + "score": 0.04074614495038986 }, "else": { - "operation": "boost", - "score": 0.13039585947990417 - } - }, - "else": { - "operation": "boost", - "score": 0.056730277836322784 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7166.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8871.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9213.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10043883323669434 + "score": 0.03632489964365959 }, "else": { - "operation": "boost", - "score": 0.13229703903198242 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.9991827607154846 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8541666269302368, + "then": { + "operation": "boost", + "score": -1.1275469064712524 + }, + "else": { + "operation": "boost", + "score": 0.17608506977558136 + } + }, + "else": { + "operation": "boost", + "score": -0.29389631748199463 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08619474619626999 + } } - }, - "else": { - "operation": "boost", - "score": -0.0625702366232872 } - }, - "else": { - "operation": "boost", - "score": 0.10987668484449387 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.06913544237613678 + "score": 0.03928826004266739 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11845000088214874 - }, - "else": { - "operation": "boost", - "score": -0.10862762480974197 - } + "operation": "boost", + "score": 0.015208262950181961 } } }, "else": { "operation": "boost", - "score": 0.059955623000860214 + "score": 0.004028852563351393 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7126.0, - "then": { - "operation": "boost", - "score": 0.037682611495256424 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09196876734495163 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.11346647888422012 - }, - "else": { - "operation": "boost", - "score": 0.11610724031925201 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.11518587917089462 + "score": -0.14975404739379883 }, "else": { "operation": "boost", - "score": -0.0241363737732172 + "score": -0.12539565563201904 } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10718347132205963 - }, - "else": { - "operation": "boost", - "score": 0.07722964882850647 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05915047600865364 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18967.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19203.5, - "then": { - "operation": "boost", - "score": 0.07038096338510513 - }, - "else": { - "operation": "boost", - "score": 0.1149120032787323 - } - }, - "else": { - "operation": "boost", - "score": 0.02399316057562828 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8150.0, - "then": { - "operation": "boost", - "score": 0.09662851691246033 - }, - "else": { - "operation": "boost", - "score": 0.12235121428966522 - } - }, - "else": { - "operation": "boost", - "score": 0.0781576856970787 - } - }, - "else": { - "operation": "boost", - "score": 0.02682199329137802 + "operation": "boost", + "score": 0.004922868683934212 } } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.018797187134623528 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7081.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": -0.23268960416316986 + "score": 0.02722748927772045 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.10877404361963272 - }, - "else": { - "operation": "boost", - "score": 0.11941665410995483 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.03305162861943245 - }, - "else": { - "operation": "boost", - "score": 0.016373395919799805 - } - } + "operation": "boost", + "score": -0.0023224493488669395 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 443558.5, "then": { "operation": "boost", - "score": -0.004229486919939518 + "score": 0.06573652476072311 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.036648016422986984 + "score": 0.013531404547393322 }, "else": { - "operation": "boost", - "score": 0.013066159561276436 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.005731872748583555 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "boost", + "score": -0.057340752333402634 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.054322198033332825 + }, + "else": { + "operation": "boost", + "score": 0.001318494789302349 + } + } + } } } } - }, - "else": { - "operation": "boost", - "score": -0.0019331062212586403 } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 121.5, "then": { - "operation": "boost", - "score": 0.005307594779878855 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 195234.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 88678.0, + "threshold": 220112.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": 0.031102754175662994 - }, - "else": { - "operation": "boost", - "score": 0.093622587621212 - } + "operation": "boost", + "score": 0.065703384578228 }, "else": { "operation": "boost", - "score": 0.02374059148132801 + "score": 0.10486199706792831 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6406.0, "then": { - "operation": "boost", - "score": 0.013299467973411083 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Unknown", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19203.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 132310.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2151045948266983 - }, - "else": { - "operation": "boost", - "score": -0.018348129466176033 - } + "operation": "boost", + "score": -0.274260014295578 }, "else": { "operation": "boost", - "score": 0.024695435538887978 + "score": 0.03712190315127373 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.032124899327754974 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6360.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11173605918884277 + }, + "else": { + "operation": "boost", + "score": 0.12094463407993317 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.026255596429109573 + "score": 0.0653286799788475 }, "else": { "operation": "boost", - "score": 0.05020986497402191 + "score": 0.0172275397926569 } } } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.028499556705355644 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0025212205946445465 + }, + "else": { + "operation": "boost", + "score": 0.030268298462033272 + } + } } }, "else": { - "operation": "boost", - "score": -0.008312092162668705 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32538.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45000.0, + "threshold": 191566.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52893.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, - "then": { - "operation": "boost", - "score": 0.024359581992030144 - }, - "else": { - "operation": "boost", - "score": 0.10821566730737686 - } - }, - "else": { - "operation": "boost", - "score": -0.1029222160577774 - } + "operation": "boost", + "score": -0.0979294404387474 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.03728536143898964 + "score": 0.08887732028961182 }, "else": { "operation": "boost", - "score": 0.08285442739725113 + "score": 0.07140126079320908 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11047250777482986 - }, - "else": { - "operation": "boost", - "score": 0.04237937182188034 - } + "operation": "boost", + "score": -0.14986754953861237 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132310.5, "then": { + "operation": "boost", + "score": -0.1320609748363495 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33041.5, + "threshold": 96602.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.041516054421663284 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 108163.5, "then": { "operation": "boost", - "score": -0.3108482360839844 + "score": -0.10992328077554703 }, "else": { "operation": "boost", - "score": 0.12260795384645462 + "score": 0.05343719571828842 } - } - }, - "else": { - "operation": "boost", - "score": 0.11677627265453339 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.06184552237391472 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33451.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.10281020402908325 + }, + "else": { + "operation": "boost", + "score": 0.1312291920185089 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33949.0, + "threshold": 108163.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.18150347471237183 - }, - "else": { - "operation": "boost", - "score": -0.02609185129404068 - } + "operation": "boost", + "score": -0.13530421257019043 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 98088.5, "then": { "operation": "boost", - "score": 0.15128837525844574 + "score": 0.1465735286474228 }, "else": { "operation": "boost", - "score": 0.1290256828069687 + "score": 0.06310753524303436 } } - }, - "else": { - "operation": "boost", - "score": -0.11908424645662308 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 89117.0, "then": { "operation": "boost", - "score": 0.07517735660076141 + "score": -0.1886807680130005 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 11825.0, "then": { "operation": "boost", - "score": 0.021892733871936798 + "score": 0.015304919332265854 }, "else": { "operation": "boost", - "score": 0.09666161984205246 + "score": -0.011054432019591331 } } } @@ -114812,989 +112668,703 @@ } }, "else": { + "operation": "boost", + "score": -0.06041985750198364 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.24480852484703064 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.034727275371551514 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.09107646346092224 + }, + "else": { + "operation": "boost", + "score": 0.03166515752673149 + } + }, + "else": { + "operation": "boost", + "score": 0.03378962725400925 + } }, "else": { "operation": "boost", - "score": -0.17768962681293488 + "score": 0.04867080971598625 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 155294.5, "then": { "operation": "boost", - "score": -0.06907347589731216 + "score": 0.05361124128103256 }, "else": { - "operation": "boost", - "score": 0.04135977849364281 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.004766432568430901 + }, + "else": { + "operation": "boost", + "score": 0.03096671961247921 + } } } + }, + "else": { + "operation": "boost", + "score": 0.010012668557465076 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": -0.0013080986682325602 + }, + "else": { + "operation": "boost", + "score": -0.0791308805346489 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.023030830547213554 + "score": 0.003412415971979499 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304083.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": -0.07953408360481262 + "score": -0.02539672516286373 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.17072182893753052 - }, - "else": { - "operation": "boost", - "score": 0.14304210245609283 - } - }, - "else": { - "operation": "boost", - "score": 0.16016143560409546 - } + "operation": "boost", + "score": -0.5336731672286987 } } }, "else": { - "operation": "boost", - "score": 0.05815437063574791 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Other", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.014617936685681343 + }, + "else": { + "operation": "boost", + "score": 0.003711898811161518 + } } - }, - "else": { - "operation": "boost", - "score": 0.031017020344734192 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.18325291574001312 - }, - "else": { - "operation": "boost", - "score": -0.04333725944161415 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.06353402137756348 - }, - "else": { - "operation": "boost", - "score": -0.09497532993555069 - } - }, - "else": { - "operation": "boost", - "score": 0.08818630129098892 - } + "operation": "boost", + "score": 0.12834221124649048 }, "else": { "operation": "boost", - "score": -0.12119932472705841 + "score": 0.038734205067157745 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": -0.0020857553463429213 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.07885202765464783 + "score": 0.04177385941147804 }, "else": { "operation": "boost", - "score": 0.10408038645982742 + "score": 0.01385490596294403 } }, "else": { - "operation": "boost", - "score": 0.016740091145038605 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.02283373475074768 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": 0.008189036510884762 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10860484838485718 - }, - "else": { - "operation": "boost", - "score": 0.1143098920583725 - } - }, - "else": { - "operation": "boost", - "score": 0.05527637526392937 - } - }, - "else": { - "operation": "boost", - "score": 0.07143720984458923 - } + "operation": "boost", + "score": 0.07719503343105316 }, "else": { "operation": "boost", - "score": 0.12217558175325394 + "score": 0.0021965873893350363 } - }, - "else": { - "operation": "boost", - "score": -0.12228679656982422 } } }, "else": { "operation": "boost", - "score": 0.011381156742572784 + "score": 0.01817588321864605 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132033.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": -0.03168300911784172 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5471.0, "then": { - "operation": "boost", - "score": -0.11341601610183716 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5905.5, + "then": { + "operation": "boost", + "score": 0.08207491785287857 + }, + "else": { + "operation": "boost", + "score": 0.14457537233829498 + } }, "else": { "operation": "boost", - "score": -0.4087933599948883 + "score": 0.03637154772877693 } + } + }, + "else": { + "operation": "boost", + "score": -0.07661954313516617 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007694465108215809 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16397.5, + "then": { + "operation": "boost", + "score": -0.15759122371673584 }, "else": { "operation": "boost", - "score": -0.032794274389743805 + "score": -0.05342891067266464 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56010.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90096.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93746.0, - "then": { - "operation": "boost", - "score": 0.09625992923974991 - }, - "else": { - "operation": "boost", - "score": -0.3605574667453766 - } + "operation": "boost", + "score": -0.01606716401875019 }, "else": { "operation": "boost", - "score": -0.025664135813713074 + "score": 0.028848430141806602 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89371.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.10554343461990356 + "score": -0.08389542251825333 }, "else": { - "operation": "boost", - "score": 0.11816740036010742 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73859.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79923.5, - "then": { - "operation": "boost", - "score": -0.02223432995378971 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.4393380284309387 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.14829492568969727 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10585633665323257 - }, - "else": { - "operation": "boost", - "score": 0.07725638896226883 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.12057202309370041 - }, - "else": { - "operation": "boost", - "score": 0.11539280414581299 - } - } - } - } + "operation": "boost", + "score": 0.04436080530285835 }, "else": { "operation": "boost", - "score": 0.07656379789113998 + "score": -0.011026114225387573 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09411738067865372 }, "else": { "operation": "boost", - "score": -0.041147999465465546 + "score": 0.024162065237760544 } } } }, "else": { - "operation": "boost", - "score": 0.011042041704058647 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.01836632750928402 + }, + "else": { + "operation": "boost", + "score": 0.049854837357997894 + } } }, "else": { - "operation": "boost", - "score": 0.11246531456708908 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.0012204822851344943 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.013703184202313423 + }, + "else": { + "operation": "boost", + "score": -0.010381274856626987 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74740.0, + "then": { + "operation": "boost", + "score": 0.09880121797323227 + }, + "else": { + "operation": "boost", + "score": -0.009654349647462368 + } + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 96602.0, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, - "then": { - "operation": "boost", - "score": 0.09415178000926971 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.1379106342792511 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11078572273254395 - }, - "else": { - "operation": "boost", - "score": 0.15126611292362213 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.15233644843101501 - } - }, - "else": { - "operation": "boost", - "score": 0.01721895858645439 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07266785204410553 - }, - "else": { - "operation": "boost", - "score": 0.1028042733669281 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.08990396559238434 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11176566034555435 - }, - "else": { - "operation": "boost", - "score": 0.10389479994773865 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.14218737185001373 - } - } - }, - "else": { - "operation": "boost", - "score": 0.020908555015921593 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09807059168815613 - }, - "else": { - "operation": "boost", - "score": 0.13423706591129303 - } - }, - "else": { - "operation": "boost", - "score": 0.07616344094276428 - } - }, - "else": { - "operation": "boost", - "score": -0.04972122237086296 - } - } + "operation": "boost", + "score": -0.09349554777145386 }, "else": { "operation": "boost", - "score": 0.008188581094145775 + "score": -0.0036835509818047285 } } + }, + "else": { + "operation": "boost", + "score": -0.011626899242401123 } } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.43355345726013184 - }, - "else": { - "operation": "boost", - "score": 0.07459811121225357 - } + "operation": "boost", + "score": -0.03755057975649834 }, "else": { "operation": "boost", - "score": 0.10637388378381729 + "score": -0.05418563634157181 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Symbol", "CCC_TopLevel", - "CCC_Symbol" + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 8506.0, "then": { "operation": "boost", - "score": 0.053016677498817444 + "score": 0.035254091024398804 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.0852760449051857 - }, - "else": { - "operation": "boost", - "score": 0.07986650615930557 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11376003175973892 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0103424321860075 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.05329224839806557 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "boost", - "score": 0.0832735076546669 + "score": 0.021931633353233337 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08609066158533096 + "score": -0.09443136304616928 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10746205598115921 - }, - "else": { - "operation": "boost", - "score": 0.12266288697719574 - } + "operation": "boost", + "score": -0.05338224396109581 }, "else": { "operation": "boost", - "score": 0.11448563635349274 + "score": 0.007471795193850994 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.024154052138328552 }, "else": { "operation": "boost", - "score": 0.004169144667685032 + "score": -0.10433860123157501 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "ClassScope", + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.03534537926316261 - }, - "else": { - "operation": "boost", - "score": 0.0021820913534611464 - } - }, - "else": { "operation": "boost", - "score": 0.00863976962864399 - } - }, - "else": { - "operation": "boost", - "score": -0.014010416343808174 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31292.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, - "then": { - "operation": "boost", - "score": -0.21046681702136993 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10888804495334625 - }, - "else": { - "operation": "boost", - "score": 0.11656443774700165 - } + "score": 0.0635608583688736 }, "else": { "operation": "boost", - "score": -0.10082975029945374 + "score": 0.01340915821492672 } - } - }, - "else": { - "operation": "boost", - "score": -0.0012911359081044793 - } - } - }, - "else": { - "operation": "boost", - "score": -0.014443906955420971 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.0591544583439827 }, "else": { "operation": "boost", - "score": 0.04370465129613876 + "score": -0.0069734458811581135 } - }, - "else": { - "operation": "boost", - "score": 0.032376479357481 } - }, - "else": { - "operation": "boost", - "score": 0.013302811421453953 } - }, - "else": { - "operation": "boost", - "score": -0.0013932842994108796 } } } @@ -115802,2804 +113372,2474 @@ }, { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, "then": { + "operation": "boost", + "score": 0.03336801752448082 + }, + "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.01101274136453867 + "score": 0.02892700955271721 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.24194617569446564 - }, - "else": { - "operation": "boost", - "score": -0.08899533003568649 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11295319348573685 - }, - "else": { - "operation": "boost", - "score": -0.12743327021598816 - } - } - }, - "else": { - "operation": "boost", - "score": 0.013182873837649822 - } - }, - "else": { - "operation": "boost", - "score": -0.013865823857486248 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27178.0, - "then": { - "operation": "boost", - "score": -0.11150164157152176 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.014117667451500893 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 165.0, - "then": { - "operation": "boost", - "score": 0.1576385796070099 - }, - "else": { - "operation": "boost", - "score": 0.047741279006004333 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1930.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10105887055397034 + "score": -0.19982561469078064 }, "else": { - "operation": "boost", - "score": -0.039114974439144135 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.36966753005981445 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": 0.04021080583333969 + }, + "else": { + "operation": "boost", + "score": 0.012560467235744 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.021908462047576904 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.12070177495479584 + }, + "else": { + "operation": "boost", + "score": 0.07842948287725449 + } + } + } + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": 0.05341653525829315 + }, + "else": { + "operation": "boost", + "score": 0.019655516371130943 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.05542002245783806 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, "then": { "operation": "boost", - "score": 0.12163485586643219 + "score": -0.11501879245042801 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.12048698216676712 - }, - "else": { - "operation": "boost", - "score": 0.05531039834022522 - } + "operation": "boost", + "score": -0.18796497583389282 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.022201359272003174 - }, - "else": { - "operation": "boost", - "score": 0.11670508235692978 - } - }, - "else": { - "operation": "boost", - "score": -0.3752436935901642 - } + "operation": "boost", + "score": 0.0004872353165410459 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.1679379791021347 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": -0.0625460222363472 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.17243677377700806 + "score": 0.05881275609135628 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 368.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "boost", - "score": 0.09645063430070877 + "score": 0.15958909690380096 }, "else": { "operation": "boost", - "score": 0.12759526073932648 + "score": -0.09224991500377655 } }, "else": { "operation": "boost", - "score": 0.05132370814681053 + "score": -0.04459937661886215 } } + }, + "else": { + "operation": "boost", + "score": -0.17936980724334717 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.014502884820103645 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, "then": { "operation": "boost", - "score": 0.12535779178142548 + "score": 0.14802014827728271 }, "else": { "operation": "boost", - "score": -0.306574285030365 + "score": 0.08858536928892136 } } }, "else": { - "operation": "boost", - "score": -0.12928232550621033 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.050521232187747955 + "score": 0.03832210972905159 }, "else": { "operation": "boost", - "score": 0.11324705928564072 + "score": 0.000497597036883235 } - }, - "else": { - "operation": "boost", - "score": 0.06003290042281151 } } } }, "else": { "operation": "boost", - "score": 0.027857426553964615 + "score": -0.004918423481285572 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.001681619556620717 + }, + "else": { + "operation": "boost", + "score": 0.031248630955815315 } } - }, - "else": { - "operation": "boost", - "score": 0.005613702815026045 } } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09920475631952286 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.029708851128816605 + }, + "else": { + "operation": "boost", + "score": -0.09713544696569443 + } }, "else": { - "operation": "boost", - "score": -0.019192008301615715 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.09995914995670319 + }, + "else": { + "operation": "boost", + "score": -0.12261240184307098 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.007086066994816065 + }, + "else": { + "operation": "boost", + "score": -0.11455990374088287 + } + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3010.0, + "threshold": 185.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_Namespace", - "CCC_Symbol" + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.02082991413772106 + "score": 0.02308555692434311 }, "else": { "operation": "boost", - "score": 0.007555847521871328 + "score": 0.002380102640017867 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "boost", + "score": 0.012848018668591976 + }, + "else": { + "operation": "boost", + "score": 0.0013450686819851398 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03485541790723801 + }, + "else": { + "operation": "boost", + "score": 0.00554298609495163 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 266152.5, "then": { - "operation": "boost", - "score": -0.16351714730262756 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 272339.5, + "then": { + "operation": "boost", + "score": 0.035844288766384125 + }, + "else": { + "operation": "boost", + "score": 0.08512801676988602 + } }, "else": { "operation": "boost", - "score": -0.08631466329097748 + "score": 0.0021524406038224697 } }, "else": { "operation": "boost", - "score": 0.004281580913811922 + "score": -0.016346968710422516 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.022429220378398895 + "score": 0.02101953513920307 }, "else": { - "operation": "boost", - "score": 0.10104937106370926 - } - }, - "else": { - "operation": "boost", - "score": -0.05402359366416931 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Constructor", - "Type" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.007754121441394091 + "score": -0.15887193381786346 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 688.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 794.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.00515561830252409 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.1073329970240593 + }, + "else": { + "operation": "boost", + "score": 0.18267673254013062 + } + }, + "else": { + "operation": "boost", + "score": -0.13487526774406433 + } }, "else": { "operation": "boost", - "score": 0.11707337200641632 + "score": 0.1212310716509819 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 178.5, - "then": { - "operation": "boost", - "score": -0.1845853477716446 - }, - "else": { - "operation": "boost", - "score": 0.03210261091589928 - } + "operation": "boost", + "score": 0.07500051707029343 } } - }, - "else": { - "operation": "boost", - "score": -0.08947516232728958 } }, "else": { + "operation": "boost", + "score": -0.02959008514881134 + } + }, + "else": { + "operation": "boost", + "score": -0.02915174700319767 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.024787049740552902 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "boost", - "score": 0.017258236184716225 - }, - "else": { - "operation": "boost", - "score": 0.1156340166926384 - } + "operation": "boost", + "score": 0.0766424611210823 }, "else": { "operation": "boost", - "score": -0.09007439017295837 + "score": -0.08151654899120331 } + }, + "else": { + "operation": "boost", + "score": 0.07456130534410477 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": -0.07855476438999176 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.023823196068406105 + }, + "else": { + "operation": "boost", + "score": -0.03618878126144409 + } + }, + "else": { + "operation": "boost", + "score": 0.002745185513049364 + } }, "else": { - "operation": "boost", - "score": 0.06391453742980957 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.029695868492126465 + }, + "else": { + "operation": "boost", + "score": -1.743262146192137e-05 + } } }, - "else": { - "operation": "boost", - "score": -0.231122687458992 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 642.5, - "then": { - "operation": "boost", - "score": 0.10651377588510513 - }, - "else": { - "operation": "boost", - "score": -0.027084017172455788 - } - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.004380796104669571 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11200.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11308.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23683.5, - "then": { - "operation": "boost", - "score": 0.08007388561964035 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22760.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.1214585080742836 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0006851644720882177 + }, + "else": { + "operation": "boost", + "score": -0.14412179589271545 + } }, "else": { - "operation": "boost", - "score": -0.1415024846792221 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.04944298043847084 + }, + "else": { + "operation": "boost", + "score": 0.015724580734968185 + } + }, + "else": { + "operation": "boost", + "score": -0.039180148392915726 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.026054291054606438 + }, + "else": { + "operation": "boost", + "score": -0.09995283931493759 + } + } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.00593704404309392 }, "else": { "operation": "boost", - "score": 0.06395644694566727 + "score": -0.008828331716358662 } - }, - "else": { - "operation": "boost", - "score": 0.04712429642677307 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.11388136446475983 + "score": 0.15275947749614716 }, "else": { "operation": "boost", - "score": 0.019044263288378716 + "score": 0.098673515021801 } } }, "else": { "operation": "boost", - "score": 0.01756623201072216 + "score": -0.08337195217609406 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11209.5, + "threshold": 241916.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.15012559294700623 - }, - "else": { - "operation": "boost", - "score": 0.14220748841762543 - } - }, - "else": { - "operation": "boost", - "score": 0.06439662724733353 - } + "operation": "boost", + "score": -0.03761561959981918 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 203783.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 207505.0, "then": { "operation": "boost", - "score": 0.17621654272079468 + "score": 0.02450009435415268 }, "else": { - "operation": "boost", - "score": -0.014952074736356735 - } - }, - "else": { - "operation": "boost", - "score": 0.26612141728401184 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_EnumTag", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, - "then": { - "operation": "boost", - "score": 0.07310432940721512 - }, - "else": { - "operation": "boost", - "score": 0.0230697114020586 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4579.0, - "then": { - "operation": "boost", - "score": 0.10553932189941406 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "boost", - "score": -0.11933251470327377 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 206450.5, + "then": { + "operation": "boost", + "score": 0.13072368502616882 + }, + "else": { + "operation": "boost", + "score": -0.18578751385211945 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.01918037422001362 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0593419224023819 - }, - "else": { - "operation": "boost", - "score": 0.016699358820915222 - } + "operation": "boost", + "score": 0.10397768020629883 }, "else": { "operation": "boost", - "score": 0.08801829814910889 + "score": 0.06850039213895798 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.043285686522722244 - }, - "else": { - "operation": "boost", - "score": 0.09248754382133484 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09185092151165009 }, "else": { "operation": "boost", - "score": 0.06944935768842697 + "score": -0.018664013594388962 } }, "else": { "operation": "boost", - "score": -0.011248396709561348 + "score": -0.08925441652536392 } - }, - "else": { - "operation": "boost", - "score": -0.04241906851530075 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0040460205636918545 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09625217318534851 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3048.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4883.0, - "then": { - "operation": "boost", - "score": 0.042528651654720306 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3956.5, - "then": { - "operation": "boost", - "score": 0.12262754887342453 - }, - "else": { - "operation": "boost", - "score": 0.15614217519760132 } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": -0.02512669749557972 - }, - "else": { - "operation": "boost", - "score": -0.2446068376302719 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.012565921992063522 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 340.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09581486880779266 - }, - "else": { - "operation": "boost", - "score": -0.056660041213035583 - } - }, - "else": { - "operation": "boost", - "score": -0.10822812467813492 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Unknown", - "Function", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "boost", - "score": -0.04923927038908005 + "score": 0.08088885992765427 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 99880.5, "then": { "operation": "boost", - "score": 0.08846642076969147 + "score": -0.12230633199214935 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 98088.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.0, "then": { "operation": "boost", - "score": 0.09404871612787247 + "score": 0.011729948222637177 }, "else": { "operation": "boost", - "score": 0.11935010552406311 + "score": 0.1320265382528305 } }, "else": { - "operation": "boost", - "score": 0.11586341261863708 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.013110388070344925 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 217.0, + "then": { + "operation": "boost", + "score": 0.06773949414491653 + }, + "else": { + "operation": "boost", + "score": 0.2559397220611572 + } + }, + "else": { + "operation": "boost", + "score": 0.05188361555337906 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03660484775900841 + } } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.008104918524622917 + "score": -0.06591739505529404 }, "else": { - "operation": "boost", - "score": 0.05747659131884575 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.049701027572155 + }, + "else": { + "operation": "boost", + "score": 0.0006840861169621348 + } } } }, "else": { - "operation": "boost", - "score": -0.11050742864608765 - } - }, - "else": { - "operation": "boost", - "score": 0.006201054435223341 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 630.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 653.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.00767225818708539 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 56010.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 71306.0, "then": { "operation": "boost", - "score": 0.059776149690151215 + "score": -0.015101034194231033 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.0, - "then": { - "operation": "boost", - "score": 0.14355674386024475 - }, - "else": { - "operation": "boost", - "score": -0.1540508270263672 - } + "operation": "boost", + "score": -0.09903965890407562 } }, "else": { - "operation": "boost", - "score": -0.01831178367137909 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 55483.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2832.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.09608709067106247 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.1374175250530243 + }, + "else": { + "operation": "boost", + "score": 0.09961593151092529 + } }, "else": { "operation": "boost", - "score": 0.11613450199365616 + "score": -0.17685678601264954 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27170.0, + "threshold": 43302.5, "then": { - "operation": "boost", - "score": -0.002886181930080056 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4277.0, + "threshold": 44315.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6049.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.10645310580730438 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.18488024175167084 + "score": -0.14461465179920197 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5627.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.1107402890920639 + "score": 0.12543590366840363 }, "else": { "operation": "boost", - "score": 0.12644195556640625 + "score": -0.009445380419492722 } } + }, + "else": { + "operation": "boost", + "score": 0.008291922509670258 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 730.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0985427126288414 + "score": 0.12912259995937347 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 679.5, - "then": { - "operation": "boost", - "score": 0.1883297562599182 - }, - "else": { - "operation": "boost", - "score": 0.9211122393608093 - } + "operation": "boost", + "score": -0.019811924546957016 } } + }, + "else": { + "operation": "boost", + "score": -0.0154331149533391 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116663.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13344666361808777 + }, + "else": { + "operation": "boost", + "score": -0.11958706378936768 } + }, + "else": { + "operation": "boost", + "score": -0.04743655398488045 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.09578695148229599 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.025974847376346588 + }, + "else": { + "operation": "boost", + "score": -0.0509253665804863 + } }, "else": { "operation": "boost", - "score": 0.11819326877593994 + "score": -0.011002857238054276 } } } - }, - "else": { - "operation": "boost", - "score": -0.012752394191920757 } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2908.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2930.5, + "then": { + "operation": "boost", + "score": 0.020184597000479698 + }, + "else": { + "operation": "boost", + "score": 0.09760720282793045 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10058116912841797 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03496941179037094 + }, + "else": { + "operation": "boost", + "score": 0.007839121855795383 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.026598481461405754 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.012814342975616455 }, "else": { + "operation": "boost", + "score": -0.018561558797955513 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 149.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 167.5, "then": { "operation": "boost", - "score": 0.12894918024539948 + "score": 0.059739600867033005 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 163.5, "then": { "operation": "boost", - "score": -0.10127517580986023 + "score": 0.16898752748966217 }, "else": { "operation": "boost", - "score": 0.19147568941116333 + "score": 0.09011197090148926 } } + }, + "else": { + "operation": "boost", + "score": -0.0062149278819561005 } }, "else": { "operation": "boost", - "score": -0.035215526819229126 + "score": -0.07920090109109879 } } - }, - "else": { - "operation": "boost", - "score": -0.059374257922172546 } + }, + "else": { + "operation": "boost", + "score": -0.0010287887416779995 } - }, - "else": { - "operation": "boost", - "score": -0.013580617494881153 } } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.02118379808962345 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.12647342681884766 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01756334863603115 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.031566739082336426 + }, + "else": { + "operation": "boost", + "score": -0.030289342626929283 + } + } }, "else": { - "operation": "boost", - "score": -0.0024476961698383093 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.03912090137600899 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "boost", + "score": 0.07738550007343292 + }, + "else": { + "operation": "boost", + "score": 0.008551066741347313 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "boost", + "score": 0.03876720368862152 + }, + "else": { + "operation": "boost", + "score": 0.006612319964915514 + } + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03444904088973999 + }, + "else": { + "operation": "boost", + "score": 0.002259809523820877 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "boost", + "score": 0.04702698066830635 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "boost", + "score": -0.09284695982933044 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 188273.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10282666981220245 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "boost", + "score": 0.018446490168571472 + }, + "else": { + "operation": "boost", + "score": 0.10434967279434204 + } + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.05406547337770462 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", "Namespace" ], "then": { "operation": "boost", - "score": 0.13077184557914734 + "score": 0.07413999736309052 }, "else": { "operation": "boost", - "score": -0.11574426293373108 + "score": 0.022670842707157135 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12657605111598969 - }, - "else": { - "operation": "boost", - "score": 0.12218082696199417 - } + "operation": "boost", + "score": 0.016079600900411606 }, "else": { "operation": "boost", - "score": 0.030088525265455246 + "score": -0.1808777153491974 } } + }, + "else": { + "operation": "boost", + "score": -0.06437505036592484 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 23.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11407490819692612 - }, - "else": { - "operation": "boost", - "score": 0.07541675865650177 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11946596205234528 + "score": 0.022745613008737564 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": 0.12786810100078583 + "score": 0.07139638066291809 }, "else": { - "operation": "boost", - "score": 0.3065938353538513 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.005429718177765608 + }, + "else": { + "operation": "boost", + "score": -0.03915754333138466 + } } } - }, - "else": { - "operation": "boost", - "score": -0.0203792043030262 - } - } - }, - "else": { - "operation": "boost", - "score": 0.029945772141218185 - } - }, - "else": { - "operation": "boost", - "score": 0.05822230875492096 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4152.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4159.5, - "then": { - "operation": "boost", - "score": 0.03309589996933937 - }, - "else": { - "operation": "boost", - "score": 0.11298196762800217 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.06535892933607101 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 894.0, - "then": { - "operation": "boost", - "score": 0.10276346653699875 - }, - "else": { - "operation": "boost", - "score": 0.11028211563825607 - } } }, "else": { - "operation": "boost", - "score": 0.0392797477543354 - } - }, - "else": { - "operation": "boost", - "score": 0.032671455293893814 - } - }, - "else": { - "operation": "boost", - "score": 0.04092763736844063 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.000315913581289351 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4673.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4906.0, - "then": { - "operation": "boost", - "score": 0.037234168499708176 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4889.0, - "then": { - "operation": "boost", - "score": 0.14827631413936615 - }, - "else": { - "operation": "boost", - "score": 0.09167957305908203 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.014706859365105629 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 528.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 763.0, + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, "then": { - "operation": "boost", - "score": 0.05753231421113014 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 706.0, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { "operation": "boost", - "score": 0.11121194064617157 + "score": 0.07921392470598221 }, "else": { "operation": "boost", - "score": 0.06128747761249542 + "score": 0.197668194770813 } - } - }, - "else": { - "operation": "boost", - "score": 0.021786028519272804 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 522.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 523.5, - "then": { - "operation": "boost", - "score": 0.06639331579208374 }, "else": { "operation": "boost", - "score": 0.16305261850357056 + "score": 0.03821028023958206 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel", "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.10618496686220169 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.14461694657802582 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 509.5, - "then": { - "operation": "boost", - "score": -0.10333424061536789 - }, - "else": { - "operation": "boost", - "score": 0.12928026914596558 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05320980027318001 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "boost", - "score": 0.11230157315731049 + "score": -0.10128290951251984 }, "else": { "operation": "boost", - "score": 0.026340385898947716 + "score": 0.2697811424732208 } }, "else": { "operation": "boost", - "score": 0.04546434432268143 + "score": 0.04517754167318344 } + }, + "else": { + "operation": "boost", + "score": 0.03880804032087326 } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03173251450061798 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.024814728647470474 }, "else": { - "operation": "boost", - "score": 0.12685294449329376 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.00974472239613533 + }, + "else": { + "operation": "boost", + "score": -0.3300004005432129 + } } }, - "else": { - "operation": "boost", - "score": 0.07298608869314194 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.023896263912320137 - }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", "Destructor", + "Keyword", + "Macro", "Operator", "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" + "Variable" ], "then": { - "operation": "boost", - "score": 0.1160602942109108 - }, - "else": { - "operation": "boost", - "score": -0.02468269318342209 - } - } - }, - "else": { - "operation": "boost", - "score": 0.015309490263462067 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.006293418351560831 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.057167090475559235 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": -0.01330609992146492 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.13118448853492737 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03853869065642357 + }, + "else": { + "operation": "boost", + "score": -0.16797341406345367 + } }, "else": { "operation": "boost", - "score": -0.0048543307930231094 + "score": -0.022641560062766075 } - }, - "else": { - "operation": "boost", - "score": 0.056524112820625305 - } - } - }, - "else": { - "operation": "boost", - "score": 0.010547094978392124 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13567596673965454 - }, - "else": { - "operation": "boost", - "score": 0.14446255564689636 } - }, - "else": { - "operation": "boost", - "score": 0.014793389476835728 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09393113851547241 - }, - "else": { - "operation": "boost", - "score": 0.03750036284327507 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.029894618317484856 - } - }, - "else": { - "operation": "boost", - "score": 0.005000901874154806 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.1557602733373642 - }, - "else": { - "operation": "boost", - "score": -0.05008958280086517 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0834413543343544 - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10856451094150543 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 171597.5, "then": { "operation": "boost", - "score": 0.0128756333142519 + "score": -0.18365494906902313 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07396245002746582 + "score": -0.04023100435733795 }, "else": { - "operation": "boost", - "score": -0.22237035632133484 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0019222995033487678 - } - }, - "else": { - "operation": "boost", - "score": -0.027316134423017502 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.009895702823996544 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.039403729140758514 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.02839268557727337 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.043338533490896225 - }, - "else": { - "operation": "boost", - "score": -0.023260897025465965 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.002229274483397603 - }, - "else": { - "operation": "boost", - "score": -0.14248333871364594 - } + "operation": "boost", + "score": -0.0935416966676712 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.008546290919184685 - }, - "else": { - "operation": "boost", - "score": -0.12166129052639008 - } + "operation": "boost", + "score": -0.12897586822509766 } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 1224.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 167779.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "boost", + "score": 0.08144306391477585 + }, + "else": { + "operation": "boost", + "score": 0.28016918897628784 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 166361.0, + "then": { + "operation": "boost", + "score": -0.5944486260414124 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": -0.08247287571430206 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 61294.0, "then": { - "operation": "boost", - "score": 0.008426203392446041 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104857.0, + "then": { + "operation": "boost", + "score": 0.009349036030471325 + }, + "else": { + "operation": "boost", + "score": 0.06197340413928032 + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 59716.0, "then": { "operation": "boost", - "score": 0.07180760055780411 + "score": -0.3381246030330658 }, "else": { "operation": "boost", - "score": 0.08450638502836227 + "score": 0.010266601108014584 } } + }, + "else": { + "operation": "boost", + "score": -0.021405456587672234 } - }, - "else": { - "operation": "boost", - "score": 0.03806177154183388 } - }, - "else": { - "operation": "boost", - "score": 0.03665570542216301 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.009382812306284904 - }, - "else": { - "operation": "boost", - "score": 0.02869129739701748 - } - } - }, - "else": { - "operation": "boost", - "score": 0.016367824748158455 - } - }, - "else": { - "operation": "boost", - "score": 0.0004479917697608471 - } - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.06385532021522522 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08388973772525787 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0825088769197464 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10526645183563232 - }, - "else": { - "operation": "boost", - "score": 0.11674876511096954 - } - }, - "else": { - "operation": "boost", - "score": 0.1128472164273262 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.026147127151489258 - }, - "else": { - "operation": "boost", - "score": 0.07462718337774277 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0027284855023026466 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 96602.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 99880.5, "then": { "operation": "boost", - "score": 0.09734552353620529 + "score": 0.025444433093070984 }, "else": { "operation": "boost", - "score": 0.11745084822177887 + "score": 0.1332324594259262 } }, "else": { - "operation": "boost", - "score": 0.06286381930112839 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92615.5, + "then": { + "operation": "boost", + "score": -0.09873219579458237 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06976068019866943 + }, + "else": { + "operation": "boost", + "score": 0.02679525315761566 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.054665274918079376 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.019360411912202835 - }, - "else": { - "operation": "boost", - "score": -0.023437751457095146 - } - }, - "else": { - "operation": "boost", - "score": 0.04692159593105316 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.02945588156580925 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.23517319560050964 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02728590928018093 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.03133952245116234 + }, + "else": { + "operation": "boost", + "score": 0.001280491822399199 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0034893383271992207 + } }, "else": { - "operation": "boost", - "score": -0.02141495607793331 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.052044790238142014 + }, + "else": { + "operation": "boost", + "score": -0.2763291895389557 + } } - } - }, - "else": { - "operation": "boost", - "score": 0.01617380790412426 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05948074162006378 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07825901359319687 - }, - "else": { - "operation": "boost", - "score": 0.17290598154067993 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05443843826651573 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.004148660693317652 - } - } - }, - "else": { - "operation": "boost", - "score": -0.09412462264299393 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.013207209296524525 - }, - "else": { - "operation": "boost", - "score": 0.004317864775657654 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08637034147977829 - }, - "else": { - "operation": "boost", - "score": -0.04397441819310188 - } - }, - "else": { - "operation": "boost", - "score": -0.0009304710547439754 - } - } - }, - "else": { - "operation": "boost", - "score": -0.014842238277196884 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": -0.01847437210381031 - }, - "else": { - "operation": "boost", - "score": -0.07296206057071686 - } - }, - "else": { - "operation": "boost", - "score": -0.013788510113954544 - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07212435454130173 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.014021537266671658 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5193.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11900.0, - "then": { - "operation": "boost", - "score": 0.04283998906612396 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.07754348963499069 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6739.5, - "then": { - "operation": "boost", - "score": 0.10242249816656113 - }, - "else": { - "operation": "boost", - "score": 0.07772092521190643 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.028247559443116188 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": -0.10027007013559341 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.009709601290524006 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1893.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.10892347991466522 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.11415833979845047 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.141665518283844 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": 0.035465024411678314 + }, + "else": { + "operation": "boost", + "score": 0.01046844758093357 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": -0.1767125427722931 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04898098111152649 + }, + "else": { + "operation": "boost", + "score": 0.042339716106653214 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.04535214230418205 + }, + "else": { + "operation": "boost", + "score": 0.01697707735002041 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, + "then": { + "operation": "boost", + "score": 0.13510216772556305 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": 0.012071932666003704 + }, + "else": { + "operation": "boost", + "score": 0.07295087724924088 + } + }, + "else": { + "operation": "boost", + "score": 0.02103416807949543 + } + } + }, + "else": { + "operation": "boost", + "score": -0.006131582427769899 + } + } + } }, "else": { "operation": "boost", - "score": 0.039611320942640305 + "score": -0.004443799611181021 } - } - }, - "else": { - "operation": "boost", - "score": -0.25049540400505066 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.18130718171596527 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, "then": { - "operation": "boost", - "score": 0.1427599936723709 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.010177935473620892 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02947958931326866 + }, + "else": { + "operation": "boost", + "score": -0.11554163694381714 + } + } }, "else": { "operation": "boost", - "score": 0.042005907744169235 + "score": -0.0054041980765759945 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "boost", - "score": 0.11439338326454163 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.012475227005779743 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08025916665792465 + }, + "else": { + "operation": "boost", + "score": -0.11525961756706238 + } + }, + "else": { + "operation": "boost", + "score": -0.0007741269655525684 + } }, "else": { "operation": "boost", - "score": 0.11051346361637115 + "score": -0.024652574211359024 } } } }, "else": { - "operation": "boost", - "score": 0.09818050265312195 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.1019820123910904 + }, + "else": { + "operation": "boost", + "score": -0.11509784311056137 + } } } - }, - "else": { - "operation": "boost", - "score": 0.02888283133506775 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.01362426858395338 - }, - "else": { - "operation": "boost", - "score": 0.0585981085896492 - } - }, - "else": { - "operation": "boost", - "score": -0.008467103354632854 } } } @@ -118610,1609 +115850,1687 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21492.0, - "then": { - "operation": "boost", - "score": -0.09967195242643356 - }, - "else": { - "operation": "boost", - "score": 0.025125563144683838 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00521433399990201 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, - "then": { - "operation": "boost", - "score": -0.21018655598163605 - }, - "else": { - "operation": "boost", - "score": 0.05684596672654152 - } - }, - "else": { - "operation": "boost", - "score": 0.002833856036886573 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "boost", - "score": 0.05860201269388199 - }, - "else": { - "operation": "boost", - "score": 0.1280643194913864 - } - }, - "else": { - "operation": "boost", - "score": 0.04457317292690277 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.16931694746017456 + "score": 0.02855687029659748 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.06629759073257446 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.009743837639689445 + }, + "else": { + "operation": "boost", + "score": 0.0408795140683651 + } }, "else": { "operation": "boost", - "score": 0.12917599081993103 + "score": -0.003307042410597205 } } }, "else": { - "operation": "boost", - "score": 0.0074759372510015965 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.022721845656633377 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.11558577418327332 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05195832625031471 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123460.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "boost", - "score": 0.09439373016357422 + "score": 0.03890516236424446 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.1399553418159485 - }, - "else": { - "operation": "boost", - "score": 0.1122080460190773 - } + "operation": "boost", + "score": -0.019785692915320396 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "operation": "boost", + "score": 0.06319000571966171 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.11142509430646896 + "score": 0.007279614452272654 }, "else": { "operation": "boost", - "score": 0.08551622927188873 + "score": 0.10416655987501144 } }, - "else": { - "operation": "boost", - "score": -0.3974955081939697 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71820.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.09384661167860031 - }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Expression" + "FileScope" ], "then": { "operation": "boost", - "score": 0.11354831606149673 + "score": 0.09296872466802597 }, "else": { "operation": "boost", - "score": -0.014729561284184456 + "score": 0.006783305201679468 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.1390078067779541 + "score": -0.0006895192200317979 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.14861264824867249 - }, - "else": { - "operation": "boost", - "score": -0.26450130343437195 - } + "operation": "boost", + "score": -0.021495943889021873 } } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.013351869769394398 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.058708351105451584 - }, - "else": { - "operation": "boost", - "score": 0.08415437489748001 - } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.0681813508272171 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "boost", - "score": 0.09457523375749588 - }, - "else": { - "operation": "boost", - "score": 0.10801851004362106 - } - }, - "else": { - "operation": "boost", - "score": 0.11772530525922775 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": -0.12357831746339798 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "boost", - "score": 0.11354996263980865 - }, - "else": { - "operation": "boost", - "score": 0.09376145899295807 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97466.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.08378361910581589 - }, - "else": { - "operation": "boost", - "score": 0.11287417262792587 - } - }, - "else": { - "operation": "boost", - "score": -0.023327196016907692 - } + "operation": "boost", + "score": -0.0608525313436985 }, "else": { "operation": "boost", - "score": 0.10778249800205231 + "score": 0.01979639381170273 } }, "else": { - "operation": "boost", - "score": -0.2978592813014984 - } - }, - "else": { - "operation": "boost", - "score": -0.04245072603225708 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47293.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace", + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205637.0, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.037342410534620285 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { + "operation": "boost", + "score": -0.01729605533182621 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.10356291383504868 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1210172027349472 + }, + "else": { + "operation": "boost", + "score": 0.2085186243057251 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.05794263631105423 + }, + "else": { + "operation": "boost", + "score": 0.015800783410668373 + } + } }, "else": { "operation": "boost", - "score": -0.11853931844234467 + "score": -0.020114624872803688 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.014077137224376202 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0629354864358902 + "score": -0.08984849601984024 }, "else": { "operation": "boost", - "score": 0.07536257803440094 + "score": 0.022916045039892197 } } } }, "else": { - "operation": "boost", - "score": 0.01501610316336155 - } - }, - "else": { - "operation": "boost", - "score": 0.17121289670467377 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 749331.5, - "then": { - "operation": "boost", - "score": -0.06784339994192123 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, - "then": { - "operation": "boost", - "score": 0.07916975021362305 - }, - "else": { - "operation": "boost", - "score": 0.022459961473941803 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.009602587670087814 + }, + "else": { + "operation": "boost", + "score": -0.03077421709895134 + } } } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13180115818977356 + "score": -0.13911615312099457 }, "else": { "operation": "boost", - "score": 0.015305396169424057 + "score": -0.0017638576682657003 } } } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03163838014006615 }, "else": { "operation": "boost", - "score": -0.005131830461323261 + "score": 0.005108349956572056 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 35.5, "then": { "operation": "boost", - "score": -0.006895779632031918 + "score": -0.1384374499320984 }, "else": { + "operation": "boost", + "score": -0.006784459576010704 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1594.5, + "then": { + "operation": "boost", + "score": 0.019149744883179665 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09843491017818451 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.030573133379220963 + }, + "else": { + "operation": "boost", + "score": 0.00805793609470129 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4673.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.02512171119451523 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.011852575466036797 + }, + "else": { + "operation": "boost", + "score": -0.01730477437376976 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4906.0, + "threshold": 114.5, "then": { "operation": "boost", - "score": 0.04288038611412048 + "score": 0.05900314450263977 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4889.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14864832162857056 - }, - "else": { - "operation": "boost", - "score": 0.11484480649232864 - } + "operation": "boost", + "score": 0.006539011374115944 }, "else": { "operation": "boost", - "score": 0.09191864728927612 + "score": -0.02102404087781906 } } }, + "else": { + "operation": "boost", + "score": -0.06980973482131958 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0011111331405118108 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5202.5, + "then": { + "operation": "boost", + "score": 0.0854635164141655 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04322522133588791 + }, + "else": { + "operation": "boost", + "score": -0.033267565071582794 + } + } + }, + "else": { + "operation": "boost", + "score": 0.016281334683299065 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.033897221088409424 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.09024187922477722 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09088081121444702 + }, + "else": { + "operation": "boost", + "score": 0.03679344430565834 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009909510612487793 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08370309323072433 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1043529063463211 + }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 237.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.05013703554868698 + "score": 0.07685965299606323 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.0, - "then": { - "operation": "boost", - "score": 0.14762425422668457 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "boost", - "score": 0.1434716433286667 - }, - "else": { - "operation": "boost", - "score": 0.0663532242178917 - } - }, - "else": { - "operation": "boost", - "score": -0.1994556337594986 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05520699545741081 - } - }, - "else": { - "operation": "boost", - "score": 0.006171420216560364 - } + "operation": "boost", + "score": 0.021171916276216507 } }, "else": { - "operation": "boost", - "score": -0.003446470480412245 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.06113150715827942 + }, + "else": { + "operation": "boost", + "score": 0.034621693193912506 + } } }, "else": { - "operation": "boost", - "score": -0.03526553884148598 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.03839277848601341 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.021576927974820137 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 8.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 305.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.08094429969787598 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07054007053375244 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 442.5, - "then": { - "operation": "boost", - "score": 0.30161672830581665 - }, - "else": { - "operation": "boost", - "score": 0.15797710418701172 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, - "then": { - "operation": "boost", - "score": 0.04883890599012375 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11345963180065155 - }, - "else": { - "operation": "boost", - "score": -0.1309720277786255 - } - } - } + "operation": "boost", + "score": -0.12948010861873627 }, "else": { "operation": "boost", - "score": 0.02562674507498741 + "score": 0.11874180287122726 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 431.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 529.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 679.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 807.5, - "then": { - "operation": "boost", - "score": 0.11342808604240417 - }, - "else": { - "operation": "boost", - "score": 0.11529235541820526 - } - }, - "else": { - "operation": "boost", - "score": -0.2679949998855591 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1585.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1786.5, - "then": { - "operation": "boost", - "score": -0.037890203297138214 - }, - "else": { - "operation": "boost", - "score": 0.11553750932216644 - } - }, - "else": { - "operation": "boost", - "score": 0.07421763241291046 - } - } + "operation": "boost", + "score": 0.11042477935552597 }, "else": { "operation": "boost", - "score": 0.048064108937978745 + "score": -0.01409226842224598 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 521.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.14609740674495697 + "score": 0.04787728190422058 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.21358664333820343 - }, - "else": { - "operation": "boost", - "score": 0.11364197731018066 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08570070564746857 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10641514509916306 - }, - "else": { - "operation": "boost", - "score": -0.21081885695457458 - } - } - } + "operation": "boost", + "score": 0.012434907257556915 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, - "then": { - "operation": "boost", - "score": 0.36823225021362305 - }, - "else": { - "operation": "boost", - "score": 0.12178874015808105 - } - }, - "else": { - "operation": "boost", - "score": 0.049231063574552536 - } - }, - "else": { - "operation": "boost", - "score": 0.030328065156936646 - } + "operation": "boost", + "score": -0.10178021341562271 } } - }, - "else": { - "operation": "boost", - "score": 0.02331731654703617 } - }, - "else": { - "operation": "boost", - "score": -0.1486656814813614 } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.00816433783620596 }, "else": { "operation": "boost", - "score": 0.013841344974935055 + "score": -0.006611641030758619 } } } + } + }, + "else": { + "operation": "boost", + "score": -0.005424083210527897 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.21177905797958374 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.017628222703933716 + }, + "else": { + "operation": "boost", + "score": 0.05002228915691376 + } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.06804531067609787 + }, + "else": { + "operation": "boost", + "score": -0.19614361226558685 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.021829208359122276 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ClassStructUnion", + "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": 0.10061360150575638 - }, - "else": { - "operation": "boost", - "score": 0.10576030611991882 - } + "operation": "boost", + "score": 0.05253734439611435 }, "else": { "operation": "boost", - "score": 0.04060117155313492 + "score": -0.036996692419052124 } - }, - "else": { - "operation": "boost", - "score": -0.0015973967965692282 } + }, + "else": { + "operation": "boost", + "score": -0.015898829326033592 } }, "else": { "operation": "boost", - "score": 0.0008949688635766506 + "score": 0.0014825002290308475 } } } } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1477426439523697 - }, - "else": { - "operation": "boost", - "score": 0.010475507006049156 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.028056930750608444 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.1273084580898285 + }, + "else": { + "operation": "boost", + "score": 0.08138563483953476 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.05395945906639099 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15127810835838318 - }, - "else": { - "operation": "boost", - "score": 0.13047564029693604 - } - }, - "else": { - "operation": "boost", - "score": 0.07813188433647156 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1075400784611702 - }, - "else": { - "operation": "boost", - "score": -0.009075917303562164 - } - } + "operation": "boost", + "score": 0.00013326479529496282 }, "else": { "operation": "boost", - "score": -0.05720536783337593 + "score": 0.05260862782597542 } } }, "else": { "operation": "boost", - "score": 0.03294902667403221 + "score": -0.07980187237262726 } - } - }, - "else": { - "operation": "boost", - "score": -0.0035300496965646744 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.029042167589068413 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.09389715641736984 + "score": 0.03655495122075081 }, "else": { "operation": "boost", - "score": 0.1368129402399063 + "score": 0.008031471632421017 } } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.04874538257718086 + "score": 0.049125995486974716 }, "else": { "operation": "boost", - "score": 0.00985138863325119 + "score": -0.026530671864748 } }, "else": { - "operation": "boost", - "score": -0.04332830011844635 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], - "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.03360068425536156 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.04264364764094353 + "score": 0.020924506708979607 }, "else": { "operation": "boost", - "score": 0.08511164784431458 + "score": -0.012877063825726509 } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": -0.003663829294964671 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", - "CCC_Expression" + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.013349982909858227 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 74740.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 84795.5, "then": { - "operation": "boost", - "score": -0.0015345849096775055 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 178863.5, "then": { "operation": "boost", - "score": -0.127643883228302 + "score": 0.04720024764537811 }, "else": { "operation": "boost", - "score": 0.019763600081205368 + "score": 0.00858441460877657 } + }, + "else": { + "operation": "boost", + "score": 0.09361086040735245 } }, "else": { "operation": "boost", - "score": -0.08867473155260086 + "score": 0.01025482825934887 } + }, + "else": { + "operation": "boost", + "score": -0.03992133587598801 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "boost", - "score": 0.032268330454826355 - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "CCC_SymbolOrNewName" ], "then": { - "operation": "boost", - "score": 0.0258172620087862 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 99880.5, "then": { "operation": "boost", - "score": 0.01671292446553707 + "score": -0.055211834609508514 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 98088.5, "then": { "operation": "boost", - "score": -0.16398310661315918 + "score": 0.11099489033222198 }, "else": { - "operation": "boost", - "score": -0.017695019021630287 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13066869974136353 + "score": -0.007910286076366901 }, "else": { "operation": "boost", - "score": -0.038751691579818726 + "score": 0.027748720720410347 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.037969425320625305 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 296854.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10931168496608734 - }, - "else": { - "operation": "boost", - "score": -0.1152707114815712 - } + "operation": "boost", + "score": -0.06637982279062271 }, "else": { "operation": "boost", - "score": 0.0032313379924744368 + "score": 0.037464529275894165 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "boost", - "score": -0.12247439473867416 + "score": -0.08219332993030548 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, "then": { - "operation": "boost", - "score": 0.021273138001561165 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207505.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234371.5, + "then": { + "operation": "boost", + "score": 0.052385300397872925 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.10063176602125168 + }, + "else": { + "operation": "boost", + "score": -0.21203510463237762 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.08229514211416245 + }, + "else": { + "operation": "boost", + "score": -0.1855808049440384 + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 134893.5, "then": { - "operation": "boost", - "score": 0.08258143067359924 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 167779.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168474.5, + "then": { + "operation": "boost", + "score": -0.11284840852022171 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08961518108844757 + }, + "else": { + "operation": "boost", + "score": -0.1474010944366455 + } + } + }, + "else": { + "operation": "boost", + "score": -0.20240333676338196 + } }, "else": { "operation": "boost", - "score": -0.06940817087888718 + "score": 0.0016037514433264732 } } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.13072209060192108 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.10081485658884048 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.25025245547294617 + }, + "else": { + "operation": "boost", + "score": -0.10902591049671173 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.03964640572667122 + }, + "else": { + "operation": "boost", + "score": 0.015893323346972466 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.07150088995695114 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.14548887312412262 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": -0.15282666683197021 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.3715114891529083 + }, + "else": { + "operation": "boost", + "score": -0.10063597559928894 + } + }, + "else": { + "operation": "boost", + "score": 0.3460303246974945 + } }, "else": { "operation": "boost", - "score": 0.03797357156872749 + "score": -0.1015121191740036 } }, "else": { - "operation": "boost", - "score": -0.1054961159825325 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.4091842770576477 + }, + "else": { + "operation": "boost", + "score": -0.10066814720630646 + } } }, "else": { "operation": "boost", - "score": 0.021292079240083694 + "score": 0.32386863231658936 } }, "else": { "operation": "boost", - "score": -0.10025440901517868 + "score": 0.40326613187789917 } } }, "else": { "operation": "boost", - "score": 0.0024528319481760263 + "score": -0.12082025408744812 } } }, "else": { "operation": "boost", - "score": 0.017966443672776222 + "score": -0.011999523267149925 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.16070875525474548 + "score": -0.1829228550195694 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04447650909423828 + }, + "else": { + "operation": "boost", + "score": 0.01325142104178667 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12450756132602692 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Symbol", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.009908009320497513 + }, + "else": { + "operation": "boost", + "score": 0.03088025189936161 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.0047945487312972546 - }, - "else": { - "operation": "boost", - "score": 0.12358897179365158 - } - }, - "else": { - "operation": "boost", - "score": -0.0044329483062028885 - } + "operation": "boost", + "score": 0.1150699034333229 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.020317936316132545 - }, - "else": { - "operation": "boost", - "score": 0.11582250893115997 - } + "operation": "boost", + "score": -0.13671426475048065 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.1325404942035675 + "score": -0.05363592877984047 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.23234470188617706 + "score": 0.04101734608411789 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.053517699241638184 + "score": 0.04488654062151909 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.2402770072221756 + "score": -0.014199379831552505 }, "else": { "operation": "boost", - "score": 0.10397393256425858 + "score": 0.029986973851919174 } } }, "else": { - "operation": "boost", - "score": 0.059667471796274185 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.006765530910342932 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.08270730823278427 + }, + "else": { + "operation": "boost", + "score": 0.01267862319946289 + } + } } } } @@ -120220,688 +117538,895 @@ } }, "else": { - "operation": "boost", - "score": 0.012182624079287052 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05586916580796242 - }, - "else": { - "operation": "boost", - "score": 0.08366193622350693 - } + "operation": "boost", + "score": -0.06927471607923508 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.0649259015917778 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10197126865386963 - }, - "else": { - "operation": "boost", - "score": 0.11594954878091812 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": -0.12437767535448074 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "boost", - "score": 0.11162246763706207 - }, - "else": { - "operation": "boost", - "score": 0.09414543956518173 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97466.0, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.08106808364391327 + "score": 0.11924902349710464 }, "else": { "operation": "boost", - "score": 0.11180479824542999 + "score": 0.06529324501752853 } }, "else": { "operation": "boost", - "score": -0.020268820226192474 + "score": 0.03260636329650879 } }, "else": { "operation": "boost", - "score": 0.10599879175424576 + "score": -0.1352405548095703 } }, "else": { "operation": "boost", - "score": -0.19001269340515137 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.03693077340722084 - }, - "else": { - "operation": "boost", - "score": -0.21339188516139984 + "score": -0.02175920642912388 } } + }, + "else": { + "operation": "boost", + "score": -0.06104453280568123 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.04653679579496384, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 357084.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.011907950043678284 - }, - "else": { - "operation": "boost", - "score": 0.1380591243505478 - } - }, - "else": { - "operation": "boost", - "score": 0.020924510434269905 - } - }, - "else": { "operation": "boost", - "score": 0.03793978691101074 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { - "operation": "boost", - "score": 0.0266953743994236 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16467615962028503 - }, - "else": { - "operation": "boost", - "score": 0.0607384517788887 - } - } + "score": -0.05693056434392929 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.02239491231739521 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": -0.18240302801132202 + }, + "else": { + "operation": "boost", + "score": 0.00510060042142868 + } }, "else": { - "operation": "boost", - "score": -0.04582762345671654 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.02033267728984356 + }, + "else": { + "operation": "boost", + "score": 0.011254929006099701 + } } }, "else": { "operation": "boost", - "score": -0.0947510376572609 + "score": -0.004610279109328985 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.041837263852357864 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.019578425213694572 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110939.5, - "then": { - "operation": "boost", - "score": -0.4272361397743225 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.37309083342552185 + "score": -0.09429626911878586 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83201.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.07218517363071442 + "score": -0.00326314615085721 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.11926604807376862 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.039693813771009445 + }, + "else": { + "operation": "boost", + "score": 0.0027968892827630043 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "boost", - "score": 0.0919179692864418 + "score": 0.006868240889161825 }, "else": { "operation": "boost", - "score": -0.03760174289345741 + "score": -0.01735859364271164 } } } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.019179673865437508 + }, + "else": { + "operation": "boost", + "score": -0.06944719702005386 + } } } } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 243.5, + "then": { + "operation": "boost", + "score": 0.03585617616772652 + }, + "else": { + "operation": "boost", + "score": 0.009448782540857792 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Operator", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.006216792855411768 + "score": -0.0023685165215283632 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.04119263216853142 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.029201913625001907 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.008258026093244553 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.07337544858455658 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.022845063358545303 + }, + "else": { + "operation": "boost", + "score": 0.1481810361146927 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06593524664640427 + } + } + } }, "else": { + "operation": "boost", + "score": 0.018771300092339516 + } + }, + "else": { + "operation": "boost", + "score": -0.04963710159063339 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.016986027359962463 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.12371934205293655 + "score": 0.05471126735210419 }, "else": { "operation": "boost", - "score": 0.24892652034759521 + "score": -0.049727533012628555 } + }, + "else": { + "operation": "boost", + "score": 0.002202004427090287 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.04261041432619095 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "boost", - "score": -0.042171068489551544 - }, - "else": { - "operation": "boost", - "score": 0.10930117219686508 - } - }, - "else": { - "operation": "boost", - "score": -0.33195704221725464 - } + "operation": "boost", + "score": 0.10487981885671616 + }, + "else": { + "operation": "boost", + "score": 0.057191915810108185 + } + }, + "else": { + "operation": "boost", + "score": 0.03057035803794861 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.034016016870737076 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12210948020219803 + "score": 0.014774609357118607 }, "else": { - "operation": "boost", - "score": -0.0037071772385388613 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85.0, + "then": { + "operation": "boost", + "score": 0.12221258878707886 + }, + "else": { + "operation": "boost", + "score": 0.03741149976849556 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05448848754167557 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.15579555928707123 + }, + "else": { + "operation": "boost", + "score": -1.4114047189650591e-05 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.14732632040977478 + }, + "else": { + "operation": "boost", + "score": 0.15471041202545166 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06765784323215485 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.02806595340371132 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": -0.14748333394527435 + }, + "else": { + "operation": "boost", + "score": 0.13890905678272247 + } + } + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18.5, + "threshold": 35.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.11040150374174118 - }, - "else": { - "operation": "boost", - "score": 0.10021292418241501 - } + "operation": "boost", + "score": 0.1383884847164154 }, "else": { "operation": "boost", - "score": 0.06388328969478607 + "score": -0.013844934292137623 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10973430424928665 - }, - "else": { - "operation": "boost", - "score": -0.1666632890701294 - } + "operation": "boost", + "score": 0.017747310921549797 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 77931.0, "then": { - "operation": "boost", - "score": 0.032706450670957565 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.09695594757795334 + "score": 0.08894794434309006 }, "else": { "operation": "boost", - "score": -0.004315524827688932 + "score": -0.10843993723392487 } + }, + "else": { + "operation": "boost", + "score": 0.005686512682586908 } } } }, "else": { "operation": "boost", - "score": -0.07523392140865326 + "score": -0.022269414737820625 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.006807100493460894 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ClassStructUnion", + "CCC_PreprocessorExpression", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.01847490668296814 + "score": 0.045920971781015396 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.04334212839603424 + "score": 0.05629713460803032 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 679.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 807.5, - "then": { - "operation": "boost", - "score": 0.052517808973789215 - }, - "else": { - "operation": "boost", - "score": 0.11637800931930542 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.07872717827558517 - }, - "else": { - "operation": "boost", - "score": -0.011980799958109856 - } - } + "operation": "boost", + "score": -0.011276300996541977 } } }, "else": { - "operation": "boost", - "score": -0.10258501768112183 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.03570061922073364 + }, + "else": { + "operation": "boost", + "score": 0.010547547601163387 + } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 889.0, "then": { "operation": "boost", - "score": 0.00517780939117074 + "score": 0.051330920308828354 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02650802582502365 + "score": -0.022898487746715546 }, "else": { "operation": "boost", - "score": -0.004734032321721315 + "score": 0.06053818389773369 } }, "else": { "operation": "boost", - "score": -0.01167472917586565 + "score": 0.00898111891001463 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24318.0, - "then": { - "operation": "boost", - "score": 0.09740018099546432 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": -0.026617877185344696 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1186777651309967 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.07904684543609619 + }, + "else": { + "operation": "boost", + "score": 0.10053494572639465 + } + }, + "else": { + "operation": "boost", + "score": 0.04610593616962433 + } + }, + "else": { + "operation": "boost", + "score": 0.029999947175383568 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0228930301964283 + }, + "else": { + "operation": "boost", + "score": 0.04725786671042442 + } + }, + "else": { + "operation": "boost", + "score": 0.0023612468503415585 + } + } + } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.09403929859399796 + "score": 0.04203725978732109 }, "else": { "operation": "boost", - "score": -0.0673687756061554 + "score": -0.01743997260928154 } } } @@ -120909,569 +118434,530 @@ } }, "else": { - "operation": "boost", - "score": -0.003721044398844242 - } - }, - "else": { - "operation": "boost", - "score": -0.11479852348566055 - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.26055750250816345 - }, - "else": { - "operation": "boost", - "score": 0.10295313596725464 - } + "operation": "boost", + "score": 0.017517227679491043 + }, + "else": { + "operation": "boost", + "score": -0.13411898910999298 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.025283047929406166 }, "else": { "operation": "boost", - "score": 0.03787941858172417 + "score": -0.0022877855226397514 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.006988656707108021 }, "else": { "operation": "boost", - "score": 0.010961592197418213 + "score": 0.023887919262051582 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" + "ClassScope", + "FileScope", + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.20670545101165771 + "score": 0.06565733253955841 }, "else": { "operation": "boost", - "score": -0.08677562326192856 + "score": -0.1467495858669281 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", "Constructor", + "Keyword", + "Macro", "Type", - "Namespace" + "Variable" ], "then": { "operation": "boost", - "score": 0.10655312985181808 + "score": 0.01412256434559822 }, "else": { "operation": "boost", - "score": -0.12397295981645584 + "score": -0.004685217514634132 } } }, "else": { - "operation": "boost", - "score": 0.015887858346104622 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010488021187484264 + }, + "else": { + "operation": "boost", + "score": 0.004775497131049633 + } } }, "else": { "operation": "boost", - "score": -0.01006707176566124 + "score": -0.002050945768132806 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { + "operation": "boost", + "score": 0.19986701011657715 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.05946284532546997 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 86511.0, "then": { "operation": "boost", - "score": 0.005002337973564863 + "score": 0.06491909176111221 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6406.0, "then": { + "operation": "boost", + "score": -0.0067199235782027245 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 6360.5, "then": { "operation": "boost", - "score": 0.09721565991640091 + "score": 0.11276019364595413 }, "else": { - "operation": "boost", - "score": 0.04030324146151543 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.014133669435977936 + }, + "else": { + "operation": "boost", + "score": 0.052437879145145416 + } } - }, - "else": { - "operation": "boost", - "score": 0.015656789764761925 } } - }, - "else": { - "operation": "boost", - "score": -0.28002557158470154 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 21.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27178.0, + "threshold": 24.5, "then": { "operation": "boost", - "score": -0.08759849518537521 + "score": -0.24836410582065582 }, "else": { "operation": "boost", - "score": 0.01729859597980976 + "score": 0.14757303893566132 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04722195491194725 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": 0.0728798359632492 - }, - "else": { - "operation": "boost", - "score": 0.11010679602622986 - } - } + "operation": "boost", + "score": 0.015126006677746773 }, "else": { "operation": "boost", - "score": 0.024929264560341835 + "score": -0.08275651931762695 } } }, "else": { - "operation": "boost", - "score": 0.004022443201392889 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.024717923253774643 + }, + "else": { + "operation": "boost", + "score": 0.011751055717468262 + } } + }, + "else": { + "operation": "boost", + "score": -0.006730993278324604 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.002333856886252761 - }, - "else": { - "operation": "boost", - "score": 0.042717549949884415 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2007.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.07985271513462067 - }, - "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.013134988956153393 + "score": -0.03362831100821495 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "operation": "boost", + "score": 0.0033386140130460262 + } + }, + "else": { + "operation": "boost", + "score": -0.03618599474430084 + } + }, + "else": { + "operation": "boost", + "score": -0.0024249290581792593 + } + }, + "else": { + "operation": "boost", + "score": -0.05899740383028984 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.09631999582052231 + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.08951093256473541 + }, + "else": { + "operation": "boost", + "score": 0.02831205353140831 + } }, "else": { "operation": "boost", - "score": 0.11357630789279938 + "score": 0.029685016721487045 } }, + "else": { + "operation": "boost", + "score": 0.04534980654716492 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263421.0, + "then": { + "operation": "boost", + "score": 0.0711415708065033 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90879.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.16030140221118927 + "score": 0.007145080715417862 }, "else": { "operation": "boost", - "score": 0.06224977970123291 + "score": 0.027611946687102318 } } } }, "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.007751097436994314 + }, + "else": { + "operation": "boost", + "score": 0.13017645478248596 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Namespace", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24793.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.0036174727138131857 + "score": 0.24217751622200012 }, "else": { "operation": "boost", - "score": -0.2640700936317444 + "score": 0.04310940206050873 } }, + "else": { + "operation": "boost", + "score": -0.0622633695602417 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.002532492857426405 + }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25503.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 327227.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.04827053099870682 - }, - "else": { - "operation": "boost", - "score": 0.10414925217628479 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.04871430993080139 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.07373160868883133 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.009662180207669735 - }, - "else": { - "operation": "boost", - "score": -0.39470043778419495 - } - }, - "else": { - "operation": "boost", - "score": -0.21905367076396942 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.012612951919436455 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, - "then": { - "operation": "boost", - "score": 0.03223476931452751 - }, - "else": { - "operation": "boost", - "score": 0.07708410918712616 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43302.5, - "then": { - "operation": "boost", - "score": -0.03814368695020676 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29053.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10870345681905746 - }, - "else": { - "operation": "boost", - "score": 0.10758384317159653 - } - }, - "else": { - "operation": "boost", - "score": 0.023923341184854507 - } - }, - "else": { - "operation": "boost", - "score": 0.05460425093770027 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26697.0, - "then": { - "operation": "boost", - "score": -0.1102275550365448 - }, - "else": { - "operation": "boost", - "score": 0.07782597839832306 - } - } - } - } - } + "operation": "boost", + "score": 0.023612122982740402 }, "else": { "operation": "boost", - "score": -0.29144221544265747 + "score": -0.07026584446430206 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 432212.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.06937681883573532 - }, - "else": { - "operation": "boost", - "score": -0.3716188669204712 - } - }, - "else": { - "operation": "boost", - "score": 0.020175550132989883 - } + "operation": "boost", + "score": -0.022660640999674797 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 375849.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10758447647094727 - }, - "else": { - "operation": "boost", - "score": 0.038747843354940414 - } - }, - "else": { - "operation": "boost", - "score": -0.07029496878385544 - } + "operation": "boost", + "score": 9.496194979874417e-05 } } } @@ -121480,2526 +118966,2805 @@ }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7103.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.03446461632847786 + }, + "else": { + "operation": "boost", + "score": -0.05371199920773506 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18672.5, + "threshold": 8506.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "operation": "boost", + "score": 0.03288101777434349 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion" + "ClassScope" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.04731662943959236 + "score": 0.07813804596662521 }, "else": { "operation": "boost", - "score": 0.11713400483131409 + "score": 0.016016948968172073 } }, "else": { - "operation": "boost", - "score": 0.0453207828104496 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10487189143896103 + "score": -0.05178190767765045 }, "else": { - "operation": "boost", - "score": 0.09337002038955688 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10078786313533783 - }, - "else": { - "operation": "boost", - "score": 0.11044201254844666 - } - }, - "else": { - "operation": "boost", - "score": 0.11601338535547256 - } - }, - "else": { "operation": "boost", - "score": 0.04809173569083214 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11935338377952576 - }, - "else": { - "operation": "boost", - "score": 0.13045498728752136 - } + "score": -0.0942729040980339 }, "else": { "operation": "boost", - "score": 0.05416359379887581 + "score": 0.006845065392553806 } } } + }, + "else": { + "operation": "boost", + "score": -0.10358050465583801 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" + "ClassScope", + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7253.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8200.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8292.0, - "then": { - "operation": "boost", - "score": 0.06609463691711426 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11864498257637024 - }, - "else": { - "operation": "boost", - "score": 0.11601654440164566 - } - } - }, - "else": { - "operation": "boost", - "score": 0.013363952748477459 - } + "operation": "boost", + "score": 0.05928286910057068 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7166.5, - "then": { - "operation": "boost", - "score": -0.10464143753051758 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7145.0, - "then": { - "operation": "boost", - "score": 0.10993486642837524 - }, - "else": { - "operation": "boost", - "score": 0.03922208026051521 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.014143023639917374 - }, - "else": { - "operation": "boost", - "score": 0.11016251891851425 - } - }, - "else": { - "operation": "boost", - "score": 0.05990714952349663 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11249333620071411 - } + "operation": "boost", + "score": 0.0107052531093359 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7126.0, + "threshold": 858647.0, "then": { "operation": "boost", - "score": 0.03460197523236275 + "score": 0.04767593368887901 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "boost", - "score": 0.07033044844865799 + "score": -0.05145223066210747 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.11514506489038467 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07362847030162811 + }, + "else": { + "operation": "boost", + "score": 0.04059014841914177 + } + }, + "else": { + "operation": "boost", + "score": 0.00900606531649828 + } + }, + "else": { + "operation": "boost", + "score": -0.04057161137461662 + } }, "else": { "operation": "boost", - "score": 0.11134249716997147 + "score": -0.008901252411305904 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1561.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.05467826500535011 + "score": 0.2549280822277069 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11430656164884567 - }, - "else": { - "operation": "boost", - "score": 0.026594502851366997 - } - }, - "else": { - "operation": "boost", - "score": 0.10072491317987442 - } + "operation": "boost", + "score": 0.07300388067960739 } }, "else": { "operation": "boost", - "score": 0.056231867522001266 + "score": 0.008970703929662704 } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.032161224633455276 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11819673329591751 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.08259764313697815 + }, + "else": { + "operation": "boost", + "score": 0.060928646475076675 + } + }, + "else": { + "operation": "boost", + "score": 0.009950903244316578 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.014137259684503078 + }, + "else": { + "operation": "boost", + "score": -0.0023495673667639494 + } + }, + "else": { + "operation": "boost", + "score": -0.008363483473658562 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "boost", + "score": -0.004032541997730732 + }, + "else": { + "operation": "boost", + "score": 0.01700015179812908 + } + }, + "else": { + "operation": "boost", + "score": -1.615786095499061e-05 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.04903365299105644 + }, + "else": { + "operation": "boost", + "score": 0.012622755020856857 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.04038051888346672 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0351925827562809 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08472659438848495 + }, + "else": { + "operation": "boost", + "score": -0.088736392557621 + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18842.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19220.5, - "then": { - "operation": "boost", - "score": 0.07282514870166779 - }, - "else": { - "operation": "boost", - "score": 0.11477609723806381 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09806295484304428 - }, - "else": { - "operation": "boost", - "score": -0.10110381990671158 - } - }, - "else": { - "operation": "boost", - "score": -0.05816281586885452 - } - } + "operation": "boost", + "score": 0.10365224629640579 }, "else": { "operation": "boost", - "score": 0.0334390252828598 + "score": 0.051800210028886795 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8158.0, + } + }, + "else": { + "operation": "boost", + "score": 0.010090354830026627 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009449227713048458 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.18886145949363708 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11238811910152435 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.10902387648820877 - }, - "else": { - "operation": "boost", - "score": 0.13949017226696014 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.039648860692977905 - } + "operation": "boost", + "score": 0.0433095283806324 }, "else": { "operation": "boost", - "score": 0.00816901121288538 + "score": 0.08320572227239609 } }, "else": { "operation": "boost", - "score": -0.035964928567409515 + "score": 0.024172160774469376 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8054.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1250365972518921 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1648404449224472 - }, - "else": { - "operation": "boost", - "score": 0.11930999904870987 - } - }, - "else": { - "operation": "boost", - "score": 0.11232106387615204 - } - }, - "else": { - "operation": "boost", - "score": 0.11929729580879211 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7957.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.12536191940307617 - }, - "else": { - "operation": "boost", - "score": 0.03598320856690407 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.12285251170396805 - }, - "else": { - "operation": "boost", - "score": 0.10354229062795639 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7559.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7788.5, - "then": { - "operation": "boost", - "score": 0.07329431921243668 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.11215271800756454 - }, - "else": { - "operation": "boost", - "score": 0.0871027484536171 - } - } - }, - "else": { - "operation": "boost", - "score": -0.24910682439804077 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7143.0, - "then": { - "operation": "boost", - "score": 0.018831027671694756 - }, - "else": { - "operation": "boost", - "score": 0.07714928686618805 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03603930398821831 - } - } + "operation": "boost", + "score": -0.10333796590566635 } + }, + "else": { + "operation": "boost", + "score": 0.01746373251080513 } + }, + "else": { + "operation": "boost", + "score": 0.008063708432018757 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Symbol" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.10756128281354904 - }, - "else": { - "operation": "boost", - "score": 0.11671770364046097 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7081.5, - "then": { - "operation": "boost", - "score": -0.18725897371768951 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.025331659242510796 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.009906149469316006 + "score": 0.07614489644765854 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "boost", - "score": -0.09034749120473862 + "score": 0.16240811347961426 }, "else": { "operation": "boost", - "score": 0.09912141412496567 + "score": 0.07400188595056534 } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.02477591671049595 + }, + "else": { + "operation": "boost", + "score": 0.03913275524973869 + } } + }, + "else": { + "operation": "boost", + "score": -0.09044087678194046 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.001786035019904375 + }, + "else": { + "operation": "boost", + "score": 0.01909453235566616 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.0038749519735574722 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 45.5, "then": { "operation": "boost", - "score": 0.034616198390722275 + "score": 0.023872971534729004 }, "else": { - "operation": "boost", - "score": 0.012366735376417637 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.001733004697598517 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.016959385946393013 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.005057554226368666 - }, - "else": { - "operation": "boost", - "score": 0.018980972468852997 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", "Constructor", + "Destructor", "Function", - "Type" + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.007829184643924236 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6193.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6676.0, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "boost", - "score": 0.05077635496854782 + "score": 0.05263914540410042 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6653.5, + "operation": "boost", + "score": -0.03312776982784271 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.13090892136096954 + "score": 0.017648188397288322 }, "else": { "operation": "boost", - "score": 0.07792850583791733 + "score": -0.07664822041988373 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.055405404418706894 }, "else": { "operation": "boost", - "score": 0.04352886602282524 + "score": -0.024187346920371056 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { + "operation": "boost", + "score": 0.024942860007286072 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12413458526134491 - }, - "else": { - "operation": "boost", - "score": -0.11298671364784241 - } + "operation": "boost", + "score": -0.07594611495733261 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.10427777469158173 + "score": 0.040917910635471344 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.009770478121936321 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.012862415984272957 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08499240130186081 + }, + "else": { + "operation": "boost", + "score": -0.031103530898690224 + } + } }, "else": { "operation": "boost", - "score": 0.12765315175056458 + "score": 0.004281159024685621 } } } - }, - "else": { - "operation": "boost", - "score": -0.02796221151947975 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.0, + "then": { + "operation": "boost", + "score": 0.1301698535680771 + }, + "else": { + "operation": "boost", + "score": 0.04957108944654465 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.16456758975982666 + }, + "else": { + "operation": "boost", + "score": -0.023960283026099205 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.06924059242010117 + }, + "else": { + "operation": "boost", + "score": 0.03127995878458023 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.037942368537187576 + }, + "else": { + "operation": "boost", + "score": 0.010199769400060177 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.0390484519302845 }, "else": { "operation": "boost", - "score": -0.02854122780263424 + "score": 0.0033680929336696863 } }, "else": { "operation": "boost", - "score": -0.03517910838127136 + "score": 0.029377946630120277 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.048989187926054 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "boost", + "score": -0.07652521133422852 + }, + "else": { + "operation": "boost", + "score": 0.003131677396595478 + } + } + }, + "else": { + "operation": "boost", + "score": -0.020158931612968445 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.023924557492136955 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 23.0, + "then": { + "operation": "boost", + "score": 0.002067916328087449 + }, + "else": { + "operation": "boost", + "score": 0.09961158037185669 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.03722155839204788 + }, + "else": { + "operation": "boost", + "score": 0.01421463955193758 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.06972651928663254 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.125169575214386 - }, - "else": { - "operation": "boost", - "score": 0.05934165045619011 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.0, - "then": { - "operation": "boost", - "score": 0.06067906320095062 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 157.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.2710006833076477 - }, - "else": { - "operation": "boost", - "score": 0.14452813565731049 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10857215523719788 - }, - "else": { - "operation": "boost", - "score": 0.09234106540679932 - } - } - } - } + "operation": "boost", + "score": -0.12573587894439697 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.13621141016483307 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 347.0, - "then": { - "operation": "boost", - "score": 0.12513364851474762 - }, - "else": { - "operation": "boost", - "score": 0.5322720408439636 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 177.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.12770839035511017 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.34273582696914673 + }, + "else": { + "operation": "boost", + "score": 0.3020428717136383 + } }, "else": { "operation": "boost", - "score": -0.12838785350322723 + "score": 0.26234516501426697 } }, "else": { "operation": "boost", - "score": 0.05336939916014671 + "score": -0.10137733817100525 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1216503456234932 - }, - "else": { - "operation": "boost", - "score": -0.10416299104690552 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.0, - "then": { - "operation": "boost", - "score": 0.12439411878585815 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10691507905721664 - }, - "else": { - "operation": "boost", - "score": -0.3184296488761902 - } + "operation": "boost", + "score": 0.2253081202507019 }, "else": { "operation": "boost", - "score": -0.12603355944156647 + "score": -0.10065057128667831 } } }, "else": { "operation": "boost", - "score": 0.12484663724899292 + "score": 0.22801586985588074 } }, "else": { "operation": "boost", - "score": 0.07710598409175873 + "score": 0.31834638118743896 } - }, - "else": { - "operation": "boost", - "score": 0.0544055737555027 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12557.0, - "then": { - "operation": "boost", - "score": 0.1517053097486496 }, "else": { "operation": "boost", - "score": 0.023394664749503136 + "score": -0.11934822797775269 } } }, "else": { "operation": "boost", - "score": 0.002956873271614313 + "score": -0.010921857319772243 } } }, "else": { "operation": "boost", - "score": -0.08699578046798706 + "score": 0.013418289832770824 } }, "else": { - "operation": "boost", - "score": -0.00015302262909244746 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Operator" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5720.0, + "feature": "FractionNameInContext", + "threshold": 0.04653679579496384, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7509.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.06066490709781647 + }, + "else": { + "operation": "boost", + "score": 0.11435346305370331 + } + }, + "else": { + "operation": "boost", + "score": 0.02847764454782009 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03186932951211929 + }, + "else": { + "operation": "boost", + "score": -0.027563177049160004 + } + }, + "else": { + "operation": "boost", + "score": 0.020212313160300255 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.01870841160416603 + }, + "else": { + "operation": "boost", + "score": 0.02189517579972744 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, "then": { "operation": "boost", - "score": -0.08828537166118622 + "score": 0.006261791102588177 }, "else": { "operation": "boost", - "score": 0.1004263237118721 + "score": -0.0071322559379041195 } }, "else": { - "operation": "boost", - "score": 0.016363633796572685 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05151320993900299 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.010715101845562458 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": -0.14404554665088654 + }, + "else": { + "operation": "boost", + "score": 0.17613060772418976 + } + } + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017937159165740013 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7175.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7400.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.1018018051981926 + "score": -0.00098345463629812 }, "else": { "operation": "boost", - "score": 0.11381061375141144 + "score": 0.012326414696872234 } }, "else": { "operation": "boost", - "score": -0.016845911741256714 + "score": -0.0007305468316189945 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": -0.01409638486802578 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0904945507645607 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6211.5, - "then": { - "operation": "boost", - "score": -0.27586793899536133 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11788588762283325 - }, - "else": { - "operation": "boost", - "score": -0.21372193098068237 - } - } + "operation": "boost", + "score": 0.14748428761959076 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7089.0, + "threshold": 22.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.07028922438621521 - }, - "else": { - "operation": "boost", - "score": 0.1087682694196701 - } - }, - "else": { - "operation": "boost", - "score": -0.3776301443576813 - } + "operation": "boost", + "score": -0.10048084706068039 }, "else": { "operation": "boost", - "score": -0.014172249473631382 + "score": 0.15661346912384033 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13859117031097412 - }, - "else": { - "operation": "boost", - "score": 0.14307427406311035 - } - }, - "else": { - "operation": "boost", - "score": -0.10819146782159805 - } + "operation": "boost", + "score": 0.2755584716796875 } }, "else": { "operation": "boost", - "score": 0.009724318981170654 + "score": -0.04792900010943413 } + }, + "else": { + "operation": "boost", + "score": 0.010915175080299377 } + }, + "else": { + "operation": "boost", + "score": -0.08179159462451935 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", "Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "boost", + "score": -0.11444713920354843 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.004565135575830936 + "score": 0.01283484697341919 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10932871699333191 - }, - "else": { - "operation": "boost", - "score": -0.02165360003709793 - } + "operation": "boost", + "score": -0.023605598136782646 }, "else": { "operation": "boost", - "score": 0.1594967395067215 + "score": 0.029078306630253792 } }, - "else": { - "operation": "boost", - "score": 0.09213744848966599 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.11970417201519012 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.10807464271783829 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05535196140408516 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.03810109570622444 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.00016094897000584751 + }, + "else": { + "operation": "boost", + "score": -0.09113404899835587 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.02001538872718811 + }, + "else": { + "operation": "boost", + "score": -0.08610742539167404 + } + } + } + } }, "else": { - "operation": "boost", - "score": 0.1062937006354332 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.005794072523713112 + }, + "else": { + "operation": "boost", + "score": -0.05352277308702469 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05591943487524986 + }, + "else": { + "operation": "boost", + "score": 0.01965894177556038 + } + }, + "else": { + "operation": "boost", + "score": -0.0012763517443090677 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.07205262780189514 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1296716034412384 - }, - "else": { - "operation": "boost", - "score": 0.06115007773041725 - } - }, - "else": { - "operation": "boost", - "score": -0.00496789300814271 - } + "operation": "boost", + "score": -0.02226472645998001 } }, "else": { "operation": "boost", - "score": 0.049926720559597015 + "score": -0.017206517979502678 } }, + "else": { + "operation": "boost", + "score": -0.01226037461310625 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0013822587206959724 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15967817604541779 + }, + "else": { + "operation": "boost", + "score": 0.02054690383374691 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.017944924533367157 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 23.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 34878.0, "then": { - "operation": "boost", - "score": 0.030030490830540657 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { + "operation": "boost", + "score": 0.11857467144727707 + }, + "else": { + "operation": "boost", + "score": 0.12767764925956726 + } }, "else": { - "operation": "boost", - "score": 0.04911132529377937 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32805.0, + "then": { + "operation": "boost", + "score": -0.15410682559013367 + }, + "else": { + "operation": "boost", + "score": 0.031260766088962555 + } } }, "else": { + "operation": "boost", + "score": 0.09606640785932541 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.028782052919268608 + "score": 0.014444495551288128 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": -0.006552278995513916 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12624801695346832 - }, - "else": { - "operation": "boost", - "score": 0.08975760638713837 - } - }, - "else": { - "operation": "boost", - "score": -0.08129426836967468 - } + "operation": "boost", + "score": -0.046533796936273575 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 445.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 773.5, - "then": { - "operation": "boost", - "score": 0.17815786600112915 - }, - "else": { - "operation": "boost", - "score": 0.12430143356323242 - } - }, - "else": { - "operation": "boost", - "score": 0.028163596987724304 - } - }, - "else": { - "operation": "boost", - "score": 0.08698327094316483 - } + "operation": "boost", + "score": 0.06298453360795975 } - }, - "else": { - "operation": "boost", - "score": 0.04016648605465889 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.04320492595434189 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "boost", + "score": -0.001096114399842918 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.0011183461174368858 + }, + "else": { + "operation": "boost", + "score": 0.06037178263068199 + } + } }, "else": { "operation": "boost", - "score": -0.00433632405474782 + "score": -0.00926700048148632 } } + }, + "else": { + "operation": "boost", + "score": -0.007319084834307432 } + }, + "else": { + "operation": "boost", + "score": 0.015558954328298569 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.0, - "then": { - "operation": "boost", - "score": 0.11598854511976242 - }, - "else": { - "operation": "boost", - "score": -0.14001239836215973 - } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207.5, + "feature": "FractionNameInContext", + "threshold": 0.6190476417541504, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 221.5, - "then": { - "operation": "boost", - "score": 0.02748250402510166 - }, - "else": { - "operation": "boost", - "score": 0.09281417727470398 - } + "operation": "boost", + "score": -0.19511747360229492 }, "else": { "operation": "boost", - "score": -0.06995117664337158 + "score": 0.11330535262823105 } }, "else": { "operation": "boost", - "score": 0.038420386612415314 + "score": -0.040542252361774445 } }, "else": { "operation": "boost", - "score": 0.008522223681211472 + "score": 0.001540403114631772 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.15507401525974274 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.006015333347022533 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.15727992355823517 + "score": 0.023321617394685745 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0005926173180341721 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07712174206972122 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.08631843328475952 + "score": 0.013817919418215752 }, "else": { "operation": "boost", - "score": 0.06536337733268738 + "score": 0.0837743729352951 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.010245224460959435 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Macro" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], + "operation": "boost", + "score": 0.060826774686574936 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.49670857191085815 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.05661781504750252 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.7333333492279053, "then": { "operation": "boost", - "score": 0.11114878952503204 + "score": 0.13342420756816864 }, "else": { - "operation": "boost", - "score": 0.08208933472633362 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": 0.04872498661279678 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": 0.11346445232629776 + }, + "else": { + "operation": "boost", + "score": -0.07724855840206146 + } + } + }, + "else": { + "operation": "boost", + "score": 0.038870666176080704 + } } + }, + "else": { + "operation": "boost", + "score": -0.11738459765911102 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.06927962601184845 }, "else": { "operation": "boost", - "score": 0.0041875834576785564 + "score": 0.0015972215915098786 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03503001853823662 }, "else": { "operation": "boost", - "score": -0.14471657574176788 + "score": -0.026947205886244774 } } } + }, + "else": { + "operation": "boost", + "score": 0.011584657244384289 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03624146431684494 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.012051108293235302 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 29.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.09761904925107956, "then": { - "operation": "boost", - "score": 0.008535853587090969 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11568104475736618 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.037018924951553345 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13338881731033325 + }, + "else": { + "operation": "boost", + "score": 0.04047752916812897 + } + }, + "else": { + "operation": "boost", + "score": -0.07138168066740036 + } + }, + "else": { + "operation": "boost", + "score": -0.004399505909532309 + } + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { "operation": "boost", - "score": -0.34325462579727173 + "score": -0.014007609337568283 }, "else": { "operation": "boost", - "score": 0.12932367622852325 + "score": 0.003205025801435113 } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09779977053403854 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.04409041255712509 }, "else": { - "operation": "boost", - "score": -0.0890953540802002 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.10833220183849335 + }, + "else": { + "operation": "boost", + "score": 0.13616101443767548 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1442653238773346 + }, + "else": { + "operation": "boost", + "score": -0.7414761781692505 + } + } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { + "operation": "boost", + "score": -0.01034832838922739 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "boost", - "score": 0.09245607256889343 + "score": -0.25013110041618347 }, "else": { "operation": "boost", - "score": 0.09833281487226486 + "score": 0.045828476548194885 } - }, - "else": { - "operation": "boost", - "score": 0.05428609624505043 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.008459771983325481 }, "else": { "operation": "boost", - "score": 0.09279827028512955 + "score": -0.0097345020622015 } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.06533077359199524 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Statement", + "CCC_SymbolOrNewName" ], "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.007228025700896978 + }, + "else": { + "operation": "boost", + "score": -0.06502529233694077 + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.10482917726039886 + "score": 0.04077116772532463 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.022099345922470093 - }, - "else": { - "operation": "boost", - "score": 0.11188684403896332 - } + "operation": "boost", + "score": 0.004119907505810261 } }, "else": { "operation": "boost", - "score": 0.05303248390555382 + "score": -0.010508357547223568 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.044278211891651154 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.06994801014661789 + "score": 0.05438368767499924 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.13386061787605286 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.18070624768733978 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.5627243518829346 - }, - "else": { - "operation": "boost", - "score": 0.1217043474316597 - } - } - } + "operation": "boost", + "score": -0.032236725091934204 } + }, + "else": { + "operation": "boost", + "score": 0.012533902190625668 } } - }, - "else": { - "operation": "boost", - "score": -0.05929186940193176 } }, "else": { - "operation": "boost", - "score": -0.013831156305968761 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0024161965120583773 + }, + "else": { + "operation": "boost", + "score": 0.019972560927271843 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.013296789489686489 + }, + "else": { + "operation": "boost", + "score": 0.0045108734630048275 + } + }, + "else": { + "operation": "boost", + "score": -0.00024438006221316755 + } + } } } } + }, + "else": { + "operation": "boost", + "score": -0.1094171479344368 } } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2020.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19203.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19643.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245728.5, + "then": { + "operation": "boost", + "score": -0.34685859084129333 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": 0.11356241255998611 + }, + "else": { + "operation": "boost", + "score": 0.10084301233291626 + } + }, + "else": { + "operation": "boost", + "score": 0.028393277898430824 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1278916299343109 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.05485525354743004 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.019897904247045517 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.020048517733812332 + }, + "else": { + "operation": "boost", + "score": 0.011900787241756916 + } + } }, "else": { "operation": "boost", - "score": 0.037067752331495285 + "score": -0.004569431766867638 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "boost", + "score": 0.02154582366347313 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24308.0, + "threshold": 241916.0, "then": { + "operation": "boost", + "score": -0.07622995227575302 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 820317.5, + "threshold": 188273.5, "then": { - "operation": "boost", - "score": 0.0772392600774765 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 212125.0, "then": { - "operation": "boost", - "score": 0.04650440067052841 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.11366226524114609 + }, + "else": { + "operation": "boost", + "score": 0.0793502926826477 + } + }, + "else": { + "operation": "boost", + "score": 0.004373996518552303 + } + }, + "else": { + "operation": "boost", + "score": -0.08391908556222916 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "boost", - "score": 0.019762221723794937 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.12649019062519073 + }, + "else": { + "operation": "boost", + "score": 0.0603070892393589 + } + }, + "else": { + "operation": "boost", + "score": -0.16966216266155243 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.044713884592056274 + }, + "else": { + "operation": "boost", + "score": -0.01778268814086914 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168474.5, "then": { + "operation": "boost", + "score": -0.12101595103740692 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 29053.5, + "threshold": 167779.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71306.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "boost", - "score": 0.003689679317176342 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.018798407167196274 - }, - "else": { - "operation": "boost", - "score": -0.13540565967559814 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "boost", - "score": 0.03241739794611931 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132033.5, - "then": { - "operation": "boost", - "score": -0.1272115856409073 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.06747904419898987 - }, - "else": { - "operation": "boost", - "score": 0.013853151351213455 - } - }, - "else": { - "operation": "boost", - "score": -0.006774561014026403 - } - } - } - } + "operation": "boost", + "score": 0.0910612940788269 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011428928934037685 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.06677182763814926 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.24668928980827332 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, - "then": { - "operation": "boost", - "score": -0.5047888159751892 - }, - "else": { - "operation": "boost", - "score": -0.11712319403886795 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04755537584424019 - }, - "else": { - "operation": "boost", - "score": -0.37269526720046997 - } - } - } - } + "operation": "boost", + "score": 0.010861390270292759 } }, + "else": { + "operation": "boost", + "score": -0.20300015807151794 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159339.0, + "then": { + "operation": "boost", + "score": -0.2048458456993103 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.10701580345630646 + "score": 0.01322454959154129 }, "else": { "operation": "boost", - "score": -0.0765317976474762 + "score": -0.04417373985052109 } }, "else": { "operation": "boost", - "score": 0.00709532480686903 + "score": -0.008171482011675835 } } - }, - "else": { - "operation": "boost", - "score": -0.09066782891750336 } - }, - "else": { - "operation": "boost", - "score": 0.0004502807860262692 } + }, + "else": { + "operation": "boost", + "score": 0.01310733426362276 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6406.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6676.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 179.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_Statement", + "CCC_TopLevel" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120391.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6767.0, + "operation": "boost", + "score": 0.056811973452568054 + }, + "else": { + "operation": "boost", + "score": 0.12947122752666473 + } + }, + "else": { + "operation": "boost", + "score": -0.08228801935911179 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40702.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8420.5, + "threshold": 74740.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8506.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07387425750494003 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9135.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15605.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "boost", - "score": -0.015971088781952858 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, - "then": { - "operation": "boost", - "score": 0.10398595035076141 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.103655144572258 - }, - "else": { - "operation": "boost", - "score": 0.08822064101696014 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10136617720127106 - } - }, - "else": { - "operation": "boost", - "score": 0.11217666417360306 - } - } - }, - "else": { - "operation": "boost", - "score": 0.031551115214824677 - } - }, - "else": { - "operation": "boost", - "score": 0.11486365646123886 - } + "operation": "boost", + "score": 0.07429900020360947 }, "else": { "operation": "boost", - "score": -0.08665937930345535 + "score": -0.038067542016506195 } }, "else": { "operation": "boost", - "score": 0.10904903709888458 + "score": -0.1389978528022766 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20608.0, + "threshold": 32960.5, "then": { - "operation": "boost", - "score": -0.34723520278930664 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.11651206761598587 + }, + "else": { + "operation": "boost", + "score": 0.03227987140417099 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20410.5, + "threshold": 20598.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.08856186270713806 - }, - "else": { - "operation": "boost", - "score": 0.11339151859283447 - } + "operation": "boost", + "score": -0.08922110497951508 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18672.5, + "threshold": 19975.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20039.5, + "threshold": 20172.0, "then": { "operation": "boost", - "score": 0.0440516360104084 + "score": -0.004819488152861595 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09780517965555191 - }, - "else": { - "operation": "boost", - "score": 0.11960475891828537 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10654.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.01783411018550396 + "score": 0.14316995441913605 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10339.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.11061122268438339 + "score": 0.08498172461986542 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6984.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7467.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8038.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8265.5, - "then": { - "operation": "boost", - "score": 0.09208755940198898 - }, - "else": { - "operation": "boost", - "score": 0.11261554062366486 - } - }, - "else": { - "operation": "boost", - "score": -0.14285019040107727 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7165.5, - "then": { - "operation": "boost", - "score": 0.05307450145483017 - }, - "else": { - "operation": "boost", - "score": 0.10039341449737549 - } - }, - "else": { - "operation": "boost", - "score": 0.08868490904569626 - } - }, - "else": { - "operation": "boost", - "score": 0.10594820976257324 - } - } + "operation": "boost", + "score": 0.18029408156871796 }, "else": { "operation": "boost", - "score": -0.006480421870946884 + "score": 0.11149975657463074 } } } - }, - "else": { - "operation": "boost", - "score": 0.048857733607292175 } + }, + "else": { + "operation": "boost", + "score": 0.03399019315838814 } } } @@ -124007,2619 +121772,3190 @@ }, "else": { "operation": "boost", - "score": 0.1139783039689064 + "score": -0.03835533931851387 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, + "then": { + "operation": "boost", + "score": -0.15765027701854706 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "boost", + "score": -0.012475001625716686 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17777.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.20427066087722778 + }, + "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.002122376346960664 + "score": -0.0028419988229870796 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129672.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19842.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21951.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07844395190477371 - }, - "else": { - "operation": "boost", - "score": 0.11400819569826126 - } - }, - "else": { - "operation": "boost", - "score": 0.23297597467899323 - } - }, - "else": { - "operation": "boost", - "score": 0.08324839174747467 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10367000848054886 - }, - "else": { - "operation": "boost", - "score": 0.1142316684126854 - } - } - }, - "else": { - "operation": "boost", - "score": 0.029911544173955917 - } + "operation": "boost", + "score": 0.08090194314718246 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18139.5, - "then": { - "operation": "boost", - "score": -0.3576519787311554 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12002094089984894 - }, - "else": { - "operation": "boost", - "score": -0.0058528282679617405 - } - } + "operation": "boost", + "score": 0.017635254189372063 } } - }, - "else": { - "operation": "boost", - "score": 0.050295665860176086 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.2755536139011383 - }, - "else": { - "operation": "boost", - "score": 0.11317203938961029 } } } - }, - "else": { - "operation": "boost", - "score": 0.03421534597873688 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", "CCC_Namespace", - "CCC_Symbol" + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.03922232240438461 + "score": 0.0011315536685287952 }, "else": { - "operation": "boost", - "score": -0.019225435331463814 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6664.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.13721801340579987 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.12090428918600082 + "score": 0.005137166939675808 }, "else": { "operation": "boost", - "score": 0.14711754024028778 + "score": -0.0401458740234375 } + }, + "else": { + "operation": "boost", + "score": 0.019590388983488083 } }, "else": { "operation": "boost", - "score": 0.11891432106494904 + "score": -0.007725180592387915 } - }, - "else": { - "operation": "boost", - "score": 0.011243491433560848 } - }, - "else": { - "operation": "boost", - "score": 0.08333209156990051 } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.08490604907274246 - }, - "else": { - "operation": "boost", - "score": 0.014971796423196793 - } } } } - }, - "else": { + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.004477353300899267 + "score": -0.18811452388763428 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.034184008836746216 - }, - "else": { - "operation": "boost", - "score": 0.012983094900846481 - } + "operation": "boost", + "score": 0.01491138618439436 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Namespace" + "Function", + "Macro", + "Namespace", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "boost", + "score": -0.10798835009336472 + }, + "else": { + "operation": "boost", + "score": 0.011945654638111591 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": -0.05936150625348091 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.08255369961261749 + "score": 0.06993451714515686 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0766647458076477 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10567427426576614 - }, - "else": { - "operation": "boost", - "score": 0.11730778217315674 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0845177099108696 - }, - "else": { - "operation": "boost", - "score": 0.11078125238418579 - } - } + "operation": "boost", + "score": -0.32104435563087463 } + }, + "else": { + "operation": "boost", + "score": -0.11641596257686615 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.006165622733533382 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09546016156673431 - }, - "else": { - "operation": "boost", - "score": 0.11321042478084564 - } - }, - "else": { - "operation": "boost", - "score": 0.05558105930685997 - } - }, - "else": { - "operation": "boost", - "score": 0.052589207887649536 - } - }, - "else": { - "operation": "boost", - "score": 0.025426704436540604 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.027338214218616486 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.18057070672512054 - }, - "else": { - "operation": "boost", - "score": -0.018574511632323265 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01634824089705944 - } - }, - "else": { - "operation": "boost", - "score": 0.06591104716062546 - } - } + "operation": "boost", + "score": -0.08155786991119385 }, "else": { "operation": "boost", - "score": 0.0043716453947126865 + "score": 0.2067624181509018 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", "CCC_Expression", - "CCC_Type" + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.010023750364780426 + "score": 0.010273991152644157 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope" - ], + "operation": "boost", + "score": -0.031857579946517944 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.0028004320338368416 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.07103818655014038 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5727273225784302, + "then": { + "operation": "boost", + "score": 0.13856908679008484 + }, + "else": { + "operation": "boost", + "score": 0.12171182781457901 + } + } }, "else": { "operation": "boost", - "score": -0.07978007197380066 + "score": 0.03198930621147156 } + }, + "else": { + "operation": "boost", + "score": 0.010267307050526142 } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.0009884960018098354 - }, - "else": { - "operation": "boost", - "score": -0.10630567371845245 - } } }, "else": { - "operation": "boost", - "score": -0.01294593047350645 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 41.5, + "threshold": 33380.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33610.5, "then": { - "operation": "boost", - "score": 0.05398033931851387 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.0076970551162958145 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 34654.5, "then": { - "operation": "boost", - "score": 0.023379933089017868 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, "then": { "operation": "boost", - "score": 0.04145871847867966 + "score": 0.1175723746418953 }, "else": { "operation": "boost", - "score": -0.08801247924566269 + "score": 0.12193930149078369 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03353816643357277 - }, - "else": { - "operation": "boost", - "score": 0.06571143865585327 - } - }, - "else": { - "operation": "boost", - "score": -0.06753135472536087 - } - }, - "else": { - "operation": "boost", - "score": 0.030318081378936768 - } + "operation": "boost", + "score": 0.03592453896999359 } + }, + "else": { + "operation": "boost", + "score": -0.09109344333410263 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10872510075569153 + }, + "else": { + "operation": "boost", + "score": 0.1456572413444519 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.10638165473937988 + "score": 0.1455819457769394 }, "else": { "operation": "boost", - "score": -0.13798484206199646 + "score": -0.5845083594322205 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10.5, + "threshold": 28296.5, "then": { - "operation": "boost", - "score": 0.02100509963929653 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Constructor", - "Namespace" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.019177524372935295 + "score": -0.12884798645973206 }, "else": { "operation": "boost", - "score": -0.004878230858594179 + "score": 0.022628435865044594 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "boost", + "score": -0.08932241797447205 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 24308.0, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25183.5, + "then": { + "operation": "boost", + "score": 0.04466910660266876 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09730623662471771 + }, + "else": { + "operation": "boost", + "score": -0.1831531524658203 + } + } + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" + "CCC_Statement", + "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.0432518795132637 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10496234893798828 + }, + "else": { + "operation": "boost", + "score": 0.017642587423324585 + } }, "else": { "operation": "boost", - "score": -0.01506322342902422 + "score": 0.056926533579826355 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.029795106500387192 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.006388157140463591 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.013657203875482082 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "boost", + "score": 0.08766666054725647 + }, + "else": { + "operation": "boost", + "score": 0.14222735166549683 + } + }, + "else": { + "operation": "boost", + "score": 0.07701089978218079 + } + }, + "else": { + "operation": "boost", + "score": 0.013755827210843563 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08314190804958344 + }, + "else": { + "operation": "boost", + "score": 0.023859789595007896 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.03271286189556122 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.00996681209653616 + }, + "else": { + "operation": "boost", + "score": -0.11301922053098679 + } + }, + "else": { + "operation": "boost", + "score": -0.05718852952122688 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.022123103961348534 + }, + "else": { + "operation": "boost", + "score": -0.0021201998461037874 + } + } + } + } }, "else": { - "operation": "boost", - "score": -0.04246512055397034 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6920.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7253.5, + "then": { + "operation": "boost", + "score": -0.015851732343435287 + }, + "else": { + "operation": "boost", + "score": -0.33684366941452026 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.02450486645102501 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": -0.03868495672941208 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.06859584152698517 + }, + "else": { + "operation": "boost", + "score": -0.01260618306696415 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.006424546707421541 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.042357105761766434 + }, + "else": { + "operation": "boost", + "score": -0.016553277149796486 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0010526153491809964 + } + } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.02559327520430088 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.028043262660503387 }, "else": { "operation": "boost", - "score": -0.1042931079864502 + "score": 0.001727903145365417 } - }, - "else": { - "operation": "boost", - "score": 0.037008609622716904 } }, "else": { "operation": "boost", - "score": 0.013114457949995995 + "score": 0.004823712632060051 } } } - }, - "else": { - "operation": "boost", - "score": -0.009348993189632893 } } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11538.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.10911855101585388 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.01112605631351471 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09952682256698608 + }, + "else": { + "operation": "boost", + "score": -0.03834113851189613 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 22379.0, "then": { - "operation": "boost", - "score": 0.04687828943133354 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 54332.5, "then": { "operation": "boost", - "score": -0.024046888574957848 + "score": -0.015022977255284786 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 41256.0, "then": { "operation": "boost", - "score": 0.10208897292613983 + "score": 0.12491215020418167 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.085167795419693 - }, - "else": { - "operation": "boost", - "score": 0.10171176493167877 - } - }, - "else": { - "operation": "boost", - "score": 0.048722900450229645 - } + "operation": "boost", + "score": 0.03581313416361809 } } }, "else": { "operation": "boost", - "score": 0.03627147525548935 + "score": -0.10796017944812775 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.18991278111934662 + }, + "else": { + "operation": "boost", + "score": 0.11964883655309677 + } + }, + "else": { + "operation": "boost", + "score": 0.10735572129487991 } } }, "else": { - "operation": "boost", - "score": 0.012806297279894352 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 312254.5, + "then": { + "operation": "boost", + "score": 0.06652317941188812 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 288840.5, + "then": { + "operation": "boost", + "score": -0.9577898383140564 + }, + "else": { + "operation": "boost", + "score": 0.013345605693757534 + } + } } } + }, + "else": { + "operation": "boost", + "score": 0.0029887985438108444 } }, "else": { "operation": "boost", - "score": 0.002839708235114813 + "score": -0.055820051580667496 } }, "else": { "operation": "if_greater", "feature": "NumReferences", + "threshold": 11710.5, + "then": { + "operation": "boost", + "score": 0.019755670800805092 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10584980994462967 + }, + "else": { + "operation": "boost", + "score": 0.09321552515029907 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16.5, + "threshold": 10644.5, "then": { + "operation": "boost", + "score": -0.07866649329662323 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6159.0, + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 2089.0, "then": { "operation": "boost", - "score": -0.05492519587278366 + "score": 0.010982728563249111 }, "else": { "operation": "boost", - "score": 0.10843551158905029 + "score": -0.034774601459503174 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19923.0, + "threshold": 6920.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": 0.032304901629686356 - }, - "else": { - "operation": "boost", - "score": 0.08612046390771866 - } - }, - "else": { - "operation": "boost", - "score": -0.019143065437674522 - } + "operation": "boost", + "score": -0.24926874041557312 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18783.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08844872564077377 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.12355731427669525 - }, - "else": { - "operation": "boost", - "score": -0.14065155386924744 - } - }, - "else": { - "operation": "boost", - "score": 0.12299942970275879 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, - "then": { - "operation": "boost", - "score": 0.05432628467679024 - }, - "else": { - "operation": "boost", - "score": 0.1161874458193779 - } - } + "operation": "boost", + "score": 0.007080379873514175 } } }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.003964717499911785 + }, + "else": { + "operation": "boost", + "score": -0.11297149211168289 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.04016444832086563 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 165.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.00959805864840746 + "score": 0.011946827173233032 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04273049905896187 + "score": 0.12409104406833649 }, "else": { "operation": "boost", - "score": -0.08431185781955719 + "score": -0.10722766816616058 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.03534915670752525 + }, + "else": { + "operation": "boost", + "score": -0.0025596774648875 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03018505685031414 + }, + "else": { + "operation": "boost", + "score": 0.008043603971600533 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.0396139919757843 + "score": -0.05892222002148628 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.06015205383300781 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08844176679849625 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.07823740690946579 - }, - "else": { - "operation": "boost", - "score": 0.1330980360507965 - } - }, - "else": { - "operation": "boost", - "score": 0.07101432234048843 - } - } - } + "operation": "boost", + "score": -0.010660517029464245 }, "else": { "operation": "boost", - "score": 0.015895724296569824 + "score": -0.10123062133789062 } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04198496788740158 - }, - "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.5664212107658386 - }, - "else": { - "operation": "boost", - "score": 0.12485598772764206 - } + "operation": "boost", + "score": -0.007818339392542839 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.0 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.11840635538101196 + }, + "else": { + "operation": "boost", + "score": 0.03040413372218609 + } }, "else": { - "operation": "boost", - "score": 0.1165308877825737 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0991385355591774 + }, + "else": { + "operation": "boost", + "score": 0.14838865399360657 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11616657674312592 + }, + "else": { + "operation": "boost", + "score": -0.14897125959396362 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06801079213619232 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.10224788635969162 + }, + "else": { + "operation": "boost", + "score": 0.17048682272434235 + } + }, + "else": { + "operation": "boost", + "score": 0.07932280749082565 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04887311905622482 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.11218053847551346 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04931572824716568 + }, + "else": { + "operation": "boost", + "score": -0.03376239910721779 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11763552576303482 + }, + "else": { + "operation": "boost", + "score": 0.02566816844046116 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.06610040366649628 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.050504233688116074 + }, + "else": { + "operation": "boost", + "score": -0.01899518445134163 + } + } + } + } }, "else": { "operation": "boost", - "score": 0.23547491431236267 + "score": -0.004967608954757452 } } }, "else": { - "operation": "boost", - "score": -0.1350410282611847 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03139093890786171 + }, + "else": { + "operation": "boost", + "score": -0.052547622472047806 + } + }, + "else": { + "operation": "boost", + "score": -0.01605827920138836 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12066154927015305 - }, - "else": { - "operation": "boost", - "score": 0.09543012827634811 - } + "operation": "boost", + "score": -0.0035490719601511955 } }, "else": { - "operation": "boost", - "score": 0.0968620777130127 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05601249262690544 + }, + "else": { + "operation": "boost", + "score": 0.004520036280155182 + } } } + }, + "else": { + "operation": "boost", + "score": -0.05199434980750084 } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.01122510526329279 - }, - "else": { - "operation": "boost", - "score": -0.11658398061990738 - } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.10300213098526001 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.02819921262562275 + "score": 0.008029882796108723 }, "else": { "operation": "boost", - "score": -0.067509725689888 + "score": 0.0724867507815361 } - }, - "else": { - "operation": "boost", - "score": 0.009353924542665482 } }, "else": { "operation": "boost", - "score": 0.028998415917158127 + "score": -0.007033057045191526 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23415.5, - "then": { - "operation": "boost", - "score": -0.22879558801651 - }, - "else": { - "operation": "boost", - "score": -0.007844231091439724 - } } - }, - "else": { + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.018745534121990204 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.15812315046787262 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": 0.011716393753886223 + }, + "else": { + "operation": "boost", + "score": 0.10158893465995789 + } }, "else": { + "operation": "boost", + "score": -0.018496131524443626 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 234860.0, + "threshold": 5193.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03716165944933891 - }, - "else": { - "operation": "boost", - "score": 0.11866813898086548 - } - }, - "else": { - "operation": "boost", - "score": -0.11926619708538055 - } - }, - "else": { - "operation": "boost", - "score": -0.011151168495416641 - } + "operation": "boost", + "score": 0.09674538671970367 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11772087216377258 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.15712396800518036 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Expression" - ], + "operation": "boost", + "score": 0.010288864374160767 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.060661762952804565, "then": { "operation": "boost", - "score": 0.10943829268217087 + "score": 0.13025017082691193 }, "else": { "operation": "boost", - "score": 0.060080982744693756 + "score": 0.008429781533777714 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": -1.4662744998931885 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04240293800830841 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.09723310172557831 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1110326275229454 - }, - "else": { - "operation": "boost", - "score": 0.06077319756150246 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72713.0, - "then": { - "operation": "boost", - "score": 0.008876493200659752 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10881593823432922 - }, - "else": { - "operation": "boost", - "score": 0.07284697145223618 - } - } - } + "operation": "boost", + "score": -0.0860566720366478 } } + }, + "else": { + "operation": "boost", + "score": 0.022929854691028595 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, "then": { "operation": "boost", - "score": -0.15654967725276947 + "score": 0.03133990615606308 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.029583120718598366 - }, - "else": { - "operation": "boost", - "score": -0.01973024010658264 - } + "operation": "boost", + "score": 0.006075229961425066 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "boost", + "score": -0.058048591017723083 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.025259193032979965 + }, + "else": { + "operation": "boost", + "score": -0.0026393213775008917 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.008084023371338844 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.195091113448143 + }, + "else": { + "operation": "boost", + "score": 0.012339410372078419 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "boost", + "score": 0.040645062923431396 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "boost", + "score": -0.07705572992563248 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 292981.5, + "threshold": 188273.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": 0.014630191028118134 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.03566311299800873 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09980129450559616 - }, - "else": { - "operation": "boost", - "score": -0.03473115339875221 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.05852372944355011 - } + "operation": "boost", + "score": 0.05106929689645767 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.05854702740907669 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 188273.5, + "threshold": 168474.5, "then": { + "operation": "boost", + "score": -0.16849803924560547 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel" + "Constructor", + "Macro", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.02986367978155613 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.05880757048726082 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.03197932988405228 + }, + "else": { + "operation": "boost", + "score": -0.016471005976200104 + } }, "else": { - "operation": "boost", - "score": -0.08480236679315567 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.10253700613975525 + }, + "else": { + "operation": "boost", + "score": -0.08844252675771713 + } + }, + "else": { + "operation": "boost", + "score": 0.00756241986528039 + } } }, "else": { - "operation": "boost", - "score": 0.08336204290390015 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9151.0, + "then": { + "operation": "boost", + "score": -0.3273204267024994 + }, + "else": { + "operation": "boost", + "score": -0.05767333507537842 + } } }, "else": { - "operation": "boost", - "score": -0.12168710678815842 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.07429160177707672 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.0004024860681965947 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.010939548723399639 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.041310109198093414 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": 0.11540348082780838 + }, + "else": { + "operation": "boost", + "score": 0.032376594841480255 + } + } + } + } }, "else": { - "operation": "boost", - "score": 0.10225042700767517 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.016020767390727997 + }, + "else": { + "operation": "boost", + "score": -0.0919807180762291 + } } - }, - "else": { - "operation": "boost", - "score": -0.008401057682931423 } } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 167779.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.030416235327720642 - }, - "else": { - "operation": "boost", - "score": 0.12433090806007385 - } + "operation": "boost", + "score": 0.003301295917481184 }, "else": { "operation": "boost", - "score": -0.1108558252453804 + "score": 0.1319596767425537 } }, "else": { - "operation": "boost", - "score": 0.01580740511417389 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, - "then": { - "operation": "boost", - "score": -0.04848996549844742 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97095.5, + "threshold": 116663.5, "then": { + "operation": "boost", + "score": -0.151254802942276 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 96602.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04042375832796097 + "score": 0.12352985888719559 }, "else": { "operation": "boost", - "score": 0.09059277176856995 + "score": 0.04750867560505867 } }, "else": { "operation": "boost", - "score": -0.40390539169311523 + "score": 0.06096310541033745 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 108984.0, + "threshold": 92376.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10976900160312653 - }, - "else": { - "operation": "boost", - "score": 0.07976817339658737 - } - }, - "else": { "operation": "boost", - "score": 0.04153922200202942 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09578090906143188 - }, - "else": { - "operation": "boost", - "score": 0.1318340003490448 - } + "score": -0.10604406893253326 }, "else": { - "operation": "boost", - "score": -0.24843968451023102 - } - }, - "else": { - "operation": "boost", - "score": -0.08350095897912979 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73859.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, "then": { - "operation": "boost", - "score": 0.1540730893611908 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76763.5, + "threshold": 33610.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.05581415444612503 + "score": 0.057325396686792374 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89516.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.10105127841234207 - }, - "else": { - "operation": "boost", - "score": 0.11771401017904282 - } - }, - "else": { - "operation": "boost", - "score": -0.005357729736715555 - } + "operation": "boost", + "score": -0.005420486442744732 } }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.1351272612810135 + }, + "else": { + "operation": "boost", + "score": -0.4746703505516052 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28296.5, + "then": { + "operation": "boost", + "score": -0.06380550563335419 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 75566.5, + "threshold": 26198.0, "then": { "operation": "boost", - "score": 0.12662507593631744 + "score": 0.06371857225894928 }, "else": { "operation": "boost", - "score": 0.05083879455924034 + "score": -0.00038240113644860685 } } } - }, - "else": { - "operation": "boost", - "score": 0.022845828905701637 } - }, - "else": { - "operation": "boost", - "score": 0.12395332008600235 } - }, - "else": { - "operation": "boost", - "score": 0.002060066442936659 } } } } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0548374280333519 - }, - "else": { - "operation": "boost", - "score": 0.07950667291879654 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.06394042819738388 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.1004658192396164 - }, - "else": { - "operation": "boost", - "score": 0.11452104151248932 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.11968391388654709 + "score": 0.026831036433577538 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.11029797047376633 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.00353665160946548 + }, + "else": { + "operation": "boost", + "score": 0.0363561250269413 + } }, "else": { "operation": "boost", - "score": 0.09160799533128738 + "score": -0.00282033858820796 } } + }, + "else": { + "operation": "boost", + "score": 0.004670929629355669 } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.07361116260290146 - }, - "else": { - "operation": "boost", - "score": -0.01567552611231804 - } } - }, - "else": { - "operation": "boost", - "score": 0.021074064075946808 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace", - "CCC_Type" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1074118.5, + "threshold": 266152.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 272339.5, "then": { "operation": "boost", - "score": -0.4916348457336426 + "score": 0.02971397526562214 }, "else": { "operation": "boost", - "score": 0.06754162162542343 + "score": 0.08558987081050873 } }, "else": { - "operation": "boost", - "score": 0.10819951444864273 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07966089248657227 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Function", + "Keyword" ], "then": { - "operation": "boost", - "score": 0.10622687637805939 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0052198320627212524 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.050372157245874405 + }, + "else": { + "operation": "boost", + "score": -0.010858393274247646 + } + }, + "else": { + "operation": "boost", + "score": 0.012732942588627338 + } + } }, "else": { - "operation": "boost", - "score": 0.07498548924922943 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.027676889672875404 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.018864938989281654 + }, + "else": { + "operation": "boost", + "score": 0.002140187891200185 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.028681442141532898 } - }, - "else": { - "operation": "boost", - "score": 0.08943556249141693 } + }, + "else": { + "operation": "boost", + "score": -0.01528242789208889 } }, "else": { - "operation": "boost", - "score": -0.006686662323772907 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0012955657439306378 - } - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06599750369787216 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.14098307490348816 + "score": -0.014459578320384026 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.00988976750522852 + "score": -0.06306911259889603 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0498821847140789 + "score": 0.04852423444390297 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.041146740317344666 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.04457258805632591 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0576641708612442 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.09183991700410843 - }, - "else": { - "operation": "boost", - "score": 0.09749525785446167 - } - } + "operation": "boost", + "score": -0.12688162922859192 }, "else": { "operation": "boost", - "score": 0.09914752095937729 + "score": 0.15548424422740936 } + }, + "else": { + "operation": "boost", + "score": 0.09182991087436676 } + }, + "else": { + "operation": "boost", + "score": 0.07153207808732986 } } }, "else": { "operation": "boost", - "score": 0.013159465976059437 + "score": 0.020558902993798256 } } } }, "else": { "operation": "boost", - "score": 0.0033093984238803387 + "score": -0.025837574154138565 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6159.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.038208816200494766 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07094579935073853 + }, + "else": { + "operation": "boost", + "score": 0.011733313091099262 + } }, "else": { "operation": "boost", - "score": 0.10736425966024399 + "score": -0.0025053932331502438 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19923.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85788.5, - "then": { - "operation": "boost", - "score": 0.05197470635175705 - }, - "else": { - "operation": "boost", - "score": -0.014689773321151733 - } + "operation": "boost", + "score": 0.07360292226076126 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18783.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.08644632995128632 + "score": 0.02840675227344036 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.11220915615558624 - }, - "else": { - "operation": "boost", - "score": -0.12483987957239151 - } - }, - "else": { - "operation": "boost", - "score": 0.12170353531837463 - } + "operation": "boost", + "score": 0.031784575432538986 } }, "else": { "operation": "boost", - "score": 0.05406290292739868 + "score": 0.0028318024706095457 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 165.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": -0.008457883261144161 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.1243726909160614 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.04466992989182472 + }, + "else": { + "operation": "boost", + "score": 0.008715602569282055 + } + } }, "else": { "operation": "boost", - "score": 0.0339847132563591 + "score": -0.09083044528961182 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0049448395147919655 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.0385291688144207 + }, + "else": { + "operation": "boost", + "score": 0.007692310493439436 + } + } + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.08575962483882904 + "score": 0.14110088348388672 }, "else": { "operation": "boost", - "score": 0.028850411996245384 + "score": 0.09043637663125992 } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07524513453245163 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00733533687889576 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1509.5, + "then": { + "operation": "boost", + "score": -0.022117627784609795 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.016880223527550697 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "boost", + "score": -0.010463079437613487 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.002604513196274638 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.028283141553401947 + "score": 0.09274351596832275 }, "else": { "operation": "boost", - "score": 0.13868460059165955 + "score": 0.07099709659814835 } }, "else": { "operation": "boost", - "score": 0.023393461480736732 + "score": -0.05737824738025665 } + }, + "else": { + "operation": "boost", + "score": 0.004211821593344212 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1484.0, + "then": { + "operation": "boost", + "score": 0.13880570232868195 }, "else": { "operation": "boost", - "score": 0.007050762884318829 + "score": 0.015880534425377846 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.08084648847579956 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13294824957847595 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.015340590849518776 - }, - "else": { - "operation": "boost", - "score": 0.11125127226114273 - } - } - } + "operation": "boost", + "score": 0.01762910932302475 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.10635615140199661 - }, - "else": { - "operation": "boost", - "score": 0.02247648872435093 - } + "operation": "boost", + "score": 0.047864094376564026 } + }, + "else": { + "operation": "boost", + "score": -0.06865096837282181 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.007007909938693047 + }, + "else": { + "operation": "boost", + "score": -0.33415067195892334 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.014830326661467552 }, "else": { "operation": "boost", - "score": -0.007131151854991913 + "score": -0.060501065105199814 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.35683441162109375 + "score": -0.024767711758613586 }, "else": { "operation": "boost", - "score": 0.12509393692016602 + "score": 0.04300696775317192 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "boost", - "score": 0.11516375094652176 - } - }, - "else": { - "operation": "boost", - "score": 0.15955989062786102 - } - }, - "else": { - "operation": "boost", - "score": -0.000205879463464953 - } + "operation": "boost", + "score": 0.0008411778253503144 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.11943849921226501 + "score": 0.010881693102419376 }, "else": { "operation": "boost", - "score": -0.10612310469150543 + "score": -0.05496186763048172 } } } } + }, + "else": { + "operation": "boost", + "score": -0.009595268405973911 } } - }, - "else": { - "operation": "boost", - "score": 0.009797945618629456 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4464.5, + "then": { + "operation": "boost", + "score": 0.019464081153273582 }, "else": { - "operation": "boost", - "score": -0.007413034792989492 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09393381327390671 + }, + "else": { + "operation": "boost", + "score": 0.009937891736626625 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.03793603554368019 + }, + "else": { + "operation": "boost", + "score": 0.005960213951766491 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.016089800745248795 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.043808408081531525 + }, + "else": { + "operation": "boost", + "score": -0.5520821809768677 + } + }, + "else": { + "operation": "boost", + "score": -1.4061232805252075 + } + }, + "else": { + "operation": "boost", + "score": -0.051820412278175354 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0007731445366516709 + } } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014755213633179665 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function", + "Constructor", + "Macro", + "Namespace", "Type", - "Namespace" + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0035362013150006533 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": -0.076923668384552 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.02258707769215107 + }, + "else": { + "operation": "boost", + "score": -0.046720318496227264 + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", "CCC_SymbolOrNewName", - "CCC_Symbol" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], + "then": { + "operation": "boost", + "score": 0.014580233953893185 + }, + "else": { + "operation": "boost", + "score": -0.01416861917823553 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.046388670802116394 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1010967269539833 - }, - "else": { - "operation": "boost", - "score": -0.5920601487159729 - } + "operation": "boost", + "score": 0.12503387033939362 }, "else": { "operation": "boost", - "score": 0.10291978716850281 + "score": 0.09283415228128433 } + } + }, + "else": { + "operation": "boost", + "score": -0.013683252036571503 + } + }, + "else": { + "operation": "boost", + "score": 0.014809302054345608 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.013556457124650478 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.042387705296278 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08650656044483185 - }, - "else": { - "operation": "boost", - "score": 0.1099194884300232 - } - }, - "else": { - "operation": "boost", - "score": 0.06836367398500443 - } + "operation": "boost", + "score": 0.010053029283881187 } }, "else": { @@ -126627,3954 +124963,3290 @@ "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.05125082656741142 - }, - "else": { - "operation": "boost", - "score": 0.06871869415044785 - } + "operation": "boost", + "score": -0.013469048775732517 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, - "then": { - "operation": "boost", - "score": -0.13686306774616241 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.053401779383420944 - }, - "else": { - "operation": "boost", - "score": 0.10713643580675125 - } - } + "operation": "boost", + "score": 0.013953439891338348 }, "else": { "operation": "boost", - "score": 0.04114600270986557 + "score": -0.015017258003354073 } } } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 460.5, + "then": { + "operation": "boost", + "score": 0.0434211827814579 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 55.0, "then": { "operation": "boost", - "score": 0.03669493645429611 + "score": 0.1016862541437149 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.20300018787384033 - }, - "else": { - "operation": "boost", - "score": 0.12267785519361496 - } - }, - "else": { - "operation": "boost", - "score": 0.12212517857551575 - } + "operation": "boost", + "score": -0.04883907735347748 } }, "else": { "operation": "boost", - "score": -0.15491527318954468 + "score": 0.1507842242717743 } }, "else": { "operation": "boost", - "score": 0.048850711435079575 + "score": 0.04757899045944214 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.027781251817941666 + }, + "else": { + "operation": "boost", + "score": 0.002414318732917309 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.007571564055979252 }, "else": { - "operation": "boost", - "score": 0.02098282426595688 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.028963908553123474 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.1411672681570053 + }, + "else": { + "operation": "boost", + "score": -0.00856267660856247 + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.11495468765497208 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.015073047950863838 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 1.0, + "operation": "boost", + "score": -0.001802724553272128 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.02426709607243538 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "boost", - "score": -0.11621017754077911 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Namespace" ], "then": { + "operation": "boost", + "score": 0.07170777767896652 + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02380952425301075, "then": { "operation": "boost", - "score": 0.03856726735830307 + "score": -0.060668639838695526 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], + "operation": "boost", + "score": -0.012824454344809055 + } + } + }, + "else": { + "operation": "boost", + "score": 0.043196987360715866 + } + }, + "else": { + "operation": "boost", + "score": 0.008945289067924023 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.039115916937589645 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.011516558937728405 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.012362425215542316 + "score": -0.25126421451568604 }, "else": { "operation": "boost", - "score": -0.04275107756257057 + "score": -0.12093167006969452 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.0594579242169857 + }, + "else": { + "operation": "boost", + "score": 0.019467052072286606 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74740.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.06147900968790054 - }, - "else": { - "operation": "boost", - "score": 0.0034323600120842457 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.014644855633378029 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.1959865838289261 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10555332154035568 - }, - "else": { - "operation": "boost", - "score": 0.10381212830543518 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.039733123034238815 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11385010927915573 - }, - "else": { - "operation": "boost", - "score": 0.10310680419206619 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04540818929672241 - }, - "else": { - "operation": "boost", - "score": -0.049984999001026154 - } - } + "operation": "boost", + "score": 0.09581215679645538 }, "else": { + "operation": "boost", + "score": -0.010356818325817585 + } + }, + "else": { + "operation": "boost", + "score": -0.08188101649284363 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.05647498741745949 + "score": 0.03708909824490547 }, "else": { "operation": "boost", - "score": -0.3047519624233246 + "score": -0.06489653885364532 } + }, + "else": { + "operation": "boost", + "score": 0.046711113303899765 } }, "else": { + "operation": "boost", + "score": -0.006868850439786911 + } + } + }, + "else": { + "operation": "boost", + "score": -0.016020361334085464 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.0043721869587898254 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": 0.038712598383426666 + }, + "else": { + "operation": "boost", + "score": 0.020308323204517365 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": -0.05290937051177025 + }, + "else": { + "operation": "boost", + "score": 0.009785322472453117 + } + }, + "else": { + "operation": "boost", + "score": -0.12768635153770447 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.04014982655644417 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.127557173371315 + }, + "else": { + "operation": "boost", + "score": -0.07828529924154282 + } + }, + "else": { + "operation": "boost", + "score": 0.0023682289756834507 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32454.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "boost", + "score": 0.01400893647223711 + }, + "else": { + "operation": "boost", + "score": 0.05575472488999367 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 458944.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.09435832500457764 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.1224827840924263 - }, - "else": { - "operation": "boost", - "score": -0.5091191530227661 - } - } - }, - "else": { - "operation": "boost", - "score": -0.026885859668254852 - } + "operation": "boost", + "score": 0.04670814797282219 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "boost", + "score": -0.12166988104581833 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58696.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1560.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.07792146503925323 + "score": 0.07112796604633331 }, "else": { "operation": "boost", - "score": -0.025418879464268684 + "score": -0.18103419244289398 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.4305914640426636 + "score": 0.147953599691391 }, "else": { "operation": "boost", - "score": -0.15405559539794922 + "score": 0.10130998492240906 } } + }, + "else": { + "operation": "boost", + "score": -0.03716392442584038 } } + }, + "else": { + "operation": "boost", + "score": -0.10139559954404831 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.024633320048451424 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12313579022884369 + }, + "else": { + "operation": "boost", + "score": 0.020271185785531998 + } + }, + "else": { + "operation": "boost", + "score": -0.10769357532262802 + } + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05867446959018707 + "score": 0.01903625950217247 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204597.0, + "operation": "boost", + "score": -0.03345801681280136 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.001035704743117094 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220295.0, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 29460.5, "then": { - "operation": "boost", - "score": 0.013496384024620056 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30909.0, + "then": { + "operation": "boost", + "score": -0.21650001406669617 + }, + "else": { + "operation": "boost", + "score": 0.11736501008272171 + } }, "else": { "operation": "boost", - "score": 0.12399494647979736 + "score": -0.0003974813153035939 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.06053411588072777 + "score": 0.05244474112987518 }, "else": { "operation": "boost", - "score": 0.0883612260222435 + "score": -0.028399348258972168 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.07064397633075714 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.22840331494808197 + "score": 0.010029460303485394 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12663143873214722 - }, - "else": { - "operation": "boost", - "score": 0.10890991985797882 - } - }, - "else": { - "operation": "boost", - "score": -0.11077883094549179 - } + "operation": "boost", + "score": 0.07116273790597916 } - }, - "else": { - "operation": "boost", - "score": 0.07380001991987228 } } } }, "else": { "operation": "boost", - "score": 0.010408995673060417 + "score": -0.11171592026948929 } + }, + "else": { + "operation": "boost", + "score": 0.01146095059812069 } - }, - "else": { - "operation": "boost", - "score": 0.006477975752204657 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07597558945417404 - }, - "else": { - "operation": "boost", - "score": 0.023026766255497932 } - }, - "else": { - "operation": "boost", - "score": 0.010144757106900215 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6644.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6719.0, - "then": { - "operation": "boost", - "score": 0.05179215222597122 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.13437789678573608 - }, - "else": { - "operation": "boost", - "score": 0.10624467581510544 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.07103898376226425 - }, - "else": { - "operation": "boost", - "score": 0.022115956991910934 - } - } + "operation": "boost", + "score": -0.12842456996440887 }, "else": { "operation": "boost", - "score": 0.039505038410425186 + "score": 0.010174326598644257 } }, "else": { "operation": "boost", - "score": 0.0026240821462124586 + "score": -0.0033380864188075066 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.009263107553124428 }, "else": { "operation": "boost", - "score": -0.011332454159855843 + "score": -0.016763882711529732 } } }, "else": { - "operation": "boost", - "score": 0.10188950598239899 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.05489664897322655 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06628863513469696 - }, - "else": { - "operation": "boost", - "score": 0.10548684000968933 - } - } - }, - "else": { - "operation": "boost", - "score": 0.024026377126574516 - } + "operation": "boost", + "score": 0.07200555503368378 }, "else": { "operation": "boost", - "score": -0.07394518703222275 + "score": 0.04483906924724579 } }, "else": { "operation": "boost", - "score": 0.007526696193963289 + "score": 0.018525592982769012 } }, "else": { "operation": "boost", - "score": 0.001086836215108633 + "score": -0.07282332330942154 } - }, - "else": { - "operation": "boost", - "score": -0.01079291757196188 } }, "else": { - "operation": "boost", - "score": -0.025917746126651764 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.004929717630147934 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "boost", - "score": -0.36519134044647217 + "score": -0.043751224875450134 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.15283353626728058 - }, - "else": { - "operation": "boost", - "score": 0.08859603852033615 - } + "operation": "boost", + "score": -0.11168347299098969 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16.5, + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.013914979994297028 + }, + "else": { "operation": "if_member", "feature": "Scope", "set": [ - "FunctionScope", "ClassScope", - "GlobalScope" + "FileScope", + "FunctionScope" ], "then": { - "operation": "boost", - "score": 0.02324744313955307 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 359.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.09350777417421341 + "score": 0.0841694101691246 }, "else": { - "operation": "boost", - "score": -0.07257755845785141 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.10258577764034271 + }, + "else": { + "operation": "boost", + "score": 0.036934930831193924 + } } }, "else": { "operation": "boost", - "score": -0.24756969511508942 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.5263067483901978 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.09201379120349884 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.1578037440776825 - }, - "else": { - "operation": "boost", - "score": 0.15762417018413544 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.05581749603152275 - }, - "else": { - "operation": "boost", - "score": 0.10694599896669388 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.14302684366703033 - }, - "else": { - "operation": "boost", - "score": 0.11286312341690063 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.042227547615766525 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10964307188987732 - }, - "else": { - "operation": "boost", - "score": 0.1247042715549469 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.1379668414592743 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12867103517055511 - }, - "else": { - "operation": "boost", - "score": 0.11503834277391434 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10975341498851776 - } - } - }, - "else": { - "operation": "boost", - "score": 0.012972507625818253 - } - } - }, - "else": { - "operation": "boost", - "score": -0.000609453534707427 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.02379838563501835 - }, - "else": { - "operation": "boost", - "score": 0.16673438251018524 - } - }, - "else": { - "operation": "boost", - "score": 0.04147110879421234 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.11152854561805725 - }, - "else": { - "operation": "boost", - "score": 0.10489114373922348 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.010552742518484592 - }, - "else": { - "operation": "boost", - "score": 0.07009056955575943 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0017628218047320843 + "score": 0.0065578920766711235 } + }, + "else": { + "operation": "boost", + "score": -0.0058787367306649685 } } } - }, - "else": { - "operation": "boost", - "score": 0.00909496285021305 } } }, "else": { - "operation": "boost", - "score": -0.007971166633069515 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 1583.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.041713371872901917 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 231.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -4.5000528189120814e-05 + "score": -0.00023979567049536854 }, "else": { "operation": "boost", - "score": 0.12747275829315186 + "score": 0.023992590606212616 } - }, - "else": { - "operation": "boost", - "score": 0.04676608741283417 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0027210605330765247 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.08842961490154266 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.028042633086442947 + }, + "else": { + "operation": "boost", + "score": 0.009322870522737503 + } + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type" + "CCC_Expression", + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 246.5, - "then": { - "operation": "boost", - "score": 0.09518758207559586 - }, - "else": { - "operation": "boost", - "score": 0.11488592624664307 - } - }, - "else": { - "operation": "boost", - "score": 0.04292948916554451 - } - }, - "else": { - "operation": "boost", - "score": -0.006517359521239996 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.0, - "then": { - "operation": "boost", - "score": 0.11199299991130829 - }, - "else": { - "operation": "boost", - "score": 0.09974727779626846 - } - } + "operation": "boost", + "score": -0.0521734319627285 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.0, - "then": { - "operation": "boost", - "score": 0.09017060697078705 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, - "then": { - "operation": "boost", - "score": 0.1290033608675003 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.084187351167202 - }, - "else": { - "operation": "boost", - "score": 0.1160552054643631 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.032486509531736374 - } + "operation": "boost", + "score": 0.012424909509718418 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.5, + "operation": "boost", + "score": 0.036307938396930695 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 698.0, + "operation": "boost", + "score": 0.003686883021146059 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.03355098143219948 + "score": -0.017667042091488838 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 612.0, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12412875145673752 + "score": -0.22747796773910522 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07142837345600128 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 302.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 508.0, - "then": { - "operation": "boost", - "score": 0.124358169734478 - }, - "else": { - "operation": "boost", - "score": -0.1889498382806778 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.13363021612167358 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.14473523199558258 - }, - "else": { - "operation": "boost", - "score": -0.15325400233268738 - } - } - } - } + "operation": "boost", + "score": -0.04805494472384453 } } - }, - "else": { - "operation": "boost", - "score": 0.025544099509716034 } - }, - "else": { - "operation": "boost", - "score": 0.031184017658233643 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2844.5, + "operation": "boost", + "score": -0.0008528773905709386 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2865.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.04400138929486275 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.03373175114393234 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09075856953859329 + }, + "else": { + "operation": "boost", + "score": 0.026607699692249298 + } }, "else": { "operation": "boost", - "score": 0.0009885176550596952 + "score": -0.021216757595539093 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 310.0, "then": { "operation": "boost", - "score": -0.016257615759968758 + "score": 0.11117951571941376 }, "else": { "operation": "boost", - "score": 0.11798751354217529 + "score": -0.013654001988470554 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.01155664399266243 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_SymbolOrNewName" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.01673591136932373 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.010206790640950203 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.015576758421957493 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.06705498695373535 + }, + "else": { + "operation": "boost", + "score": -0.0032646621111780405 + } + } }, "else": { - "operation": "boost", - "score": 0.03585737943649292 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0013560501392930746 + }, + "else": { + "operation": "boost", + "score": -0.14114035665988922 + } } - }, - "else": { - "operation": "boost", - "score": -0.04315929487347603 } } } - }, - "else": { - "operation": "boost", - "score": -0.00036497137625701725 } } } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01425581518560648 }, "else": { + "operation": "boost", + "score": 0.005178213119506836 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 250.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.002024532062932849 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 43084.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30.5, + "threshold": 48488.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31.5, + "threshold": 55483.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 55726.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 69581.5, "then": { "operation": "boost", - "score": -0.18732112646102905 + "score": 0.0303787924349308 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.005000712815672159 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.0, - "then": { - "operation": "boost", - "score": 0.1168687492609024 - }, - "else": { - "operation": "boost", - "score": 0.09422436356544495 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "boost", - "score": 0.11563803255558014 - }, - "else": { - "operation": "boost", - "score": 0.2051384299993515 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06927098333835602 - } + "operation": "boost", + "score": -0.02296728640794754 } }, "else": { - "operation": "boost", - "score": -0.0024723787792026997 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16535289585590363 + }, + "else": { + "operation": "boost", + "score": 0.10436280816793442 + } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10791962593793869 - }, - "else": { - "operation": "boost", - "score": 0.2797718942165375 - } + "operation": "boost", + "score": -0.06973444670438766 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 45000.0, "then": { "operation": "boost", - "score": -0.009606007486581802 + "score": 0.06766586750745773 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.058954816311597824 + "score": 0.16293148696422577 }, "else": { "operation": "boost", - "score": -0.016107380390167236 + "score": 0.11770883202552795 } } }, "else": { - "operation": "boost", - "score": 0.001971433637663722 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47903.5, + "then": { + "operation": "boost", + "score": 0.10567139089107513 + }, + "else": { + "operation": "boost", + "score": 0.03540550917387009 + } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "boost", + "score": -0.21170715987682343 + }, + "else": { + "operation": "boost", + "score": 0.013593879528343678 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.010787543840706348 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.043145690113306046 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.043427031487226486 + "score": -0.028970953077077866 }, "else": { + "operation": "boost", + "score": -0.1881731152534485 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.07939422130584717 + "score": 0.030304402112960815 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.12797649204730988 - }, - "else": { - "operation": "boost", - "score": 0.025920329615473747 - } + "operation": "boost", + "score": 0.00847698375582695 } }, "else": { "operation": "boost", - "score": -0.06049901619553566 + "score": 0.01966335065662861 } }, "else": { - "operation": "boost", - "score": 0.04749739542603493 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.011884156614542007 + }, + "else": { + "operation": "boost", + "score": -0.05683663487434387 + } } }, "else": { - "operation": "boost", - "score": 0.02794468402862549 - } - }, - "else": { - "operation": "boost", - "score": 0.0031485450454056263 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.1517312377691269 - }, - "else": { - "operation": "boost", - "score": -0.06894463300704956 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.007591854780912399 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Namespace", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.2039826661348343 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.06976436823606491 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.009236705489456654 + }, + "else": { + "operation": "boost", + "score": 0.132169708609581 + } + } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { - "operation": "boost", - "score": 0.12048380076885223 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019572794437408447 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": 0.09130256623029709 + }, + "else": { + "operation": "boost", + "score": -0.01564321294426918 + } + } }, "else": { "operation": "boost", - "score": -0.13913510739803314 + "score": -0.050933316349983215 } } } }, - "else": { - "operation": "boost", - "score": -0.02852298691868782 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0871528685092926 - }, - "else": { - "operation": "boost", - "score": 0.022188924252986908 - } - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10728714615106583 + "score": -0.04804385080933571 }, "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.015079349279403687 + }, + "else": { + "operation": "boost", + "score": -0.019985215738415718 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 37.5, "then": { "operation": "boost", - "score": 0.05927050858736038 + "score": 0.07357668876647949 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.03133122995495796 + } + }, + "else": { + "operation": "boost", + "score": 0.010549299418926239 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.05172128230333328 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 221.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 228.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.11605766415596008 - }, - "else": { - "operation": "boost", - "score": -0.007857121527194977 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12412294000387192 - }, - "else": { - "operation": "boost", - "score": 0.07878798246383667 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03276701271533966 - } + "operation": "boost", + "score": 0.11003074049949646 }, "else": { "operation": "boost", - "score": 0.11440284550189972 + "score": 0.1975339651107788 } }, "else": { "operation": "boost", - "score": 0.012599651701748371 + "score": 0.09968364238739014 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.07713564485311508 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.130899116396904 - }, - "else": { - "operation": "boost", - "score": 0.07039990276098251 - } - }, - "else": { - "operation": "boost", - "score": -0.10530121624469757 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.0656154453754425 }, "else": { - "operation": "boost", - "score": -0.07422271370887756 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { - "operation": "boost", - "score": -0.09114042669534683 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.14531725645065308 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.2029617577791214 + }, + "else": { + "operation": "boost", + "score": 0.1481451541185379 + } }, "else": { "operation": "boost", - "score": -0.7984578013420105 + "score": 0.15989628434181213 } + }, + "else": { + "operation": "boost", + "score": 0.013786264695227146 } - }, - "else": { - "operation": "boost", - "score": 0.0015288109425455332 } } }, "else": { - "operation": "boost", - "score": -0.0007974344189278781 - } - } - }, - "else": { - "operation": "boost", - "score": 0.023444872349500656 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.017601244151592255 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.08181405067443848 - }, - "else": { - "operation": "boost", - "score": 0.07881180942058563 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03336242213845253 + }, + "else": { + "operation": "boost", + "score": 0.00028346601175144315 + } } - }, - "else": { - "operation": "boost", - "score": -0.07185455411672592 } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0040395865216851234 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.0010186482686549425 - }, - "else": { - "operation": "boost", - "score": -0.02247381955385208 - } - } - } - } - } - }, - { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07678487151861191 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 351.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 352.5, - "then": { - "operation": "boost", - "score": 0.050403159111738205 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", - "Operator", + "Function", + "Keyword", + "Macro", "Unknown", - "Constructor", - "Type" + "Variable" ], "then": { "operation": "boost", - "score": 0.12945617735385895 + "score": -0.05814704671502113 }, "else": { "operation": "boost", - "score": -0.1031135618686676 + "score": -0.07553716748952866 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0482647605240345 + "score": -0.08560168743133545 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "boost", - "score": -0.1268102377653122 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.02473258413374424 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.046282269060611725 + "score": 0.11261116713285446 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { + "operation": "boost", + "score": -0.007998653687536716 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", - "score": 0.012537374161183834 + "score": 0.04005362465977669 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.0740169808268547 - }, - "else": { - "operation": "boost", - "score": 0.12877249717712402 - } + "operation": "boost", + "score": 0.12097886204719543 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10138585418462753 - }, - "else": { - "operation": "boost", - "score": 0.10424664616584778 - } + "operation": "boost", + "score": 0.0800795778632164 } } - }, - "else": { - "operation": "boost", - "score": -0.057146620005369186 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.017986029386520386 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.1053200289607048 - }, - "else": { - "operation": "boost", - "score": 0.06354061514139175 - } } - }, - "else": { - "operation": "boost", - "score": -0.0042120530270040035 } } }, "else": { - "operation": "boost", - "score": 0.047966182231903076 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 21.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.09294199198484421 + "score": 0.026399245485663414 }, "else": { "operation": "boost", - "score": 0.19728323817253113 + "score": -0.18910528719425201 } }, "else": { "operation": "boost", - "score": 0.13385875523090363 + "score": 0.0070940051227808 } - }, - "else": { - "operation": "boost", - "score": -0.05703316256403923 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.0008437777869403362 - }, - "else": { - "operation": "boost", - "score": 0.058001138269901276 - } - }, - "else": { - "operation": "boost", - "score": 0.03233359754085541 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": -0.0930522084236145 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.011396807618439198 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.01779657043516636 - }, - "else": { - "operation": "boost", - "score": 0.11342770606279373 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type" + ], "then": { - "operation": "boost", - "score": 0.016677264124155045 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.029814274981617928 + "score": 0.0004199556424282491 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.0972064658999443 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.05558205023407936 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12385237962007523 - }, - "else": { - "operation": "boost", - "score": -0.10494139790534973 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.1436539590358734 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.004143510013818741 + }, + "else": { + "operation": "boost", + "score": -0.11656070500612259 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.16663356125354767 + }, + "else": { + "operation": "boost", + "score": 0.06008746474981308 + } + }, + "else": { + "operation": "boost", + "score": 0.023961568251252174 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.1389949470758438 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.042711447924375534 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.08149538934230804 + }, + "else": { + "operation": "boost", + "score": 0.03939174860715866 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.021871745586395264 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.021981950849294662 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.008153073489665985 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.03204520791769028 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.007040611933916807 + }, + "else": { + "operation": "boost", + "score": 0.00031033437699079514 + } + } + } + } + } }, "else": { "operation": "boost", - "score": 0.11833813041448593 + "score": 0.0032130414620041847 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.12686435878276825 + "score": -0.03180081397294998 }, "else": { - "operation": "boost", - "score": 0.09542229026556015 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.0007863484206609428 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03026205115020275 + }, + "else": { + "operation": "boost", + "score": -0.09032844752073288 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.035857249051332474 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.03897154703736305 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04719113931059837 + }, + "else": { + "operation": "boost", + "score": -0.009598239324986935 + } + }, + "else": { + "operation": "boost", + "score": 0.003795197233557701 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006994909141212702 + } } } }, "else": { "operation": "boost", - "score": 0.02792362868785858 + "score": 0.019883031025528908 } - }, - "else": { - "operation": "boost", - "score": 0.07896948605775833 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.03576698899269104 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, - "then": { - "operation": "boost", - "score": 0.08998896926641464 - }, - "else": { - "operation": "boost", - "score": 0.1153806820511818 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.020682387053966522 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16987191140651703 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.43501412868499756 + "score": -0.04696742817759514 }, "else": { - "operation": "boost", - "score": 0.11039439588785172 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.006285178009420633 + }, + "else": { + "operation": "boost", + "score": -0.05459388718008995 + } } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4546.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11101.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.01653965562582016 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 201698.0, - "then": { - "operation": "boost", - "score": 0.04357348382472992 }, "else": { - "operation": "boost", - "score": -0.05548321455717087 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7155.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8277.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06381996721029282 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8191.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.11724935472011566 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.050407033413648605 + }, + "else": { + "operation": "boost", + "score": -0.00021558637672569603 + } }, "else": { + "operation": "boost", + "score": -0.05803660303354263 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.038995109498500824 + }, + "else": { + "operation": "boost", + "score": -0.011270103044807911 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7543.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.11027859151363373 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.050395939499139786 + }, + "else": { + "operation": "boost", + "score": -0.015479492954909801 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.16081278026103973 + }, + "else": { + "operation": "boost", + "score": 0.0645519271492958 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.001522206817753613 + }, + "else": { + "operation": "boost", + "score": 0.0675654485821724 + } + } + } }, "else": { "operation": "boost", - "score": -0.24785637855529785 + "score": 0.02475220523774624 } }, "else": { - "operation": "boost", - "score": 0.0594409815967083 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.005512541625648737 + }, + "else": { + "operation": "boost", + "score": 0.08917877078056335 + } + }, + "else": { + "operation": "boost", + "score": 0.04147406667470932 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.04284908249974251 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7369.0, - "then": { - "operation": "boost", - "score": 0.09267087280750275 - }, - "else": { - "operation": "boost", - "score": 0.10930727422237396 - } + "operation": "boost", + "score": 0.032251402735710144 } } } }, "else": { - "operation": "boost", - "score": 0.05198945477604866 - } - }, - "else": { - "operation": "boost", - "score": 0.03968605399131775 - } - }, - "else": { - "operation": "boost", - "score": 0.0962492972612381 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0056073591113090515 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.005256231874227524 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.041711218655109406 + }, + "else": { + "operation": "boost", + "score": -0.042301423847675323 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05081285163760185 + }, + "else": { + "operation": "boost", + "score": -0.04407394677400589 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0009412377257831395 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0036090330686420202 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.02602129429578781 + }, + "else": { + "operation": "boost", + "score": -0.13374567031860352 + } + } + } + } + } + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 146.5, + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.004318200517445803 + }, + "else": { + "operation": "boost", + "score": -0.056422699242830276 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.12909574806690216 + "score": 0.03942409157752991 }, "else": { - "operation": "boost", - "score": 0.07793743908405304 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.12063848227262497 + "score": 0.058722373098134995 }, "else": { "operation": "boost", - "score": 0.10179658234119415 + "score": -0.15625980496406555 } - }, - "else": { - "operation": "boost", - "score": 0.07603978365659714 } - } - }, - "else": { - "operation": "boost", - "score": 0.1290702372789383 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06647340208292007 + "score": 0.022897345945239067 }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Macro" ], "then": { "operation": "boost", - "score": 0.11696851253509521 + "score": 0.03083324432373047 }, "else": { "operation": "boost", - "score": 0.09676600247621536 + "score": -0.014361321926116943 } }, - "else": { - "operation": "boost", - "score": 0.14954912662506104 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09597394615411758 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.06803857535123825 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.03775356709957123 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0005754795856773853 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.06372461467981339 + }, + "else": { + "operation": "boost", + "score": 0.021785784512758255 + } + } + } }, "else": { "operation": "boost", - "score": 0.031485386192798615 + "score": 0.003668989287689328 } } - }, - "else": { - "operation": "boost", - "score": 0.029725583270192146 - } - } - }, - "else": { - "operation": "boost", - "score": 0.009929802268743515 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.06086256727576256 - }, - "else": { - "operation": "boost", - "score": 0.12149886786937714 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09370940923690796 - }, - "else": { - "operation": "boost", - "score": 0.03535458445549011 - } } - }, - "else": { - "operation": "boost", - "score": 0.04068726301193237 } - }, - "else": { - "operation": "boost", - "score": 0.04069442301988602 - } - }, - "else": { - "operation": "boost", - "score": -0.04582163318991661 - } - }, - "else": { - "operation": "boost", - "score": 0.008670412003993988 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2862.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2865.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.033587757498025894 - }, - "else": { - "operation": "boost", - "score": 0.002489333739504218 } - }, - "else": { - "operation": "boost", - "score": 0.009469736367464066 } - }, - "else": { - "operation": "boost", - "score": 0.11986399441957474 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.01334365550428629 - }, - "else": { - "operation": "boost", - "score": 0.0018672461155802011 } } } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", "Variable" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Symbol" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { + "operation": "boost", + "score": 0.01732724718749523 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 20.5, "then": { - "operation": "boost", - "score": -0.04691222310066223 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.07953917980194092 + "score": 0.015788594260811806 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 23.5, "then": { "operation": "boost", - "score": 0.1086866557598114 + "score": 0.033242400735616684 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { "operation": "boost", - "score": 0.0746174305677414 + "score": 0.14106066524982452 }, "else": { "operation": "boost", - "score": 0.10979259759187698 + "score": 0.08398985862731934 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.018278302624821663 - }, - "else": { - "operation": "boost", - "score": 0.0651453360915184 - } - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.13761456310749054 - }, - "else": { - "operation": "boost", - "score": -0.312025249004364 - } - }, - "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, "then": { + "operation": "boost", + "score": -0.030946029350161552 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.0014397840714082122 + "score": 0.020811716094613075 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.0506172776222229 + "score": 0.08723479509353638 }, "else": { "operation": "boost", - "score": -0.030275627970695496 + "score": 0.04418351128697395 } } - }, - "else": { - "operation": "boost", - "score": 0.017990777269005775 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.03683480620384216 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "boost", + "score": -0.003286333754658699 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.0013066353276371956 + }, + "else": { + "operation": "boost", + "score": 0.05592447519302368 + } + } }, "else": { "operation": "boost", - "score": 0.03755262494087219 + "score": -0.007314735557883978 } } + }, + "else": { + "operation": "boost", + "score": -0.009769129566848278 } + }, + "else": { + "operation": "boost", + "score": 0.015035419724881649 } - }, - "else": { - "operation": "boost", - "score": 0.004157728049904108 } } }, "else": { "operation": "boost", - "score": -0.09663191437721252 + "score": -0.1519993245601654 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0035592929925769567 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": 0.07417259365320206 + }, + "else": { + "operation": "boost", + "score": -0.033236924558877945 + } }, "else": { "operation": "boost", - "score": -0.013316378928720951 + "score": -0.00011926521256100386 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.022444788366556168 + "score": -0.07557827234268188 }, "else": { + "operation": "boost", + "score": -0.12226783484220505 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.5, + "threshold": 234.5, "then": { + "operation": "boost", + "score": 0.031386636197566986 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.04871232062578201 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 12.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": -0.09042228758335114 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.0, - "then": { - "operation": "boost", - "score": 0.16945552825927734 - }, - "else": { - "operation": "boost", - "score": -0.19598917663097382 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.14072667062282562 + "score": 0.13109450042247772 }, "else": { "operation": "boost", - "score": 0.11541157215833664 + "score": 0.03430671989917755 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.1588606834411621 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10546477138996124 - }, - "else": { - "operation": "boost", - "score": 0.21275772154331207 - } - } + "operation": "boost", + "score": 0.030015533789992332 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07454870641231537 + "score": -0.18807078897953033 }, "else": { "operation": "boost", - "score": -0.01992705650627613 + "score": 0.006884966976940632 } }, "else": { "operation": "boost", - "score": 0.10217897593975067 + "score": -0.04767272621393204 } } } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.015419003553688526 - } - }, - "else": { - "operation": "boost", - "score": 0.012345990166068077 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05293549224734306 - } - }, - "else": { - "operation": "boost", - "score": -0.007117134053260088 - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10799446702003479 - }, - "else": { - "operation": "boost", - "score": 0.00905291922390461 - } - }, - "else": { - "operation": "boost", - "score": 0.03467272222042084 - } - }, - "else": { - "operation": "boost", - "score": -0.00024374302302021533 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.020355118438601494 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.10944503545761108 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.20110984146595 + "score": 0.0056999605149030685 }, "else": { "operation": "boost", - "score": 0.14754508435726166 + "score": -0.07075788825750351 } } }, "else": { - "operation": "boost", - "score": -0.03844604641199112 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "boost", + "score": 0.009201224893331528 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.14015263319015503 - }, - "else": { - "operation": "boost", - "score": 0.11090350151062012 - } + "operation": "boost", + "score": 0.001777934841811657 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.038528237491846085 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10606411844491959 + "score": -0.003004560014232993 }, "else": { - "operation": "boost", - "score": 0.12051969021558762 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03339826688170433 + }, + "else": { + "operation": "boost", + "score": -0.08402875065803528 + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.13102753460407257 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1250162273645401 - }, - "else": { - "operation": "boost", - "score": 0.11506284028291702 - } + "operation": "boost", + "score": -0.002369816182181239 } - }, - "else": { - "operation": "boost", - "score": -0.10853876918554306 } } - }, - "else": { - "operation": "boost", - "score": 0.014913671649992466 } - } - }, - "else": { - "operation": "boost", - "score": -0.002691802568733692 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": -0.11204543709754944 - }, - "else": { - "operation": "boost", - "score": 0.10878918319940567 - } - }, - "else": { - "operation": "boost", - "score": 0.03754047304391861 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.008827933110296726 - } - } - }, - "else": { - "operation": "boost", - "score": -0.007114267908036709 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32538.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08238620311021805 }, "else": { "operation": "boost", - "score": 0.1643776297569275 + "score": -0.05139691010117531 } }, "else": { - "operation": "boost", - "score": -0.041990648955106735 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99880.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06970164179801941 + "score": -0.001207019668072462 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01851079612970352 - }, - "else": { - "operation": "boost", - "score": 0.08848845958709717 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91114.0, + "feature": "FractionNameInContext", + "threshold": 0.8819444179534912, "then": { "operation": "boost", - "score": -0.2216157615184784 + "score": -0.04786965996026993 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.10240104794502258 + "score": 0.119891457259655 }, "else": { "operation": "boost", - "score": 0.10929493606090546 + "score": 0.09202414751052856 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47774.0, - "then": { - "operation": "boost", - "score": 0.040283892303705215 - }, - "else": { - "operation": "boost", - "score": -0.4239223599433899 - } + "operation": "boost", + "score": 0.016722584143280983 } } + }, + "else": { + "operation": "boost", + "score": -0.03700031712651253 } } }, "else": { - "operation": "boost", - "score": -0.10428805649280548 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.1690252721309662 + "score": 0.01729612611234188 }, "else": { - "operation": "boost", - "score": 0.09085147827863693 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47123.5, - "then": { - "operation": "boost", - "score": 0.00934992078691721 - }, - "else": { - "operation": "boost", - "score": 0.13028131425380707 - } - }, - "else": { "operation": "boost", - "score": 0.07097947597503662 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61294.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62580.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 239122.0, - "then": { - "operation": "boost", - "score": 0.013430611230432987 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0065217167139053345 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1071116104722023 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.024867024272680283 - }, - "else": { - "operation": "boost", - "score": 0.10395672172307968 - } - } - }, - "else": { - "operation": "boost", - "score": 0.009695158340036869 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.001776328426785767 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11543381214141846 - }, - "else": { - "operation": "boost", - "score": 0.0795866921544075 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15419507026672363 - }, - "else": { - "operation": "boost", - "score": -0.012133203446865082 - } - } - } + "score": -0.04822220280766487 }, "else": { "operation": "boost", - "score": -0.040434423834085464 + "score": 0.18848766386508942 } } } @@ -130583,619 +128255,451 @@ }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33041.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.036869317293167114 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.2594674229621887 - }, - "else": { - "operation": "boost", - "score": 0.12053272873163223 - } - } + "operation": "boost", + "score": 0.011358998715877533 }, "else": { "operation": "boost", - "score": 0.11677400022745132 + "score": -0.12317875772714615 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.06459824740886688 + "score": 0.0061157275922596455 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33451.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11942431330680847 - }, - "else": { - "operation": "boost", - "score": 0.15244071185588837 - } + "operation": "boost", + "score": 0.06825108081102371 }, "else": { - "operation": "boost", - "score": -0.11109226197004318 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33041.5, + "threshold": 4678.5, "then": { - "operation": "boost", - "score": 0.0675826147198677 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4906.0, "then": { "operation": "boost", - "score": 0.12589004635810852 + "score": 0.029549742117524147 }, "else": { - "operation": "boost", - "score": -0.11738896369934082 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4889.0, + "then": { + "operation": "boost", + "score": 0.13652774691581726 + }, + "else": { + "operation": "boost", + "score": 0.09916096180677414 + } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.08568557351827621 }, "else": { "operation": "boost", - "score": 0.03094087913632393 + "score": 0.007882173173129559 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.024363258853554726 - }, - "else": { - "operation": "boost", - "score": 0.09490129351615906 - } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 291408.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.030600951984524727 + }, + "else": { + "operation": "boost", + "score": 0.06568203866481781 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.039712049067020416 - }, - "else": { - "operation": "boost", - "score": 0.045530617237091064 - } + "operation": "boost", + "score": -0.04272192344069481 }, "else": { "operation": "boost", - "score": 0.059442587196826935 + "score": 0.01921379752457142 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 337965.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.0160165224224329 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 31.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1031324565410614 - }, - "else": { - "operation": "boost", - "score": 0.10908293724060059 - } - }, - "else": { - "operation": "boost", - "score": 0.09660053253173828 - } + "operation": "boost", + "score": 0.22258400917053223 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10486802458763123 - }, - "else": { - "operation": "boost", - "score": -0.15648968517780304 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { "operation": "boost", - "score": -0.012758830562233925 + "score": 0.02824416384100914 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1443747580051422 - }, - "else": { - "operation": "boost", - "score": 0.14147010445594788 - } - }, - "else": { - "operation": "boost", - "score": 0.15455769002437592 - } + "operation": "boost", + "score": 0.09457843005657196 } - }, - "else": { - "operation": "boost", - "score": -0.013951434753835201 } }, "else": { "operation": "boost", - "score": 0.0416744202375412 + "score": -0.11274001002311707 } + }, + "else": { + "operation": "boost", + "score": 0.01865449734032154 } } }, "else": { "operation": "boost", - "score": -0.08059588074684143 + "score": -0.014620053581893444 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.09473346918821335 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.023003218695521355 + "score": -0.01891305111348629 }, "else": { "operation": "boost", - "score": 0.09148681908845901 + "score": 0.007941552437841892 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07134341448545456 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.01692998595535755 + "score": -0.09507991373538971 }, "else": { "operation": "boost", - "score": -0.11556252837181091 + "score": 0.12191399931907654 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11098639667034149 - }, - "else": { - "operation": "boost", - "score": -0.200369730591774 - } + "operation": "boost", + "score": 0.03195019066333771 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04599873721599579 - }, - "else": { - "operation": "boost", - "score": 0.07054410874843597 - } + "operation": "boost", + "score": -0.023226484656333923 } - }, - "else": { - "operation": "boost", - "score": 0.007721350062638521 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, - "then": { - "operation": "boost", - "score": -0.22092916071414948 - }, - "else": { - "operation": "boost", - "score": -0.029753927141427994 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06705089658498764 - }, - "else": { - "operation": "boost", - "score": 0.0968475267291069 - } - }, - "else": { - "operation": "boost", - "score": 0.07139728218317032 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105661.0, - "then": { - "operation": "boost", - "score": -0.04680676385760307 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73859.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90096.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97848.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.0513157919049263, "then": { "operation": "boost", - "score": 0.1127261072397232 + "score": 0.011989310383796692 }, "else": { "operation": "boost", - "score": 0.24901942908763885 + "score": 0.11551351100206375 } }, "else": { "operation": "boost", - "score": -0.3914627730846405 + "score": 0.004786317236721516 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.08398330956697464 + "score": 0.002169782994315028 }, "else": { - "operation": "boost", - "score": -0.14016307890415192 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.10443249344825745 + }, + "else": { + "operation": "boost", + "score": -0.10086487978696823 + } } } }, "else": { - "operation": "boost", - "score": -0.07316607236862183 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89371.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.0982334092259407 - }, - "else": { - "operation": "boost", - "score": 0.11954190582036972 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.15699031949043274 + "score": 0.005932191852480173 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76763.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.01484035886824131 + "score": -0.0014283645432442427 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75566.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": 0.11976874619722366 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsDeprecated", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10336862504482269 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.2045746147632599 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03593728318810463 + }, + "else": { + "operation": "boost", + "score": 0.12065327167510986 + } + } }, "else": { - "operation": "boost", - "score": 0.030117487534880638 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08944530785083771 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.02413085289299488 + }, + "else": { + "operation": "boost", + "score": 0.010492943227291107 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.013141111470758915 } } } @@ -131203,1417 +128707,1886 @@ } }, "else": { - "operation": "boost", - "score": 0.02452937513589859 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FileProximityDistanceCost", + "threshold": 30.5, "then": { "operation": "boost", - "score": -0.10280683636665344 + "score": 0.13360927999019623 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.10382255166769028 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102745.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.3384712338447571 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.027035420760512352 + }, + "else": { + "operation": "boost", + "score": 0.01568400114774704 + } }, "else": { "operation": "boost", - "score": 0.1008937805891037 + "score": 0.023970618844032288 } + }, + "else": { + "operation": "boost", + "score": -0.1289609968662262 } } }, "else": { - "operation": "boost", - "score": -0.005015204194933176 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.06897823512554169 + }, + "else": { + "operation": "boost", + "score": -0.018152344971895218 + } + }, + "else": { + "operation": "boost", + "score": -0.0027201937045902014 + } } - }, - "else": { - "operation": "boost", - "score": 0.011307838372886181 } } } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + } + } + }, + "else": { + "operation": "boost", + "score": -0.10864800214767456 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10174842923879623 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.012938902713358402 + "score": -0.0585850290954113 }, "else": { + "operation": "boost", + "score": 0.13386985659599304 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 749331.5, + "threshold": 164855.0, "then": { - "operation": "boost", - "score": -0.29980868101119995 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": 0.09782674908638 + }, + "else": { + "operation": "boost", + "score": 0.10080588608980179 + } }, "else": { "operation": "boost", - "score": -0.04958469048142433 + "score": 0.01333630084991455 } + }, + "else": { + "operation": "boost", + "score": 0.06161326915025711 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.04496360570192337 + "score": 0.02464934252202511 }, "else": { - "operation": "boost", - "score": 0.01582495868206024 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.004437899217009544 + }, + "else": { + "operation": "boost", + "score": 0.009832062758505344 + } } } }, "else": { - "operation": "boost", - "score": -0.0012440572027117014 - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 478260.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.028826015070080757 + }, + "else": { + "operation": "boost", + "score": 0.042474448680877686 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.28803879022598267 + }, + "else": { + "operation": "boost", + "score": 0.06910491734743118 + } + } + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.12085988372564316 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.14032095670700073 + }, + "else": { + "operation": "boost", + "score": -0.03820032626390457 + } + }, + "else": { + "operation": "boost", + "score": 0.011488661170005798 + } + }, + "else": { + "operation": "boost", + "score": -0.04711653292179108 + } }, "else": { "operation": "boost", - "score": 0.00836161244660616 + "score": -0.007514883764088154 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.05423593893647194 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "boost", - "score": 0.026949459686875343 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.12105496227741241 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.03967178985476494 + }, + "else": { + "operation": "boost", + "score": 0.08806394040584564 + } }, "else": { "operation": "boost", - "score": -0.24490463733673096 + "score": -0.016550812870264053 } }, "else": { "operation": "boost", - "score": 0.1315627247095108 + "score": 0.022602157667279243 } }, "else": { "operation": "boost", - "score": 0.04862911254167557 + "score": -0.023642495274543762 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63355.5, - "then": { - "operation": "boost", - "score": 0.12540480494499207 - }, - "else": { - "operation": "boost", - "score": 0.029831301420927048 - } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.02121172472834587 + }, + "else": { + "operation": "boost", + "score": 0.0001257062394870445 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 179.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.005380936432629824 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01836114190518856 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.022944170981645584 }, "else": { + "operation": "boost", + "score": -0.057674191892147064 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0010444365907460451 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.004472318105399609 + }, + "else": { + "operation": "boost", + "score": -0.00702136242762208 + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.02501949481666088 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.23303167521953583, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.15298570692539215 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.05724178999662399 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": 0.14007534086704254 + }, + "else": { + "operation": "boost", + "score": 0.04513125866651535 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": 0.01115521602332592 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.10662500560283661 + }, + "else": { + "operation": "boost", + "score": 0.023373667150735855 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14546489715576172 + } + }, + "else": { + "operation": "boost", + "score": -0.015647171065211296 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6931818127632141, + "then": { + "operation": "boost", + "score": 0.36156877875328064 + }, + "else": { + "operation": "boost", + "score": 0.10651465505361557 + } + } }, "else": { - "operation": "boost", - "score": 0.12178739905357361 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12740568816661835 + }, + "else": { + "operation": "boost", + "score": -0.05194497108459473 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.11208359897136688 + "score": 0.10835163295269012 }, "else": { - "operation": "boost", - "score": -0.03721721097826958 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.13463707268238068 + }, + "else": { + "operation": "boost", + "score": 0.008939382620155811 + } } } + }, + "else": { + "operation": "boost", + "score": -0.07565518468618393 } }, "else": { "operation": "boost", - "score": 0.014113490469753742 + "score": 0.2150525599718094 + } + }, + "else": { + "operation": "boost", + "score": 0.012445562519133091 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.030553143471479416 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.059215035289525986 + }, + "else": { + "operation": "boost", + "score": 0.028277216479182243 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.002894065575674176 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.020601915195584297 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04179996997117996 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.018125241622328758 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01435636542737484 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.01849564164876938 + }, + "else": { + "operation": "boost", + "score": 0.0001496284967288375 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08591709285974503 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1393.5, + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 219439.0, "then": { + "operation": "boost", + "score": -0.34099113941192627 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5925.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.08505307137966156 + }, + "else": { + "operation": "boost", + "score": -0.011619333177804947 + } + }, + "else": { + "operation": "boost", + "score": 0.12161882221698761 + } + }, + "else": { + "operation": "boost", + "score": 0.042852967977523804 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": -0.031400881707668304 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16714.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.037182874977588654 + "score": -0.09074851125478745 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8266.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9244.0, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13638.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.11337672919034958 + "score": 0.11111140996217728 }, "else": { "operation": "boost", - "score": 0.10248295962810516 + "score": 0.22009101510047913 } }, "else": { "operation": "boost", - "score": 0.07305021584033966 + "score": 0.052142299711704254 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8504.5, - "then": { - "operation": "boost", - "score": 0.10614801943302155 - }, - "else": { - "operation": "boost", - "score": 0.1227223128080368 - } - }, - "else": { - "operation": "boost", - "score": 0.11295975744724274 - } + "operation": "boost", + "score": 0.05525876209139824 } }, "else": { "operation": "boost", - "score": 0.024418704211711884 + "score": 0.030990561470389366 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11886132508516312 - }, - "else": { - "operation": "boost", - "score": 0.11189568787813187 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11522144824266434 - }, - "else": { - "operation": "boost", - "score": 0.0434594601392746 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1447.0, - "then": { - "operation": "boost", - "score": -0.011129891499876976 - }, - "else": { - "operation": "boost", - "score": 0.08237213641405106 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.2851862907409668 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1726.0, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2509.0, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.10421988368034363 + "score": 0.05824709311127663 }, "else": { "operation": "boost", - "score": -0.11695261299610138 + "score": 0.14047661423683167 } }, "else": { "operation": "boost", - "score": 0.11918458342552185 + "score": 0.06554093956947327 } + }, + "else": { + "operation": "boost", + "score": 0.07235773652791977 } + }, + "else": { + "operation": "boost", + "score": 0.052743829786777496 } - }, - "else": { - "operation": "boost", - "score": 0.0020999261178076267 } } }, "else": { - "operation": "boost", - "score": -0.0027485068421810865 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.03371331840753555 + }, + "else": { + "operation": "boost", + "score": 0.003169064410030842 + } } - }, - "else": { - "operation": "boost", - "score": -0.04230913892388344 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11359627544879913 - }, - "else": { - "operation": "boost", - "score": 0.024929087609052658 - } + "operation": "boost", + "score": -0.008729182183742523 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "boost", - "score": -0.016873469576239586 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { + "operation": "boost", + "score": -0.0005154531681910157 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": -0.07184682041406631 + "score": 0.04871748015284538 }, "else": { + "operation": "boost", + "score": 0.12345577031373978 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1301153600215912 + "score": 0.04452107846736908 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.05935042351484299 - }, - "else": { - "operation": "boost", - "score": 0.10081823915243149 - } + "operation": "boost", + "score": 0.09830009192228317 } }, "else": { "operation": "boost", - "score": 0.06218365952372551 + "score": -0.1869858354330063 } }, "else": { "operation": "boost", - "score": 0.0960436686873436 + "score": 0.072381392121315 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.10962497442960739 + }, + "else": { + "operation": "boost", + "score": 0.030482254922389984 } } }, "else": { - "operation": "boost", - "score": 0.04984699934720993 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.05366210639476776 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.030666198581457138 + }, + "else": { + "operation": "boost", + "score": 0.009450618177652359 + } + } } } } }, "else": { "operation": "boost", - "score": 0.036207396537065506 + "score": -0.003646690398454666 } } }, "else": { - "operation": "boost", - "score": 0.008050616830587387 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "boost", + "score": 0.010200856253504753 + }, + "else": { + "operation": "boost", + "score": -0.024829497560858727 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.029379917308688164 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.06925887614488602 + }, + "else": { + "operation": "boost", + "score": -0.09588013589382172 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010067205876111984 + } + } } - }, - "else": { - "operation": "boost", - "score": -0.05306835472583771 } - }, - "else": { - "operation": "boost", - "score": -0.055111877620220184 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 1224.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.019790176302194595 + "score": 0.03115040622651577 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": -0.013862216845154762 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006884882692247629 + }, + "else": { + "operation": "boost", + "score": 0.007483551278710365 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { - "operation": "boost", - "score": 3.3145453926408663e-05 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Symbol" ], + "then": { + "operation": "boost", + "score": 0.14105182886123657 + }, + "else": { + "operation": "boost", + "score": 0.034296903759241104 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { + "operation": "boost", + "score": 0.07073530554771423 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.13506537675857544 + "score": -0.0473887175321579 }, "else": { "operation": "boost", - "score": 0.1102452427148819 + "score": -0.0007955495966598392 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.04517650976777077 + "score": -0.46241071820259094 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10254897177219391 - }, - "else": { - "operation": "boost", - "score": 0.11664839833974838 - } + "operation": "boost", + "score": -0.06434502452611923 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.1254243701696396 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.12158970534801483 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.0688990131020546 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.1410428136587143 + }, + "else": { + "operation": "boost", + "score": 0.10144384205341339 + } + } }, "else": { "operation": "boost", - "score": 0.11236882209777832 + "score": 0.03778330981731415 } + }, + "else": { + "operation": "boost", + "score": 0.09863395988941193 } }, "else": { "operation": "boost", - "score": -0.1075061485171318 + "score": 0.04159756749868393 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.013931548222899437 + }, + "else": { + "operation": "boost", + "score": -0.08051349967718124 } } - }, - "else": { - "operation": "boost", - "score": 0.07467751950025558 } }, "else": { "operation": "boost", - "score": 0.035841308534145355 + "score": 0.026148920878767967 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.018727155402302742 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, "then": { + "operation": "boost", + "score": 0.0010751566151157022 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.09206608682870865 + "score": 0.08394336700439453 }, "else": { "operation": "boost", - "score": 0.15027253329753876 + "score": -0.007793457247316837 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.009605399332940578 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.044094666838645935 + }, + "else": { + "operation": "boost", + "score": 0.1032668948173523 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.33562615513801575 + }, + "else": { + "operation": "boost", + "score": 0.13087333738803864 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.23244701325893402 + }, + "else": { + "operation": "boost", + "score": 0.016893090680241585 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07679757475852966 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02329990267753601 + } } }, "else": { "operation": "boost", - "score": 0.03234317898750305 + "score": -0.004985510837286711 } - }, - "else": { - "operation": "boost", - "score": 0.046259574592113495 } - }, - "else": { - "operation": "boost", - "score": -0.005275926552712917 } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0913430005311966 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Unknown", - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.013786458410322666 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.02318853698670864 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.009607001207768917 + "score": -0.004868409130722284 }, "else": { "operation": "boost", - "score": -0.27010029554367065 + "score": 0.009626702405512333 } } } }, "else": { - "operation": "boost", - "score": -0.006826447322964668 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80755.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1502445787191391 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05659672990441322 - }, - "else": { - "operation": "boost", - "score": 0.12505194544792175 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0003044422483071685 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10886741429567337 - }, - "else": { - "operation": "boost", - "score": 0.05656884238123894 - } - } + "operation": "boost", + "score": -0.013285081833600998 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "boost", + "score": -0.0013579309452325106 + } + }, + "else": { + "operation": "boost", + "score": -0.10873707383871078 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.07846727222204208 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.009130963124334812 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.08668377995491028 + }, + "else": { + "operation": "boost", + "score": 0.02587977424263954 + } + }, + "else": { + "operation": "boost", + "score": 0.022641262039542198 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 263421.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 284274.5, "then": { "operation": "boost", - "score": 0.14972051978111267 + "score": 0.031211649999022484 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1173439621925354 - }, - "else": { - "operation": "boost", - "score": 0.2354399561882019 - } + "operation": "boost", + "score": 0.09470801055431366 } }, "else": { "operation": "boost", - "score": -0.23184743523597717 + "score": 0.02343027852475643 } } + }, + "else": { + "operation": "boost", + "score": 0.006649862974882126 } + }, + "else": { + "operation": "boost", + "score": 0.0001552869944134727 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.03934290632605553 + "score": -0.030863862484693527 }, "else": { + "operation": "boost", + "score": -0.0495726615190506 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 188273.5, + "threshold": 8506.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "operation": "boost", + "score": 0.03008180856704712 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "ClassScope" ], "then": { - "operation": "boost", - "score": 0.03231178596615791 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.14236955344676971 + "score": 0.0734473392367363 }, "else": { "operation": "boost", - "score": -0.016260303556919098 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03322446346282959 - }, - "else": { - "operation": "boost", - "score": 0.08562947809696198 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.10748407989740372 - }, - "else": { - "operation": "boost", - "score": 0.07951805740594864 - } + "score": 0.013931278139352798 } }, "else": { "operation": "boost", - "score": 0.060492441058158875 + "score": 0.005430974066257477 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105661.0, - "then": { - "operation": "boost", - "score": -0.03410477191209793 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73859.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76763.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.15900665521621704 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99880.5, - "then": { - "operation": "boost", - "score": -0.33020707964897156 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98110.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10515744239091873 - }, - "else": { - "operation": "boost", - "score": 0.1623276323080063 - } - }, - "else": { - "operation": "boost", - "score": -0.11615200340747833 - } - }, - "else": { - "operation": "boost", - "score": 0.2564763128757477 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, - "then": { - "operation": "boost", - "score": -0.04298752546310425 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89516.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.08724740147590637 - }, - "else": { - "operation": "boost", - "score": 0.1129375696182251 - } - }, - "else": { - "operation": "boost", - "score": -0.020717384293675423 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.01025224570184946 - }, - "else": { - "operation": "boost", - "score": 0.10807869583368301 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.13931474089622498 - }, - "else": { - "operation": "boost", - "score": 0.10315650701522827 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09927108138799667 - }, - "else": { - "operation": "boost", - "score": 0.021332358941435814 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.01451033167541027 - } - }, - "else": { - "operation": "boost", - "score": 0.12113964557647705 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47293.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.08909487724304199 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.10064955800771713 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102745.5, - "then": { - "operation": "boost", - "score": -0.25040555000305176 - }, - "else": { - "operation": "boost", - "score": 0.09609565883874893 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.018146628513932228 - } - }, - "else": { - "operation": "boost", - "score": 0.002317418809980154 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13516804575920105 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.1052374541759491 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10164807736873627 - }, - "else": { - "operation": "boost", - "score": 0.12746873497962952 - } - } - }, - "else": { - "operation": "boost", - "score": 0.14341099560260773 - } - }, - "else": { - "operation": "boost", - "score": -0.015070863999426365 - } - }, - "else": { - "operation": "boost", - "score": -0.03201291337609291 - } - }, - "else": { - "operation": "boost", - "score": 0.009811025112867355 - } - } - } - } + "operation": "boost", + "score": -0.10284116864204407 } } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.012732000090181828 + }, + "else": { + "operation": "boost", + "score": -0.006066375412046909 + } } - }, - "else": { - "operation": "boost", - "score": 0.00979319866746664 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.04103991389274597 - }, - "else": { - "operation": "boost", - "score": 0.014944098889827728 - } } - }, - "else": { - "operation": "boost", - "score": -0.0011838588397949934 } } }, { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" + "Namespace", + "Variable" ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.008678754791617393 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0287431962788105 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", @@ -132621,3131 +130594,1703 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": -0.5304908156394958 + "score": -0.27369052171707153 }, "else": { "operation": "boost", - "score": 0.017910737544298172 + "score": 0.012578320689499378 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.08834793418645859 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3069.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.017431406304240227 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11336357891559601 - }, - "else": { - "operation": "boost", - "score": 0.11856953054666519 - } - }, - "else": { - "operation": "boost", - "score": 0.04943186044692993 - } - } - }, - "else": { - "operation": "boost", - "score": -0.09508325904607773 - } - }, - "else": { - "operation": "boost", - "score": 0.06595055013895035 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.01050643716007471 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, - "then": { - "operation": "boost", - "score": 0.021150192245841026 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.07112187147140503 - }, - "else": { - "operation": "boost", - "score": 0.12451893091201782 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12112225592136383 - }, - "else": { - "operation": "boost", - "score": -0.09073421359062195 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.004237275570631027 - } - } + "operation": "boost", + "score": -0.036934759467840195 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function", - "Type", - "Namespace" + "CCC_Statement", + "CCC_Symbol" ], - "then": { - "operation": "boost", - "score": 0.0099426144734025 - }, - "else": { - "operation": "boost", - "score": -0.026188138872385025 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21461.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72713.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.048527900129556656 + "score": -0.077614925801754 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.03493569418787956 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30421.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.16132022440433502 - }, - "else": { - "operation": "boost", - "score": 0.08942023664712906 - } - }, - "else": { "operation": "boost", - "score": 0.1255437582731247 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01106855645775795 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.0, - "then": { - "operation": "boost", - "score": 0.10553444921970367 - }, - "else": { - "operation": "boost", - "score": -0.007320157717913389 - } + "score": 0.16296909749507904 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11916961520910263 - }, - "else": { - "operation": "boost", - "score": -0.11106916517019272 - } + "operation": "boost", + "score": 0.0447511151432991 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09396366029977798 }, "else": { "operation": "boost", - "score": -0.08268748223781586 + "score": 0.03483371064066887 } } + }, + "else": { + "operation": "boost", + "score": 0.008094174787402153 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0754176452755928 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Variable" ], "then": { - "operation": "boost", - "score": -0.049725670367479324 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 620.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 709.0, - "then": { - "operation": "boost", - "score": -0.08688531070947647 - }, - "else": { - "operation": "boost", - "score": 0.11925102025270462 - } - }, - "else": { - "operation": "boost", - "score": -0.16850419342517853 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 960.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "threshold": 75.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.09658576548099518 + "score": 0.06666435301303864 }, "else": { "operation": "boost", - "score": -1.071420431137085 + "score": 0.10455463081598282 } }, "else": { "operation": "boost", - "score": 0.09879297018051147 + "score": 0.006183510646224022 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.10861729085445404 - }, - "else": { - "operation": "boost", - "score": 0.07999060302972794 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.07941049337387085 - }, - "else": { - "operation": "boost", - "score": 0.05159281566739082 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.005624039098620415 - }, - "else": { - "operation": "boost", - "score": -0.05851195752620697 - } - } + "operation": "boost", + "score": 0.03028133139014244 } + }, + "else": { + "operation": "boost", + "score": 0.0063949935138225555 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.005853250622749329 + }, + "else": { + "operation": "boost", + "score": 0.1592935472726822 + } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 286067.5, + "threshold": 19968.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297177.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.03752823919057846 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "boost", + "score": 0.041103314608335495 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "boost", + "score": 0.14198297262191772 + }, + "else": { + "operation": "boost", + "score": 0.07285614311695099 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 305388.5, "then": { "operation": "boost", - "score": -0.014452102594077587 + "score": -0.052955929189920425 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.1273079812526703 + "score": 0.018744727596640587 }, "else": { "operation": "boost", - "score": 0.039283908903598785 + "score": -0.44789424538612366 } } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 5.273303031572141e-05 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": -6.111132825026289e-05 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.018588604405522346 + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.027552206069231033 - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": -0.09002165496349335 + "score": 0.022960403934121132 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.00015861920837778598 + "score": 0.19801150262355804 }, "else": { "operation": "boost", - "score": 0.015504053793847561 + "score": -0.008098652586340904 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.22761854529380798 }, "else": { "operation": "boost", - "score": -0.10628781467676163 + "score": -0.00519915483891964 } } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.02190319262444973 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.009391742758452892 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "boost", - "score": 0.030163820832967758 + "score": -0.040039677172899246 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, "then": { - "operation": "boost", - "score": 0.08629173040390015 - }, - "else": { - "operation": "boost", - "score": 0.020603276789188385 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.040629059076309204 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.002371270675212145 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 207505.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06494950503110886 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.057200320065021515 - }, - "else": { - "operation": "boost", - "score": -0.02554505132138729 - } - }, - "else": { - "operation": "boost", - "score": -0.06003289297223091 - } - } + "operation": "boost", + "score": 0.03595365211367607 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.0, - "then": { - "operation": "boost", - "score": 0.0650709718465805 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": -0.11484456062316895 - }, - "else": { - "operation": "boost", - "score": -0.0061611514538526535 - } - } + "operation": "boost", + "score": 0.07352925837039948 } + }, + "else": { + "operation": "boost", + "score": -0.021592773497104645 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, + "then": { + "operation": "boost", + "score": -0.01834196038544178 + }, + "else": { + "operation": "boost", + "score": 0.009415137581527233 } } - }, - "else": { - "operation": "boost", - "score": -0.04770897701382637 } - }, - "else": { - "operation": "boost", - "score": -0.01043697725981474 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", + "CCC_Expression", "CCC_Other", - "CCC_Expression" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.0762549340724945 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.024417974054813385 - }, - "else": { - "operation": "boost", - "score": -0.05368359386920929 - } - }, - "else": { - "operation": "boost", - "score": 0.07466606050729752 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.046335503458976746 - }, - "else": { - "operation": "boost", - "score": 0.028880136087536812 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04953548312187195 - } - } + "operation": "boost", + "score": 0.04021640494465828 }, "else": { "operation": "boost", - "score": 0.007489174138754606 + "score": 0.012036727741360664 } }, "else": { "operation": "boost", - "score": -0.04986315220594406 + "score": -0.023534663021564484 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Operator" + ], + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14262613654136658 - }, - "else": { - "operation": "boost", - "score": 0.12667100131511688 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.022976195439696312 - }, - "else": { - "operation": "boost", - "score": 0.0561443492770195 - } - }, - "else": { - "operation": "boost", - "score": 0.0188297126442194 - } - } - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "boost", - "score": 0.0002477607049513608 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_PreprocessorExpression", + "CCC_TopLevel" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.09266972541809082 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.06985417753458023 - }, - "else": { - "operation": "boost", - "score": 0.03464723378419876 - } - } - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.022306784987449646 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Unknown", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.114262156188488 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.10132033377885818 + "score": 0.002473287982866168 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06840565800666809 - }, - "else": { - "operation": "boost", - "score": 0.11154881119728088 - } + "operation": "boost", + "score": 0.05441373959183693 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08093204349279404 - }, - "else": { - "operation": "boost", - "score": 0.10727059096097946 - } + "operation": "boost", + "score": -0.11388997733592987 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.16366060078144073 + }, + "else": { + "operation": "boost", + "score": 0.04946333169937134 } } }, "else": { "operation": "boost", - "score": 0.019596168771386147 + "score": -0.10093981772661209 } }, "else": { "operation": "boost", - "score": -0.06560280919075012 + "score": 0.05563390254974365 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.008982470259070396 }, "else": { "operation": "boost", - "score": -0.09629075974225998 + "score": 0.014450070448219776 } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0037470769602805376 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.08740631490945816 + "score": -0.11616449058055878 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { - "operation": "boost", - "score": 0.012675615027546883 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { "operation": "boost", - "score": 0.11068055033683777 + "score": 0.08213617652654648 }, "else": { "operation": "boost", - "score": 0.06000305712223053 + "score": -0.021765049546957016 } + }, + "else": { + "operation": "boost", + "score": 0.1201106607913971 } }, "else": { "operation": "boost", - "score": 0.00272904010489583 + "score": 0.036832429468631744 } }, "else": { "operation": "boost", - "score": 0.04760001227259636 + "score": 0.0051327915862202644 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.09447743743658066 - }, - "else": { - "operation": "boost", - "score": -0.06289824098348618 - } - }, - "else": { - "operation": "boost", - "score": -0.011140267364680767 - } + "operation": "boost", + "score": -0.051339518278837204 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.2024592161178589 + "score": 0.029978057369589806 }, "else": { - "operation": "boost", - "score": -0.002564674010500312 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.031110500916838646 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.016748741269111633 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10395526140928268 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -1.333760380744934 + "score": -0.055055733770132065 }, "else": { "operation": "boost", - "score": 0.12371722608804703 + "score": 0.008972829207777977 } - }, - "else": { - "operation": "boost", - "score": -0.2757401466369629 } } - }, - "else": { - "operation": "boost", - "score": -0.16148239374160767 } - }, - "else": { - "operation": "boost", - "score": -0.02804029919207096 } - }, - "else": { - "operation": "boost", - "score": -0.10677899420261383 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.0027918091509491205 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0680081844329834 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.1059308648109436 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.040551476180553436 + "score": 0.016252435743808746 }, "else": { "operation": "boost", - "score": 0.07452519983053207 + "score": 0.04909256473183632 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.00041898590279743075 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 418.0, - "then": { - "operation": "boost", - "score": 0.1355711966753006 - }, - "else": { - "operation": "boost", - "score": 0.08710604161024094 - } - }, - "else": { - "operation": "boost", - "score": 0.0673171654343605 - } + "operation": "boost", + "score": -0.05169650539755821 }, "else": { "operation": "boost", - "score": -0.00481588626280427 + "score": 0.15318997204303741 } } - }, - "else": { - "operation": "boost", - "score": 0.010701197199523449 } } + }, + "else": { + "operation": "boost", + "score": 0.001835957053117454 } + }, + "else": { + "operation": "boost", + "score": -0.04698794707655907 } }, "else": { - "operation": "boost", - "score": -0.042185228317976 - } - } - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06067192927002907 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.41421568393707275, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.013505439274013042 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.3141418993473053 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04810183867812157 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.11684510856866837 + }, + "else": { + "operation": "boost", + "score": 0.12980735301971436 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.0990072637796402 - }, - "else": { - "operation": "boost", - "score": 0.12248013913631439 - } + "operation": "boost", + "score": 0.10154279321432114 }, "else": { "operation": "boost", - "score": 0.08767136931419373 + "score": 0.05671226978302002 } } }, "else": { - "operation": "boost", - "score": 0.03337296098470688 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.0858079344034195 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.06295142322778702 + "score": 0.10412836074829102 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.08383184671401978 - }, - "else": { - "operation": "boost", - "score": 0.09883067011833191 - } + "operation": "boost", + "score": -0.11542295664548874 } }, "else": { "operation": "boost", - "score": 0.10705088078975677 + "score": 0.1058596819639206 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21.5, + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.028019191697239876 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { - "operation": "boost", - "score": 0.096028171479702 - }, - "else": { - "operation": "boost", - "score": 0.06931784749031067 - } - } + "operation": "boost", + "score": 0.07036279141902924 }, "else": { + "operation": "boost", + "score": 0.14067880809307098 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.14134304225444794 + "score": 0.014111923985183239 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.15410853922367096 + "score": 0.10521619021892548 }, "else": { "operation": "boost", - "score": 0.10142505168914795 + "score": 0.03697112202644348 } }, "else": { - "operation": "boost", - "score": 0.09625398367643356 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09871667623519897 + }, + "else": { + "operation": "boost", + "score": 0.12677238881587982 + } + }, + "else": { + "operation": "boost", + "score": -0.2504003345966339 + } + }, + "else": { + "operation": "boost", + "score": 0.08724918961524963 + } } } + }, + "else": { + "operation": "boost", + "score": 0.009727605618536472 } - }, - "else": { - "operation": "boost", - "score": 0.029832351952791214 } - }, - "else": { - "operation": "boost", - "score": 0.004738321993499994 } + }, + "else": { + "operation": "boost", + "score": -0.10267875343561172 } }, "else": { "operation": "boost", - "score": 0.0059476131573319435 + "score": 0.016646046191453934 } }, "else": { "operation": "boost", - "score": 0.0031713033095002174 + "score": 0.008709842339158058 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6159.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": -0.06766953319311142 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.04354948177933693 - }, - "else": { - "operation": "boost", - "score": 0.10643021017313004 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19923.0, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.02678319625556469 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 30.5, + "then": { + "operation": "boost", + "score": 0.10970107465982437 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04889073967933655 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.030914850533008575 + }, + "else": { + "operation": "boost", + "score": 0.018839092925190926 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012657486833631992 + } + } }, "else": { "operation": "boost", - "score": 0.08656540513038635 + "score": 0.02885681577026844 } }, "else": { - "operation": "boost", - "score": -0.009146607480943203 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18783.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.1142609640955925 + "score": 0.10420223325490952 }, "else": { "operation": "boost", - "score": 0.07038013637065887 + "score": -0.1391560435295105 } }, "else": { "operation": "boost", - "score": 0.11351481825113297 + "score": -0.011816535145044327 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.031239312142133713 }, "else": { "operation": "boost", - "score": 0.04707762971520424 + "score": -0.05413823202252388 } } - } - }, - "else": { - "operation": "boost", - "score": 0.008702443912625313 - } - } - }, - "else": { - "operation": "boost", - "score": -0.006834574043750763 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82461.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98110.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99880.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.052957482635974884 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 239122.0, - "then": { - "operation": "boost", - "score": 0.0077062975615262985 - }, - "else": { - "operation": "boost", - "score": 0.05001106485724449 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.003044578479602933 - }, - "else": { - "operation": "boost", - "score": 0.08130864053964615 - } - }, - "else": { - "operation": "boost", - "score": -0.20245350897312164 - } - } + "operation": "boost", + "score": -0.06529580056667328 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.07942131161689758 - }, - "else": { - "operation": "boost", - "score": -0.11609581857919693 - } - }, - "else": { - "operation": "boost", - "score": -0.2312234342098236 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79531.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.13992132246494293 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71571.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.11270277202129364 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.05117286369204521 + "score": 0.011174716055393219 }, "else": { - "operation": "boost", - "score": 0.09813521057367325 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30340.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32515.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37521.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.02398206666111946 + "score": -0.02021077275276184 }, "else": { + "operation": "boost", + "score": 0.02587432600557804 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "boost", + "score": -0.05416381359100342 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.16735132038593292 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09279248863458633 + }, + "else": { + "operation": "boost", + "score": 0.05027761310338974 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03180178254842758 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03777040168642998 + }, + "else": { + "operation": "boost", + "score": -0.042264483869075775 + } + } + } }, "else": { "operation": "boost", - "score": 0.12367649376392365 + "score": -0.000307566428091377 } - }, - "else": { - "operation": "boost", - "score": 0.1301296353340149 } - } - }, - "else": { - "operation": "boost", - "score": -0.1938331574201584 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20118.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.12577566504478455 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.09872758388519287 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.0028530689887702465 + }, + "else": { + "operation": "boost", + "score": -0.04849061742424965 + } }, "else": { "operation": "boost", - "score": 0.06600432097911835 + "score": 0.0018339904490858316 } } - }, - "else": { - "operation": "boost", - "score": -0.11941805481910706 } } } }, "else": { "operation": "boost", - "score": -0.3060219883918762 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20297.5, - "then": { - "operation": "boost", - "score": 0.12150644510984421 - }, - "else": { - "operation": "boost", - "score": -0.028839172795414925 - } - }, - "else": { - "operation": "boost", - "score": 0.10228690505027771 + "score": -0.012899116612970829 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09898052364587784 - }, - "else": { - "operation": "boost", - "score": 0.10918793827295303 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09130210429430008 - }, - "else": { - "operation": "boost", - "score": 0.10931986570358276 - } - }, - "else": { - "operation": "boost", - "score": -0.22697025537490845 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", - "score": 0.08751511573791504 + "score": -0.04058610647916794 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.1295280009508133 - }, - "else": { - "operation": "boost", - "score": 0.08055882900953293 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.14996181428432465 + "score": -0.012484870851039886 }, "else": { "operation": "boost", - "score": 0.09649540483951569 + "score": 0.035929467529058456 } }, "else": { "operation": "boost", - "score": 0.00930460263043642 + "score": -0.0041884249076247215 } - }, - "else": { - "operation": "boost", - "score": 0.021277381107211113 } } }, "else": { - "operation": "boost", - "score": 0.006634552031755447 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": -0.024766206741333008 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.14798423647880554 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", + "CCC_Namespace", + "CCC_Statement", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" + "CCC_SymbolOrNewName", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.07082708179950714 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.07649628818035126 + "score": 0.07276234775781631 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0013481463538482785 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05332639813423157 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "boost", - "score": -0.07135550677776337 - }, - "else": { - "operation": "boost", - "score": -0.16118626296520233 - } - } - } + "operation": "boost", + "score": 0.025512108579277992 } + }, + "else": { + "operation": "boost", + "score": 0.009065148420631886 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.16460104286670685 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304083.5, - "then": { - "operation": "boost", - "score": -0.07426483184099197 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.13200262188911438 - }, - "else": { - "operation": "boost", - "score": 0.11529261618852615 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, - "then": { - "operation": "boost", - "score": -0.018912298604846 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 327227.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10458703339099884 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10296829789876938 - }, - "else": { - "operation": "boost", - "score": -0.21982485055923462 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "boost", - "score": -0.0816153809428215 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.21681305766105652 - }, - "else": { - "operation": "boost", - "score": 0.00020157913968432695 - } - } - } - } - } + "operation": "boost", + "score": 0.008755907416343689 }, "else": { "operation": "boost", - "score": 0.03592398017644882 + "score": -0.012521952390670776 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": -0.19678598642349243 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73859.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81569.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07414118200540543 - }, - "else": { - "operation": "boost", - "score": -0.0071242074482142925 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01757528819143772 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.09023973345756531 - }, - "else": { - "operation": "boost", - "score": 0.11103113740682602 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1059417650103569 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.14832031726837158 - }, - "else": { - "operation": "boost", - "score": -0.24922360479831696 - } - }, - "else": { - "operation": "boost", - "score": -0.21708424389362335 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.10335318744182587 - }, - "else": { - "operation": "boost", - "score": 0.07987043261528015 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, - "then": { - "operation": "boost", - "score": -0.015433013439178467 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89371.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.07134941965341568 - }, - "else": { - "operation": "boost", - "score": 0.1117437481880188 - } - }, - "else": { - "operation": "boost", - "score": -0.04584179446101189 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": -0.09874249994754791 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10443861782550812 - }, - "else": { - "operation": "boost", - "score": 0.11284042149782181 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.047848258167505264 - }, - "else": { - "operation": "boost", - "score": 0.11334292590618134 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, - "then": { - "operation": "boost", - "score": 0.0766022726893425 - }, - "else": { - "operation": "boost", - "score": 0.131144717335701 - } - }, - "else": { - "operation": "boost", - "score": 0.13349884748458862 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1043766587972641 - }, - "else": { - "operation": "boost", - "score": -0.00891927257180214 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25208.5, - "then": { - "operation": "boost", - "score": 0.06613177061080933 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22942.0, - "then": { - "operation": "boost", - "score": 0.12849344313144684 - }, - "else": { - "operation": "boost", - "score": -0.08958547562360764 - } - } - }, - "else": { - "operation": "boost", - "score": 0.029803194105625153 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11871505528688431 - } - }, - "else": { - "operation": "boost", - "score": -0.1710136979818344 - } + "operation": "boost", + "score": -0.012061062268912792 }, "else": { "operation": "boost", - "score": 0.006384469568729401 + "score": -0.06188279390335083 } + }, + "else": { + "operation": "boost", + "score": 0.5883225798606873 } } } - }, - "else": { - "operation": "boost", - "score": -0.046534985303878784 } - }, - "else": { - "operation": "boost", - "score": 0.01856193318963051 } - }, - "else": { - "operation": "boost", - "score": -0.0009289681329391897 } } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2020.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { + "operation": "boost", + "score": 0.02259867452085018 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5312.0, + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, + "operation": "boost", + "score": 0.027721155434846878 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": 0.03534606844186783 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15737.0, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10880772024393082 + "score": 0.008835120126605034 }, "else": { "operation": "boost", - "score": 0.12048683315515518 + "score": -0.06778721511363983 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8266.0, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9244.0, - "then": { - "operation": "boost", - "score": 0.0835183784365654 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8504.5, - "then": { - "operation": "boost", - "score": 0.08379321545362473 - }, - "else": { - "operation": "boost", - "score": 0.11981604993343353 - } - }, - "else": { - "operation": "boost", - "score": 0.11190854012966156 - } - } + "operation": "boost", + "score": 0.031069176271557808 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.002046253066509962 + "score": 0.11496682465076447 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6246.0, - "then": { - "operation": "boost", - "score": 0.1066913828253746 - }, - "else": { - "operation": "boost", - "score": 0.05898597091436386 - } + "operation": "boost", + "score": 0.06899039447307587 } } }, "else": { "operation": "boost", - "score": 0.008960643783211708 + "score": 0.02189423143863678 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.004755386151373386 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10293.5, - "then": { - "operation": "boost", - "score": -0.1456984132528305 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7103.5, - "then": { - "operation": "boost", - "score": 0.10854888707399368 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.11097238212823868 - }, - "else": { - "operation": "boost", - "score": 0.07432638853788376 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.27834317088127136 - } - } + "operation": "boost", + "score": 0.00888303853571415 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.05589936301112175 + "score": -0.008500328287482262 }, "else": { - "operation": "boost", - "score": 0.10926511883735657 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.06518982350826263 + "score": 0.08851335197687149 }, "else": { "operation": "boost", - "score": 0.10438089072704315 + "score": 0.13455833494663239 } }, "else": { "operation": "boost", - "score": 0.06700523942708969 + "score": 0.019147392362356186 } - }, - "else": { - "operation": "boost", - "score": -0.0046730306930840015 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, + "then": { + "operation": "boost", + "score": -0.14592330157756805 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25183.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.060935989022254944 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44699.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.011893359012901783 + "score": -0.2545028328895569 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31541.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33449.0, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "boost", - "score": 0.06436483561992645 + "score": 0.07550366967916489 }, "else": { "operation": "boost", - "score": -0.016408536583185196 + "score": 0.1348617672920227 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10224281251430511 - }, - "else": { - "operation": "boost", - "score": 0.08177301287651062 - } + "operation": "boost", + "score": -1.1006075143814087 } }, "else": { "operation": "boost", - "score": 0.01810896024107933 + "score": 0.018542708829045296 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1536838710308075 }, "else": { "operation": "boost", - "score": -0.22555093467235565 + "score": -0.03635311871767044 } - }, - "else": { - "operation": "boost", - "score": -0.013260744512081146 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19203.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.05651164799928665 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21360.5, - "then": { - "operation": "boost", - "score": 0.12123959511518478 - }, - "else": { - "operation": "boost", - "score": 0.0951329916715622 - } - } - }, - "else": { - "operation": "boost", - "score": 0.032953280955553055 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1023048609495163 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10220872610807419 - }, - "else": { - "operation": "boost", - "score": 0.108202263712883 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.029018374159932137 - } + "operation": "boost", + "score": 0.06476243585348129 }, "else": { + "operation": "boost", + "score": -0.012881585396826267 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19035.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12029501795768738 + "score": -1.0179097652435303 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.0937054306268692 - }, - "else": { - "operation": "boost", - "score": 0.13843663036823273 - } - }, - "else": { - "operation": "boost", - "score": 0.05000874027609825 - } + "operation": "boost", + "score": 0.10692787915468216 }, "else": { "operation": "boost", - "score": 0.02706941030919552 + "score": -0.03214125335216522 } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "boost", + "score": -0.050025176256895065 + }, + "else": { + "operation": "boost", + "score": -0.0002493478241376579 + } } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.021352669224143028 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0487816147506237 + "score": -0.001295138499699533 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5170.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5204.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10863.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12272772938013077 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11590453237295151 - }, - "else": { - "operation": "boost", - "score": -0.22785353660583496 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08944890648126602 - } - }, - "else": { - "operation": "boost", - "score": 0.03372582793235779 - } + "operation": "boost", + "score": 0.0932910218834877 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14520186185836792 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.09645993262529373 - }, - "else": { - "operation": "boost", - "score": 0.15530863404273987 - } - }, - "else": { - "operation": "boost", - "score": 0.1454029679298401 - } - } + "operation": "boost", + "score": 0.036946851760149 } }, "else": { "operation": "boost", - "score": 0.0020612869411706924 + "score": 0.006786986254155636 } } }, @@ -135753,782 +132298,1008 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, "then": { - "operation": "boost", - "score": -0.038522932678461075 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15708.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.11140982806682587 + "score": 0.12927474081516266 }, "else": { "operation": "boost", - "score": 0.06906077265739441 + "score": -0.09045977890491486 } }, "else": { "operation": "boost", - "score": 0.02688354067504406 + "score": -0.004187775310128927 } + }, + "else": { + "operation": "boost", + "score": 0.047004327178001404 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { + "operation": "boost", + "score": 0.026497047394514084 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13278.5, + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13941.0, - "then": { - "operation": "boost", - "score": 0.01585688628256321 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10873042047023773 - }, - "else": { - "operation": "boost", - "score": 0.1527901142835617 - } - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Statement" + "FileScope", + "FunctionScope" ], "then": { "operation": "boost", - "score": 0.09252890199422836 + "score": 0.015796368941664696 }, "else": { "operation": "boost", - "score": 0.07876740396022797 + "score": -0.035987488925457 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12433.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0019932882860302925 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12945.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.09396158158779144 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.11087366938591003 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04400884360074997 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.08802050352096558 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.005560129415243864 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "boost", + "score": 0.10131369531154633 + }, + "else": { + "operation": "boost", + "score": 0.17226101458072662 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.14636799693107605 + } + } }, "else": { - "operation": "boost", - "score": -0.10412328690290451 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06731349974870682 + }, + "else": { + "operation": "boost", + "score": -0.23850344121456146 + } } + }, + "else": { + "operation": "boost", + "score": 0.008295300416648388 } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09422214329242706 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03224068135023117 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09307359158992767, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.010167698375880718 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.0016504661180078983 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "boost", + "score": -0.06889712065458298 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.07525892555713654 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2068.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.05138365551829338 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "boost", - "score": -0.11161234974861145 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": 0.06281174719333649 + }, + "else": { + "operation": "boost", + "score": -0.2754988372325897 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08074560761451721 + }, + "else": { + "operation": "boost", + "score": -0.10064353793859482 + } + } }, "else": { "operation": "boost", - "score": 0.11899462342262268 + "score": 0.01097889058291912 } + }, + "else": { + "operation": "boost", + "score": -0.006860444322228432 } } - }, - "else": { - "operation": "boost", - "score": -0.020358938723802567 } + }, + "else": { + "operation": "boost", + "score": -0.009446886368095875 } } - }, - "else": { - "operation": "boost", - "score": -0.1430446356534958 } + }, + "else": { + "operation": "boost", + "score": 0.11122811585664749 } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "boost", + "score": 0.05507505685091019 + }, + "else": { + "operation": "boost", + "score": 0.0021736633498221636 + } } }, "else": { "operation": "boost", - "score": -0.004227975383400917 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.030501404777169228 - }, - "else": { - "operation": "boost", - "score": 0.012441953644156456 + "score": -0.10652047395706177 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 97095.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 105661.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 212623.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.030356992036104202 + }, + "else": { + "operation": "boost", + "score": -0.1784844845533371 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 676.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 793.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.05903429538011551 + "score": 0.09903764724731445 }, "else": { - "operation": "boost", - "score": 0.10580356419086456 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148760.5, + "then": { + "operation": "boost", + "score": 0.1194014623761177 + }, + "else": { + "operation": "boost", + "score": 0.245758056640625 + } } }, "else": { "operation": "boost", - "score": 0.05831661447882652 + "score": 0.05272378772497177 } }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.04063059762120247 - }, - "else": { - "operation": "boost", - "score": 0.009865050204098225 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.055333785712718964 - }, "else": { "operation": "boost", - "score": -0.0031936331652104855 + "score": 0.03359503298997879 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.043501824140548706 - }, - "else": { - "operation": "boost", - "score": -0.0700167864561081 - } - }, - "else": { - "operation": "boost", - "score": 0.009926979430019855 - } + "operation": "boost", + "score": -0.00920926220715046 } }, + "else": { + "operation": "boost", + "score": 0.05964316055178642 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.005135675426572561 + }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 99880.5, "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.08958058059215546 + }, + "else": { + "operation": "boost", + "score": -0.062471579760313034 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 173.5, - "then": { - "operation": "boost", - "score": -0.009598449803888798 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.056051578372716904 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95.0, - "then": { - "operation": "boost", - "score": 0.04829929396510124 - }, - "else": { - "operation": "boost", - "score": 0.13251127302646637 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.05821298435330391 - }, - "else": { - "operation": "boost", - "score": 0.12487678974866867 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.11296150088310242 - }, - "else": { - "operation": "boost", - "score": -0.0502253994345665 - } - }, - "else": { - "operation": "boost", - "score": -0.0470740869641304 - } - } - }, - "else": { - "operation": "boost", - "score": -0.012423812411725521 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18.5, + "threshold": 98110.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.0, "then": { - "operation": "boost", - "score": -0.03848855197429657 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.05341760814189911 - }, - "else": { - "operation": "boost", - "score": 0.106477752327919 - } + "operation": "boost", + "score": 0.1253684163093567 }, "else": { "operation": "boost", - "score": -0.19046631455421448 + "score": -0.0010431889677420259 } - } - }, - "else": { - "operation": "boost", - "score": -0.13271227478981018 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2012.5, - "then": { - "operation": "boost", - "score": 0.12057453393936157 }, "else": { "operation": "boost", - "score": 0.03565646708011627 + "score": 0.12375367432832718 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": 0.12217466533184052 - }, - "else": { - "operation": "boost", - "score": -0.04929902032017708 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.08941136300563812 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11885473877191544 - }, - "else": { - "operation": "boost", - "score": -0.12304666638374329 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.1265888810157776 - }, - "else": { - "operation": "boost", - "score": 0.12270987778902054 - } - } - }, - "else": { - "operation": "boost", - "score": 0.014232191257178783 - } + "operation": "boost", + "score": 0.003347752382978797 } }, "else": { "operation": "boost", - "score": -0.002696667332202196 + "score": -0.26703983545303345 } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.10017462819814682 }, "else": { "operation": "boost", - "score": -0.07939160615205765 + "score": -0.2171567678451538 } - }, - "else": { - "operation": "boost", - "score": -0.00014951032062526792 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.00615523150190711 + }, + "else": { + "operation": "boost", + "score": 0.011592968367040157 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 41.5, + "threshold": 177.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 95499.0, "then": { "operation": "boost", - "score": 0.052502017468214035 + "score": -0.17308039963245392 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 93746.0, "then": { "operation": "boost", - "score": 0.02694077603518963 + "score": 0.12659890949726105 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92754.0, "then": { "operation": "boost", - "score": 0.10395882278680801 + "score": -0.17595823109149933 }, "else": { "operation": "boost", - "score": -0.13395079970359802 + "score": 0.01118648611009121 } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.015802696347236633 + "score": -0.008535140193998814 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Destructor", - "Constructor", - "Namespace" + "Function", + "Macro", + "Namespace", + "Variable" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { + "operation": "boost", + "score": 0.02468111738562584 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.11672227084636688 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0029043867252767086 + }, + "else": { + "operation": "boost", + "score": -0.06448348611593246 + } }, "else": { "operation": "boost", - "score": 0.07774948328733444 + "score": 0.00380739220418036 } - }, - "else": { - "operation": "boost", - "score": 0.056305862963199615 } }, "else": { - "operation": "boost", - "score": -0.002165389247238636 - } - }, - "else": { - "operation": "boost", - "score": -0.0060608950443565845 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.008871299214661121 - }, - "else": { - "operation": "boost", - "score": -0.07648354023694992 - } - }, - "else": { - "operation": "boost", - "score": 0.034050676971673965 - } - }, - "else": { - "operation": "boost", - "score": 0.013405004516243935 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.056593701243400574 + }, + "else": { + "operation": "boost", + "score": -0.03677191212773323 + } + }, + "else": { + "operation": "boost", + "score": -0.1186760887503624 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.02051510103046894 + }, + "else": { + "operation": "boost", + "score": 0.10237827152013779 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.06746775656938553 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.7177134156227112 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.11097671091556549 + }, + "else": { + "operation": "boost", + "score": 0.14293570816516876 + } + }, + "else": { + "operation": "boost", + "score": 0.13056643307209015 + } + }, + "else": { + "operation": "boost", + "score": 0.011540954932570457 + } + }, + "else": { + "operation": "boost", + "score": -0.008611688390374184 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2584359049797058 + }, + "else": { + "operation": "boost", + "score": 0.019099876284599304 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.043848875910043716 + }, + "else": { + "operation": "boost", + "score": 0.08571508526802063 + } + }, + "else": { + "operation": "boost", + "score": 0.04539719223976135 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.001280908240005374 + }, + "else": { + "operation": "boost", + "score": 0.36976486444473267 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0053887758404016495 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11082833260297775 + }, + "else": { + "operation": "boost", + "score": -0.0701591968536377 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.012851305305957794 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.018287163227796555 + }, + "else": { + "operation": "boost", + "score": -0.07012919336557388 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00607087230309844 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.1019224300980568 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.00852784514427185 + }, + "else": { + "operation": "boost", + "score": 0.06424903869628906 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005277651362121105 } } } - }, - "else": { - "operation": "boost", - "score": -0.007788688410073519 } } } }, { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", @@ -136538,232 +133309,197 @@ ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.4977693557739258 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.007045858073979616 - }, - "else": { - "operation": "boost", - "score": 0.02233525738120079 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Constructor", - "Type" - ], + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.011781160719692707 + "score": 0.03050772286951542 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.023651864379644394 - }, - "else": { - "operation": "boost", - "score": -0.00495989341288805 - } + "operation": "boost", + "score": 0.01768592931330204 }, "else": { "operation": "boost", - "score": -0.013597841374576092 + "score": -0.08065760880708694 } } }, + "else": { + "operation": "boost", + "score": 0.016490411013364792 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0035329663660377264 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 627.5, + "threshold": 8322.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 723.0, - "then": { - "operation": "boost", - "score": 0.032701525837183 - }, - "else": { - "operation": "boost", - "score": 0.12791068851947784 - } + "operation": "boost", + "score": -0.23328797519207 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0020744232460856438 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.01906738430261612 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.27364352345466614 - }, - "else": { - "operation": "boost", - "score": -0.13133689761161804 - } - } - } + "operation": "boost", + "score": -0.041329484432935715 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.009162032045423985 + "score": 0.004006099421530962 }, "else": { "operation": "boost", - "score": -0.02833806723356247 + "score": -0.042231932282447815 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.005041930824518204 + "score": 0.06605341285467148 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.1498555690050125 - }, - "else": { - "operation": "boost", - "score": -0.07752253115177155 - } + "operation": "boost", + "score": 0.017643630504608154 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21461.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 368430.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0010953607270494103 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Expression", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24318.0, + "operation": "boost", + "score": -0.10927987843751907 + }, + "else": { + "operation": "boost", + "score": -0.0712246522307396 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.0898384377360344 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029256649315357208 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": 0.14099855720996857 + }, + "else": { + "operation": "boost", + "score": 0.06923581659793854 + } + } }, "else": { "operation": "boost", - "score": 0.12108432501554489 + "score": 0.00584561750292778 } }, "else": { "operation": "boost", - "score": 0.04943685606122017 + "score": 0.10725107043981552 } } }, @@ -136772,196 +133508,57 @@ "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_UnionTag", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.004621441010385752 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.07759001106023788 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 960.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1355.5, - "then": { - "operation": "boost", - "score": 0.06952841579914093 - }, - "else": { - "operation": "boost", - "score": 0.10331157594919205 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.02801145613193512 - }, - "else": { - "operation": "boost", - "score": -0.06050409376621246 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10963378846645355 - }, - "else": { - "operation": "boost", - "score": -0.04244104400277138 - } + "score": -0.8504762649536133 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.19695548713207245 - }, - "else": { - "operation": "boost", - "score": 0.12141679227352142 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.14001460373401642 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 530.5, - "then": { - "operation": "boost", - "score": 0.09669049829244614 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.07529710233211517 - }, - "else": { - "operation": "boost", - "score": 0.014673135243356228 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04833535850048065 - } - }, - "else": { - "operation": "boost", - "score": -0.07259299606084824 - } - } - } + "operation": "boost", + "score": 0.06484037637710571 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1205.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09017197042703629 + "score": -0.027806356549263 }, "else": { "operation": "boost", - "score": -0.05470952019095421 + "score": -0.00807760376483202 } } + }, + "else": { + "operation": "boost", + "score": -0.04963718354701996 } } } @@ -136969,4698 +133566,3570 @@ } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Other" + "FileScope" ], "then": { - "operation": "boost", - "score": 0.025972774252295494 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 31.0, "then": { "operation": "boost", - "score": -0.01579728163778782 + "score": 0.05834672227501869 }, "else": { - "operation": "boost", - "score": 0.00613601366057992 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "Function" ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.22609694302082062 + }, + "else": { + "operation": "boost", + "score": 0.05582265928387642 + } + }, + "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.003916068933904171 + "score": 0.03971102833747864 + }, + "else": { + "operation": "boost", + "score": -0.01617267169058323 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234.5, + "then": { + "operation": "boost", + "score": 0.0371045283973217 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.00633340934291482 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_Expression" + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "boost", + "score": 0.047449685633182526 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.12534137070178986 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.02208235114812851 + "score": 0.09575732797384262 }, "else": { "operation": "boost", - "score": 0.058722663670778275 + "score": -0.7253004312515259 } }, "else": { - "operation": "boost", - "score": 0.10873198509216309 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 51.0, "then": { - "operation": "boost", - "score": -0.11845360696315765 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 62.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3080.0, - "then": { - "operation": "boost", - "score": -0.05853123590350151 - }, - "else": { - "operation": "boost", - "score": 0.06063510850071907 - } + "operation": "boost", + "score": 0.11238162219524384 }, "else": { "operation": "boost", - "score": 0.14442895352840424 + "score": 0.1190069168806076 } + }, + "else": { + "operation": "boost", + "score": 0.018561966717243195 } - }, - "else": { - "operation": "boost", - "score": -0.01409140508621931 } }, "else": { "operation": "boost", - "score": -0.05294749513268471 + "score": 0.00795654021203518 } } } }, "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.675000011920929, + "then": { + "operation": "boost", + "score": -1.503665804862976 + }, + "else": { + "operation": "boost", + "score": 0.06221460923552513 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.06603088229894638 + }, + "else": { + "operation": "boost", + "score": -0.06276480853557587 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.006627410184592009 + }, + "else": { + "operation": "boost", + "score": 0.04633393883705139 + } + }, + "else": { + "operation": "boost", + "score": -0.041940558701753616 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 143.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Macro" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281464.0, "then": { - "operation": "boost", - "score": 0.04286905378103256 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04640227183699608 + }, + "else": { + "operation": "boost", + "score": -0.18287669122219086 + } }, "else": { "operation": "boost", - "score": -0.026337696239352226 + "score": 0.012234300374984741 } }, "else": { + "operation": "boost", + "score": -0.00019551867444533855 + } + }, + "else": { + "operation": "boost", + "score": 0.04693283513188362 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34039.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34582.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 48488.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 50563.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69581.5, "then": { + "operation": "boost", + "score": 0.028761498630046844 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 64123.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.13571247458457947 + "score": -0.4347483813762665 }, "else": { "operation": "boost", - "score": 0.11981692910194397 + "score": -0.1333942413330078 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10142052173614502 + "score": -0.05001409351825714 }, "else": { - "operation": "boost", - "score": -0.29213473200798035 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, + "then": { + "operation": "boost", + "score": -0.004875146318227053 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.06745079159736633 + }, + "else": { + "operation": "boost", + "score": 0.11508582532405853 + } + }, + "else": { + "operation": "boost", + "score": -0.10176660865545273 + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.09547986090183258 } }, "else": { "operation": "boost", - "score": -0.04353566840291023 + "score": -0.11351057887077332 } }, "else": { - "operation": "boost", - "score": -0.13663624227046967 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 107411.0, + "threshold": 45000.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 195234.5, + "threshold": 47903.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.00720797386020422 - }, - "else": { - "operation": "boost", - "score": 0.06309337913990021 - } + "operation": "boost", + "score": 0.09599698334932327 }, "else": { "operation": "boost", - "score": -0.06047673895955086 + "score": 0.050444457679986954 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.13933788239955902 + "score": 0.14475366473197937 }, "else": { "operation": "boost", - "score": 0.049170807003974915 + "score": 0.10025106370449066 } }, "else": { "operation": "boost", - "score": 0.10966711491346359 + "score": 0.0845475047826767 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": -0.0007430011173710227 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.13774359226226807 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.015617492608726025 - }, - "else": { - "operation": "boost", - "score": 0.10891387611627579 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.04829062521457672 - }, - "else": { - "operation": "boost", - "score": -0.1139008179306984 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07498978078365326 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.10693497210741043 - }, - "else": { - "operation": "boost", - "score": 0.07703737914562225 - } - } - }, - "else": { - "operation": "boost", - "score": 0.013757285661995411 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.016380347311496735 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11868129670619965 - }, - "else": { - "operation": "boost", - "score": 0.0838421955704689 - } - }, - "else": { - "operation": "boost", - "score": 0.03427806496620178 - } - } - }, - "else": { - "operation": "boost", - "score": 0.018779592588543892 - } - }, - "else": { - "operation": "boost", - "score": 0.005958489142358303 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.04443389177322388 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04814495891332626 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.03595336526632309 - }, - "else": { - "operation": "boost", - "score": 0.09906568378210068 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0001448967377655208 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.0968141034245491 - }, - "else": { - "operation": "boost", - "score": 0.010229206643998623 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141422.5, - "then": { - "operation": "boost", - "score": -0.17104406654834747 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, - "then": { - "operation": "boost", - "score": 0.04191618412733078 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.09996771812438965 - }, - "else": { - "operation": "boost", - "score": 0.003855479648336768 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.05745209753513336 - }, - "else": { - "operation": "boost", - "score": 0.07532041519880295 - } - }, - "else": { - "operation": "boost", - "score": -0.12222806364297867 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.040358226746320724 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.012542271986603737 - } - } - } + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0655534565448761 + }, + "else": { + "operation": "boost", + "score": -0.06090891733765602 } } - }, - "else": { - "operation": "boost", - "score": -7.155397179303691e-05 } }, "else": { "operation": "boost", - "score": -0.0044729867950081825 + "score": 0.14315585792064667 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30389.0, "then": { "operation": "boost", - "score": 0.06625720113515854 + "score": -0.04525703191757202 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24308.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 27602.5, "then": { - "operation": "boost", - "score": 0.03152317553758621 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28251.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12439364939928055 + }, + "else": { + "operation": "boost", + "score": 0.0016626229044049978 + } + }, + "else": { + "operation": "boost", + "score": 0.1220279112458229 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10884043574333191 + }, + "else": { + "operation": "boost", + "score": -0.034552477300167084 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03932579606771469 + "score": -0.006423346698284149 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.34317854046821594 - }, - "else": { - "operation": "boost", - "score": 0.05905607342720032 - } + "operation": "boost", + "score": 0.13145111501216888 }, "else": { "operation": "boost", - "score": -0.01956467516720295 + "score": 0.10903574526309967 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.0845155119895935 - }, - "else": { - "operation": "boost", - "score": 0.056478265672922134 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.2570885717868805 - }, - "else": { - "operation": "boost", - "score": 0.11692235618829727 - } - }, - "else": { - "operation": "boost", - "score": -0.2318306267261505 - } - } + "operation": "boost", + "score": 0.10520049929618835 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.04130691662430763 + "score": 0.13922041654586792 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.0, - "then": { - "operation": "boost", - "score": 0.12802273035049438 - }, - "else": { - "operation": "boost", - "score": 0.060030870139598846 - } - }, - "else": { - "operation": "boost", - "score": 0.08095571398735046 - } - }, - "else": { - "operation": "boost", - "score": 0.13134460151195526 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05085068568587303 - }, - "else": { - "operation": "boost", - "score": 0.114497110247612 - } - }, - "else": { - "operation": "boost", - "score": 0.08145890384912491 - } - }, - "else": { - "operation": "boost", - "score": 0.14259478449821472 - } - }, - "else": { - "operation": "boost", - "score": 0.039481088519096375 - } - } + "operation": "boost", + "score": 0.10324269533157349 } }, "else": { "operation": "boost", - "score": 0.08249277621507645 + "score": 0.08739427477121353 } - }, - "else": { - "operation": "boost", - "score": -0.004570034332573414 } } }, "else": { - "operation": "boost", - "score": 0.009708650410175323 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.19420255720615387 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23685.0, + "then": { + "operation": "boost", + "score": -0.2001335471868515 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.02912597730755806 + }, + "else": { + "operation": "boost", + "score": 0.010387470945715904 + } + } + } } } } } }, "else": { - "operation": "boost", - "score": -0.04785056784749031 - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005349564831703901 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsDeprecated", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82461.5, + "operation": "boost", + "score": -0.03982849419116974 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.05726732686161995 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.009202924557030201 + }, + "else": { + "operation": "boost", + "score": -0.20243114233016968 + } + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 98110.0, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 99880.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.05083240941166878 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 239122.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.007845095358788967 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.009334837086498737 + }, + "else": { + "operation": "boost", + "score": 0.08059608936309814 + } }, "else": { "operation": "boost", - "score": 0.04644278064370155 + "score": -0.038527555763721466 } + }, + "else": { + "operation": "boost", + "score": 0.008418635465204716 } }, "else": { + "operation": "boost", + "score": -0.06759187579154968 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.06714117527008057 + "score": 0.04291282594203949 }, "else": { "operation": "boost", - "score": -0.20342952013015747 + "score": -0.011593934148550034 } - } - }, - "else": { - "operation": "boost", - "score": -0.0778931975364685 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { + }, + "else": { "operation": "if_member", "feature": "Scope", "set": [ - "FileScope" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { - "operation": "boost", - "score": 0.13584855198860168 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71571.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04594188928604126 - }, - "else": { - "operation": "boost", - "score": 0.09180352836847305 - } + "operation": "boost", + "score": 0.09024184197187424 + }, + "else": { + "operation": "boost", + "score": 0.009244048036634922 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.02357977069914341 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30340.5, + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32515.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.01562989316880703 + "score": 0.01983397826552391 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37092.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07734917849302292 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": -0.017989544197916985 + }, + "else": { + "operation": "boost", + "score": 0.014662530273199081 + } }, "else": { "operation": "boost", - "score": 0.12344493716955185 + "score": -0.009959799237549305 } } }, "else": { "operation": "boost", - "score": -0.17930996417999268 + "score": -0.0027858742978423834 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.09820074588060379 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20118.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.12920553982257843 - }, - "else": { - "operation": "boost", - "score": 0.057704564183950424 - } - }, - "else": { - "operation": "boost", - "score": -0.07205896824598312 - } - } + "operation": "boost", + "score": 0.002779860282316804 } } - }, - "else": { - "operation": "boost", - "score": -0.2286827117204666 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20297.5, - "then": { - "operation": "boost", - "score": 0.11936970055103302 - }, - "else": { - "operation": "boost", - "score": -0.031965140253305435 - } - }, - "else": { - "operation": "boost", - "score": 0.09253481775522232 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.035098522901535034, "then": { "operation": "boost", - "score": 0.0921211689710617 + "score": 0.003111344063654542 }, "else": { "operation": "boost", - "score": 0.10802551358938217 + "score": -0.002819733927026391 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08861587941646576 - }, - "else": { - "operation": "boost", - "score": 0.10807225108146667 - } + "operation": "boost", + "score": -0.01952856034040451 }, "else": { "operation": "boost", - "score": -0.208570659160614 + "score": -0.033757418394088745 } } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.013257818296551704 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014173523522913456 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": -0.741658091545105 + }, + "else": { + "operation": "boost", + "score": -0.060599155724048615 + } + } + } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Function", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, + "then": { + "operation": "boost", + "score": -0.16233943402767181 + }, + "else": { + "operation": "boost", + "score": 0.04676531255245209 + } + }, + "else": { + "operation": "boost", + "score": 0.014803607016801834 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "boost", - "score": 0.08466757088899612 + "score": 0.013907641172409058 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.12814059853553772 - }, - "else": { - "operation": "boost", - "score": 0.07794244587421417 - } + "operation": "boost", + "score": 0.14588254690170288 } }, "else": { + "operation": "boost", + "score": -0.08096592873334885 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12217191606760025 - }, - "else": { - "operation": "boost", - "score": 0.09349934011697769 - } - }, - "else": { - "operation": "boost", - "score": 0.007944093085825443 - } + "operation": "boost", + "score": 0.16877470910549164 }, "else": { "operation": "boost", - "score": 0.013468941673636436 + "score": 0.07977107912302017 } + }, + "else": { + "operation": "boost", + "score": 0.03233574330806732 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09853562712669373 }, "else": { "operation": "boost", - "score": 0.007161872927099466 + "score": -0.005709023214876652 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 29053.5, + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.03394646570086479 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.028690198436379433 + "score": -0.003104310715571046 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10385629534721375 - }, - "else": { - "operation": "boost", - "score": 0.11009593307971954 - } - }, - "else": { - "operation": "boost", - "score": -0.07742533832788467 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39111.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "boost", - "score": 0.021364666521549225 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43376.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44616.0, - "then": { - "operation": "boost", - "score": 0.10689843446016312 - }, - "else": { - "operation": "boost", - "score": 0.014966145157814026 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11529389768838882 - }, - "else": { - "operation": "boost", - "score": 0.09647145122289658 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10678518563508987 - }, - "else": { - "operation": "boost", - "score": 0.2498188465833664 - } - }, - "else": { - "operation": "boost", - "score": 0.026556771248579025 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.01892254874110222 - }, - "else": { - "operation": "boost", - "score": -0.14431680738925934 - } - } - }, - "else": { - "operation": "boost", - "score": -0.080263152718544 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28839.0, - "then": { "operation": "boost", - "score": -0.40433546900749207 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.030450092628598213 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28239.0, - "then": { - "operation": "boost", - "score": 0.07835857570171356 - }, - "else": { - "operation": "boost", - "score": 0.10755644738674164 - } - }, - "else": { - "operation": "boost", - "score": 0.04356779530644417 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1450883001089096 - } + "score": 0.02140156552195549 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "boost", + "score": 0.0010968983406201005 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.20321063697338104 + }, + "else": { + "operation": "boost", + "score": -0.31455761194229126 + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.027416806668043137 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09684915095567703 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.07523422688245773 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19220.5, - "then": { - "operation": "boost", - "score": 0.07090120017528534 - }, - "else": { - "operation": "boost", - "score": 0.1087355986237526 - } + "operation": "boost", + "score": 0.08546628803014755 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11268886923789978 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, - "then": { - "operation": "boost", - "score": 0.02815033495426178 - }, - "else": { - "operation": "boost", - "score": 0.09535340964794159 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10427017509937286 - }, - "else": { - "operation": "boost", - "score": 0.058641474694013596 - } - }, - "else": { - "operation": "boost", - "score": 0.00504118949174881 - } - } + "operation": "boost", + "score": 0.027023743838071823 } } }, + "else": { + "operation": "boost", + "score": 0.00849141739308834 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06682749092578888 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09271757304668427 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 820317.5, + "threshold": 17.5, "then": { - "operation": "boost", - "score": -0.021023863926529884 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 298482.5, + "threshold": 66.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 549246.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.039311494678258896 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.09602778404951096 - }, - "else": { - "operation": "boost", - "score": -0.015393403358757496 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02349097654223442 - } + "operation": "boost", + "score": 0.0634288415312767 }, "else": { "operation": "boost", - "score": -0.05902828276157379 + "score": 0.10182081907987595 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", "CCC_Expression", - "CCC_Type" + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.05924098566174507 + "score": -0.0018685113172978163 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.1619233936071396 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12869073450565338 - }, - "else": { - "operation": "boost", - "score": 0.13333705067634583 - } - }, - "else": { - "operation": "boost", - "score": 0.11527804285287857 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07199988514184952 - } - }, - "else": { - "operation": "boost", - "score": 0.10144755244255066 - } + "operation": "boost", + "score": 0.050727616995573044 } }, "else": { "operation": "boost", - "score": -0.0638386681675911 + "score": -0.09205795079469681 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62267.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.10469603538513184 - }, - "else": { - "operation": "boost", - "score": 0.1482323706150055 - } - }, - "else": { - "operation": "boost", - "score": -0.34476831555366516 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19795.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, - "then": { - "operation": "boost", - "score": -0.14643965661525726 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.10001213103532791 - }, - "else": { - "operation": "boost", - "score": 0.08884187042713165 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33449.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 138283.5, - "then": { - "operation": "boost", - "score": -0.2910914421081543 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.1724221110343933 - }, - "else": { - "operation": "boost", - "score": 0.123024582862854 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97848.0, - "then": { - "operation": "boost", - "score": 0.16456453502178192 - }, - "else": { - "operation": "boost", - "score": -0.14722071588039398 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.20625366270542145 - } - }, - "else": { - "operation": "boost", - "score": 0.0031867406796664 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72517.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85554.5, - "then": { - "operation": "boost", - "score": -0.27135276794433594 - }, - "else": { - "operation": "boost", - "score": 0.08009658753871918 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07873411476612091 - }, - "else": { - "operation": "boost", - "score": 0.11575417965650558 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07143858820199966 - } - } - }, - "else": { - "operation": "boost", - "score": 0.005425779614597559 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, - "then": { - "operation": "boost", - "score": 0.1225743442773819 - }, - "else": { - "operation": "boost", - "score": 0.2359764575958252 - } - }, - "else": { - "operation": "boost", - "score": -0.2310979813337326 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.018799014389514923 - } - }, - "else": { - "operation": "boost", - "score": -0.14066019654273987 - } - }, - "else": { - "operation": "boost", - "score": 0.010842700488865376 - } + "operation": "boost", + "score": 0.027666712179780006 } + }, + "else": { + "operation": "boost", + "score": 0.006289143580943346 } } } }, "else": { - "operation": "boost", - "score": -0.04593776911497116 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.0014965091831982136 + }, + "else": { + "operation": "boost", + "score": -0.050149932503700256 + } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20068.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 24227.5, "then": { + "operation": "boost", + "score": 0.038105469197034836 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23701.5, "then": { "operation": "boost", - "score": 0.08440802246332169 + "score": 0.13679583370685577 }, "else": { - "operation": "boost", - "score": 0.09035299718379974 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23670.0, + "then": { + "operation": "boost", + "score": -0.1867942214012146 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23608.0, + "then": { + "operation": "boost", + "score": 0.11639399081468582 + }, + "else": { + "operation": "boost", + "score": 0.08170301467180252 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.024709295481443405 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 232885.0, + "threshold": 305388.5, + "then": { + "operation": "boost", + "score": -0.04495999962091446 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31292.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "boost", + "score": 0.018854398280382156 + }, + "else": { + "operation": "boost", + "score": 0.11976706981658936 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22174.0, + "then": { + "operation": "boost", + "score": -0.06325392425060272 + }, + "else": { + "operation": "boost", + "score": 0.07455262541770935 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.19750411808490753 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "FunctionScope", + "GlobalScope" ], "then": { - "operation": "boost", - "score": 0.11869043111801147 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.021675029769539833 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 319997.5, + "feature": "FractionNameInContext", + "threshold": 0.055727556347846985, "then": { - "operation": "boost", - "score": -0.35492002964019775 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2082132250070572 - }, - "else": { - "operation": "boost", - "score": 0.11374856531620026 - } + "operation": "boost", + "score": 0.05482390895485878 }, "else": { "operation": "boost", - "score": -0.018823981285095215 + "score": 0.13575251400470734 } }, "else": { "operation": "boost", - "score": -0.15738345682621002 + "score": 0.05602092295885086 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0036502915900200605 }, "else": { "operation": "boost", - "score": -0.2496727555990219 + "score": 0.03927094489336014 } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05985524132847786 + }, + "else": { + "operation": "boost", + "score": -0.18092148005962372 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -5.6181153922807425e-05 + }, + "else": { + "operation": "boost", + "score": -0.08914448320865631 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.01990555413067341 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02818835899233818 - }, - "else": { - "operation": "boost", - "score": 0.1011669784784317 - } + "operation": "boost", + "score": 0.022361399605870247 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.04209334775805473 + "score": -0.043349117040634155 }, "else": { "operation": "boost", - "score": 0.06501712650060654 + "score": 0.007976497523486614 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.010883591137826443 + }, + "else": { + "operation": "boost", + "score": 0.03716646879911423 + } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.07785113155841827 - }, - "else": { - "operation": "boost", - "score": 0.11605633050203323 - } + "operation": "boost", + "score": 0.026897160336375237 }, "else": { "operation": "boost", - "score": 0.018690209835767746 + "score": -0.013004312291741371 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.020300550386309624 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "boost", - "score": 0.1062864437699318 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06773534417152405 - }, - "else": { - "operation": "boost", - "score": 0.028809456154704094 - } + "operation": "boost", + "score": 0.028049595654010773 }, "else": { "operation": "boost", - "score": -0.06634462624788284 + "score": -0.16015243530273438 } + }, + "else": { + "operation": "boost", + "score": -0.002584183355793357 } } - }, - "else": { - "operation": "boost", - "score": 0.021495457738637924 } } } } - }, - "else": { - "operation": "boost", - "score": -0.0011864107800647616 } - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.058125562965869904 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.03792057931423187 + "score": 0.008613122627139091 }, "else": { "operation": "boost", - "score": -0.019522352144122124 + "score": -0.05740050971508026 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.41421568393707275, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5727273225784302, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 8.0, "then": { + "operation": "boost", + "score": 0.13146771490573883 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07878647744655609 + "score": 0.029627803713083267 }, "else": { - "operation": "boost", - "score": 0.0603717565536499 - } - }, - "else": { - "operation": "boost", - "score": 0.0943824052810669 - } - }, - "else": { - "operation": "boost", - "score": 0.025433795526623726 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.03794324770569801 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04367486760020256 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.6833333373069763, "then": { "operation": "boost", - "score": 0.024385154247283936 + "score": 0.08514173328876495 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.09301890432834625 + "score": 0.07719288766384125 }, "else": { - "operation": "boost", - "score": 0.09668228775262833 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.12358830124139786 + }, + "else": { + "operation": "boost", + "score": 0.10087648034095764 + } } } - }, - "else": { - "operation": "boost", - "score": 0.09268385916948318 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.02510892041027546 + "score": 0.0990917906165123 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { - "operation": "boost", - "score": 0.0943087711930275 - }, - "else": { - "operation": "boost", - "score": 0.0703771561384201 - } + "operation": "boost", + "score": -0.09615065157413483 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.13681469857692719 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.14526525139808655 - }, - "else": { - "operation": "boost", - "score": 0.10166443139314651 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.10848125070333481 - }, - "else": { - "operation": "boost", - "score": 0.07324222475290298 - } - } - } + "operation": "boost", + "score": 0.09843943268060684 } - }, - "else": { - "operation": "boost", - "score": 0.027561094611883163 } }, "else": { "operation": "boost", - "score": 0.003062926232814789 + "score": -0.14976198971271515 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0393402986228466 + }, + "else": { + "operation": "boost", + "score": -0.0980946496129036 } } }, "else": { "operation": "boost", - "score": 0.007082744967192411 + "score": 0.016088731586933136 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45618.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.15990397334098816 + }, + "else": { + "operation": "boost", + "score": 0.00953617226332426 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28296.5, + "then": { + "operation": "boost", + "score": -0.02894885092973709 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1326.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5676.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, - "then": { - "operation": "boost", - "score": 0.034006621688604355 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, - "then": { - "operation": "boost", - "score": 0.07071349024772644 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, - "then": { - "operation": "boost", - "score": 0.11133620142936707 - }, - "else": { - "operation": "boost", - "score": 0.07166364043951035 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.030549556016921997 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.25037792325019836 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1639.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1961.5, - "then": { - "operation": "boost", - "score": 0.10090307891368866 - }, - "else": { - "operation": "boost", - "score": 0.11899376660585403 - } - }, - "else": { - "operation": "boost", - "score": -0.10528569668531418 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.004056120291352272 - } - } - }, - "else": { - "operation": "boost", - "score": -0.007612803019583225 - } - }, - "else": { - "operation": "boost", - "score": -0.0418480783700943 - } + "operation": "boost", + "score": 0.0034562605433166027 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.013482295908033848 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06482543796300888 - }, - "else": { - "operation": "boost", - "score": -0.012197661213576794 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.0674576461315155 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.07147342711687088 - }, - "else": { - "operation": "boost", - "score": -0.030569706112146378 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03216920793056488 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02802443690598011 - } + "operation": "boost", + "score": -0.022457623854279518 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.03888939321041107 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8348.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 767.5, "then": { + "operation": "boost", + "score": -0.059970129281282425 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 747.5, "then": { "operation": "boost", - "score": 0.031302209943532944 + "score": 0.4002256393432617 }, "else": { "operation": "boost", - "score": 0.11191870272159576 + "score": 0.03660227730870247 } - }, - "else": { - "operation": "boost", - "score": 0.05112353339791298 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.06414017826318741 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.5, - "then": { - "operation": "boost", - "score": 0.133169025182724 - }, - "else": { - "operation": "boost", - "score": -0.09485418349504471 - } - }, - "else": { - "operation": "boost", - "score": 0.01752832904458046 - } - }, - "else": { - "operation": "boost", - "score": 0.119319848716259 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.01198350265622139 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.07219202071428299 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.3198298513889313 - }, - "else": { - "operation": "boost", - "score": 0.13540907204151154 - } - }, - "else": { - "operation": "boost", - "score": 0.07417061924934387 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.031219016760587692 - } - }, - "else": { - "operation": "boost", - "score": 0.02096213959157467 - } + "operation": "boost", + "score": -0.02537819929420948 } + }, + "else": { + "operation": "boost", + "score": 0.004678755067288876 } } }, "else": { - "operation": "boost", - "score": -0.006549580488353968 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.01575971581041813 + }, + "else": { + "operation": "boost", + "score": -0.07314224541187286 + } } - }, - "else": { - "operation": "boost", - "score": -0.04231291636824608 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16.5, + "threshold": 296.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6159.0, + "operation": "boost", + "score": 0.02588023990392685 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Function", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.035918813198804855 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.25790467858314514 + }, + "else": { + "operation": "boost", + "score": 0.075019471347332 + } }, "else": { "operation": "boost", - "score": 0.10556893050670624 + "score": -0.03636186942458153 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.027472611516714096 + "score": 0.03342912718653679 }, "else": { "operation": "boost", - "score": 0.11329609900712967 + "score": -0.024053171277046204 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 647.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.01782059296965599 - }, - "else": { - "operation": "boost", - "score": 0.1151149794459343 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 629.0, - "then": { - "operation": "boost", - "score": 0.10446184873580933 - }, - "else": { - "operation": "boost", - "score": 0.02390304021537304 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.10881628841161728 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Operator", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04005490615963936 + "score": 0.0030767356511205435 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.02349686250090599 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.08857088536024094 - }, - "else": { - "operation": "boost", - "score": 0.1294027715921402 - } - }, - "else": { - "operation": "boost", - "score": 0.09129749983549118 - } - }, - "else": { - "operation": "boost", - "score": -0.24358947575092316 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.12051878869533539 - }, - "else": { - "operation": "boost", - "score": -0.11698174476623535 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.050562236458063126 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.10451656579971313 - }, - "else": { - "operation": "boost", - "score": 0.109049953520298 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0019125292310491204 - } - } - } + "operation": "boost", + "score": 0.04504862427711487 } }, "else": { + "operation": "boost", + "score": -0.03255371376872063 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15380461513996124 + "score": -0.07594702392816544 }, "else": { "operation": "boost", - "score": -0.12524938583374023 + "score": 0.010258487425744534 } + }, + "else": { + "operation": "boost", + "score": -0.0056367190554738045 } - }, - "else": { - "operation": "boost", - "score": -0.12387900799512863 } - } - }, - "else": { - "operation": "boost", - "score": 0.07925828546285629 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.017354683950543404 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.002751260297372937 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": -0.12225360423326492 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { "operation": "boost", - "score": -0.12785930931568146 + "score": -1.1872715950012207 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.10434582829475403 - }, - "else": { - "operation": "boost", - "score": -0.024795671924948692 - } - }, - "else": { - "operation": "boost", - "score": -0.008023513481020927 - } + "operation": "boost", + "score": -0.1114472970366478 } }, "else": { "operation": "boost", - "score": 0.027097651734948158 + "score": 0.023987608030438423 } + } + }, + "else": { + "operation": "boost", + "score": -0.21539179980754852 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2360.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 275328.5, + "then": { + "operation": "boost", + "score": 0.023634983226656914 }, "else": { "operation": "boost", - "score": -0.02876734547317028 + "score": -0.1348223090171814 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 205376.5, "then": { - "operation": "boost", - "score": -0.1283421367406845 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207505.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.07675979286432266 + }, + "else": { + "operation": "boost", + "score": 0.006209371145814657 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.11596444994211197 + }, + "else": { + "operation": "boost", + "score": 0.06799785792827606 + } + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 82959.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 105661.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.022898536175489426 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 146885.0, "then": { "operation": "boost", - "score": -0.3885495960712433 + "score": -0.24692372977733612 }, "else": { - "operation": "boost", - "score": -0.06850721687078476 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 120524.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.11285216361284256 + "score": 0.09729256480932236 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.47973594069480896 - }, - "else": { - "operation": "boost", - "score": 0.09895900636911392 - } - }, - "else": { - "operation": "boost", - "score": -0.026104167103767395 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10961701720952988 - }, - "else": { - "operation": "boost", - "score": 0.09296421706676483 - } - } + "operation": "boost", + "score": 0.2574633061885834 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.03216436132788658 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.012662292458117008 - }, - "else": { - "operation": "boost", - "score": 0.13134203851222992 - } - } + "operation": "boost", + "score": 0.08314071595668793 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 1.436333179473877 - }, - "else": { - "operation": "boost", - "score": 0.1412477046251297 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.2122068852186203 - }, - "else": { - "operation": "boost", - "score": 0.2039068043231964 - } - }, - "else": { - "operation": "boost", - "score": 0.1486824005842209 - } - }, - "else": { - "operation": "boost", - "score": -0.13848648965358734 - } - } + "operation": "boost", + "score": -0.06641971319913864 } - }, - "else": { - "operation": "boost", - "score": -0.00722834188491106 } }, "else": { + "operation": "boost", + "score": -0.008381547406315804 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 93657.0, "then": { - "operation": "boost", - "score": 0.004689754452556372 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10653312504291534 + "score": 0.09332183748483658 }, "else": { "operation": "boost", - "score": 0.08131766319274902 + "score": -0.0829242393374443 } + }, + "else": { + "operation": "boost", + "score": 0.05369029939174652 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07541248202323914 + }, + "else": { + "operation": "boost", + "score": -0.007618836592882872 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.005926181096583605 - }, - "else": { - "operation": "boost", - "score": -0.06894336640834808 - } + "operation": "boost", + "score": 0.022652875632047653 } } } + }, + "else": { + "operation": "boost", + "score": 0.3148078918457031 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52728.5, "then": { "operation": "boost", - "score": 0.0021702470257878304 + "score": -0.034542717039585114 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 50563.0, "then": { - "operation": "boost", - "score": -0.03835008665919304 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.14958572387695312 + }, + "else": { + "operation": "boost", + "score": 0.08107807487249374 + } }, "else": { "operation": "boost", - "score": -0.010568060912191868 + "score": -0.001080815796740353 } } - }, - "else": { - "operation": "boost", - "score": 0.02001996710896492 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.015857910737395287 - }, - "else": { - "operation": "boost", - "score": 0.004917247220873833 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Operator", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": -0.0004231093334965408 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 749331.5, + "then": { + "operation": "boost", + "score": -0.18510372936725616 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263945.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17653732001781464 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06934139132499695 + }, + "else": { + "operation": "boost", + "score": -0.14906372129917145 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0014113072538748384 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10846714675426483 + } + } + }, + "else": { + "operation": "boost", + "score": 0.014816807582974434 + } }, "else": { - "operation": "boost", - "score": -0.11286461353302002 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.012966041453182697 + }, + "else": { + "operation": "boost", + "score": 0.010160339996218681 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "boost", + "score": 0.0008365457179024816 + }, + "else": { + "operation": "boost", + "score": -0.006827930919826031 + } + } } + }, + "else": { + "operation": "boost", + "score": 0.18072214722633362 } } } }, { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.007949513383209705 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.059132590889930725 + "score": 0.1277008205652237 }, "else": { "operation": "boost", - "score": 0.07599984854459763 + "score": 0.04797273501753807 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.23635819554328918 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.060512106865644455 + "score": 0.05829544737935066 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.19620658457279205 - }, - "else": { - "operation": "boost", - "score": 0.2096516638994217 - } + "operation": "boost", + "score": 0.01362394168972969 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11146.5, - "then": { - "operation": "boost", - "score": 0.08417563140392303 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "boost", - "score": -0.0370052307844162 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.0, - "then": { - "operation": "boost", - "score": 0.11991830915212631 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1328524947166443 - }, - "else": { - "operation": "boost", - "score": 0.32141992449760437 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08186691254377365 - } - } - } + "operation": "boost", + "score": -0.05407016724348068 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.0, - "then": { - "operation": "boost", - "score": 0.08614420145750046 - }, - "else": { - "operation": "boost", - "score": 0.11579592525959015 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.14488309621810913 - }, - "else": { - "operation": "boost", - "score": 0.07709824293851852 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011982613243162632 - } + "operation": "boost", + "score": 0.023092882707715034 } } - }, - "else": { - "operation": "boost", - "score": -0.19159355759620667 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0013157717185094953 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "boost", - "score": -0.1946006864309311 + "score": -0.01770889200270176 }, "else": { "operation": "boost", - "score": -0.04804547503590584 + "score": 0.011486397124826908 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.07831739634275436 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.04759044572710991 + }, + "else": { + "operation": "boost", + "score": 0.0013032727874815464 + } + }, + "else": { + "operation": "boost", + "score": 0.1027960404753685 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.01165702473372221 + }, + "else": { + "operation": "boost", + "score": -0.034171730279922485 + } + } + }, + "else": { + "operation": "boost", + "score": 0.007211220450699329 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.035632263869047165 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11888.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12127.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { "operation": "boost", - "score": 0.09125234931707382 + "score": -0.2198020964860916 }, "else": { "operation": "boost", - "score": -0.10699521750211716 + "score": -0.0033282481599599123 } }, "else": { "operation": "boost", - "score": 0.015267196111381054 + "score": 0.040046803653240204 } }, "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.12933683395385742 + }, + "else": { + "operation": "boost", + "score": 0.1632569134235382 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11365.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", - "CCC_UnionTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.03206348791718483 + "score": -0.17365705966949463 }, "else": { "operation": "boost", - "score": 0.018332235515117645 + "score": -0.46834924817085266 } + }, + "else": { + "operation": "boost", + "score": 0.004446706734597683 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_TopLevel", + "CCC_ClassOrStructTag", "CCC_Namespace", - "CCC_UnionTag", "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": 0.005651253275573254 + "score": 0.019715458154678345 }, "else": { "operation": "boost", - "score": -0.012624423950910568 + "score": 0.004586603958159685 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { "operation": "boost", - "score": -0.008438258431851864 + "score": 0.035746511071920395 }, "else": { "operation": "boost", - "score": -0.2590908408164978 + "score": -0.010687639005482197 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "boost", + "score": 0.004823196213692427 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.02137056365609169 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.041616689413785934 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.21275509893894196 + }, + "else": { + "operation": "boost", + "score": 0.06080184504389763 + } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "boost", - "score": 0.10589256137609482 + "score": 0.02639971487224102 }, "else": { "operation": "boost", - "score": 0.050153303891420364 + "score": -0.18007881939411163 } } }, "else": { "operation": "boost", - "score": 0.028491264209151268 + "score": -0.0017523706192150712 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25461.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31804.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44616.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47253.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { + "operation": "boost", + "score": 0.06156519427895546 + }, + "else": { + "operation": "boost", + "score": -0.05584423243999481 } + }, + "else": { + "operation": "boost", + "score": 0.08388206362724304 } }, "else": { "operation": "boost", - "score": -0.11603259295225143 + "score": -0.04248563572764397 } }, "else": { "operation": "boost", - "score": -0.04412158206105232 + "score": 0.09013888239860535 } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.03715747967362404 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.020407386124134064 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.010718626901507378 + }, + "else": { + "operation": "boost", + "score": 0.009542739950120449 + } + } }, "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.024497995153069496 + }, + "else": { + "operation": "boost", + "score": -0.022821582853794098 + } + }, + "else": { + "operation": "boost", + "score": -0.0066405488178133965 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 281926.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 296854.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" + "Macro" ], "then": { + "operation": "boost", + "score": 0.06487032771110535 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 478260.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.04998055100440979 + "score": 0.025691328570246696 }, "else": { - "operation": "boost", - "score": 0.06778787076473236 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.298102468252182 + }, + "else": { + "operation": "boost", + "score": 0.06974883377552032 + } } }, "else": { "operation": "boost", - "score": 0.12215733528137207 + "score": -0.03891346603631973 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09221746772527695 + }, + "else": { + "operation": "boost", + "score": 0.05915237218141556 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 288840.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": -0.050126343965530396 + }, + "else": { + "operation": "boost", + "score": 0.03668008744716644 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.06745707988739014 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 212623.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234371.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.07735917717218399 + }, + "else": { + "operation": "boost", + "score": 0.01661098189651966 + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6729.5, - "then": { - "operation": "boost", - "score": -0.022723637521266937 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 758.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3166.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.12167365849018097 - }, - "else": { - "operation": "boost", - "score": 0.09019176661968231 - } - }, - "else": { - "operation": "boost", - "score": -0.10342381149530411 - } - }, - "else": { - "operation": "boost", - "score": 0.10687104612588882 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.0, - "then": { - "operation": "boost", - "score": -0.022940317168831825 - }, - "else": { - "operation": "boost", - "score": 0.11655660718679428 - } - }, - "else": { - "operation": "boost", - "score": -0.012438679113984108 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.004843577276915312 - } - }, - "else": { - "operation": "boost", - "score": -0.10926590114831924 - } + "operation": "boost", + "score": -1.2643908262252808 + }, + "else": { + "operation": "boost", + "score": -0.10724736750125885 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 206450.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07411736249923706 }, "else": { + "operation": "boost", + "score": 0.03218565881252289 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10809878259897232 - }, - "else": { - "operation": "boost", - "score": -0.1667409986257553 - } + "operation": "boost", + "score": -0.16371774673461914 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 217.5, - "then": { - "operation": "boost", - "score": 0.1092655137181282 - }, - "else": { - "operation": "boost", - "score": 0.06881436705589294 - } - }, - "else": { - "operation": "boost", - "score": -0.011631588451564312 - } + "operation": "boost", + "score": 0.08289399743080139 }, "else": { "operation": "boost", - "score": 0.08922497928142548 + "score": 0.07651253789663315 } }, "else": { "operation": "boost", - "score": -0.0782509595155716 + "score": -0.13071845471858978 } } + }, + "else": { + "operation": "boost", + "score": -0.0309059489518404 } - }, - "else": { - "operation": "boost", - "score": -0.14170636236667633 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 311.5, + "threshold": 168474.5, "then": { + "operation": "boost", + "score": -0.1154707819223404 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 832.5, + "threshold": 167779.0, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72307.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.021205324679613113 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20233.5, + "feature": "FractionNameInContext", + "threshold": 0.029411764815449715, "then": { "operation": "boost", - "score": 0.0966353714466095 + "score": 0.1310962736606598 }, "else": { "operation": "boost", - "score": 0.06290004402399063 + "score": 0.08327198028564453 } + }, + "else": { + "operation": "boost", + "score": 0.01361667737364769 } }, "else": { "operation": "boost", - "score": -0.046179525554180145 + "score": -0.19648417830467224 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 159339.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.007147527765482664 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 376.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3206042945384979 - }, - "else": { - "operation": "boost", - "score": 0.10412620007991791 - } - }, - "else": { - "operation": "boost", - "score": 0.1231277585029602 - } - } + "operation": "boost", + "score": -0.19805808365345 }, "else": { "operation": "boost", - "score": -0.024436306208372116 + "score": -0.006633158307522535 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.029887618497014046 + }, + "else": { + "operation": "boost", + "score": 0.005418163258582354 + } }, "else": { "operation": "boost", - "score": -0.12375829368829727 + "score": -0.0002581348526291549 } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 249.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 252.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4556.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5015.0, - "then": { - "operation": "boost", - "score": 0.02155785821378231 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4794.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06353357434272766 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.108506940305233 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12602843344211578 - }, - "else": { - "operation": "boost", - "score": 0.12789525091648102 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12729109823703766 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1101246178150177 - }, - "else": { - "operation": "boost", - "score": 0.04129163175821304 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, - "then": { - "operation": "boost", - "score": 0.05135686695575714 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11414606124162674 - }, - "else": { - "operation": "boost", - "score": -0.11600305885076523 - } - }, - "else": { - "operation": "boost", - "score": 0.1235121637582779 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.056046903133392334 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.10023592412471771 - }, - "else": { - "operation": "boost", - "score": 0.12216942757368088 - } - }, - "else": { - "operation": "boost", - "score": 0.04967578500509262 - } - }, - "else": { - "operation": "boost", - "score": 0.00562353665009141 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.008678211830556393 - } - } + "operation": "boost", + "score": -0.005010206252336502 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 226.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 257.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 665.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 906.0, - "then": { - "operation": "boost", - "score": 0.053477950394153595 - }, - "else": { - "operation": "boost", - "score": 0.11583797633647919 - } - }, - "else": { - "operation": "boost", - "score": -0.034045834094285965 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234.5, - "then": { - "operation": "boost", - "score": 0.13696610927581787 - }, - "else": { - "operation": "boost", - "score": 0.1128055527806282 - } - } + "operation": "boost", + "score": 0.6691856980323792 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.018263839185237885 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.021762220188975334 - }, - "else": { - "operation": "boost", - "score": 0.10310908406972885 - } - } + "operation": "boost", + "score": -0.3054352402687073 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 286067.5, + "threshold": 18751.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 297177.5, - "then": { - "operation": "boost", - "score": -0.01036047749221325 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.008634855039417744 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.11656370759010315 - }, - "else": { - "operation": "boost", - "score": 0.0219977218657732 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135000.5, - "then": { - "operation": "boost", - "score": -0.16039152443408966 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.07607362419366837 - }, - "else": { - "operation": "boost", - "score": 0.009211068041622639 - } - }, - "else": { - "operation": "boost", - "score": 0.023000987246632576 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.0030498960986733437 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 756.0, - "then": { - "operation": "boost", - "score": -0.24469487369060516 - }, - "else": { - "operation": "boost", - "score": -0.031764689832925797 - } - }, - "else": { - "operation": "boost", - "score": -0.18354587256908417 - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "threshold": 20296.0, "then": { "operation": "boost", - "score": 0.07166557013988495 + "score": 0.02058609202504158 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.6579122543334961 + "score": 0.13218098878860474 }, "else": { - "operation": "boost", - "score": 0.14575417339801788 - } - }, - "else": { - "operation": "boost", - "score": -0.11161887645721436 - } - } - }, - "else": { - "operation": "boost", - "score": -0.025402335450053215 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Operator", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0022759686689823866 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11397112905979156 - }, - "else": { - "operation": "boost", - "score": 0.16330155730247498 - } + "operation": "boost", + "score": 0.08954524248838425 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 19388.5, "then": { "operation": "boost", - "score": 0.08574696630239487 + "score": 0.17558102309703827 }, "else": { "operation": "boost", - "score": -0.06161653995513916 + "score": -0.1100204810500145 } }, "else": { "operation": "boost", - "score": 0.1063987985253334 + "score": 0.11238517612218857 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.09567487239837646 }, "else": { "operation": "boost", - "score": 0.04533325880765915 + "score": 0.02206784300506115 } - }, - "else": { - "operation": "boost", - "score": 0.02904873713850975 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.02869286946952343 + "score": 0.011354969814419746 }, "else": { "operation": "boost", - "score": -0.17292429506778717 + "score": 0.021809201687574387 } } } @@ -141669,2265 +137138,1817 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Constructor", + "Destructor", + "Function", "Keyword", - "Variable", - "Type", - "Namespace" + "Macro", + "Namespace", + "Variable" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04908469691872597 - }, - "else": { - "operation": "boost", - "score": 0.0411078967154026 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01061689481139183 - }, - "else": { - "operation": "boost", - "score": -0.04379050061106682 - } - } + "operation": "boost", + "score": 0.005824567750096321 }, "else": { "operation": "boost", - "score": -0.0027786889113485813 + "score": 0.0842382088303566 } }, "else": { "operation": "boost", - "score": -0.00914754904806614 + "score": -0.042061947286129 } } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0021486016921699047 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2127.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2130.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.046243034303188324 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59476.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61155.5, + "operation": "boost", + "score": 0.0010924666421487927 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61318.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.016510747373104095 - }, - "else": { - "operation": "boost", - "score": -0.016935251653194427 - } - }, - "else": { - "operation": "boost", - "score": 0.108639195561409 - } - }, - "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05489999055862427 - }, - "else": { - "operation": "boost", - "score": -0.09891572594642639 - } - }, - "else": { - "operation": "boost", - "score": 0.11837565153837204 - } + "operation": "boost", + "score": -0.04129716753959656 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "ClassScope" ], "then": { "operation": "boost", - "score": -0.08865491300821304 + "score": 0.06922069936990738 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "boost", - "score": -0.27576884627342224 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.7815695405006409 + }, + "else": { + "operation": "boost", + "score": -0.09838173538446426 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04786424711346626 + }, + "else": { + "operation": "boost", + "score": 0.0300071369856596 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02864576317369938 + } }, "else": { - "operation": "boost", - "score": -0.0144036915153265 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2191.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6416.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6418.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09766903519630432 + }, + "else": { + "operation": "boost", + "score": 0.009084484539926052 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7166.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.07734659314155579 + }, + "else": { + "operation": "boost", + "score": 0.02761908993124962 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_SymbolOrNewName", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28345.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40203.5, - "then": { - "operation": "boost", - "score": 0.0831514298915863 - }, - "else": { - "operation": "boost", - "score": 0.10691935569047928 - } + "operation": "boost", + "score": 0.04476485401391983 }, "else": { "operation": "boost", - "score": -0.0861520916223526 + "score": 0.23955141007900238 } }, "else": { "operation": "boost", - "score": -0.02139846608042717 + "score": 0.0010180105455219746 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, - "then": { - "operation": "boost", - "score": 0.1023545116186142 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11532.5, - "then": { - "operation": "boost", - "score": 0.10755648463964462 - }, - "else": { - "operation": "boost", - "score": -0.26250696182250977 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10035.5, - "then": { - "operation": "boost", - "score": 0.06095360964536667 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8420.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9135.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9669.0, - "then": { - "operation": "boost", - "score": 0.19095195829868317 - }, - "else": { - "operation": "boost", - "score": 0.21430489420890808 - } - }, - "else": { - "operation": "boost", - "score": 0.11316104233264923 - } - }, - "else": { - "operation": "boost", - "score": 0.0960787683725357 - } - }, - "else": { - "operation": "boost", - "score": -0.0013777143321931362 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { "operation": "boost", - "score": 0.11846832931041718 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.1655595898628235 - }, - "else": { - "operation": "boost", - "score": 0.1012040376663208 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04810589179396629 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54992.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55801.5, - "then": { - "operation": "boost", - "score": -0.08492956310510635 - }, - "else": { - "operation": "boost", - "score": 0.102473683655262 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57410.0, - "then": { - "operation": "boost", - "score": 0.09630706906318665 - }, - "else": { - "operation": "boost", - "score": -0.0806415006518364 - } + "score": -0.08252322673797607 } }, "else": { "operation": "boost", - "score": 0.1251550167798996 + "score": 0.020410750061273575 } - }, - "else": { - "operation": "boost", - "score": 0.03308549523353577 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.126930370926857 - }, - "else": { - "operation": "boost", - "score": -0.07657530903816223 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4906.0, - "then": { - "operation": "boost", - "score": -0.13976331055164337 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.11015762388706207 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2871.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4667.0, - "then": { - "operation": "boost", - "score": 0.14402572810649872 - }, - "else": { - "operation": "boost", - "score": 0.046414852142333984 - } + "operation": "boost", + "score": -0.026341356337070465 }, "else": { "operation": "boost", - "score": 0.12250781059265137 + "score": 0.014306494034826756 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2470.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.048666853457689285 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4035.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4083.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.07719963788986206 + "score": 0.0022918609902262688 }, "else": { "operation": "boost", - "score": 0.11895076930522919 + "score": -0.05951560661196709 } }, "else": { - "operation": "boost", - "score": 0.005925746634602547 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2403.5, - "then": { - "operation": "boost", - "score": 0.11812925338745117 - }, - "else": { - "operation": "boost", - "score": -0.024765130132436752 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.048805493861436844 + }, + "else": { + "operation": "boost", + "score": 0.0522710382938385 + } } } } + }, + "else": { + "operation": "boost", + "score": -0.007207246031612158 } } - }, - "else": { - "operation": "boost", - "score": 0.021815961226820946 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.004277938045561314 + }, + "else": { + "operation": "boost", + "score": -0.17551691830158234 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2152.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.13700160384178162 + "score": -0.25159549713134766 }, "else": { "operation": "boost", - "score": 0.12280648946762085 + "score": 0.08441146463155746 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.101721853017807 - }, - "else": { - "operation": "boost", - "score": 0.11815992742776871 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2158.5, - "then": { - "operation": "boost", - "score": 0.11461639404296875 - }, - "else": { - "operation": "boost", - "score": -0.10050200670957565 - } - }, - "else": { - "operation": "boost", - "score": 0.004528628196567297 - } - } + "operation": "boost", + "score": -0.10293897986412048 } }, "else": { - "operation": "boost", - "score": -0.08360258489847183 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5170.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5204.0, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Variable" ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13619.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18139.5, - "then": { - "operation": "boost", - "score": 0.06163695827126503 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17327.0, - "then": { - "operation": "boost", - "score": 0.11915002018213272 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10904200375080109 - }, - "else": { - "operation": "boost", - "score": -0.2186264842748642 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44699.0, - "then": { - "operation": "boost", - "score": -0.05491824075579643 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39521.5, - "then": { - "operation": "boost", - "score": 0.11021175980567932 - }, - "else": { - "operation": "boost", - "score": 0.06306152045726776 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10339.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10651.0, - "then": { - "operation": "boost", - "score": 0.23877140879631042 - }, - "else": { - "operation": "boost", - "score": 0.1265668272972107 - } - }, - "else": { - "operation": "boost", - "score": 0.07340879738330841 - } - }, - "else": { - "operation": "boost", - "score": 0.03616912290453911 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.028454042971134186 - }, - "else": { - "operation": "boost", - "score": 0.10822981595993042 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48070.0, - "then": { - "operation": "boost", - "score": -0.03426699340343475 - }, - "else": { - "operation": "boost", - "score": 0.07422259449958801 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24945.5, - "then": { - "operation": "boost", - "score": -0.056997403502464294 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12358719855546951 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11049258708953857 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5627.5, - "then": { - "operation": "boost", - "score": 0.10362329334020615 - }, - "else": { - "operation": "boost", - "score": 0.11472438275814056 - } - } - }, - "else": { - "operation": "boost", - "score": 0.2236657440662384 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03265966847538948 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03425498679280281 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13818100094795227 + "score": 0.023236047476530075 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.13257001340389252 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.09312889724969864 - }, - "else": { - "operation": "boost", - "score": 0.14447811245918274 - } - } + "operation": "boost", + "score": -0.10748805850744247 } } + } + }, + "else": { + "operation": "boost", + "score": -0.024151166900992393 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.17851263284683228 + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.012204686179757118 + }, + "else": { + "operation": "boost", + "score": -0.14764481782913208 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "boost", + "score": 0.0189859326928854 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.03659095987677574 + }, + "else": { + "operation": "boost", + "score": 0.0387859046459198 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.07224271446466446 }, "else": { "operation": "boost", - "score": 0.0012076976709067822 + "score": -0.19821158051490784 } + }, + "else": { + "operation": "boost", + "score": 0.01488487422466278 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02172056958079338 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10461415350437164 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029377182945609093 + }, + "else": { + "operation": "boost", + "score": 0.006648014299571514 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, + "then": { + "operation": "boost", + "score": 0.08012118190526962 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": -0.009531931020319462 + }, + "else": { + "operation": "boost", + "score": -0.041276197880506516 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.003991343080997467 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.04933987557888031 + }, + "else": { + "operation": "boost", + "score": -0.05903225392103195 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.01656860113143921 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07274428755044937 + }, + "else": { + "operation": "boost", + "score": -0.24828746914863586 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7636363506317139, + "then": { + "operation": "boost", + "score": 0.17006327211856842 + }, + "else": { + "operation": "boost", + "score": -0.12452608346939087 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.02096804976463318 + }, + "else": { + "operation": "boost", + "score": -0.003408993361517787 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.0062019401229918 + "score": 0.0662168338894844 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6067.0, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10529.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23209.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09012176096439362 - }, - "else": { - "operation": "boost", - "score": 0.06703097373247147 - } - }, - "else": { - "operation": "boost", - "score": 0.04541635885834694 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.10597929358482361 - }, - "else": { - "operation": "boost", - "score": 0.10099005699157715 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.13278700411319733 - }, - "else": { - "operation": "boost", - "score": -0.10939975827932358 - } - }, - "else": { - "operation": "boost", - "score": 0.1316251903772354 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.09320134669542313 - }, - "else": { - "operation": "boost", - "score": 0.02349746786057949 - } - } + "operation": "boost", + "score": 0.011334008537232876 }, "else": { "operation": "boost", - "score": -0.14871132373809814 + "score": -0.02343798615038395 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02306232787668705 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3002.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3188.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4023.5, - "then": { - "operation": "boost", - "score": 0.04833702743053436 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11140505969524384 - }, - "else": { - "operation": "boost", - "score": -0.014653726480901241 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5873.0, - "then": { - "operation": "boost", - "score": -0.14179201424121857 - }, - "else": { - "operation": "boost", - "score": 0.11761501431465149 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5540.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6175.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10190572589635849 - }, - "else": { - "operation": "boost", - "score": 0.08033127337694168 - } - }, - "else": { - "operation": "boost", - "score": 0.13474881649017334 - } - }, - "else": { - "operation": "boost", - "score": 0.15401476621627808 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.1080024391412735 - } - }, - "else": { - "operation": "boost", - "score": 0.03176850453019142 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9226.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11241.5, - "then": { - "operation": "boost", - "score": 0.1015375480055809 - }, - "else": { - "operation": "boost", - "score": 0.12778158485889435 - } - }, - "else": { - "operation": "boost", - "score": 0.10077022761106491 - } - }, - "else": { - "operation": "boost", - "score": 0.06509707123041153 - } - } - } + "operation": "boost", + "score": 0.07946357876062393 }, "else": { "operation": "boost", - "score": -0.2117966264486313 + "score": -0.13293226063251495 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.012557084672152996 }, "else": { "operation": "boost", - "score": -0.11677894741296768 + "score": -0.007495576981455088 } } } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02144555002450943 + }, + "else": { + "operation": "boost", + "score": -0.0284926425665617 + } } + }, + "else": { + "operation": "boost", + "score": -0.026207756251096725 } }, - "else": { - "operation": "boost", - "score": -0.004263578914105892 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.3837612569332123 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.10798432677984238 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "boost", + "score": 0.059029314666986465 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.5, + "then": { + "operation": "boost", + "score": 0.06955432146787643 + }, + "else": { + "operation": "boost", + "score": 0.11581505835056305 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02609059028327465 + } + }, + "else": { + "operation": "boost", + "score": -0.038145873695611954 + } }, "else": { - "operation": "boost", - "score": -0.10578509420156479 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.05770185589790344 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.04445447400212288 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 533966.0, + "then": { + "operation": "boost", + "score": -0.670333743095398 + }, + "else": { + "operation": "boost", + "score": -0.10832076519727707 + } + } + } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.029484158381819725 - }, - "else": { - "operation": "boost", - "score": 0.012561727315187454 - } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.035098522901535034, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 31.0, "then": { + "operation": "boost", + "score": 0.05429450422525406 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04057788848876953 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { "operation": "boost", - "score": 0.04880533367395401 + "score": 0.22961674630641937 }, "else": { "operation": "boost", - "score": -0.0021343333646655083 + "score": -0.10202611982822418 } + }, + "else": { + "operation": "boost", + "score": 0.031752973794937134 } }, "else": { "operation": "boost", - "score": -0.028117772191762924 + "score": -0.021324053406715393 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234.5, + "then": { + "operation": "boost", + "score": 0.034454431384801865 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.02434486895799637 + "score": 0.0074679856188595295 }, "else": { - "operation": "boost", - "score": -0.006481718737632036 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": -0.03778444975614548 + }, + "else": { + "operation": "boost", + "score": 0.018049612641334534 + } + }, + "else": { + "operation": "boost", + "score": -0.04071967303752899 + } } } - }, - "else": { - "operation": "boost", - "score": -0.08294682204723358 } }, "else": { - "operation": "boost", - "score": -0.00020123773720115423 - } - }, - "else": { - "operation": "boost", - "score": 0.005317645613104105 - } - } - }, - { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09555252641439438 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "CCC_TopLevel" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08074268698692322 + "score": -0.06250077486038208 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { "operation": "boost", - "score": 0.12424824386835098 + "score": -0.2663700580596924 }, "else": { "operation": "boost", - "score": 0.0849018469452858 + "score": 0.14716219902038574 } }, "else": { - "operation": "boost", - "score": 0.1325892210006714 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.1855749785900116 + }, + "else": { + "operation": "boost", + "score": 0.07839792966842651 + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, - "then": { - "operation": "boost", - "score": 0.09789404273033142 - }, - "else": { - "operation": "boost", - "score": 0.05701494961977005 - } + "operation": "boost", + "score": 0.026241229847073555 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.03121960535645485 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.061720408499240875 + "score": -0.02253161370754242 }, "else": { "operation": "boost", - "score": 0.011659188196063042 + "score": 0.016190743073821068 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.043692708015441895 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "boost", + "score": 0.01564497873187065 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.022863171994686127 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.04129362851381302 - }, - "else": { - "operation": "boost", - "score": 0.01730351895093918 - } - }, - "else": { - "operation": "boost", - "score": -0.00648451829329133 - } + "operation": "boost", + "score": -0.011415638960897923 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1303512156009674 - }, - "else": { - "operation": "boost", - "score": 0.07952980697154999 - } - }, - "else": { - "operation": "boost", - "score": 0.07122772932052612 - } + "operation": "boost", + "score": 0.07915069162845612 } + } + }, + "else": { + "operation": "boost", + "score": -0.0005204575136303902 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "boost", + "score": 0.006749980617314577 + }, + "else": { + "operation": "boost", + "score": -0.005124207586050034 + } + }, + "else": { + "operation": "boost", + "score": -0.050546303391456604 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.05079220235347748 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.02359752357006073 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1558709740638733 - }, - "else": { - "operation": "boost", - "score": 0.08855459839105606 - } - }, - "else": { - "operation": "boost", - "score": 0.05914967507123947 - } + "operation": "boost", + "score": -0.09910125285387039 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.14168347418308258 - }, - "else": { - "operation": "boost", - "score": 0.08250903338193893 - } - }, - "else": { - "operation": "boost", - "score": 0.03609981760382652 - } + "operation": "boost", + "score": 0.0009034452377818525 } } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.039230771362781525, + "then": { + "operation": "boost", + "score": 0.0004620076797436923 + }, + "else": { + "operation": "boost", + "score": 0.42525744438171387 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11912.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.15075655281543732 + "score": 0.03698568791151047 }, "else": { "operation": "boost", - "score": 0.04443143680691719 + "score": -0.012185383588075638 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.27696582674980164 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Variable" + ], "then": { "operation": "boost", - "score": 0.010678659193217754 + "score": 0.006348934955894947 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11454859375953674 - }, - "else": { - "operation": "boost", - "score": -0.10222906619310379 - } - }, - "else": { - "operation": "boost", - "score": 0.04404567554593086 - } + "operation": "boost", + "score": -0.01457869540899992 } + }, + "else": { + "operation": "boost", + "score": 0.008387850597500801 } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1074.5, + "threshold": 120524.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1082.0, + "threshold": 207505.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.004229046404361725 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1603.5, - "then": { - "operation": "boost", - "score": 0.020040906965732574 - }, - "else": { - "operation": "boost", - "score": 0.11309792101383209 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.1109902486205101 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1174749881029129 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1076282486319542 - }, - "else": { - "operation": "boost", - "score": 0.0801309198141098 - } - } - } - } + "operation": "boost", + "score": 0.02313051000237465 }, "else": { "operation": "boost", - "score": 0.04123164713382721 + "score": 0.11703398078680038 } + } + }, + "else": { + "operation": "boost", + "score": 0.0017509621102362871 + } + }, + "else": { + "operation": "boost", + "score": -0.005574618000537157 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 30.5, + "then": { + "operation": "boost", + "score": 0.0024757578503340483 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 749331.5, + "then": { + "operation": "boost", + "score": 0.06909125298261642 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1076.5, + "threshold": 432212.0, "then": { "operation": "boost", - "score": 0.12197224050760269 + "score": -0.4578004479408264 }, "else": { "operation": "boost", - "score": 0.10303439944982529 + "score": -0.057730454951524734 } } }, "else": { + "operation": "boost", + "score": -0.1942182034254074 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1729.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0016709562623873353 + }, + "else": { + "operation": "boost", + "score": 0.016070464625954628 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04233932867646217 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.001569500076584518 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01941458322107792 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.005839773453772068 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 29.0, + "then": { + "operation": "boost", + "score": 0.007508645765483379 + }, + "else": { + "operation": "boost", + "score": -0.014923522248864174 + } + } + } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": -0.013327161781489849 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.041398659348487854 + "score": 0.08124734461307526 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.07041681557893753 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.18770064413547516 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.13161130249500275 - }, - "else": { - "operation": "boost", - "score": 0.15140852332115173 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.15051768720149994 - }, - "else": { - "operation": "boost", - "score": 0.11110081523656845 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10218239575624466 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.015530858188867569 - }, - "else": { - "operation": "boost", - "score": 0.12738406658172607 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.010302817448973656 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.09158165007829666 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.06224352493882179 - }, - "else": { - "operation": "boost", - "score": 0.10863477736711502 - } - } - } - } + "operation": "boost", + "score": -0.10281925648450851 } }, "else": { "operation": "boost", - "score": 0.059885166585445404 + "score": 0.02197456546127796 } + }, + "else": { + "operation": "boost", + "score": 0.021130425855517387 } }, "else": { - "operation": "boost", - "score": -0.0799277275800705 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.020869020372629166 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06289323419332504 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.024879496544599533 - }, - "else": { - "operation": "boost", - "score": 0.12357982993125916 - } - }, - "else": { - "operation": "boost", - "score": 0.08388188481330872 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05667519569396973 - } + "operation": "boost", + "score": -0.046688735485076904 }, "else": { "operation": "boost", - "score": -0.09438508003950119 + "score": 0.025850029662251472 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1154501885175705 - }, - "else": { - "operation": "boost", - "score": 0.1433493047952652 - } - }, - "else": { - "operation": "boost", - "score": 0.09114436060190201 - } + "operation": "boost", + "score": -0.07453616708517075 }, "else": { "operation": "boost", - "score": 0.009810473769903183 + "score": -0.007162777241319418 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.1122167780995369 + "score": 0.18548601865768433 }, "else": { "operation": "boost", - "score": -0.06252571940422058 + "score": -0.08508610725402832 } }, "else": { "operation": "boost", - "score": 0.12636888027191162 + "score": 0.10793120414018631 } }, "else": { - "operation": "boost", - "score": -0.051720030605793 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.022123750299215317 - }, - "else": { - "operation": "boost", - "score": 0.03686348721385002 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.10123776644468307 + }, + "else": { + "operation": "boost", + "score": 0.423521488904953 + } } - } - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0006674834876321256 - } - }, - "else": { - "operation": "boost", - "score": -0.007182210683822632 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.030993463471531868 - }, - "else": { - "operation": "boost", - "score": 0.11531469970941544 - } - }, - "else": { - "operation": "boost", - "score": 0.0011513129575178027 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11392500251531601 - }, - "else": { - "operation": "boost", - "score": 0.013872805051505566 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.10142143815755844 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09332653880119324 }, "else": { "operation": "boost", - "score": 0.15910173952579498 + "score": 0.05700492113828659 } } - }, - "else": { - "operation": "boost", - "score": -0.008191796019673347 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.00863591581583023 + "score": -0.011107193306088448 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08171453326940536 - }, - "else": { - "operation": "boost", - "score": 0.12676474452018738 - } - }, - "else": { - "operation": "boost", - "score": 0.05257877707481384 - } + "operation": "boost", + "score": 0.024189069867134094 } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 501.0, - "then": { - "operation": "boost", - "score": 0.10929498076438904 - }, - "else": { - "operation": "boost", - "score": -0.05049615353345871 - } + "operation": "boost", + "score": 0.0019039789913222194 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 310.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.47908294200897217 + "score": 0.015849323943257332 }, "else": { "operation": "boost", - "score": 0.10409659892320633 + "score": 0.001236168434843421 } }, "else": { "operation": "boost", - "score": -0.003388351295143366 + "score": -0.01675291545689106 } } } @@ -143936,4227 +138957,4293 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_EnumTag", - "CCC_Statement", "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.04852826148271561 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.003309202380478382 + }, + "else": { + "operation": "boost", + "score": 0.011324938386678696 + } + }, + "else": { + "operation": "boost", + "score": -0.01150431577116251 + } }, "else": { - "operation": "boost", - "score": -0.33518022298812866 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.0047079757787287235 + }, + "else": { + "operation": "boost", + "score": -0.011005700565874577 + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.049515776336193085 + }, + "else": { + "operation": "boost", + "score": 0.011723414063453674 + } }, "else": { + "operation": "boost", + "score": 0.0035562252160161734 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.16101592779159546 + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": -0.24308207631111145 + }, + "else": { + "operation": "boost", + "score": -0.10033774375915527 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6221.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "boost", + "score": 0.03724822402000427 + }, + "else": { + "operation": "boost", + "score": 0.11716398596763611 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, "then": { + "operation": "boost", + "score": 0.016572317108511925 + }, + "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", - "ClassScope", "GlobalScope" ], "then": { - "operation": "boost", - "score": -0.05385706573724747 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8460.0, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "boost", - "score": 0.041583046317100525 + "score": 0.05675714090466499 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.0456671379506588 - }, - "else": { - "operation": "boost", - "score": -0.15322239696979523 - } + "operation": "boost", + "score": 0.10416563600301743 } + }, + "else": { + "operation": "boost", + "score": 0.036022499203681946 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12301826477050781 }, "else": { "operation": "boost", - "score": -0.023294156417250633 + "score": 0.007850822992622852 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": -0.21513068675994873 + }, + "else": { + "operation": "boost", + "score": 0.00954117625951767 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.05970511585474014 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.013202507048845291 + }, + "else": { + "operation": "boost", + "score": -0.17499062418937683 + } + }, + "else": { + "operation": "boost", + "score": 0.02337981015443802 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.0021405937150120735 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5773809552192688, + "then": { + "operation": "boost", + "score": -0.01497582159936428 + }, + "else": { + "operation": "boost", + "score": 0.055840905755758286 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "boost", + "score": 0.015455815009772778 + }, + "else": { + "operation": "boost", + "score": 0.2395303100347519 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.013243752531707287 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005187667906284332 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.034956205636262894 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07518229633569717 - }, - "else": { - "operation": "boost", - "score": 0.1295635998249054 - } - } - }, - "else": { - "operation": "boost", - "score": 0.020142626017332077 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.3237234950065613 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.042461100965738297 - }, - "else": { - "operation": "boost", - "score": 0.11461324244737625 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.07912632077932358 - }, - "else": { - "operation": "boost", - "score": -0.15709197521209717 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.14656488597393036 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.10201218724250793 - }, - "else": { - "operation": "boost", - "score": -0.0451643243432045 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.08883478492498398 - } - } + "operation": "boost", + "score": 0.0636511817574501 + }, + "else": { + "operation": "boost", + "score": 0.02552773617208004 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.015484199859201908 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { + "operation": "boost", + "score": 0.026880457997322083 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 19.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "boost", - "score": -0.01868957281112671 - }, - "else": { - "operation": "boost", - "score": 0.11087167263031006 - } + "operation": "boost", + "score": 0.12019854784011841 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.012932147830724716 + "score": -0.12932612001895905 }, "else": { - "operation": "boost", - "score": 0.04917636513710022 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2848532497882843 + }, + "else": { + "operation": "boost", + "score": 0.08532910794019699 + } } } - }, - "else": { - "operation": "boost", - "score": 0.02308523841202259 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.010446936823427677 - }, - "else": { - "operation": "boost", - "score": -0.01763959601521492 - } } - }, - "else": { - "operation": "boost", - "score": 0.005133422091603279 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.003591548651456833 + "score": -0.04629013314843178 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.06669827550649643 - }, - "else": { - "operation": "boost", - "score": -0.16420885920524597 - } + "operation": "boost", + "score": 0.06453418731689453 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3341.0, + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_PreprocessorExpression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.21487721800804138 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.029902594164013863 + "score": -0.07110611349344254 }, "else": { "operation": "boost", - "score": 0.012890883721411228 + "score": -0.12518255412578583 } - }, - "else": { - "operation": "boost", - "score": 0.003410970326513052 } - } - }, - "else": { - "operation": "boost", - "score": -0.08620188385248184 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Namespace", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 276057.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 276350.0, - "then": { - "operation": "boost", - "score": -0.10188305377960205 - }, - "else": { - "operation": "boost", - "score": 0.252142071723938 - } + "operation": "boost", + "score": 0.02044973522424698 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 306389.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { + "operation": "boost", + "score": -0.10776519030332565 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.10252464562654495 + "score": 0.022270865738391876 }, "else": { - "operation": "boost", - "score": 0.03159073740243912 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7071428298950195, + "then": { + "operation": "boost", + "score": 0.1621781438589096 + }, + "else": { + "operation": "boost", + "score": 0.09002981334924698 + } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 12629.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.08474238961935043 - }, - "else": { - "operation": "boost", - "score": -0.5742807388305664 - } + "operation": "boost", + "score": -0.056591324508190155 }, "else": { + "operation": "boost", + "score": -0.0035147424787282944 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { "operation": "boost", - "score": -0.09457431733608246 + "score": 0.10790915787220001 }, "else": { "operation": "boost", - "score": 0.06295417249202728 + "score": 0.05571133643388748 } + }, + "else": { + "operation": "boost", + "score": 0.01190209574997425 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + } + }, + "else": { + "operation": "boost", + "score": -0.029258323833346367 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.01692260056734085 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.009136226959526539 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12063923478126526 - }, - "else": { - "operation": "boost", - "score": 0.1116829663515091 - } + "operation": "boost", + "score": 0.1154833510518074 }, "else": { "operation": "boost", - "score": -0.10391581803560257 + "score": 0.03444336727261543 } }, "else": { "operation": "boost", - "score": 0.02179361693561077 + "score": 0.12208137661218643 } }, + "else": { + "operation": "boost", + "score": 0.03476346284151077 + } + }, + "else": { + "operation": "boost", + "score": 0.03206474334001541 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.5359131693840027 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.11495418846607208 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11535055190324783 + }, + "else": { + "operation": "boost", + "score": -0.010616338811814785 + } }, "else": { "operation": "boost", - "score": -0.42937013506889343 + "score": -0.16469794511795044 } } + }, + "else": { + "operation": "boost", + "score": 0.007990137673914433 } } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { - "operation": "boost", - "score": 0.010065220296382904 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "feature": "FileProximityDistanceCost", + "threshold": 30.5, "then": { "operation": "boost", - "score": -0.2322947382926941 + "score": -1.0893442630767822 }, "else": { "operation": "boost", - "score": 0.0985206812620163 + "score": 0.03131600841879845 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.11032824218273163 - }, - "else": { - "operation": "boost", - "score": 0.01851225085556507 - } + "operation": "boost", + "score": -0.034037210047245026 } + }, + "else": { + "operation": "boost", + "score": 0.01874522678554058 } }, "else": { "operation": "boost", - "score": 0.012423806823790073 + "score": -0.1203552857041359 } + }, + "else": { + "operation": "boost", + "score": 0.0034355297684669495 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.004054146818816662 + }, + "else": { + "operation": "boost", + "score": -0.030801502987742424 } } }, "else": { + "operation": "boost", + "score": -0.03136254847049713 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 296854.0, + "threshold": 246863.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.09653224796056747 + "score": -0.06953823566436768 + }, + "else": { + "operation": "boost", + "score": -0.5383580327033997 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.06432661414146423 }, "else": { "operation": "boost", - "score": -0.8602725267410278 + "score": 0.002435346134006977 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5419580936431885, + "then": { + "operation": "boost", + "score": 0.025318479165434837 }, "else": { "operation": "boost", - "score": 0.1258837729692459 + "score": 0.010377918370068073 } } }, "else": { - "operation": "boost", - "score": -0.1405039280653 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.008155182003974915 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 119.5, "then": { - "operation": "boost", - "score": 0.04789825528860092 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.13680638372898102 + "score": 0.00887833721935749 }, "else": { + "operation": "boost", + "score": 0.017878752201795578 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.39547955989837646 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07260750979185104 + }, + "else": { + "operation": "boost", + "score": 0.053951479494571686 + } }, "else": { "operation": "boost", - "score": 0.025920357555150986 + "score": 0.016169507056474686 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.11697910726070404 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "boost", + "score": 0.09715348482131958 + }, + "else": { + "operation": "boost", + "score": 0.03823576495051384 + } }, "else": { - "operation": "boost", - "score": 0.06177927553653717 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 0.11236590892076492 + }, + "else": { + "operation": "boost", + "score": -0.01836196705698967 + } + }, + "else": { + "operation": "boost", + "score": 0.09510122984647751 + } } }, "else": { "operation": "boost", - "score": 0.1079002171754837 + "score": 0.035352643579244614 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.005017453338950872 - }, - "else": { - "operation": "boost", - "score": 0.08511008322238922 - } + "operation": "boost", + "score": 0.047689612954854965 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7461538314819336, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12239545583724976 - }, - "else": { - "operation": "boost", - "score": 0.12576936185359955 - } - }, - "else": { - "operation": "boost", - "score": -0.1188344657421112 - } + "operation": "boost", + "score": 0.16126760840415955 }, "else": { "operation": "boost", - "score": -0.31475841999053955 + "score": -0.12325272709131241 } }, "else": { "operation": "boost", - "score": 0.0605517253279686 + "score": -0.001218349440023303 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.2070373296737671 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.12235153466463089 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.07605734467506409 + }, + "else": { + "operation": "boost", + "score": -0.014546426944434643 + } }, "else": { "operation": "boost", - "score": 0.10824315994977951 + "score": -0.0357145331799984 } }, "else": { "operation": "boost", - "score": -0.1100250706076622 + "score": 0.003634636290371418 } } - }, - "else": { - "operation": "boost", - "score": 0.07879224419593811 } } - }, - "else": { - "operation": "boost", - "score": -0.11219514161348343 } } - }, - "else": { - "operation": "boost", - "score": -0.0034813794773072004 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 281926.5, "then": { + "operation": "boost", + "score": 0.01752297952771187 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05702663213014603 - }, - "else": { - "operation": "boost", - "score": 0.09519558399915695 - } - }, - "else": { - "operation": "boost", - "score": 0.03549456596374512 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09832008928060532 - }, - "else": { - "operation": "boost", - "score": 0.08102285861968994 - } - } + "operation": "boost", + "score": -0.06701651215553284 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 200884.5, + "threshold": 212125.0, "then": { - "operation": "boost", - "score": -0.11117464303970337 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 236336.5, "then": { - "operation": "boost", - "score": 0.0647084191441536 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.08539526164531708 + "score": 0.07003740966320038 }, "else": { "operation": "boost", - "score": 0.12486748397350311 + "score": 0.00021914941316936165 } + }, + "else": { + "operation": "boost", + "score": -0.06616999953985214 } + }, + "else": { + "operation": "boost", + "score": 0.036900635808706284 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.04213697090744972 + "score": -0.006376660894602537 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.003003341844305396 - }, - "else": { - "operation": "boost", - "score": 0.06302149593830109 - } + "operation": "boost", + "score": 0.006396143697202206 } }, - "else": { - "operation": "boost", - "score": 0.028491321951150894 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1642022281885147 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.009715267457067966 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "boost", + "score": -0.005515407305210829 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05106695368885994 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10897821187973022 - }, - "else": { - "operation": "boost", - "score": 0.11300187557935715 - } - } - }, - "else": { - "operation": "boost", - "score": 0.14756588637828827 - } - }, - "else": { - "operation": "boost", - "score": 0.08143304288387299 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.13694706559181213 - }, - "else": { - "operation": "boost", - "score": 0.12089342623949051 - } - } - }, - "else": { - "operation": "boost", - "score": 0.018171342089772224 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06893834471702576 - }, - "else": { - "operation": "boost", - "score": 0.0008328949916176498 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05402511730790138 - } - }, - "else": { - "operation": "boost", - "score": -0.14019393920898438 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, - "then": { - "operation": "boost", - "score": -0.22941994667053223 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123410.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11095788329839706 - }, - "else": { - "operation": "boost", - "score": 0.10076242685317993 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.07134249061346054 - }, - "else": { - "operation": "boost", - "score": 0.12284120917320251 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010322781279683113 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.03598732128739357 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10089994221925735 - }, - "else": { - "operation": "boost", - "score": 0.1250665932893753 - } - }, - "else": { - "operation": "boost", - "score": 0.053870271891355515 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92954.5, - "then": { - "operation": "boost", - "score": 0.16425560414791107 - }, - "else": { - "operation": "boost", - "score": 0.001686161500401795 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0005437724175862968 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.3833959400653839 - }, - "else": { - "operation": "boost", - "score": 0.018568027764558792 - } - }, - "else": { - "operation": "boost", - "score": -0.096590057015419 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 96602.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": -0.10952768474817276 - }, - "else": { - "operation": "boost", - "score": 0.10763800889253616 - } - }, - "else": { - "operation": "boost", - "score": -0.07967275381088257 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08837078511714935 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.07268614321947098 + }, + "else": { + "operation": "boost", + "score": 0.1243007555603981 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.04134251922369003 + "score": 0.10912034660577774 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.1335010528564453 - }, - "else": { - "operation": "boost", - "score": -0.16454166173934937 - } + "operation": "boost", + "score": -0.1252622753381729 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 99880.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.16388049721717834 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.14869418740272522 - }, - "else": { - "operation": "boost", - "score": 0.05377751588821411 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06160707771778107 - } + "operation": "boost", + "score": -0.14669936895370483 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.03547518700361252 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.08031418174505234 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.13913118839263916 - }, - "else": { - "operation": "boost", - "score": 0.10811829566955566 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10260824859142303 - } - }, - "else": { - "operation": "boost", - "score": 0.05720401927828789 - } - } + "operation": "boost", + "score": 0.04020088538527489 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 98110.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.0, "then": { "operation": "boost", - "score": -0.12727296352386475 + "score": 0.08922827988862991 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13165420293807983 - }, - "else": { - "operation": "boost", - "score": 0.08428172767162323 - } + "operation": "boost", + "score": 0.1350860446691513 } }, "else": { "operation": "boost", - "score": -0.02250647358596325 + "score": 0.060188110917806625 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13342837989330292 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 95499.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.1274372637271881 - }, - "else": { - "operation": "boost", - "score": -0.09796152263879776 - } + "operation": "boost", + "score": -0.16455969214439392 }, "else": { "operation": "boost", - "score": 0.01704433746635914 + "score": 0.01141002681106329 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", "Constructor", - "Type", - "Namespace" + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 5256.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 5905.5, "then": { "operation": "boost", - "score": 0.10432092100381851 + "score": 0.07870712876319885 }, "else": { "operation": "boost", - "score": -0.07132728397846222 + "score": 0.14002327620983124 } }, "else": { "operation": "boost", - "score": 0.11027254164218903 + "score": 0.022339800372719765 } }, "else": { "operation": "boost", - "score": -0.04073021188378334 + "score": -0.057973407208919525 } - }, - "else": { - "operation": "boost", - "score": 0.05628621205687523 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.021079471334815025 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.13538798689842224 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.019436774775385857 + }, + "else": { + "operation": "boost", + "score": 0.007148402277380228 + } }, "else": { "operation": "boost", - "score": -0.15541763603687286 + "score": -0.06241277977824211 } }, "else": { - "operation": "boost", - "score": -0.1993517428636551 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08467022329568863 + }, + "else": { + "operation": "boost", + "score": 0.17333410680294037 + } + }, + "else": { + "operation": "boost", + "score": 0.07914584130048752 + } + }, + "else": { + "operation": "boost", + "score": -0.28253814578056335 + } + }, + "else": { + "operation": "boost", + "score": 0.03679376840591431 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.1143481507897377 }, "else": { "operation": "boost", - "score": -0.01304757222533226 + "score": 0.0014734049327671528 } + }, + "else": { + "operation": "boost", + "score": -0.005993878003209829 } - }, - "else": { - "operation": "boost", - "score": 0.008728818036615849 } } } - }, - "else": { - "operation": "boost", - "score": -0.006996885873377323 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176731.0, - "then": { - "operation": "boost", - "score": -0.13900481164455414 }, "else": { "operation": "boost", - "score": -0.0008065446163527668 + "score": 0.16273769736289978 } } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", "CCC_TopLevel", - "CCC_Symbol" + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47293.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73859.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79923.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.01769060268998146 + "score": 0.027959097176790237 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79531.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.14666397869586945 + "score": 0.016246341168880463 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": -1.251798391342163 - }, - "else": { - "operation": "boost", - "score": 0.07852393388748169 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.0031175604090094566 - }, - "else": { - "operation": "boost", - "score": 0.09716090559959412 - } - }, - "else": { - "operation": "boost", - "score": 0.10549017786979675 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.19789764285087585 - }, - "else": { - "operation": "boost", - "score": 0.08444316685199738 - } - }, - "else": { - "operation": "boost", - "score": -0.19007530808448792 - } - } + "operation": "boost", + "score": -0.0943586677312851 }, "else": { "operation": "boost", - "score": 0.022406887263059616 + "score": 0.10301855206489563 } } } }, + "else": { + "operation": "boost", + "score": 0.014691525138914585 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.006897261366248131 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.06372161954641342 + }, + "else": { + "operation": "boost", + "score": 0.11681193858385086 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.002454552333801985 + }, + "else": { + "operation": "boost", + "score": 0.12040425091981888 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.11321917921304703 + }, + "else": { + "operation": "boost", + "score": -0.038089603185653687 + } + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64139.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66036.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.007814529351890087 + "score": 0.1661548912525177 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11538844555616379 - }, - "else": { - "operation": "boost", - "score": -0.8626901507377625 - } + "operation": "boost", + "score": 0.09516090154647827 } }, "else": { "operation": "boost", - "score": -0.04871062934398651 + "score": -0.11645497381687164 } }, "else": { - "operation": "boost", - "score": -0.0012357158120721579 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.021084409207105637 + }, + "else": { + "operation": "boost", + "score": 0.07130005955696106 + } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.059790872037410736 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12451539188623428 + "score": 0.07377640157938004 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01813739724457264 + }, + "else": { + "operation": "boost", + "score": 0.016042612493038177 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.10861965268850327 + }, + "else": { + "operation": "boost", + "score": -0.06519705057144165 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_ParenthesizedExpression" ], "then": { + "operation": "boost", + "score": 0.06833048164844513 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06458580493927002 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.18021486699581146 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11202605068683624 - }, - "else": { - "operation": "boost", - "score": 0.12435115873813629 - } - } - }, - "else": { - "operation": "boost", - "score": 0.2837183177471161 - } - } - }, - "else": { - "operation": "boost", - "score": -0.15265709161758423 - } + "operation": "boost", + "score": 0.006168649531900883 }, "else": { "operation": "boost", - "score": -0.07946711778640747 + "score": 0.09960036724805832 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.05130103975534439 }, "else": { "operation": "boost", - "score": -0.0006043873145245016 + "score": -0.011003481224179268 } }, "else": { "operation": "boost", - "score": -0.017426103353500366 + "score": -0.03760313615202904 } } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.1331397294998169 + "score": 0.1858130842447281 }, "else": { + "operation": "boost", + "score": 0.021231885999441147 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { - "operation": "boost", - "score": -0.11876823753118515 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72713.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ParenthesizedExpression" + "Function", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { - "operation": "boost", - "score": -0.04599607735872269 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "boost", + "score": -0.04834887012839317 + }, + "else": { + "operation": "boost", + "score": 0.3104957640171051 + } }, "else": { "operation": "boost", - "score": 0.12132339924573898 + "score": -0.10027185827493668 } }, "else": { "operation": "boost", - "score": 0.07628295570611954 + "score": 0.08682474493980408 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304083.5, - "then": { - "operation": "boost", - "score": 0.00914801936596632 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09421112388372421 - }, - "else": { - "operation": "boost", - "score": 0.044512104243040085 - } - } + "operation": "boost", + "score": 0.0025321936700493097 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": -0.029445869848132133 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.1384427398443222 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11070398986339569 + "score": 0.08664382994174957 }, "else": { - "operation": "boost", - "score": 0.24473735690116882 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12272751331329346 + }, + "else": { + "operation": "boost", + "score": 0.13905145227909088 + } } }, "else": { "operation": "boost", - "score": -0.11020471155643463 + "score": 0.022907624021172523 } + }, + "else": { + "operation": "boost", + "score": 0.008715328760445118 } + }, + "else": { + "operation": "boost", + "score": -0.05880605801939964 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "boost", - "score": 0.008147881366312504 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { "operation": "boost", - "score": -0.15308377146720886 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.006218523718416691 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0952845886349678 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11031470447778702 - }, - "else": { - "operation": "boost", - "score": 0.10848600417375565 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.24563412368297577 + "score": 0.11993374675512314 }, "else": { "operation": "boost", - "score": -0.09612645208835602 + "score": 0.07702848315238953 } } + }, + "else": { + "operation": "boost", + "score": 0.0003143441863358021 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.0076425038278102875 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.23426400125026703 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": -0.23520757257938385 + }, + "else": { + "operation": "boost", + "score": 0.06590551882982254 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.03010997548699379 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "boost", + "score": -0.06580398231744766 + }, + "else": { + "operation": "boost", + "score": 0.08013243228197098 + } + } + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.0782063752412796 + "score": 0.06299248337745667 }, "else": { "operation": "boost", - "score": 0.10036206245422363 + "score": -0.004085042048245668 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 250.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol" + "Macro", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.20640332996845245 - }, - "else": { - "operation": "boost", - "score": 0.09291860461235046 - } - }, - "else": { - "operation": "boost", - "score": 0.1141527071595192 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.08218076080083847 - }, - "else": { - "operation": "boost", - "score": 0.009928634390234947 - } - } + "operation": "boost", + "score": 0.05359535291790962 }, "else": { "operation": "boost", - "score": -0.16658300161361694 + "score": 0.13134025037288666 } }, "else": { "operation": "boost", - "score": 0.08255819976329803 + "score": 0.01917070522904396 } }, "else": { "operation": "boost", - "score": 0.10855557769536972 + "score": -0.0012338601518422365 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.09794137626886368 - }, - "else": { - "operation": "boost", - "score": -0.044955186545848846 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.014629537239670753 + "score": 0.03376977890729904 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0019393296679481864 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 23701.5, "then": { - "operation": "boost", - "score": 0.05655486509203911 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24308.0, + "then": { + "operation": "boost", + "score": 0.022536104544997215 + }, + "else": { + "operation": "boost", + "score": 0.10970006883144379 + } }, "else": { - "operation": "boost", - "score": -0.6296876668930054 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1838485300540924 + }, + "else": { + "operation": "boost", + "score": 0.013999994844198227 + } } - }, - "else": { - "operation": "boost", - "score": -0.1557353436946869 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31804.0, - "then": { - "operation": "boost", - "score": -0.05729765444993973 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30750.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.09917286038398743 - }, - "else": { - "operation": "boost", - "score": 0.06387092173099518 - } + "operation": "boost", + "score": 0.052210960537195206 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { "operation": "boost", - "score": 0.10494117438793182 + "score": 0.00821281224489212 }, "else": { "operation": "boost", - "score": 0.09917844831943512 + "score": -0.19320763647556305 } } }, "else": { - "operation": "boost", - "score": 0.048628486692905426 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13821.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19625.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.005782031454145908 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19203.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.013448969461023808 - }, - "else": { - "operation": "boost", - "score": 0.12422611564397812 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16649.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "boost", - "score": 0.009184540249407291 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.02380952425301075, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14114.0, + "threshold": 233.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10445758700370789 - }, - "else": { - "operation": "boost", - "score": -0.34471866488456726 - } + "operation": "boost", + "score": 0.12046488374471664 }, "else": { "operation": "boost", - "score": 0.11752846837043762 + "score": -0.05166163668036461 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.0653110221028328 + "score": 0.1305907666683197 }, "else": { "operation": "boost", - "score": 0.10595739632844925 + "score": 0.05010885372757912 } }, "else": { + "operation": "boost", + "score": -0.010830181650817394 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14667.5, + "threshold": 59.0, "then": { + "operation": "boost", + "score": -0.17874301970005035 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.6597793698310852 + }, + "else": { + "operation": "boost", + "score": 0.15013937652111053 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.10988235473632812 + "score": 0.007840381935238838 }, "else": { "operation": "boost", - "score": 0.13506537675857544 + "score": 0.0014144539600238204 } }, "else": { "operation": "boost", - "score": 0.07295110076665878 + "score": 0.007288878783583641 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.002982890931889415 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15475.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.40139591693878174 + "score": -0.06889740377664566 }, "else": { - "operation": "boost", - "score": 0.11205584555864334 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2082284688949585 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.1518353521823883 + }, + "else": { + "operation": "boost", + "score": 0.10765405744314194 + } + } } } } + }, + "else": { + "operation": "boost", + "score": 0.018722452223300934 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.024355309084057808 + "score": 0.007814143784344196 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.05343931168317795 + "score": 0.0012231194414198399 }, "else": { "operation": "boost", - "score": 0.0804581344127655 + "score": -0.058985836803913116 } } }, "else": { - "operation": "boost", - "score": 0.009329966269433498 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0010198509553447366 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.06779919564723969 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": 0.09079433232545853 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.065934918820858 + }, + "else": { + "operation": "boost", + "score": -0.015078632161021233 + } + } + } + } } - }, - "else": { - "operation": "boost", - "score": -0.02655532956123352 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09955935180187225 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.00623049633577466 + "score": 0.042078375816345215 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.013022792525589466 + }, + "else": { + "operation": "boost", + "score": -0.02157612331211567 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.019898656755685806 + }, + "else": { + "operation": "boost", + "score": -0.012868156656622887 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06569109112024307 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": -0.029215581715106964 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.05059683695435524 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 218.0, - "then": { - "operation": "boost", - "score": -0.2207106351852417 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 139.5, - "then": { - "operation": "boost", - "score": 0.12852397561073303 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.003606262383982539 - }, - "else": { - "operation": "boost", - "score": 0.10859335958957672 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09526936709880829 - } - } + "operation": "boost", + "score": -0.1311160922050476 }, "else": { "operation": "boost", - "score": -0.12504494190216064 + "score": -0.07521215081214905 } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.023251699283719063 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09730590134859085 }, "else": { + "operation": "boost", + "score": 0.0073224278166890144 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.004654848016798496 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.05154416710138321 + "score": 0.047054875642061234 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1211668998003006 - }, - "else": { - "operation": "boost", - "score": 0.11794767528772354 - } + "operation": "boost", + "score": 0.27792420983314514 }, "else": { "operation": "boost", - "score": 0.12263872474431992 + "score": -0.1145457774400711 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.09928228706121445 - }, - "else": { - "operation": "boost", - "score": 0.002574129495769739 - } + "operation": "boost", + "score": -0.009630979038774967 } - }, - "else": { - "operation": "boost", - "score": -0.04691549018025398 } + }, + "else": { + "operation": "boost", + "score": 0.0016469251131638885 } - }, - "else": { - "operation": "boost", - "score": 0.000416527152992785 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06718079745769501 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { "operation": "boost", - "score": -0.09067855030298233 + "score": -0.004443175625056028 }, "else": { "operation": "boost", - "score": 0.058742549270391464 + "score": -0.10941994935274124 } } } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.011722024530172348 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10390.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07160011678934097 + "score": 0.016671760007739067 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7369.0, + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7522.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8890.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9017.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.0907072052359581 - }, - "else": { - "operation": "boost", - "score": -0.023975253105163574 - } - }, - "else": { - "operation": "boost", - "score": 0.11597266048192978 - } - }, - "else": { - "operation": "boost", - "score": -0.03824267163872719 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.06855101883411407 - }, - "else": { - "operation": "boost", - "score": 0.09756802022457123 - } - }, - "else": { - "operation": "boost", - "score": -0.33932971954345703 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1301344782114029 - }, - "else": { - "operation": "boost", - "score": 0.11240744590759277 - } - } + "operation": "boost", + "score": -0.5629098415374756 }, "else": { "operation": "boost", - "score": -0.001508801244199276 + "score": -0.05742491036653519 } } } }, "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, + "then": { + "operation": "boost", + "score": -0.17615503072738647 + }, + "else": { + "operation": "boost", + "score": 0.04305749759078026 + } + }, + "else": { + "operation": "boost", + "score": 0.014226777479052544 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.26747438311576843 - }, - "else": { - "operation": "boost", - "score": 0.10714308172464371 - } + "operation": "boost", + "score": 0.0010349774966016412 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13648.0, - "then": { - "operation": "boost", - "score": -0.482233464717865 - }, - "else": { - "operation": "boost", - "score": 0.06901571154594421 - } + "operation": "boost", + "score": 0.13274972140789032 } }, "else": { "operation": "boost", - "score": 0.016281381249427795 + "score": -0.0653611347079277 } }, "else": { + "operation": "boost", + "score": 0.029519526287913322 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.12903989851474762 - }, - "else": { - "operation": "boost", - "score": -0.27079764008522034 - } - }, - "else": { - "operation": "boost", - "score": -0.014286782592535019 - } + "operation": "boost", + "score": -0.11054477840662003 }, "else": { "operation": "boost", - "score": 0.006387209054082632 + "score": -0.0322234183549881 } + }, + "else": { + "operation": "boost", + "score": -0.005059742834419012 } } } + }, + "else": { + "operation": "boost", + "score": 0.0015444798627868295 } } } - }, - "else": { - "operation": "boost", - "score": -0.0010125640546903014 } } }, { "operation": "if_greater", - "feature": "IsDeprecated", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.05403263121843338 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.12545153498649597 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, "then": { + "operation": "boost", + "score": 0.024989960715174675 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6221.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6404.5, "then": { "operation": "boost", - "score": -0.12344242632389069 + "score": 0.034028586000204086 }, "else": { "operation": "boost", - "score": 0.015036865137517452 + "score": 0.1152254268527031 } }, "else": { - "operation": "boost", - "score": 0.0015454816166311502 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "boost", + "score": -0.01725599355995655 + }, + "else": { + "operation": "boost", + "score": 0.009669322520494461 + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.05723072588443756 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02095988392829895 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.017209317535161972 + }, + "else": { + "operation": "boost", + "score": -0.1550694853067398 + } }, "else": { "operation": "boost", - "score": 0.0077834222465753555 + "score": 0.02209644578397274 } } }, "else": { - "operation": "boost", - "score": -0.0063942852430045605 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.014611350372433662 + "score": -0.0019442526390776038 }, "else": { - "operation": "boost", - "score": -0.00528799369931221 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.08772274106740952 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.008251311257481575 + }, + "else": { + "operation": "boost", + "score": -0.03696705773472786 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, + "then": { + "operation": "boost", + "score": 0.03930527716875076 + }, + "else": { + "operation": "boost", + "score": 0.013578586280345917 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11024702340364456 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { + "operation": "boost", + "score": 0.05247131362557411 + }, + "else": { + "operation": "boost", + "score": 0.01757732965052128 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.06722814589738846 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.007273177150636911 + }, + "else": { + "operation": "boost", + "score": 0.05883749574422836 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 698.5, + "then": { + "operation": "boost", + "score": 0.026152795180678368 + }, + "else": { + "operation": "boost", + "score": 0.001918526366353035 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0029630365315824747 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04455047473311424 + }, + "else": { + "operation": "boost", + "score": 0.021284958347678185 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005038122646510601 + } + }, + "else": { + "operation": "boost", + "score": -0.0420088917016983 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "boost", - "score": 0.10181237757205963 + "score": 0.13512983918190002 }, "else": { "operation": "boost", - "score": 0.03379111364483833 + "score": 0.2697189152240753 } }, "else": { "operation": "boost", - "score": -0.010456474497914314 + "score": 0.06214025244116783 } }, + "else": { + "operation": "boost", + "score": 0.05771949887275696 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.03167496994137764 + }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Destructor", - "Operator", "Constructor", + "Destructor", "Function", - "Namespace" + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" ], - "then": { - "operation": "boost", - "score": -0.023499606177210808 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.11566118896007538 - }, - "else": { - "operation": "boost", - "score": -0.04567265510559082 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31541.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07308954000473022 - }, - "else": { - "operation": "boost", - "score": -0.2380194365978241 - } + "operation": "boost", + "score": -0.004047596361488104 }, "else": { + "operation": "boost", + "score": 0.13052335381507874 + } + }, + "else": { + "operation": "boost", + "score": 0.0354391485452652 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.09699947386980057 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "boost", + "score": -0.31250908970832825 + }, + "else": { + "operation": "boost", + "score": 0.11598203331232071 + } }, "else": { "operation": "boost", - "score": 0.10771755874156952 + "score": 0.0618579164147377 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.006132943090051413 }, "else": { "operation": "boost", - "score": 0.0034265476278960705 + "score": 0.014211814850568771 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0076484279707074165 }, "else": { "operation": "boost", - "score": -0.03336598351597786 + "score": -0.024560170248150826 } } }, "else": { - "operation": "boost", - "score": 0.014329912140965462 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], + "operation": "boost", + "score": -0.019666172564029694 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.6181818246841431, "then": { "operation": "boost", - "score": 0.012154833413660526 + "score": 0.0704910159111023 }, "else": { - "operation": "boost", - "score": -0.03529350087046623 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5773809552192688, + "then": { + "operation": "boost", + "score": 0.11885593086481094 + }, + "else": { + "operation": "boost", + "score": 0.07879756391048431 + } } }, "else": { "operation": "boost", - "score": -0.1355845332145691 + "score": 0.022538647055625916 } }, "else": { + "operation": "boost", + "score": 0.012812839820981026 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.00045541964937001467 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.005154765211045742 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.9285714626312256, "then": { + "operation": "boost", + "score": -0.23981168866157532 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.014681723900139332 - }, - "else": { - "operation": "boost", - "score": 0.07568813860416412 - } - }, - "else": { - "operation": "boost", - "score": 0.006992613431066275 - } + "operation": "boost", + "score": 0.015557819977402687 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 622.0, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 717.0, - "then": { - "operation": "boost", - "score": -0.013808679766952991 - }, - "else": { - "operation": "boost", - "score": 0.15308640897274017 - } + "operation": "boost", + "score": -0.32429245114326477 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "boost", - "score": 0.10625141113996506 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.14565102756023407 - }, - "else": { - "operation": "boost", - "score": 0.01115089375525713 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.04147372767329216 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.04486977681517601 - }, - "else": { - "operation": "boost", - "score": 0.08622743934392929 - } - } - } - } + "operation": "boost", + "score": 0.08310264348983765 }, "else": { "operation": "boost", - "score": -0.01851538009941578 + "score": 0.14142197370529175 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.03427404910326004 + "score": 0.005568983033299446 }, "else": { "operation": "boost", - "score": -0.46303850412368774 + "score": 0.11513679474592209 } }, "else": { - "operation": "boost", - "score": -0.019519802182912827 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.032392941415309906 + }, + "else": { + "operation": "boost", + "score": -0.3373510539531708 + } } } } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9285714626312256, + "then": { + "operation": "boost", + "score": -0.07871101051568985 + }, + "else": { + "operation": "boost", + "score": 0.07670482993125916 + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": -0.039664167910814285 + "score": 0.06603100895881653 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.2493657022714615 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.035740867257118225 - }, - "else": { - "operation": "boost", - "score": -0.14222098886966705 - } - } + "operation": "boost", + "score": 0.013604857958853245 } } } }, "else": { + "operation": "boost", + "score": 0.009950281120836735 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10898133367300034 + }, + "else": { + "operation": "boost", + "score": 0.003916676621884108 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.03707956150174141 + "score": -0.17909114062786102 }, "else": { "operation": "boost", - "score": 0.0385587215423584 + "score": -0.02535202167928219 } }, "else": { + "operation": "boost", + "score": -0.03556276485323906 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.12113368511199951 + }, + "else": { + "operation": "boost", + "score": 0.0018581333570182323 + } + }, + "else": { + "operation": "boost", + "score": -0.06923390179872513 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55854.0, + "then": { + "operation": "boost", + "score": -0.11080110818147659 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.15519489347934723 + }, + "else": { + "operation": "boost", + "score": 0.0805797129869461 + } + }, + "else": { + "operation": "boost", + "score": -0.11167199164628983 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24258.5, + "then": { + "operation": "boost", + "score": -0.13757283985614777 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23639.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23935.5, "then": { "operation": "boost", - "score": -0.06514474004507065 + "score": 0.09385866671800613 }, "else": { "operation": "boost", - "score": -0.22044311463832855 + "score": 0.21428674459457397 } + }, + "else": { + "operation": "boost", + "score": -0.1212577298283577 } + }, + "else": { + "operation": "boost", + "score": -0.0436314195394516 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68401.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 276057.0, + "then": { + "operation": "boost", + "score": 0.017933281138539314 + }, + "else": { + "operation": "boost", + "score": -0.12510475516319275 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.0526309497654438 + }, + "else": { + "operation": "boost", + "score": -0.19164299964904785 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.02431873045861721 + }, + "else": { + "operation": "boost", + "score": -0.13137024641036987 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.026146072894334793 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.11588671058416367 + "score": 0.006437968462705612 }, "else": { "operation": "boost", - "score": 0.03214200586080551 + "score": 0.023784564808011055 } }, "else": { + "operation": "boost", + "score": -0.11211608350276947 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59716.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 61294.0, + "then": { + "operation": "boost", + "score": -0.05568827688694 + }, + "else": { + "operation": "boost", + "score": -0.4507174491882324 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54650.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.11046022176742554 + }, + "else": { + "operation": "boost", + "score": -0.10427838563919067 + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 46971.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": -0.07909993082284927 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46241.5, "then": { "operation": "boost", - "score": 0.11938705295324326 + "score": 0.08846301585435867 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10848581790924072 + "score": -0.0478060208261013 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 264.0, - "then": { - "operation": "boost", - "score": 0.1153070405125618 - }, - "else": { - "operation": "boost", - "score": -0.21028836071491241 - } - }, - "else": { - "operation": "boost", - "score": -0.26414334774017334 - } + "operation": "boost", + "score": 0.0034833326935768127 } } - }, - "else": { + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.01144713256508112 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01624974235892296 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.07650510966777802 + "score": 0.04374879226088524 }, "else": { "operation": "boost", - "score": -0.02085653692483902 + "score": -0.01148964837193489 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.05743873491883278 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 303.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 554.0, - "then": { - "operation": "boost", - "score": 0.023664403706789017 - }, - "else": { - "operation": "boost", - "score": 0.1317494660615921 - } + "operation": "boost", + "score": -0.01367179024964571 }, "else": { "operation": "boost", - "score": -0.09577084332704544 + "score": 0.0570329874753952 } - }, - "else": { - "operation": "boost", - "score": 0.16377362608909607 } } + }, + "else": { + "operation": "boost", + "score": -0.11094490438699722 } - }, - "else": { - "operation": "boost", - "score": -0.11398661136627197 } + }, + "else": { + "operation": "boost", + "score": -0.10572408884763718 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 222.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.09234851598739624 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 170.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.02732250839471817 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10057158768177032 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2114323228597641 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.12470043450593948 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.12286550551652908 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.007454232778400183 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.12711597979068756 - }, - "else": { - "operation": "boost", - "score": -0.13640296459197998 - } - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03429441526532173 - } - }, - "else": { - "operation": "boost", - "score": 0.008571074344217777 - } - }, - "else": { - "operation": "boost", - "score": -0.14697137475013733 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.018689323216676712 - }, - "else": { - "operation": "boost", - "score": -0.1013803705573082 - } - }, - "else": { - "operation": "boost", - "score": -0.015973152592778206 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.047615960240364075 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.20203034579753876 - }, - "else": { - "operation": "boost", - "score": -0.0372917503118515 - } - } - }, - "else": { "operation": "boost", - "score": -0.1681453287601471 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07623527944087982 - }, - "else": { - "operation": "boost", - "score": -0.03740733861923218 - } + "score": -0.10457402467727661 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.0, - "then": { - "operation": "boost", - "score": 0.1349276602268219 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.12544265389442444 - }, - "else": { - "operation": "boost", - "score": 0.0632224753499031 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.004625359084457159 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.18518200516700745 - }, - "else": { - "operation": "boost", - "score": -0.12049750983715057 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.04098328948020935 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.11920485645532608 - }, - "else": { - "operation": "boost", - "score": -0.12215574085712433 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.14974242448806763 - }, - "else": { - "operation": "boost", - "score": 0.20131881535053253 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11024614423513412 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09516153484582901 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.14483153820037842 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.044398821890354156 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.12328046560287476 - }, - "else": { - "operation": "boost", - "score": 0.08827493339776993 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05401628464460373 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01788526400923729 - } - } - } - } + "operation": "boost", + "score": 0.22840243577957153 } }, "else": { "operation": "boost", - "score": 0.003760918276384473 + "score": 0.0004634713986888528 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20233.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.18318983912467957 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 11467.0, "then": { "operation": "boost", - "score": -0.017374740913510323 + "score": -0.14804381132125854 }, "else": { "operation": "boost", - "score": 0.12631113827228546 + "score": -0.09868740290403366 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263421.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.015151089057326317 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.03039623610675335 - }, - "else": { - "operation": "boost", - "score": -0.023875288665294647 - } - } + "operation": "boost", + "score": 0.07660937309265137 }, "else": { "operation": "boost", - "score": -0.031018264591693878 + "score": 0.13181203603744507 } + }, + "else": { + "operation": "boost", + "score": -0.17988315224647522 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24318.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.10191267728805542 - }, - "else": { - "operation": "boost", - "score": -0.18620739877223969 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.12245729565620422 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, - "then": { - "operation": "boost", - "score": 0.09287429600954056 - }, - "else": { - "operation": "boost", - "score": -0.15366512537002563 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.0612543523311615 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14422.0, - "then": { - "operation": "boost", - "score": 0.08320096135139465 - }, - "else": { - "operation": "boost", - "score": -0.11523876339197159 - } - } - } - } + "operation": "boost", + "score": -0.10824573785066605 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 960.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1315.0, - "then": { - "operation": "boost", - "score": 0.0002386351698078215 - }, - "else": { - "operation": "boost", - "score": 0.10509020835161209 - } + "operation": "boost", + "score": 0.020679809153079987 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15201710164546967 - }, - "else": { - "operation": "boost", - "score": -0.19601069390773773 - } - }, - "else": { - "operation": "boost", - "score": 0.11184865236282349 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.07846973091363907 - }, - "else": { - "operation": "boost", - "score": 0.03853083401918411 - } - } - }, - "else": { - "operation": "boost", - "score": -0.017162611708045006 - } + "operation": "boost", + "score": -0.0010465983068570495 } } } + }, + "else": { + "operation": "boost", + "score": -0.015250122174620628 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 179.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.004480951465666294 + }, + "else": { + "operation": "boost", + "score": 0.01675611175596714 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.4228764474391937 + }, + "else": { + "operation": "boost", + "score": -0.014442251063883305 } } }, "else": { - "operation": "boost", - "score": -0.003150621661916375 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0009069134830497205 + }, + "else": { + "operation": "boost", + "score": -0.004314564634114504 + } + }, + "else": { + "operation": "boost", + "score": 0.14852163195610046 + } } } } @@ -148164,5862 +143251,6155 @@ }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "boost", + "score": -0.11775253713130951 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.037225715816020966 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 5256.0, "then": { + "operation": "boost", + "score": 0.08173222094774246 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05902184545993805 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.11538258194923401 + "score": -0.020992334932088852 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 84.5, + "threshold": 277.5, "then": { - "operation": "boost", - "score": 0.04333626106381416 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.0, + "feature": "FractionNameInContext", + "threshold": 0.08116883039474487, "then": { "operation": "boost", - "score": 0.12128722667694092 + "score": 0.11310575902462006 }, "else": { + "operation": "boost", + "score": 0.032844554632902145 + } + }, + "else": { + "operation": "boost", + "score": -0.21818727254867554 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": 0.03376396745443344 + }, + "else": { + "operation": "boost", + "score": 0.009120991453528404 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "boost", - "score": -0.23131859302520752 + "score": -0.041494280099868774 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13173462450504303 + "score": 0.11584204435348511 }, "else": { "operation": "boost", - "score": -0.13457639515399933 + "score": 0.10931340605020523 } } + }, + "else": { + "operation": "boost", + "score": 0.03788582235574722 } + }, + "else": { + "operation": "boost", + "score": -0.06343138962984085 } } } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 94.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.041396696120500565 + "score": 0.12762829661369324 }, "else": { "operation": "boost", - "score": 0.11310163140296936 + "score": 0.042854249477386475 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6653.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6934.0, - "then": { - "operation": "boost", - "score": 0.047953490167856216 - }, - "else": { - "operation": "boost", - "score": 0.1264542192220688 - } + "operation": "boost", + "score": 0.1294293850660324 }, "else": { "operation": "boost", - "score": -0.009049820713698864 + "score": 0.02027585543692112 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.09731343388557434 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.5, + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 128.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3016.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10843657702207565 - }, - "else": { - "operation": "boost", - "score": 0.06855525076389313 - } - }, - "else": { - "operation": "boost", - "score": -0.06452896445989609 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 360.0, - "then": { - "operation": "boost", - "score": 0.12319473177194595 - }, - "else": { - "operation": "boost", - "score": -0.06789899617433548 - } - }, - "else": { - "operation": "boost", - "score": 0.08323357254266739 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.09317993372678757 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 126.0, - "then": { - "operation": "boost", - "score": 0.11126367002725601 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.08795364201068878 - }, - "else": { - "operation": "boost", - "score": 0.1180589348077774 - } - }, - "else": { - "operation": "boost", - "score": 0.045995794236660004 - } - } - }, - "else": { - "operation": "boost", - "score": 0.118137426674366 - } - }, - "else": { - "operation": "boost", - "score": 0.09114079177379608 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.11189619451761246 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10870536416769028 - }, - "else": { - "operation": "boost", - "score": 0.09749031811952591 - } - } - } - } - } + "operation": "boost", + "score": -0.5345289707183838 }, "else": { "operation": "boost", - "score": 0.01220737025141716 + "score": 0.003155966755002737 } } } - }, - "else": { - "operation": "boost", - "score": 0.024797143414616585 } - }, - "else": { - "operation": "boost", - "score": 0.027731457725167274 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.0006151639390736818 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.05578085407614708 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4673.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4906.0, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.029450125992298126 + "score": 0.01290257927030325 + }, + "else": { + "operation": "boost", + "score": -0.1378934234380722 + } + }, + "else": { + "operation": "boost", + "score": 0.021213239058852196 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": 0.04462238773703575 + }, + "else": { + "operation": "boost", + "score": 0.01843268610537052 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4889.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.04625699669122696 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, "then": { "operation": "boost", - "score": 0.12576310336589813 + "score": -0.09688608348369598 }, "else": { "operation": "boost", - "score": 0.11044172197580338 + "score": -0.0007188949966803193 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0784851536154747 + }, + "else": { + "operation": "boost", + "score": -0.012766079977154732 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.0221351757645607 }, "else": { "operation": "boost", - "score": 0.07971300184726715 + "score": -0.16440638899803162 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.012774044647812843 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "boost", + "score": -0.025148194283246994 + }, + "else": { + "operation": "boost", + "score": 0.04806533828377724 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 412.0, + "threshold": 79.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 523.5, + "threshold": 85.5, + "then": { + "operation": "boost", + "score": 0.054996557533741 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.13809196650981903 + }, + "else": { + "operation": "boost", + "score": 0.08244926482439041 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1121.5, - "then": { - "operation": "boost", - "score": 0.020958280190825462 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 749.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 807.5, - "then": { - "operation": "boost", - "score": 0.13657540082931519 - }, - "else": { - "operation": "boost", - "score": 0.11611510068178177 - } - }, - "else": { - "operation": "boost", - "score": 0.04927382245659828 - } - }, - "else": { - "operation": "boost", - "score": -0.25848814845085144 - } - } + "operation": "boost", + "score": -0.011285699903964996 }, "else": { "operation": "boost", - "score": 0.01927989348769188 + "score": -0.9101483225822449 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 521.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.13415813446044922 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { - "operation": "boost", - "score": 0.10128585994243622 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.04400142282247543 + }, + "else": { + "operation": "boost", + "score": -0.5440248847007751 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11478004604578018 - }, - "else": { - "operation": "boost", - "score": 0.11461571604013443 - } + "operation": "boost", + "score": 0.03160075098276138 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.05603950098156929 + "score": 0.05904840677976608 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.014572307467460632 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.11550191044807434 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011953279376029968 + }, + "else": { + "operation": "boost", + "score": 0.1080087423324585 + } }, "else": { "operation": "boost", - "score": 0.06090166047215462 + "score": 0.15086637437343597 } + }, + "else": { + "operation": "boost", + "score": 0.041477449238300323 } } } } + }, + "else": { + "operation": "boost", + "score": 0.010136722587049007 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.03964176028966904 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { + "operation": "boost", + "score": -0.01855795830488205 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.09504850953817368 + "score": 0.030628327280282974 }, "else": { "operation": "boost", - "score": 0.12858526408672333 + "score": 0.006288611795753241 } - }, - "else": { - "operation": "boost", - "score": -0.030843539163470268 } }, "else": { + "operation": "boost", + "score": 0.08538952469825745 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75180.5, + "then": { + "operation": "boost", + "score": -1.329437494277954 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 214.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219.0, - "then": { - "operation": "boost", - "score": 0.06920699030160904 - }, - "else": { - "operation": "boost", - "score": 0.14864863455295563 - } - }, - "else": { - "operation": "boost", - "score": -0.0069372509606182575 - } - }, - "else": { - "operation": "boost", - "score": 0.10018628090620041 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.016980228945612907 - }, - "else": { - "operation": "boost", - "score": 0.11317528784275055 - } - } + "operation": "boost", + "score": -0.006577826105058193 }, "else": { "operation": "boost", - "score": 0.021717682480812073 + "score": 0.03847435116767883 } + }, + "else": { + "operation": "boost", + "score": -0.006900365464389324 } - }, - "else": { - "operation": "boost", - "score": 0.0025757020339369774 } } + }, + "else": { + "operation": "boost", + "score": -0.01809687912464142 } } - }, - "else": { - "operation": "boost", - "score": 0.004455015063285828 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "NumNameInContext", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.001415493432432413 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel" + "Constructor", + "Macro" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.0719507709145546 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10905271023511887 + "score": 0.07382015138864517 }, "else": { "operation": "boost", - "score": 0.07007820159196854 + "score": 0.016996214166283607 } + }, + "else": { + "operation": "boost", + "score": -0.17007794976234436 } }, "else": { "operation": "boost", - "score": 0.033059488981962204 + "score": 0.0059258961118757725 } - }, - "else": { - "operation": "boost", - "score": -0.07833348214626312 } }, "else": { - "operation": "boost", - "score": 0.006834635976701975 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.14140349626541138 + }, + "else": { + "operation": "boost", + "score": 0.021279916167259216 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, "then": { "operation": "boost", - "score": 0.06512820720672607 + "score": 0.003887983039021492 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.10988131910562515 - }, - "else": { - "operation": "boost", - "score": -0.14129507541656494 - } + "operation": "boost", + "score": 0.0981799066066742 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": -0.009227133356034756 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.0, - "then": { - "operation": "boost", - "score": 0.11952745914459229 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.043844521045684814 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": 0.12872569262981415 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.13870282471179962 - }, - "else": { - "operation": "boost", - "score": 0.08691719174385071 - } - } - } - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", "CCC_Expression", - "CCC_Type" + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": 0.07787485420703888 - }, - "else": { - "operation": "boost", - "score": 0.10805825144052505 - } - }, - "else": { - "operation": "boost", - "score": 0.03768331930041313 - } + "operation": "boost", + "score": 0.04746146872639656 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.13888642191886902 - }, - "else": { - "operation": "boost", - "score": 0.09368650615215302 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": -0.10805223137140274 - }, - "else": { - "operation": "boost", - "score": 0.10393726825714111 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06821141391992569 - } + "operation": "boost", + "score": 0.08308343589305878 } }, "else": { "operation": "boost", - "score": 0.07716289162635803 + "score": -0.10774274170398712 } + }, + "else": { + "operation": "boost", + "score": -0.10070914030075073 } - }, - "else": { - "operation": "boost", - "score": 0.08393609523773193 } }, "else": { "operation": "boost", - "score": -0.024879157543182373 + "score": 0.0015154278371483088 } }, "else": { "operation": "boost", - "score": 0.030475087463855743 + "score": -0.020175283774733543 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.013924548402428627 - }, - "else": { - "operation": "boost", - "score": 0.021725911647081375 - } } - }, - "else": { - "operation": "boost", - "score": 0.002048746682703495 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.13179101049900055 }, "else": { - "operation": "boost", - "score": -0.05811729282140732 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07067995518445969 + "score": -0.055010583251714706 }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.10496051609516144 + "score": 0.00952492468059063 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Namespace", + "Operator", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.023685602471232414 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.006292193196713924 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2719360888004303 + "score": -0.007855425588786602 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.18166087567806244 + "score": 0.10095316916704178 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07421503961086273 - }, - "else": { - "operation": "boost", - "score": 0.10109574347734451 - } + "operation": "boost", + "score": -0.059904795140028 } } }, "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.07182075083255768 + }, + "else": { + "operation": "boost", + "score": -0.031004715710878372 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "boost", - "score": 0.059680432081222534 + "score": -0.04783545807003975 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.09793902933597565 + }, + "else": { + "operation": "boost", + "score": 0.07456804066896439 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "boost", + "score": 0.0029835456516593695 }, "else": { "operation": "boost", - "score": -0.20699025690555573 + "score": -0.009214445017278194 } } - }, - "else": { - "operation": "boost", - "score": 0.00020567956380546093 } }, "else": { + "operation": "boost", + "score": -0.027374254539608955 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "boost", - "score": 0.08187226206064224 + "score": -0.030675522983074188 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04336726665496826 + "score": -0.09227194637060165 }, "else": { - "operation": "boost", - "score": 0.006036481354385614 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "boost", + "score": 0.08134343475103378 + }, + "else": { + "operation": "boost", + "score": -0.3069593906402588 + } } } }, "else": { - "operation": "boost", - "score": -0.02915671095252037 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.007943084463477135 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03504323214292526 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.02437194623053074 + "score": 0.07364681363105774 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { + "operation": "boost", + "score": 0.08577319234609604 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.007171624340116978 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.037862733006477356 - }, - "else": { - "operation": "boost", - "score": 0.061730463057756424 - } - } + "operation": "boost", + "score": 0.007588895969092846 }, "else": { "operation": "boost", - "score": -0.01999022625386715 + "score": -0.22204874455928802 } - }, - "else": { - "operation": "boost", - "score": -0.0013855349970981479 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.08196958899497986 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": -0.4128842055797577 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.0188948642462492 + "score": -0.03565693274140358 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.01678524911403656 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.03035913035273552 - }, - "else": { - "operation": "boost", - "score": 0.07455472648143768 - } - }, - "else": { - "operation": "boost", - "score": 0.047558125108480453 - } - } + "operation": "boost", + "score": -0.14091888070106506 } - }, - "else": { - "operation": "boost", - "score": 0.030532974749803543 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07188111543655396 }, "else": { "operation": "boost", - "score": 0.0070784566923975945 + "score": -0.027953004464507103 } - }, - "else": { - "operation": "boost", - "score": 0.01534357201308012 } }, "else": { "operation": "boost", - "score": 0.00035164266591891646 + "score": 0.016651315614581108 } } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.11413540691137314 + }, + "else": { + "operation": "boost", + "score": -0.07822980731725693 + } + }, + "else": { + "operation": "boost", + "score": -0.011553792282938957 + } } } } } - }, - "else": { - "operation": "boost", - "score": -0.07311305403709412 } }, "else": { "operation": "boost", - "score": -0.006456674076616764 + "score": 0.0014509694883599877 } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 1074118.5, "then": { - "operation": "boost", - "score": 0.004104897379875183 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07095885276794434 + }, + "else": { + "operation": "boost", + "score": 0.041934918612241745 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], + "then": { + "operation": "boost", + "score": -0.03664669021964073 + }, + "else": { + "operation": "boost", + "score": -0.18453891575336456 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9948.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19643.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.5, + "then": { + "operation": "boost", + "score": 0.039444323629140854 + }, + "else": { + "operation": "boost", + "score": 0.11250777542591095 + } + }, + "else": { + "operation": "boost", + "score": 0.02276376448571682 + } + }, + "else": { + "operation": "boost", + "score": -0.1257839798927307 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": 0.024667711928486824 - }, - "else": { - "operation": "boost", - "score": 0.08088917285203934 - } + "operation": "boost", + "score": 0.028276793658733368 }, "else": { "operation": "boost", - "score": -0.452093243598938 + "score": -0.08424253016710281 } - }, - "else": { - "operation": "boost", - "score": -0.01232527568936348 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18783.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10511960834264755 - }, - "else": { - "operation": "boost", - "score": 0.06300561130046844 - } + "operation": "boost", + "score": -0.2649160623550415 }, "else": { "operation": "boost", - "score": 0.10833635181188583 + "score": 0.010196666233241558 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06761809438467026 - }, - "else": { - "operation": "boost", - "score": 0.10168880224227905 - } - }, - "else": { - "operation": "boost", - "score": 0.05351872742176056 - } + "operation": "boost", + "score": -0.043716445565223694 } } }, "else": { + "operation": "boost", + "score": -0.005597065202891827 + } + }, + "else": { + "operation": "boost", + "score": 0.007345923222601414 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 250.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.044629599899053574 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "boost", - "score": -0.009069147519767284 - }, - "else": { - "operation": "boost", - "score": 0.13379478454589844 - } - } - }, - "else": { + "operation": "boost", + "score": -0.0040281591936945915 + }, + "else": { + "operation": "boost", + "score": 0.015523781068623066 + } + }, + "else": { + "operation": "boost", + "score": -0.01028823759406805 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0011410254519432783 + }, + "else": { + "operation": "boost", + "score": -0.003968219272792339 + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11742560565471649 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "boost", + "score": 0.012250352650880814 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "boost", - "score": 0.02741134725511074 + "score": -0.2695453464984894 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.13460467755794525 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1304931491613388 - }, - "else": { - "operation": "boost", - "score": -0.010000121779739857 - } - } + "operation": "boost", + "score": 0.09418966621160507 }, "else": { "operation": "boost", - "score": 0.0885487049818039 + "score": 0.07460319250822067 } }, "else": { "operation": "boost", - "score": 0.05538333207368851 + "score": 0.0313291922211647 } } + }, + "else": { + "operation": "boost", + "score": 0.10339941829442978 } }, "else": { "operation": "boost", - "score": 0.010602716356515884 + "score": 0.03208881989121437 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Symbol" + "ClassScope" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.01128912903368473 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { + "operation": "boost", + "score": -0.05463426187634468 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.05417567864060402 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": 0.09154658764600754 + "score": 0.1482083648443222 }, "else": { "operation": "boost", - "score": -0.23107755184173584 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06763017177581787 - }, - "else": { - "operation": "boost", - "score": 0.0962611734867096 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11239052563905716 - }, - "else": { - "operation": "boost", - "score": 0.10782850533723831 - } - }, - "else": { - "operation": "boost", - "score": -0.1765878051519394 - } + "score": 0.06500061601400375 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.059360578656196594 - }, - "else": { - "operation": "boost", - "score": 0.10954464226961136 - } - }, - "else": { - "operation": "boost", - "score": 0.04270866513252258 - } + "operation": "boost", + "score": 0.03370105102658272 } + }, + "else": { + "operation": "boost", + "score": -0.015945937484502792 } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.09806733578443527 + }, + "else": { + "operation": "boost", + "score": 0.04011359065771103 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 277.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13942307233810425, + "then": { + "operation": "boost", + "score": 0.12053646892309189 + }, + "else": { + "operation": "boost", + "score": 0.04870747774839401 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.015755832195281982 }, "else": { "operation": "boost", - "score": -0.00605006655678153 + "score": -0.14523102343082428 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1330050379037857 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0383763425052166 }, "else": { "operation": "boost", - "score": 0.03631755709648132 + "score": 0.01899629272520542 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 359.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { + "operation": "boost", + "score": -1.7258145817322657e-05 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.08172906190156937 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.020256130024790764 + }, + "else": { + "operation": "boost", + "score": 0.10899682343006134 + } }, "else": { "operation": "boost", - "score": -1.9493842124938965 + "score": 0.032370708882808685 } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.05402519926428795 + }, + "else": { + "operation": "boost", + "score": 0.01843707263469696 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.002376747550442815 }, "else": { "operation": "boost", - "score": -0.1264275461435318 + "score": -0.1406310796737671 } + }, + "else": { + "operation": "boost", + "score": -0.034770745784044266 } }, "else": { - "operation": "boost", - "score": 0.006944065447896719 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05500654876232147 + }, + "else": { + "operation": "boost", + "score": 0.1242145523428917 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0014736552257090807 + }, + "else": { + "operation": "boost", + "score": 0.024701440706849098 + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.005826101638376713 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47293.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Keyword", + "Macro", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.005072144791483879 + }, + "else": { + "operation": "boost", + "score": -0.2447758913040161 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.02105584554374218 + }, + "else": { + "operation": "boost", + "score": -0.009111599065363407 + } + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205637.0, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.059355732053518295 + "score": 0.034821417182683945 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "operation": "boost", + "score": 0.13678152859210968 + }, + "else": { + "operation": "boost", + "score": 0.002178802154958248 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.01689852774143219 - }, - "else": { - "operation": "boost", - "score": 0.027164394035935402 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.024779390543699265 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.030236467719078064 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.2818364202976227 - }, - "else": { - "operation": "boost", - "score": 0.08528729528188705 - } - }, - "else": { - "operation": "boost", - "score": 0.09760476648807526 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1028478592634201 - }, - "else": { - "operation": "boost", - "score": 0.1099315732717514 - } - }, - "else": { - "operation": "boost", - "score": 0.02147522196173668 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.749660849571228 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06933202594518661 - }, - "else": { - "operation": "boost", - "score": 0.09912935644388199 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.032101623713970184 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.11418171972036362 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.03706282749772072 - }, - "else": { - "operation": "boost", - "score": 0.06349701434373856 - } - }, - "else": { - "operation": "boost", - "score": 0.10684318095445633 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.08869510143995285 + "score": 0.07105457037687302 }, "else": { "operation": "boost", - "score": 0.008233723230659962 + "score": 0.1431606262922287 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.038949307054281235 + "score": -2.3144984245300293 }, "else": { "operation": "boost", - "score": -0.07830388844013214 + "score": 0.10053116083145142 } } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11923179775476456 + }, + "else": { + "operation": "boost", + "score": 0.038303520530462265 + } } + }, + "else": { + "operation": "boost", + "score": 0.018910054117441177 } }, "else": { "operation": "boost", - "score": -0.12225186079740524 + "score": -0.20365940034389496 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.14649087190628052 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": -0.1664157211780548 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07019782811403275 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1043812483549118 - }, - "else": { - "operation": "boost", - "score": 0.029594380408525467 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07126330584287643 + "score": 0.05371599271893501 }, "else": { "operation": "boost", - "score": -0.6476038694381714 + "score": 0.01119908131659031 } + }, + "else": { + "operation": "boost", + "score": 0.10056024044752121 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], + "then": { + "operation": "boost", + "score": 0.012237191200256348 + }, + "else": { + "operation": "boost", + "score": -0.09998320043087006 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.01271007303148508 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.1334635466337204 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.0750964805483818 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07854059338569641 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.12291338294744492 - }, - "else": { - "operation": "boost", - "score": -0.11680411547422409 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, - "then": { - "operation": "boost", - "score": -0.6387305855751038 - }, - "else": { - "operation": "boost", - "score": 0.07589557021856308 - } - } - } - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Function" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.017092343419790268 - }, - "else": { - "operation": "boost", - "score": 0.11962801963090897 - } + "operation": "boost", + "score": 0.2016856074333191 }, "else": { "operation": "boost", - "score": 0.15128906071186066 + "score": 0.08043230324983597 } + }, + "else": { + "operation": "boost", + "score": 0.02641754038631916 } }, "else": { + "operation": "boost", + "score": -0.08145684748888016 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.07928015291690826 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.025420568883419037 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.12221740186214447 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.08016661554574966 - }, - "else": { - "operation": "boost", - "score": 0.10499978065490723 - } - }, - "else": { - "operation": "boost", - "score": -0.23234741389751434 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.027509959414601326 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.1631462424993515 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08388447016477585 - }, - "else": { - "operation": "boost", - "score": -1.3626515865325928 - } - } - } - } + "operation": "boost", + "score": 0.06969595700502396 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4017857313156128, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.014308429323136806 - }, - "else": { - "operation": "boost", - "score": -0.2953689992427826 - } + "operation": "boost", + "score": 0.14748407900333405 }, "else": { "operation": "boost", - "score": 0.0546102300286293 + "score": 0.1405186504125595 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.06325513869524002 }, "else": { "operation": "boost", - "score": -0.01087980903685093 + "score": -0.09119199961423874 } } } }, "else": { - "operation": "boost", - "score": -0.07501518726348877 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.032075949013233185 - }, - "else": { - "operation": "boost", - "score": 0.0932050570845604 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.04296813905239105 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.27237066626548767 + }, + "else": { + "operation": "boost", + "score": 0.24915441870689392 + } + }, + "else": { + "operation": "boost", + "score": 0.03508313372731209 + } }, "else": { "operation": "boost", - "score": 0.06402237713336945 + "score": 0.006034792400896549 } } }, "else": { - "operation": "boost", - "score": -0.01705847680568695 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": -0.2648533284664154 + "score": 0.030998272821307182 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05556899681687355 - }, - "else": { - "operation": "boost", - "score": 0.0967201516032219 - } + "operation": "boost", + "score": -0.006015770137310028 } - }, - "else": { - "operation": "boost", - "score": 0.022186893969774246 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "boost", + "score": 0.009448036551475525 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176731.0, - "then": { - "operation": "boost", - "score": -0.14977924525737762 - }, + "operation": "boost", + "score": 0.0016730029601603746 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.13922296464443207 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.012034536339342594 + }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1224.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 167779.0, + "threshold": 1365.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.13552266359329224 - }, - "else": { - "operation": "boost", - "score": 0.0974324569106102 - } - }, - "else": { - "operation": "boost", - "score": 0.06104596331715584 - } + "operation": "boost", + "score": 0.028081992641091347 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62405.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66036.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03703747317194939 - }, - "else": { - "operation": "boost", - "score": -0.041449300944805145 - } - }, - "else": { - "operation": "boost", - "score": -0.2528097927570343 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13496030867099762 - }, - "else": { - "operation": "boost", - "score": 0.10347405076026917 - } - }, - "else": { - "operation": "boost", - "score": 0.05325540900230408 - } - }, - "else": { - "operation": "boost", - "score": 0.025847727432847023 - } - } + "operation": "boost", + "score": 0.07202711701393127 } }, "else": { - "operation": "boost", - "score": 0.005708937533199787 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.011822287924587727 + }, + "else": { + "operation": "boost", + "score": -0.012162487022578716 + } } } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11586011946201324 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.1875970959663391 - }, - "else": { - "operation": "boost", - "score": 0.15103015303611755 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0640413910150528 - }, - "else": { - "operation": "boost", - "score": 0.13427451252937317 - } - }, - "else": { - "operation": "boost", - "score": 0.19555127620697021 - } - } - } + "operation": "boost", + "score": -0.06130187213420868 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.5464823246002197 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "boost", - "score": 0.09920673072338104 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.19098018109798431 - }, - "else": { - "operation": "boost", - "score": 0.30967360734939575 - } - } - } + "operation": "boost", + "score": -0.011970192193984985 } }, "else": { "operation": "boost", - "score": 0.021995363757014275 + "score": -0.002703191014006734 } } - }, - "else": { - "operation": "boost", - "score": 0.004171603824943304 } }, "else": { - "operation": "boost", - "score": -0.0009391837520524859 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11538.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.29301878809928894 - }, - "else": { - "operation": "boost", - "score": 0.01062485110014677 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.20177848637104034 - }, - "else": { - "operation": "boost", - "score": 0.06916607916355133 - } - }, - "else": { "operation": "boost", - "score": 0.10540606826543808 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": 0.12253524363040924 - }, - "else": { - "operation": "boost", - "score": -0.20096111297607422 - } + "score": 0.10175154358148575 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.07299237698316574 - }, - "else": { - "operation": "boost", - "score": -0.19879376888275146 - } + "operation": "boost", + "score": -0.03977631777524948 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0011512425262480974 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.041815903037786484 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220295.0, + "threshold": 22379.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.10344342887401581 - }, - "else": { - "operation": "boost", - "score": 0.011081867851316929 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 207505.0, + "threshold": 54332.5, "then": { "operation": "boost", - "score": 0.10651259869337082 + "score": -0.027674561366438866 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 41256.0, "then": { "operation": "boost", - "score": 0.11625943332910538 + "score": 0.12301843613386154 }, "else": { "operation": "boost", - "score": 0.05707468464970589 + "score": 0.03142766281962395 } } }, "else": { "operation": "boost", - "score": 0.07410643994808197 + "score": -0.1014116033911705 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.11785241216421127 + "score": 0.1744450181722641 }, "else": { "operation": "boost", - "score": -0.11537104099988937 + "score": 0.11750603467226028 } }, "else": { - "operation": "boost", - "score": -0.2925950884819031 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.07761536538600922 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.16251713037490845 + }, + "else": { + "operation": "boost", + "score": -0.13188661634922028 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.05666393041610718 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.17318879067897797 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 312254.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.11732577532529831 - }, - "else": { - "operation": "boost", - "score": 0.10775347799062729 - } + "operation": "boost", + "score": 0.05337650701403618 }, "else": { "operation": "boost", - "score": -0.1082763597369194 + "score": 0.006990643218159676 } } - }, - "else": { - "operation": "boost", - "score": 0.043948907405138016 } + }, + "else": { + "operation": "boost", + "score": 0.002409586915746331 } }, "else": { "operation": "boost", - "score": -0.10493304580450058 + "score": -0.054273754358291626 } - } - }, - "else": { - "operation": "boost", - "score": -0.0033793780021369457 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 13650.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 200884.5, - "then": { - "operation": "boost", - "score": 0.0791824534535408 - }, - "else": { - "operation": "boost", - "score": -0.48829278349876404 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "threshold": 21807.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21856.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.05856413021683693 + "score": 0.011132213287055492 }, "else": { "operation": "boost", - "score": 0.09228751063346863 + "score": -0.05253211781382561 } }, "else": { "operation": "boost", - "score": 0.05464540421962738 + "score": 0.14911870658397675 } }, "else": { + "operation": "boost", + "score": -0.07059618830680847 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14800.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14962.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.10204149782657623 - }, - "else": { - "operation": "boost", - "score": 0.08654134720563889 - } + "operation": "boost", + "score": 0.020085761323571205 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.015415901318192482 + "score": 0.19405195116996765 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.08760230988264084 - }, - "else": { - "operation": "boost", - "score": 0.05272065848112106 - } + "operation": "boost", + "score": 0.09034867584705353 } } + }, + "else": { + "operation": "boost", + "score": -0.08303817361593246 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 13630.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.04530695825815201 + "score": 0.04106186702847481 }, "else": { + "operation": "boost", + "score": 0.3506263196468353 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12103.0, "then": { "operation": "boost", - "score": 0.0038949844893068075 + "score": 0.05283303186297417 }, "else": { "operation": "boost", - "score": 0.05874117836356163 + "score": 0.10146581381559372 } + }, + "else": { + "operation": "boost", + "score": 0.06011873483657837 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10512.0, + "then": { + "operation": "boost", + "score": -0.0602964386343956 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.034582991153001785 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": -0.17842306196689606 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "operation": "boost", + "score": -0.00570911169052124 + }, + "else": { + "operation": "boost", + "score": 0.007153610698878765 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.1068769097328186 + "score": 0.008111448027193546 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.22142647206783295 + }, + "else": { + "operation": "boost", + "score": -0.02547421306371689 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.017045272514224052 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.012994172982871532 + }, + "else": { + "operation": "boost", + "score": -0.08300478011369705 + } }, "else": { - "operation": "boost", - "score": 0.06828994303941727 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.13567525148391724 + }, + "else": { + "operation": "boost", + "score": -0.23303759098052979 + } + }, + "else": { + "operation": "boost", + "score": 0.03229350224137306 + } } }, "else": { - "operation": "boost", - "score": 0.11766556650400162 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0016473681898787618 + }, + "else": { + "operation": "boost", + "score": 0.1434841752052307 + } } + }, + "else": { + "operation": "boost", + "score": -0.005237276665866375 } - }, - "else": { - "operation": "boost", - "score": 0.01678081788122654 } } } - }, - "else": { - "operation": "boost", - "score": -0.14514237642288208 } - }, - "else": { + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" + "Constructor", + "Function", + "Keyword", + "Macro", + "Type", + "Variable" ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03836056962609291 + }, + "else": { + "operation": "boost", + "score": 0.014272834174335003 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.04880952462553978, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.06268864125013351 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 62.5, "then": { "operation": "boost", - "score": 0.06563864648342133 + "score": 0.03930184990167618 }, "else": { "operation": "boost", - "score": 0.1253790408372879 + "score": 0.10702459514141083 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05766996741294861 }, "else": { "operation": "boost", - "score": 0.07131265103816986 + "score": -0.05072987452149391 } - }, - "else": { - "operation": "boost", - "score": 0.0884166732430458 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06587288528680801 - }, - "else": { - "operation": "boost", - "score": -0.008281872607767582 - } + "operation": "boost", + "score": -0.02725161798298359 } }, "else": { "operation": "boost", - "score": 0.049539219588041306 + "score": -0.06916818767786026 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0021787865553051233 }, "else": { "operation": "boost", - "score": -0.1313246339559555 + "score": -0.029323119670152664 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": -0.08650375157594681 + "score": 0.055792130529880524 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111169.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.06816107779741287 - }, - "else": { - "operation": "boost", - "score": 0.11169620603322983 - } + "operation": "boost", + "score": 0.013259323313832283 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13395613431930542 + "score": -0.07555222511291504 }, "else": { - "operation": "boost", - "score": 0.060563825070858 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.0637378916144371 + }, + "else": { + "operation": "boost", + "score": 0.006064692512154579 + } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "GlobalScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" ], + "then": { + "operation": "boost", + "score": -0.010446294210851192 + }, + "else": { + "operation": "boost", + "score": -0.044963061809539795 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.006503457203507423 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47903.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 49850.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.4901137053966522 - }, - "else": { - "operation": "boost", - "score": 0.018686166033148766 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 71306.0, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28548.0, - "then": { - "operation": "boost", - "score": -0.07199972122907639 - }, - "else": { - "operation": "boost", - "score": -0.01312785129994154 - } - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", + "Keyword", + "Macro", + "Namespace", "Operator", - "Constructor", - "Function", - "Type" + "Type", + "Unknown" ], "then": { - "operation": "boost", - "score": 0.010965506546199322 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 276057.0, + "then": { + "operation": "boost", + "score": 0.01802639104425907 + }, + "else": { + "operation": "boost", + "score": -0.13372902572155 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.05365116521716118 + }, + "else": { + "operation": "boost", + "score": 0.023529931902885437 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62324.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.07102817296981812 + "score": -0.10991929471492767 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.015647156164050102 + "score": 0.10526464134454727 }, "else": { "operation": "boost", - "score": -0.08926289528608322 + "score": -0.13337238132953644 } } } + }, + "else": { + "operation": "boost", + "score": -0.0030754199251532555 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 627.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 723.0, - "then": { - "operation": "boost", - "score": 0.03384258598089218 - }, - "else": { - "operation": "boost", - "score": 0.1423717439174652 - } + "operation": "boost", + "score": -0.029390716925263405 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 59716.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 61387.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.0062081776559352875 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.08485142886638641 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.012141813524067402 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.025639265775680542 - }, - "else": { - "operation": "boost", - "score": 0.14450904726982117 - } - }, - "else": { - "operation": "boost", - "score": -0.16470052301883698 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.03378999978303909 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07141008228063583 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10560627281665802 - }, - "else": { - "operation": "boost", - "score": 0.09939441084861755 - } - } - }, - "else": { - "operation": "boost", - "score": 0.30617135763168335 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06491345912218094 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.012268472462892532 - } + "operation": "boost", + "score": 0.03028150089085102 }, "else": { - "operation": "boost", - "score": -0.01413580309599638 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "boost", + "score": -0.01686592772603035 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.016905928030610085 + "score": -1.6263939142227173 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120.5, - "then": { - "operation": "boost", - "score": -0.17400586605072021 - }, - "else": { - "operation": "boost", - "score": -0.07319074869155884 - } + "operation": "boost", + "score": -0.24001890420913696 } - }, - "else": { - "operation": "boost", - "score": -0.013796835206449032 } - }, - "else": { - "operation": "boost", - "score": -0.05127602815628052 } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.007298256736248732 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005108850542455912 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21461.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.050735291093587875 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30421.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53063.0, - "then": { - "operation": "boost", - "score": 0.10130751132965088 }, "else": { "operation": "boost", - "score": -0.08574552834033966 + "score": 0.08206233382225037 } - }, - "else": { - "operation": "boost", - "score": 0.12306182831525803 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, "then": { - "operation": "boost", - "score": -0.005177449434995651 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.08423719555139542 + "score": 0.13712617754936218 }, "else": { "operation": "boost", - "score": -0.0745190978050232 + "score": -0.12211994081735611 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 51599.0, "then": { "operation": "boost", - "score": 0.0974838063120842 + "score": -0.1077931597828865 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.08431249111890793 + "score": 0.1444264054298401 }, "else": { "operation": "boost", - "score": -0.0013512055156752467 + "score": 0.15508303046226501 } } }, "else": { "operation": "boost", - "score": -0.05647876113653183 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 902.0, - "then": { - "operation": "boost", - "score": 0.0962860956788063 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.07559092342853546 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.0, - "then": { - "operation": "boost", - "score": -0.24772772192955017 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.0, - "then": { - "operation": "boost", - "score": 0.11149752140045166 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": -0.20074060559272766 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.006629837676882744 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.09321553260087967 - }, - "else": { - "operation": "boost", - "score": 0.1350673884153366 - } - } - }, - "else": { - "operation": "boost", - "score": 0.006674222648143768 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "boost", - "score": 0.20089603960514069 - }, - "else": { - "operation": "boost", - "score": -0.14925259351730347 - } - }, - "else": { - "operation": "boost", - "score": -0.013708589598536491 - } - } - } - } - } + "score": 0.00021931776427663863 } } - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.06167517602443695 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.07643654197454453 }, "else": { "operation": "boost", - "score": 0.053067468106746674 + "score": -0.016766704618930817 } } }, "else": { "operation": "boost", - "score": 0.04927981272339821 + "score": -0.11065971851348877 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.07478447258472443 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43302.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { + "operation": "boost", + "score": 0.06235511973500252 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.011043976061046124 + }, + "else": { + "operation": "boost", + "score": 0.12760493159294128 + } + }, + "else": { + "operation": "boost", + "score": 0.004206627607345581 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34838.5, + "then": { + "operation": "boost", + "score": -0.02866765856742859 + }, + "else": { + "operation": "boost", + "score": 0.0719035416841507 + } + } }, "else": { "operation": "boost", - "score": 0.02655239962041378 + "score": 0.008200312964618206 } }, "else": { "operation": "boost", - "score": 0.0042839874513447285 + "score": -0.010710105299949646 } } }, "else": { "operation": "boost", - "score": 0.018107272684574127 + "score": -0.03388098627328873 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33610.5, "then": { "operation": "boost", - "score": -0.023563191294670105 + "score": 0.02233750931918621 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0013329193461686373 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.0352114662528038 - }, - "else": { - "operation": "boost", - "score": -0.14502909779548645 - } - } + "operation": "boost", + "score": 0.12918904423713684 }, "else": { "operation": "boost", - "score": 0.00629357760772109 + "score": 0.05650724470615387 } } } }, - "else": { - "operation": "boost", - "score": -0.004875313024967909 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13495.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": -0.3203522562980652 - }, - "else": { - "operation": "boost", - "score": 0.014615865424275398 - } - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13468.5, + "threshold": 33282.5, "then": { "operation": "boost", - "score": 0.2794002592563629 + "score": -0.14495708048343658 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12132924050092697 + "score": -0.010434195399284363 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "boost", - "score": 0.09853137284517288 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13130.5, + "threshold": 6753.5, "then": { - "operation": "boost", - "score": 0.004259220324456692 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 7253.5, "then": { - "operation": "boost", - "score": -0.09578441083431244 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 7343.5, "then": { "operation": "boost", - "score": 0.10309398919343948 + "score": -0.029836267232894897 }, "else": { "operation": "boost", - "score": 0.05963708087801933 + "score": 0.09909486025571823 } + }, + "else": { + "operation": "boost", + "score": -0.2766907811164856 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.4640491306781769 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.01354050263762474 }, "else": { - "operation": "boost", - "score": 0.10588925331830978 - } - }, - "else": { - "operation": "boost", - "score": 0.06015996262431145 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0029706789646297693 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2650.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3276.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], "then": { + "operation": "boost", + "score": 0.020955881103873253 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11280.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11357587575912476 + "score": 0.014496893621981144 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9157.0, - "then": { - "operation": "boost", - "score": 0.01763412170112133 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8623.0, - "then": { - "operation": "boost", - "score": 0.1365666538476944 - }, - "else": { - "operation": "boost", - "score": 0.09703976660966873 - } - } + "operation": "boost", + "score": -0.094384104013443 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.001537512755021453 }, "else": { + "operation": "boost", + "score": -0.07154784351587296 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1810.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1812.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3052.0, + "threshold": 30388.0, "then": { "operation": "boost", - "score": 0.11286861449480057 + "score": -0.05180966481566429 }, "else": { "operation": "boost", - "score": 0.08247756212949753 + "score": 0.014345051720738411 } + }, + "else": { + "operation": "boost", + "score": -0.002249696757644415 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 353.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.03538462147116661 - }, - "else": { - "operation": "boost", - "score": 0.11973344534635544 - } - }, - "else": { - "operation": "boost", - "score": -0.10689559578895569 - } + "operation": "boost", + "score": 0.0875716507434845 }, "else": { "operation": "boost", - "score": 0.06842711567878723 + "score": 0.22751101851463318 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Destructor", + "Macro", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 1099.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31.5, + "threshold": 1143.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12149.0, - "then": { - "operation": "boost", - "score": -0.3908306658267975 - }, - "else": { - "operation": "boost", - "score": 0.021371984854340553 - } + "operation": "boost", + "score": 0.08097898960113525 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.10122110694646835 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": 0.09597093611955643 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.11849658191204071 - }, - "else": { - "operation": "boost", - "score": 0.1169624775648117 - } - } - } + "operation": "boost", + "score": 0.17058230936527252 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.07446306198835373 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.22660233080387115 - }, - "else": { - "operation": "boost", - "score": 0.021849697455763817 - } - } + "operation": "boost", + "score": 0.08685962855815887 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12306.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.011394676752388477 + "score": 0.1269753873348236 }, "else": { "operation": "boost", - "score": 0.11279448121786118 + "score": 0.05083552375435829 } }, + "else": { + "operation": "boost", + "score": -0.02078280970454216 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.0025730340275913477 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 570.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 801.0, + "threshold": 59.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5734.5, - "then": { - "operation": "boost", - "score": 0.037133049219846725 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4708.5, - "then": { - "operation": "boost", - "score": 0.13562436401844025 - }, - "else": { - "operation": "boost", - "score": 0.07590613514184952 - } - } - }, - "else": { - "operation": "boost", - "score": 0.003754277480766177 - } + "operation": "boost", + "score": -0.08820430934429169 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 747.5, + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.10376159101724625 + "score": 0.4047374427318573 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 643.0, - "then": { - "operation": "boost", - "score": 0.06116314232349396 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09013713151216507 - }, - "else": { - "operation": "boost", - "score": 0.1162264421582222 - } - } - }, - "else": { - "operation": "boost", - "score": -0.036423586308956146 - } + "operation": "boost", + "score": 0.15477317571640015 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 274.5, - "then": { - "operation": "boost", - "score": -0.12383008003234863 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.09548220783472061 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07662933319807053 - }, - "else": { - "operation": "boost", - "score": -0.24901629984378815 - } - }, - "else": { - "operation": "boost", - "score": 0.11161285638809204 - } - }, - "else": { - "operation": "boost", - "score": 0.02775774896144867 - } - } - } + "operation": "boost", + "score": 0.0065895747393369675 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.002083604456856847 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.030834905803203583 + }, + "else": { + "operation": "boost", + "score": -0.0754447728395462 } } } - }, - "else": { - "operation": "boost", - "score": -0.0526997409760952 } }, "else": { - "operation": "boost", - "score": -0.0004780296585522592 - } - }, - "else": { - "operation": "boost", - "score": -0.36782392859458923 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03629907965660095 - } - }, - "else": { - "operation": "boost", - "score": -0.06501361727714539 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007157231215387583 + }, + "else": { + "operation": "boost", + "score": -0.04151296615600586 + } + }, + "else": { + "operation": "boost", + "score": -0.008997456170618534 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0055610500276088715 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29513.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.11852744966745377 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02353524975478649 + }, + "else": { + "operation": "boost", + "score": 0.12056175619363785 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 32674.0, + "then": { + "operation": "boost", + "score": -0.24529050290584564 + }, + "else": { + "operation": "boost", + "score": 0.12029379606246948 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.031385235488414764 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 603.5, + "then": { + "operation": "boost", + "score": 0.04856371134519577 + }, + "else": { + "operation": "boost", + "score": 0.012560545466840267 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5930.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 39.0, + "threshold": 8824.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.15018628537654877 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10873588174581528 - }, - "else": { - "operation": "boost", - "score": 0.10511317849159241 - } - } + "operation": "boost", + "score": -0.0023790965788066387 }, "else": { "operation": "boost", - "score": -0.018791818991303444 + "score": 0.13271211087703705 } }, "else": { - "operation": "boost", - "score": 0.09065687656402588 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 835.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.020585540682077408 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": -0.3015333414077759 + }, + "else": { + "operation": "boost", + "score": -0.02213924378156662 + } }, "else": { - "operation": "boost", - "score": 0.11426651477813721 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.31024354696273804 + }, + "else": { + "operation": "boost", + "score": -0.08507218956947327 + } } - }, - "else": { - "operation": "boost", - "score": 0.01815449260175228 } + }, + "else": { + "operation": "boost", + "score": 0.03559262305498123 } - }, - "else": { - "operation": "boost", - "score": -0.01166196446865797 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": -0.23181003332138062 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09772448241710663 + "score": 0.02199523337185383 }, "else": { "operation": "boost", - "score": 0.030894450843334198 + "score": -0.004337509162724018 } + }, + "else": { + "operation": "boost", + "score": -0.05860449746251106 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 313.5, + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { + "operation": "boost", + "score": 0.030032021924853325 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 323.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.022094568237662315 + "score": 0.027208779007196426 }, "else": { - "operation": "boost", - "score": 0.1195901483297348 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.14572398364543915 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.007215029560029507 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07266426831483841 + }, + "else": { + "operation": "boost", + "score": -0.06939012557268143 + } + } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.6602993011474609 + "score": -0.04143953323364258 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 316.5, "then": { "operation": "boost", - "score": 0.0702851414680481 + "score": 0.10454218834638596 }, "else": { "operation": "boost", - "score": 0.13916151225566864 + "score": 0.01012533437460661 } } }, "else": { "operation": "boost", - "score": 0.006041351705789566 + "score": -0.09066368639469147 } } - }, - "else": { - "operation": "boost", - "score": -0.0908157154917717 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12557.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12619.0, - "then": { - "operation": "boost", - "score": 0.35770490765571594 - }, - "else": { - "operation": "boost", - "score": 0.11768218874931335 - } + "operation": "boost", + "score": 0.01897953636944294 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, "then": { - "operation": "boost", - "score": 0.07364863157272339 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.032648857682943344 + }, + "else": { + "operation": "boost", + "score": -0.010627935640513897 + } }, "else": { - "operation": "boost", - "score": 0.025558246299624443 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.5, + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, "then": { + "operation": "boost", + "score": 0.04655415937304497 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.1534224897623062 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 138.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 300.0, + "operation": "boost", + "score": 0.10422220081090927 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.16106769442558289 + "score": 0.147847980260849 }, "else": { "operation": "boost", - "score": 0.40318959951400757 + "score": -0.1025783121585846 } - }, - "else": { - "operation": "boost", - "score": 0.10469558835029602 } }, "else": { "operation": "boost", - "score": 0.6714432239532471 + "score": 0.04160699248313904 } + }, + "else": { + "operation": "boost", + "score": -0.027376526966691017 + } + }, + "else": { + "operation": "boost", + "score": 0.022902701050043106 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.016979290172457695 + }, + "else": { + "operation": "boost", + "score": 0.09923777729272842 } }, "else": { "operation": "boost", - "score": 0.07340915501117706 + "score": -0.007949457503855228 } }, "else": { "operation": "boost", - "score": 0.03225495666265488 + "score": -0.01566147990524769 } }, "else": { "operation": "boost", - "score": 0.020877448841929436 + "score": -0.10133307427167892 } } } }, "else": { "operation": "boost", - "score": 0.005980978719890118 + "score": -0.0007164083071984351 } - }, - "else": { - "operation": "boost", - "score": -0.06014958769083023 } } } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86511.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123410.5, + "then": { + "operation": "boost", + "score": 0.06551875919103622 }, "else": { "operation": "boost", - "score": -0.03409666195511818 + "score": -0.1608031988143921 } }, "else": { "operation": "boost", - "score": -0.00029140725382603705 + "score": 0.09406065195798874 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1016312912106514 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7097.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7329.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": 0.02664043940603733 + }, + "else": { + "operation": "boost", + "score": 0.007869083434343338 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.09446413069963455 + }, + "else": { + "operation": "boost", + "score": 0.036022838205099106 + } + }, + "else": { + "operation": "boost", + "score": -0.06571466475725174 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006045724265277386 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.048906322568655014 + }, + "else": { + "operation": "boost", + "score": 0.017447026446461678 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.0538821667432785 + "score": 0.024899156764149666 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7178.5, + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04134339094161987 + }, + "else": { + "operation": "boost", + "score": -0.0012294433545321226 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07328388839960098 + }, + "else": { + "operation": "boost", + "score": -0.01985032483935356 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.01860998198390007 + }, + "else": { + "operation": "boost", + "score": -0.15902364253997803 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0036092414520680904 + }, + "else": { + "operation": "boost", + "score": 0.033347237855196 + } + }, + "else": { + "operation": "boost", + "score": 0.005880700424313545 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.008993654511868954 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { + "operation": "boost", + "score": 0.05583038181066513 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_SymbolOrNewName" ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.09241697192192078 - }, - "else": { - "operation": "boost", - "score": 0.11107797920703888 - } - }, - "else": { - "operation": "boost", - "score": -0.2130768597126007 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, "then": { "operation": "boost", - "score": 0.003724399022758007 + "score": 0.018825281411409378 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.0487385131418705 - }, - "else": { - "operation": "boost", - "score": 0.11092821508646011 - } + "operation": "boost", + "score": -0.010416646488010883 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.04367908835411072 + "score": 0.03257580101490021 }, "else": { "operation": "boost", - "score": 0.027295725420117378 + "score": 0.001986064715310931 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Statement" + ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.1653704047203064 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.204900860786438 + "score": 0.09534335136413574 }, "else": { "operation": "boost", - "score": 0.10946809500455856 + "score": 0.03643299266695976 } + }, + "else": { + "operation": "boost", + "score": 0.01670554280281067 } }, "else": { "operation": "boost", - "score": 0.024967852979898453 + "score": -0.19003801047801971 } }, "else": { + "operation": "boost", + "score": 0.013513179495930672 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { "operation": "boost", - "score": 0.06104641780257225 + "score": -0.017165595665574074 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Function", + "Variable" ], "then": { + "operation": "boost", + "score": 0.05930068716406822 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05658352002501488 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12451596558094025 - }, - "else": { - "operation": "boost", - "score": 0.08803266286849976 - } + "operation": "boost", + "score": 0.35354313254356384 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 274.5, - "then": { - "operation": "boost", - "score": 0.09754334390163422 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 240.5, - "then": { - "operation": "boost", - "score": 0.12276605516672134 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 156.5, - "then": { - "operation": "boost", - "score": 0.050687164068222046 - }, - "else": { - "operation": "boost", - "score": 0.15378323197364807 - } - } - } + "operation": "boost", + "score": 0.11298755556344986 } + }, + "else": { + "operation": "boost", + "score": 0.017917128279805183 } - }, - "else": { - "operation": "boost", - "score": 0.0891265794634819 } } }, "else": { "operation": "boost", - "score": 0.07715199887752533 + "score": 0.0030438106041401625 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.03702174127101898 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.004917928017675877 - }, - "else": { - "operation": "boost", - "score": -0.04948277026414871 - } + "operation": "boost", + "score": -0.015726298093795776 } } } } }, "else": { - "operation": "boost", - "score": 0.11044688522815704 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00705204252153635 - }, - "else": { - "operation": "boost", - "score": 0.25934943556785583 - } - }, - "else": { - "operation": "boost", - "score": 0.048506226390600204 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": 0.10658054798841476 - }, - "else": { - "operation": "boost", - "score": -0.1372603476047516 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.025349218398332596 - }, - "else": { - "operation": "boost", - "score": 0.00981551967561245 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.004455797374248505 - }, - "else": { - "operation": "boost", - "score": 0.008813892491161823 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.033176589757204056 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": 0.0928502306342125 - }, - "else": { - "operation": "boost", - "score": 0.10471587628126144 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.10126413404941559 + "score": 0.07706666737794876 }, "else": { "operation": "boost", - "score": 0.06525640934705734 + "score": -0.09529998153448105 } }, "else": { - "operation": "boost", - "score": 0.014660126529633999 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.12035848200321198 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": -0.7106292843818665 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0914924219250679 - }, - "else": { - "operation": "boost", - "score": -0.11665145307779312 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0054184976033866405 - }, - "else": { - "operation": "boost", - "score": -0.29013216495513916 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.048481062054634094 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.07408168166875839 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.02636527456343174 + }, + "else": { + "operation": "boost", + "score": -0.009367240592837334 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.08104458451271057 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.036018967628479004 + }, + "else": { + "operation": "boost", + "score": 0.015325590968132019 + } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.05206086114048958 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7333333492279053, + "then": { + "operation": "boost", + "score": 0.2347271740436554 + }, + "else": { + "operation": "boost", + "score": 0.07297158241271973 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.1982344686985016 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.5151102542877197 + }, + "else": { + "operation": "boost", + "score": 0.18562179803848267 + } + }, + "else": { + "operation": "boost", + "score": 0.08927620947360992 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": 0.15103167295455933 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.01003751065582037 + }, + "else": { + "operation": "boost", + "score": 0.13996782898902893 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07054924219846725 + } + }, + "else": { + "operation": "boost", + "score": 0.03814978152513504 + } }, "else": { "operation": "boost", - "score": 0.11023791879415512 + "score": 0.025838138535618782 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.07580988854169846 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.017166618257761 + }, + "else": { + "operation": "boost", + "score": 0.0030817040242254734 + } }, "else": { "operation": "boost", - "score": 0.10537099093198776 + "score": -0.08537530899047852 } } } + }, + "else": { + "operation": "boost", + "score": -0.03003944829106331 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_PreprocessorExpression" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.003296775044873357 + "score": 0.010174715891480446 }, "else": { "operation": "boost", - "score": -0.02178242988884449 + "score": 0.052786216139793396 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.875, "then": { "operation": "boost", - "score": 0.08726978302001953 + "score": 0.15683665871620178 }, "else": { "operation": "boost", - "score": 0.017077088356018066 + "score": -0.0347432866692543 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.03437560796737671 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.24342550337314606 + }, + "else": { + "operation": "boost", + "score": 0.3576142489910126 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.29089441895484924 + }, + "else": { + "operation": "boost", + "score": -0.1863253116607666 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.16495126485824585 + }, + "else": { + "operation": "boost", + "score": 0.15348608791828156 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07176932692527771 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.03452230617403984 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.44026005268096924 + }, + "else": { + "operation": "boost", + "score": 0.15641094744205475 + } + } + } }, "else": { - "operation": "boost", - "score": 0.03360496461391449 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.031114405021071434 + }, + "else": { + "operation": "boost", + "score": 0.12824171781539917 + } } } }, "else": { "operation": "boost", - "score": 0.004431404173374176 + "score": -0.02838926576077938 + } + }, + "else": { + "operation": "boost", + "score": 0.003843475366011262 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.010276935994625092 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.005439247936010361 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1224.5, + "then": { + "operation": "boost", + "score": 0.03389647230505943 + }, + "else": { + "operation": "boost", + "score": 0.01235543005168438 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "boost", + "score": -0.03674231842160225 + }, + "else": { + "operation": "boost", + "score": -0.01210570428520441 + } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "ClassScope", + "FileScope" ], "then": { - "operation": "boost", - "score": 0.006491901818662882 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.025825142860412598 + }, + "else": { + "operation": "boost", + "score": 0.023701002821326256 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, + "then": { + "operation": "boost", + "score": 0.03670255094766617 + }, + "else": { + "operation": "boost", + "score": 0.19386328756809235 + } + }, + "else": { + "operation": "boost", + "score": 0.015297961421310902 + } + }, + "else": { + "operation": "boost", + "score": 0.00015599436301272362 + } + } }, "else": { - "operation": "boost", - "score": -0.066767618060112 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, + "then": { + "operation": "boost", + "score": -0.014872802421450615 + }, + "else": { + "operation": "boost", + "score": -0.004065978806465864 + } } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1042509451508522 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.007410347927361727 }, "else": { + "operation": "boost", + "score": -0.033182911574840546 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22073.0, + "feature": "FractionNameInContext", + "threshold": 0.04880952462553978, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.06656037271022797 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], "then": { + "operation": "boost", + "score": 0.07143484055995941 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.0064019509591162205 + "score": -0.006177866365760565 + }, + "else": { + "operation": "boost", + "score": 0.03874421864748001 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.007357367780059576 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.018161363899707794 + }, + "else": { + "operation": "boost", + "score": -0.12210673838853836 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01814485341310501 + }, + "else": { + "operation": "boost", + "score": 0.04398593679070473 + } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.038211870938539505 + }, + "else": { + "operation": "boost", + "score": -0.1535986065864563 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.018072133883833885 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.01860407181084156 + "score": 0.024834193289279938 }, "else": { "operation": "boost", - "score": 0.08369462937116623 + "score": -0.062363509088754654 } }, "else": { "operation": "boost", - "score": 0.028570514172315598 + "score": -0.020569484680891037 } } - }, - "else": { - "operation": "boost", - "score": 0.008774415589869022 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.01897479221224785 }, "else": { "operation": "boost", - "score": 0.07211173325777054 + "score": 0.016627812758088112 } - }, - "else": { - "operation": "boost", - "score": 0.0019041515188291669 } - }, - "else": { - "operation": "boost", - "score": -0.06691868603229523 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.04030613973736763 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.023107165470719337 + "score": -0.019849885255098343 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.1063629612326622 + "score": 0.06695590168237686 }, "else": { - "operation": "boost", - "score": -0.032753318548202515 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.08384273946285248 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.05037027969956398 + }, + "else": { + "operation": "boost", + "score": -0.060820601880550385 + } + }, + "else": { + "operation": "boost", + "score": 0.05372988432645798 + } + }, + "else": { + "operation": "boost", + "score": -0.03896297514438629 + } + }, + "else": { + "operation": "boost", + "score": 0.054053209722042084 + } + }, + "else": { + "operation": "boost", + "score": 0.00082089111674577 + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.00916411355137825 } } + }, + "else": { + "operation": "boost", + "score": -0.0057435710914433 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4210.0, + "then": { + "operation": "boost", + "score": 0.014548463746905327 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Other" + "Macro" ], + "then": { + "operation": "boost", + "score": 0.007673335261642933 + }, + "else": { + "operation": "boost", + "score": -0.0006570644327439368 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10607317835092545 + }, + "else": { + "operation": "boost", + "score": 0.010587597265839577 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.05012624338269234 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.026006262749433517 + }, + "else": { + "operation": "boost", + "score": 0.01851683296263218 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0006564109935425222 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.02397395856678486 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.03683220222592354 + }, + "else": { + "operation": "boost", + "score": 0.12325403839349747 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 589.0, "then": { + "operation": "boost", + "score": -0.4147593677043915 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 495.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83.5, - "then": { - "operation": "boost", - "score": -0.13260450959205627 - }, - "else": { - "operation": "boost", - "score": 0.07636731117963791 - } + "operation": "boost", + "score": 0.12736201286315918 }, "else": { - "operation": "boost", - "score": 0.03031376376748085 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", - "score": -0.1588355004787445 + "score": 0.02446347288787365 }, "else": { "operation": "boost", - "score": 0.0807809829711914 + "score": -0.01179727166891098 } - }, - "else": { - "operation": "boost", - "score": 0.08451105654239655 } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor" + "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", - "score": 0.00796998105943203 + "score": 0.0675024464726448 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 700.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 762.5, - "then": { - "operation": "boost", - "score": -0.006801556330174208 - }, - "else": { - "operation": "boost", - "score": 0.13632509112358093 - } - }, - "else": { - "operation": "boost", - "score": -0.02694448083639145 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.014483263716101646 - }, - "else": { - "operation": "boost", - "score": -0.0874096006155014 - } - } + "operation": "boost", + "score": 0.019382836297154427 } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "boost", + "score": 0.034781564027071 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 236336.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", + "Constructor", "Destructor", + "Function", + "Keyword", "Operator", "Unknown", - "Constructor", - "Function", - "Type" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "boost", + "score": 0.017277469858527184 + }, + "else": { + "operation": "boost", + "score": -0.13560175895690918 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { + "operation": "boost", + "score": 0.10047262161970139 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "boost", + "score": 0.006676640827208757 + }, + "else": { + "operation": "boost", + "score": 0.09862381964921951 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168474.5, + "then": { + "operation": "boost", + "score": -0.17039409279823303 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "Constructor", + "Variable" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.0055674174800515175 + "score": 0.016650177538394928 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10411331802606583 + "score": -0.01583467796444893 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3835.5, + "operation": "boost", + "score": 0.023015303537249565 + } + }, + "else": { + "operation": "boost", + "score": -0.004565402399748564 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.008767632767558098 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.14481455087661743 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06691025197505951 + }, + "else": { + "operation": "boost", + "score": 0.02961326576769352 + } + }, + "else": { + "operation": "boost", + "score": -0.15513741970062256 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.002676095347851515 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.029510440304875374 + }, + "else": { + "operation": "boost", + "score": 0.0005178184364922345 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11791151762008667 + }, + "else": { + "operation": "boost", + "score": 0.01142480131238699 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 167779.0, + "then": { + "operation": "boost", + "score": 0.08120985329151154 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 166361.0, + "then": { + "operation": "boost", + "score": -0.3431384563446045 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8999999761581421, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3931.0, - "then": { - "operation": "boost", - "score": 0.0781218409538269 - }, - "else": { - "operation": "boost", - "score": 0.10180730372667313 - } + "operation": "boost", + "score": 0.16789238154888153 }, "else": { "operation": "boost", - "score": -0.009851234033703804 + "score": 0.13571864366531372 } }, + "else": { + "operation": "boost", + "score": 0.0930338129401207 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.016919391229748726 + }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": 0.052207838743925095 + "score": 0.0033676265738904476 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": -0.05554990842938423 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1645526885986328 - }, - "else": { - "operation": "boost", - "score": 0.14514626562595367 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.17225034534931183 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.12391635030508041 - }, - "else": { - "operation": "boost", - "score": 0.1140805333852768 - } - } - }, - "else": { - "operation": "boost", - "score": 0.062471531331539154 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.007401027716696262 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12233884632587433 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08573047816753387 - }, - "else": { - "operation": "boost", - "score": 0.1385149508714676 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.009428651072084904 - }, - "else": { - "operation": "boost", - "score": 0.09420853108167648 - } - }, - "else": { - "operation": "boost", - "score": 0.009906069375574589 - } - }, - "else": { - "operation": "boost", - "score": 0.0975308045744896 - } - } + "operation": "boost", + "score": 0.04484878480434418 } } } @@ -154027,224 +149407,630 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 462.5, + "threshold": 112.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 481.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": 0.018196510151028633 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 126.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 1547.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1857.0, + "then": { + "operation": "boost", + "score": 0.08707670867443085 + }, + "else": { + "operation": "boost", + "score": 0.13049174845218658 + } + }, + "else": { + "operation": "boost", + "score": 0.08258265256881714 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.034864820539951324 + "score": -0.1016468033194542 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1419.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.07487404346466064 + "score": 0.237132266163826 }, "else": { "operation": "boost", - "score": 0.11836866289377213 + "score": 0.16880419850349426 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03345625102519989 + }, + "else": { + "operation": "boost", + "score": 0.005268112290650606 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.004522939678281546 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6098484992980957, + "then": { + "operation": "boost", + "score": 0.11465717852115631 }, "else": { "operation": "boost", - "score": 0.025570763275027275 + "score": -0.013058673590421677 } }, "else": { - "operation": "boost", - "score": 0.12236981093883514 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.04812955856323242 + }, + "else": { + "operation": "boost", + "score": 0.002713269554078579 + } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.0890144556760788 }, "else": { "operation": "boost", - "score": 0.06224014610052109 + "score": -0.10188250243663788 } } } }, "else": { "operation": "boost", - "score": -0.10866522043943405 + "score": 0.005527477245777845 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.13161011040210724 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.014583667740225792 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 351.5, + "threshold": 4635.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 352.5, + "threshold": 4906.0, "then": { "operation": "boost", - "score": 0.04521864652633667 + "score": 0.02702256105840206 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4889.0, "then": { "operation": "boost", - "score": -0.10222271829843521 + "score": 0.1512250155210495 }, "else": { "operation": "boost", - "score": 0.12389284372329712 + "score": 0.08423493057489395 } } }, "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.012126389890909195 + }, + "else": { + "operation": "boost", + "score": -0.005703335627913475 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "boost", + "score": -0.03329924866557121 + }, + "else": { + "operation": "boost", + "score": -0.009908699430525303 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.049301356077194214 + "score": -0.02266625128686428 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.04461628198623657 + "score": -0.016426945105195045 }, "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": 0.17862142622470856 + }, + "else": { + "operation": "boost", + "score": 0.16183307766914368 + } + }, + "else": { + "operation": "boost", + "score": 0.04369184747338295 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04147854074835777 + }, + "else": { + "operation": "boost", + "score": 0.016902897506952286 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12040358781814575 + "score": 0.13874761760234833 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "boost", + "score": 0.024542473256587982 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.04898682236671448 + "score": -0.3118859827518463 }, "else": { "operation": "boost", - "score": 0.042672932147979736 + "score": -0.02705065906047821 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": 0.031758278608322144 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2967033088207245, + "then": { + "operation": "boost", + "score": -0.025339456275105476 + }, + "else": { + "operation": "boost", + "score": 0.04524790123105049 + } } } } + }, + "else": { + "operation": "boost", + "score": 0.0001386706717312336 } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, + "then": { + "operation": "boost", + "score": -0.014033220708370209 + }, + "else": { + "operation": "boost", + "score": -0.004054568242281675 + } } - }, - "else": { - "operation": "boost", - "score": 0.002117577474564314 } - }, - "else": { - "operation": "boost", - "score": -0.007446447387337685 } - }, - "else": { + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1729.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1739.5, + "then": { + "operation": "boost", + "score": 0.0012801876291632652 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 1735.5, "then": { "operation": "boost", - "score": -0.058147333562374115 + "score": 0.12928348779678345 }, "else": { "operation": "boost", - "score": 0.013722056522965431 + "score": -0.17452742159366608 } + }, + "else": { + "operation": "boost", + "score": -0.01952563039958477 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3341.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.023558620363473892 + "score": 0.23532702028751373 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.055990803986787796 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": 0.0763811469078064 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1736.5, + "then": { + "operation": "boost", + "score": 0.009889931418001652 + }, + "else": { + "operation": "boost", + "score": 0.12378621846437454 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 30.5, + "then": { + "operation": "boost", + "score": 0.000648310873657465 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.003516799071803689 + }, + "else": { + "operation": "boost", + "score": -0.01282538939267397 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "boost", - "score": -0.02822856418788433 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "boost", - "score": -0.11445274204015732 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.032817985862493515 + }, + "else": { + "operation": "boost", + "score": -0.06619405746459961 + } }, "else": { "operation": "boost", - "score": 0.02586863376200199 + "score": -0.08935634791851044 } }, "else": { "operation": "boost", - "score": -0.131847083568573 + "score": 0.044786352664232254 } + }, + "else": { + "operation": "boost", + "score": 0.024492856115102768 } }, "else": { @@ -154253,267 +150039,246 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0171373151242733 + "score": -0.062206804752349854 }, "else": { "operation": "boost", - "score": -0.023590756580233574 + "score": 0.0036630043759942055 } } }, "else": { "operation": "boost", - "score": -0.01432056725025177 + "score": -0.017378447577357292 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0289535541087389 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ParenthesizedExpression" + "Constructor", + "Destructor", + "Keyword", + "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14460881054401398 + }, + "else": { + "operation": "boost", + "score": 0.026681384071707726 + } + }, + "else": { + "operation": "boost", + "score": -0.02645988017320633 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.008419912308454514 + "score": 0.060214973986148834 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0702512338757515 - }, - "else": { - "operation": "boost", - "score": 0.10123966634273529 - } + "operation": "boost", + "score": 0.011068829335272312 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, - "then": { - "operation": "boost", - "score": 0.12260088324546814 - }, - "else": { - "operation": "boost", - "score": 0.08786381036043167 - } + "operation": "boost", + "score": -0.004745318088680506 } }, "else": { - "operation": "boost", - "score": -0.0642678439617157 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.033578358590602875 + }, + "else": { + "operation": "boost", + "score": 0.02520575001835823 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.13534995913505554 + "score": -0.11140325665473938 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1515735238790512 - }, - "else": { - "operation": "boost", - "score": -0.22943854331970215 - } + "operation": "boost", + "score": 0.03694695979356766 }, "else": { "operation": "boost", - "score": 0.07611840963363647 + "score": 0.0009517524158582091 } } }, "else": { "operation": "boost", - "score": 0.04713740199804306 + "score": -0.08016212284564972 } } }, "else": { - "operation": "boost", - "score": 0.050599001348018646 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 542.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": 0.08147115260362625 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.12096067517995834 + "score": -0.1596931666135788 }, "else": { "operation": "boost", - "score": 0.07269325852394104 + "score": 0.023463604971766472 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0005100931157357991 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12714868783950806 - }, - "else": { - "operation": "boost", - "score": 0.11278121918439865 - } - }, - "else": { - "operation": "boost", - "score": 0.09726834297180176 - } + "operation": "boost", + "score": 0.13017335534095764 }, "else": { "operation": "boost", - "score": 0.04673929512500763 + "score": 0.05809086188673973 } } - }, - "else": { - "operation": "boost", - "score": 0.11373381316661835 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1245064064860344 - }, - "else": { - "operation": "boost", - "score": 0.08815103769302368 } } + }, + "else": { + "operation": "boost", + "score": -0.06383644789457321 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1720.5, "then": { + "operation": "boost", + "score": -0.18607711791992188 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.015455747954547405 + "score": -0.0033430575858801603 }, "else": { "operation": "boost", - "score": 0.07651519775390625 + "score": 0.14018437266349792 } - }, - "else": { - "operation": "boost", - "score": 0.0006743604899384081 } } - }, - "else": { - "operation": "boost", - "score": 0.0059097143821418285 } } } - }, - "else": { - "operation": "boost", - "score": -0.08368232101202011 } } }, @@ -154525,2499 +150290,2929 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": -0.10417904704809189 + }, + "else": { + "operation": "boost", + "score": 0.010494677349925041 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.01700861193239689 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.0058842371217906475 - }, - "else": { - "operation": "boost", - "score": 0.028064146637916565 - } + "operation": "boost", + "score": 0.002383654471486807 }, "else": { "operation": "boost", - "score": -9.784966096049175e-05 + "score": -0.13871534168720245 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.01717926561832428 + "score": 0.009939833544194698 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 359.0, + "threshold": 83772.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07757803052663803 - }, - "else": { - "operation": "boost", - "score": -0.2535499334335327 - } + "operation": "boost", + "score": 0.04661192744970322 }, "else": { "operation": "boost", - "score": -0.1903197318315506 + "score": -0.007507277652621269 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.0, + "operation": "boost", + "score": -0.003300473326817155 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Type" + ], "then": { "operation": "boost", - "score": -0.12504830956459045 + "score": 0.013296288438141346 }, "else": { - "operation": "boost", - "score": 0.10676880925893784 - } - }, - "else": { - "operation": "boost", - "score": 0.03821006044745445 - } - } - }, - "else": { - "operation": "boost", - "score": 0.006775474641472101 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23415.5, - "then": { - "operation": "boost", - "score": -0.21210457384586334 - }, - "else": { - "operation": "boost", - "score": -0.004786872770637274 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1218.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.009399627335369587 - }, - "else": { - "operation": "boost", - "score": -0.010091566480696201 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.36314263939857483 - }, - "else": { - "operation": "boost", - "score": 0.026827316731214523 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129672.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148872.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, "then": { "operation": "boost", - "score": 0.11132701486349106 + "score": 0.1414455771446228 }, "else": { "operation": "boost", - "score": -0.20468683540821075 + "score": 0.03831087797880173 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, "then": { "operation": "boost", - "score": -0.028281722217798233 + "score": 0.09088490903377533 }, "else": { - "operation": "boost", - "score": 0.07601949572563171 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04892435669898987 + }, + "else": { + "operation": "boost", + "score": -0.04055386781692505 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, + "then": { + "operation": "boost", + "score": 0.11076552420854568 + }, + "else": { + "operation": "boost", + "score": 0.04448496177792549 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.09171440452337265 + }, + "else": { + "operation": "boost", + "score": 0.004937760066241026 + } + }, + "else": { + "operation": "boost", + "score": -0.14590668678283691 + } + } + } } }, "else": { "operation": "boost", - "score": -0.25990962982177734 + "score": 0.0250605046749115 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.38791555166244507 + "score": 0.02276334911584854 }, "else": { - "operation": "boost", - "score": -0.14910481870174408 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.08328159153461456 + }, + "else": { + "operation": "boost", + "score": 0.45125794410705566 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "boost", + "score": -0.00999013427644968 + }, + "else": { + "operation": "boost", + "score": -0.13349956274032593 + } + } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.003228484420105815 + }, + "else": { + "operation": "boost", + "score": -0.07376847416162491 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.07665345072746277 + }, + "else": { + "operation": "boost", + "score": 0.02577994018793106 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.008647706359624863 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.014895040541887283 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.07653890550136566 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0035699422005563974 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0044983201660215855 + }, + "else": { + "operation": "boost", + "score": -0.02796102687716484 + } + } + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "boost", - "score": 0.014427142217755318 + "score": -0.04994339123368263 }, "else": { "operation": "boost", - "score": -0.11319008469581604 + "score": 0.00270060240291059 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09761904925107956, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 318692.5, - "then": { - "operation": "boost", - "score": -0.1285344958305359 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.06386164575815201 - }, - "else": { - "operation": "boost", - "score": 0.10732876509428024 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.8039416074752808 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 247381.5, - "then": { - "operation": "boost", - "score": -0.2505616247653961 - }, - "else": { - "operation": "boost", - "score": 0.05256318673491478 - } - } - } + "operation": "boost", + "score": 0.001999557251110673 }, "else": { "operation": "boost", - "score": -0.7563222050666809 + "score": 0.08808452636003494 } } - }, - "else": { - "operation": "boost", - "score": -0.09183484315872192 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0865892767906189 + "score": -0.1220201700925827 }, "else": { "operation": "boost", - "score": 0.07733647525310516 + "score": 0.09162057936191559 } }, "else": { + "operation": "boost", + "score": -0.0027728762943297625 + } + }, + "else": { + "operation": "boost", + "score": -0.01294037513434887 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { "operation": "boost", - "score": -0.27877554297447205 + "score": 0.030606146901845932 }, "else": { "operation": "boost", - "score": 0.05076202005147934 + "score": 0.09130840748548508 } + }, + "else": { + "operation": "boost", + "score": 0.010688421316444874 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { - "operation": "boost", - "score": -0.2998804450035095 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.10739414393901825 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06674191355705261 + }, + "else": { + "operation": "boost", + "score": -0.06793887168169022 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.07478407770395279 + }, + "else": { + "operation": "boost", + "score": -0.10093548893928528 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.02890835888683796 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, + "then": { + "operation": "boost", + "score": -0.10028315335512161 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "boost", + "score": 0.07861234992742538 + }, + "else": { + "operation": "boost", + "score": -0.11246966570615768 + } + }, + "else": { + "operation": "boost", + "score": -0.033847626298666 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.02536378987133503 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": 0.021594082936644554 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.10431447625160217 + }, + "else": { + "operation": "boost", + "score": -0.07954902946949005 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "boost", + "score": 0.0263997670263052 + }, + "else": { + "operation": "boost", + "score": -0.2870461046695709 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.025604333728551865 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00985756702721119 + } }, "else": { "operation": "boost", - "score": 0.03497501462697983 + "score": -0.0026878025382757187 } } - }, - "else": { - "operation": "boost", - "score": 0.0013266172027215362 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.038543619215488434 - }, - "else": { - "operation": "boost", - "score": 0.10905773937702179 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121087.0, - "then": { - "operation": "boost", - "score": -0.438306599855423 - }, - "else": { - "operation": "boost", - "score": 0.008673684671521187 } } } + }, + "else": { + "operation": "boost", + "score": 0.001249150955118239 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace" + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 15370.0, "then": { "operation": "boost", - "score": 0.08722574263811111 + "score": 0.07524527609348297 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.12464483082294464 - }, - "else": { - "operation": "boost", - "score": 0.08186306059360504 - } - }, - "else": { - "operation": "boost", - "score": 0.12947039306163788 - } + "operation": "boost", + "score": -0.0013564075343310833 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09528782218694687 - }, - "else": { - "operation": "boost", - "score": 0.0944695770740509 - } + "operation": "boost", + "score": -0.016735335811972618 } }, "else": { "operation": "boost", - "score": 0.06029253453016281 + "score": 0.0005672489642165601 } }, "else": { + "operation": "boost", + "score": -0.04938668757677078 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 8445.0, "then": { + "operation": "boost", + "score": 0.022927651181817055 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02039957605302334 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.04323728382587433 - }, - "else": { - "operation": "boost", - "score": 0.02969115413725376 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09290796518325806 - }, - "else": { - "operation": "boost", - "score": -0.0060467179864645 - } - } + "operation": "boost", + "score": -0.033927105367183685 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 741.0, + "threshold": 184.5, "then": { - "operation": "boost", - "score": 0.08691812306642532 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011731973849236965 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.12004516273736954 - }, - "else": { - "operation": "boost", - "score": 0.10213568061590195 - } - }, - "else": { - "operation": "boost", - "score": 0.055127136409282684 - } - }, - "else": { - "operation": "boost", - "score": 0.034896619617938995 - } - } + "operation": "boost", + "score": -0.003060691524296999 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 99.0, + "threshold": 7896.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 161.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.0457441583275795 + "score": 0.12730515003204346 }, "else": { "operation": "boost", - "score": 0.1129620149731636 + "score": -0.22184127569198608 } }, "else": { "operation": "boost", - "score": -0.003968546167016029 + "score": 0.03772655501961708 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.15151894092559814 - }, - "else": { - "operation": "boost", - "score": 0.09434956312179565 - } + "operation": "boost", + "score": 0.04969869554042816 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.004067303147166967 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.04572742432355881 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0262122955173254 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.5840075612068176 + "score": -0.014367845840752125 }, "else": { "operation": "boost", - "score": 0.17112332582473755 + "score": 0.013768617063760757 } - }, - "else": { - "operation": "boost", - "score": 0.028971469029784203 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "boost", - "score": -0.027242233976721764 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.07339786738157272 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.13047417998313904 + }, + "else": { + "operation": "boost", + "score": -0.018555963411927223 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.03278029337525368 + "score": 0.02881530113518238 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.13129979372024536 + "score": 0.10625941306352615 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.0967206135392189 - }, - "else": { - "operation": "boost", - "score": 0.002971793757751584 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08462608605623245 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10348476469516754 - }, - "else": { - "operation": "boost", - "score": 0.10722570866346359 - } - } - } + "operation": "boost", + "score": 0.0540149062871933 } }, "else": { "operation": "boost", - "score": 0.006333892233669758 + "score": -0.052150096744298935 } }, "else": { "operation": "boost", - "score": 0.05839492753148079 + "score": -0.1289084106683731 } } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.016009269282221794 + }, + "else": { + "operation": "boost", + "score": 0.0010893727885559201 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.022865135222673416 + }, + "else": { + "operation": "boost", + "score": 0.009688322432339191 + } + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.0017865264089778066 - }, - "else": { - "operation": "boost", - "score": -0.2189343273639679 - } + "operation": "boost", + "score": -0.0025554706808179617 }, "else": { "operation": "boost", - "score": -0.030233316123485565 + "score": 0.021836446598172188 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.08183750510215759 - }, - "else": { - "operation": "boost", - "score": 0.11296091973781586 - } + "operation": "boost", + "score": -0.0010800492018461227 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11663958430290222 - }, - "else": { - "operation": "boost", - "score": -0.13605482876300812 - } + "operation": "boost", + "score": 0.06269548088312149 }, "else": { "operation": "boost", - "score": -0.03382200747728348 + "score": 0.01744016259908676 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01602153666317463 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.03699526935815811 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10823224484920502 - }, - "else": { - "operation": "boost", - "score": 0.05839142948389053 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07574526220560074 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.11812304705381393 - }, - "else": { - "operation": "boost", - "score": -0.0053179142996668816 - } - }, - "else": { - "operation": "boost", - "score": 0.08537545055150986 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13378335535526276 - } - }, - "else": { - "operation": "boost", - "score": 0.09768949449062347 - } - }, - "else": { - "operation": "boost", - "score": -0.03999272361397743 - } - }, - "else": { - "operation": "boost", - "score": 0.10259576886892319 - } - }, - "else": { - "operation": "boost", - "score": -0.37892812490463257 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.059933654963970184 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.021439313888549805 - }, - "else": { - "operation": "boost", - "score": 0.09341812878847122 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.0219903364777565 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00036917137913405895 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10975395888090134 - }, - "else": { - "operation": "boost", - "score": 0.12428901344537735 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.027408583089709282 - }, - "else": { - "operation": "boost", - "score": 0.08588802069425583 - } - }, - "else": { - "operation": "boost", - "score": 0.027955397963523865 - } - } - } - } - } - } + "operation": "boost", + "score": -0.049973152577877045 } }, "else": { "operation": "boost", - "score": -0.001676475745625794 + "score": -0.10228163748979568 + } + }, + "else": { + "operation": "boost", + "score": -0.008579765446484089 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.11575208604335785 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.10240250080823898 + }, + "else": { + "operation": "boost", + "score": 0.07666753977537155 } }, "else": { "operation": "boost", - "score": -0.025444669649004936 + "score": 0.02514495886862278 } + }, + "else": { + "operation": "boost", + "score": 0.017566651105880737 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 263421.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 278828.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "boost", + "score": 0.02480519749224186 + }, + "else": { + "operation": "boost", + "score": 0.09224867075681686 + } + }, + "else": { + "operation": "boost", + "score": 0.016562560573220253 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.01705021969974041 + }, + "else": { + "operation": "boost", + "score": 0.03326010704040527 + } + }, + "else": { + "operation": "boost", + "score": 0.0004949116846546531 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.018153652548789978 + }, + "else": { + "operation": "boost", + "score": -0.03646465390920639 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "boost", - "score": -0.018199052661657333 + "score": 0.0577877014875412 }, "else": { + "operation": "boost", + "score": 0.003569579916074872 + } + }, + "else": { + "operation": "boost", + "score": 0.03872811794281006 + } + }, + "else": { + "operation": "boost", + "score": -0.03655668720602989 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24318.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 278454.0, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.12000320851802826 - }, - "else": { - "operation": "boost", - "score": 0.09605144709348679 - } + "operation": "boost", + "score": 0.08662454783916473 }, "else": { + "operation": "boost", + "score": -0.04606360197067261 + } + }, + "else": { + "operation": "boost", + "score": 0.050437554717063904 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 743.5, + "then": { + "operation": "boost", + "score": -0.07305188477039337 + }, + "else": { + "operation": "boost", + "score": 0.011972370557487011 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07411293685436249 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0028639461379498243 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Symbol", + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": 0.07249245792627335 + "score": 0.03236154839396477 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.3764133155345917 + "score": 0.05386703833937645 }, "else": { "operation": "boost", - "score": -0.15574558079242706 + "score": 0.0008007544674910605 } } + }, + "else": { + "operation": "boost", + "score": 0.0008496815571561456 } } - }, - "else": { - "operation": "boost", - "score": -0.017543643712997437 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.004859523382037878 - }, - "else": { - "operation": "boost", - "score": -0.07208352535963058 } } } } } } - }, - "else": { - "operation": "boost", - "score": -0.0018479072023183107 } } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.023760279640555382 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.008902299217879772 + }, + "else": { + "operation": "boost", + "score": -0.0360398106276989 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.0716225728392601 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.08137889206409454 + }, + "else": { + "operation": "boost", + "score": 0.021747535094618797 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00703436229377985 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.061741288751363754 + }, + "else": { + "operation": "boost", + "score": 0.005655296146869659 + } + }, + "else": { + "operation": "boost", + "score": -0.005741122178733349 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.184476837515831 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.013737502507865429 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.04855404794216156 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.035559188574552536 + }, + "else": { + "operation": "boost", + "score": 0.05020829290151596 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.051444850862026215 + }, + "else": { + "operation": "boost", + "score": -0.16396211087703705 + } + } + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 7227.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 266615.5, + "threshold": 9195.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 272339.5, + "operation": "boost", + "score": 0.016521744430065155 + }, + "else": { + "operation": "boost", + "score": 0.07792152464389801 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6923.5, + "then": { + "operation": "boost", + "score": -0.2163248509168625 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { + "operation": "boost", + "score": 0.0003209246788173914 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 298482.5, + "threshold": 6508.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6683.5, "then": { + "operation": "boost", + "score": -0.025763271376490593 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1074118.5, + "threshold": 6635.5, "then": { "operation": "boost", - "score": -0.08902497589588165 + "score": 0.12691755592823029 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.06720120459794998 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "boost", - "score": -0.21968968212604523 - }, - "else": { - "operation": "boost", - "score": -0.005449157208204269 - } - } + "operation": "boost", + "score": 0.07753836363554001 } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.017390115186572075 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 337965.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.4360460042953491 + "score": -0.022678233683109283 }, "else": { - "operation": "boost", - "score": 0.09541334211826324 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { + "operation": "boost", + "score": 0.052727118134498596 + }, + "else": { + "operation": "boost", + "score": -0.05060233548283577 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.0272601880133152 + }, + "else": { + "operation": "boost", + "score": 0.13995669782161713 + } + }, + "else": { + "operation": "boost", + "score": -0.23769129812717438 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.11671760678291321 + }, + "else": { + "operation": "boost", + "score": -0.2730390131473541 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "boost", + "score": 0.10623329877853394 + }, + "else": { + "operation": "boost", + "score": -0.028809309005737305 + } + }, + "else": { + "operation": "boost", + "score": 0.14560110867023468 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.11981700360774994 + }, + "else": { + "operation": "boost", + "score": 0.04956824332475662 + } + } + } + } + } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.11601392179727554 + "score": 0.010071251541376114 }, "else": { "operation": "boost", - "score": 0.07263907045125961 + "score": -0.1558103859424591 } } }, - "else": { - "operation": "boost", - "score": 0.07080162316560745 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.009532937780022621 - }, - "else": { - "operation": "boost", - "score": -0.08720789849758148 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03846646100282669 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.17067889869213104 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.0968577116727829 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4520.0, + "then": { + "operation": "boost", + "score": -0.479594886302948 + }, + "else": { + "operation": "boost", + "score": 0.040227826684713364 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 631.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2198.5, "then": { "operation": "boost", - "score": 0.05359027162194252 + "score": 0.000882403866853565 }, "else": { - "operation": "boost", - "score": -0.17357368767261505 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 678.5, + "then": { + "operation": "boost", + "score": 0.0550684854388237 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 668.5, + "then": { + "operation": "boost", + "score": 0.14098012447357178 + }, + "else": { + "operation": "boost", + "score": 0.10289348661899567 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.0025620588567107916 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 925.5, + "then": { + "operation": "boost", + "score": 0.08158987015485764 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 890.5, + "then": { + "operation": "boost", + "score": 0.12189789861440659 + }, + "else": { + "operation": "boost", + "score": 0.010594361461699009 + } + } + } + } } }, "else": { - "operation": "boost", - "score": -0.5223464965820312 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.009777765721082687 + }, + "else": { + "operation": "boost", + "score": -0.011683549731969833 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.04295137897133827 }, "else": { - "operation": "boost", - "score": -0.02531570754945278 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.027345309033989906 + }, + "else": { + "operation": "boost", + "score": 0.0048158117569983006 + } } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.057765062898397446 - }, - "else": { - "operation": "boost", - "score": 0.12631365656852722 - } - }, - "else": { - "operation": "boost", - "score": -0.1017947718501091 - } + "operation": "boost", + "score": 0.019226698204874992 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.05158914625644684 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.058912813663482666 - }, - "else": { - "operation": "boost", - "score": 0.09753041714429855 - } + "operation": "boost", + "score": 0.11361652612686157 }, "else": { "operation": "boost", - "score": 0.0645519569516182 + "score": 0.01728646270930767 } + }, + "else": { + "operation": "boost", + "score": -0.0040702600963413715 } } - }, - "else": { - "operation": "boost", - "score": -0.07494128495454788 } } - }, - "else": { - "operation": "boost", - "score": -0.12916016578674316 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": -0.058842167258262634 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.04612626135349274 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.094652459025383 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12854520976543427 + "score": -0.08619311451911926 }, "else": { - "operation": "boost", - "score": 0.09223441034555435 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.14596281945705414 - }, - "else": { - "operation": "boost", - "score": -0.1417653113603592 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.03686467930674553 + }, + "else": { + "operation": "boost", + "score": 0.011241345666348934 + } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0651002749800682 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.37038150429725647 - }, - "else": { - "operation": "boost", - "score": -0.1496889889240265 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212623.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12592624127864838 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.11444742232561111 + }, + "else": { + "operation": "boost", + "score": 0.0799606516957283 + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { "operation": "boost", - "score": -0.24703523516654968 + "score": -0.09213649481534958 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { - "operation": "boost", - "score": 0.06451418250799179 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.0597439780831337 + "score": -0.055464860051870346 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { "operation": "boost", - "score": 0.11779148131608963 + "score": 0.013453890569508076 }, "else": { - "operation": "boost", - "score": -0.11376678198575974 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11721231788396835 + }, + "else": { + "operation": "boost", + "score": 0.08209819346666336 + } } } + }, + "else": { + "operation": "boost", + "score": 0.010569934733211994 } } } - }, - "else": { - "operation": "boost", - "score": 0.028992824256420135 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09727024286985397 + "score": 0.03143477067351341 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { "operation": "boost", - "score": 0.014109600335359573 + "score": -0.23723511397838593 }, "else": { "operation": "boost", - "score": 0.08757229149341583 + "score": 0.11933333426713943 } }, "else": { "operation": "boost", - "score": -0.23994584381580353 + "score": -0.0690465047955513 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.11200535297393799 + "score": 0.12685610353946686 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.2057962715625763 - }, - "else": { - "operation": "boost", - "score": -0.5412164330482483 - } + "operation": "boost", + "score": -0.009661892428994179 } } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.06982045620679855 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.01720043085515499 + }, + "else": { + "operation": "boost", + "score": -0.04563822224736214 + } }, "else": { - "operation": "boost", - "score": -0.34024569392204285 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0016389169031754136 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.018144046887755394 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.12104043364524841 + "score": 0.021190516650676727 }, "else": { "operation": "boost", - "score": 0.06413096934556961 + "score": -0.1063784807920456 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10146079957485199 + "score": -0.15567825734615326 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0834541916847229 - }, - "else": { - "operation": "boost", - "score": 0.11873649805784225 - } + "operation": "boost", + "score": -0.012669957242906094 } } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.020550696179270744 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04841994121670723 + }, + "else": { + "operation": "boost", + "score": -0.051673464477062225 + } + }, + "else": { + "operation": "boost", + "score": 0.012889022007584572 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0002954349620267749 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 1.5782765331096016e-05 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.036411453038454056 + }, + "else": { + "operation": "boost", + "score": 0.010515226051211357 + } + }, + "else": { + "operation": "boost", + "score": -0.023856118321418762 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 30.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12811262905597687 }, "else": { "operation": "boost", - "score": 0.02464512176811695 + "score": 0.0735868439078331 } + }, + "else": { + "operation": "boost", + "score": 0.010219857096672058 } }, "else": { "operation": "boost", - "score": -0.11286065727472305 + "score": -0.04416752979159355 } + }, + "else": { + "operation": "boost", + "score": 0.03163856640458107 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124731.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.02224287949502468 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0895526334643364 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.16600050032138824 + }, + "else": { + "operation": "boost", + "score": 0.1157316267490387 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06606739014387131 + } + }, + "else": { + "operation": "boost", + "score": -0.14049264788627625 + } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 123410.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.11129455268383026 + "score": -0.010733111761510372 }, "else": { "operation": "boost", - "score": -0.1958032101392746 + "score": -0.04189135506749153 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92954.5, - "then": { - "operation": "boost", - "score": 0.061929695308208466 - }, - "else": { - "operation": "boost", - "score": 0.13999700546264648 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93017.5, - "then": { - "operation": "boost", - "score": 0.10489355772733688 - }, - "else": { - "operation": "boost", - "score": -0.11439347267150879 - } - } + "operation": "boost", + "score": 0.033470865339040756 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, - "then": { - "operation": "boost", - "score": -0.050913408398628235 - }, - "else": { - "operation": "boost", - "score": 0.14416183531284332 - } - }, - "else": { - "operation": "boost", - "score": 0.07099207490682602 - } - }, - "else": { - "operation": "boost", - "score": 0.11880061775445938 - } + "operation": "boost", + "score": 0.0033576434943825006 } } }, "else": { + "operation": "boost", + "score": -0.06151343509554863 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05673381686210632 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06593925505876541 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07997789978981018 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.09706656634807587 + "score": -0.006080781575292349 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09162356704473495 - }, - "else": { - "operation": "boost", - "score": 0.09216956794261932 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.1063123345375061 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11299784481525421 - }, - "else": { - "operation": "boost", - "score": 0.0761164128780365 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.1307855248451233 - }, - "else": { - "operation": "boost", - "score": 0.1604272425174713 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.04269244149327278 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.1183018833398819 - }, - "else": { - "operation": "boost", - "score": -0.10286005586385727 - } - }, - "else": { - "operation": "boost", - "score": 0.04537766054272652 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, - "then": { - "operation": "boost", - "score": 0.11758869141340256 - }, - "else": { - "operation": "boost", - "score": -0.29272690415382385 - } - }, - "else": { - "operation": "boost", - "score": 0.11148002743721008 - } - }, - "else": { - "operation": "boost", - "score": 0.04253807291388512 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1791583150625229 - } + "operation": "boost", + "score": 0.007881822995841503 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Function" ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "boost", - "score": -0.1417713612318039 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.05321686714887619 - }, - "else": { - "operation": "boost", - "score": 0.10408013314008713 - } - } - }, - "else": { - "operation": "boost", - "score": 0.015834052115678787 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", "CCC_Expression", - "CCC_Type" + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.06546047329902649 - }, - "else": { - "operation": "boost", - "score": -0.1857205480337143 - } - }, - "else": { - "operation": "boost", - "score": -0.0009094633278436959 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04634026437997818 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.0561409629881382 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10843516141176224 - }, - "else": { - "operation": "boost", - "score": 0.1077990010380745 - } - } + "operation": "boost", + "score": 0.03545013815164566 }, "else": { "operation": "boost", - "score": 0.08846881240606308 + "score": 0.020406249910593033 } + }, + "else": { + "operation": "boost", + "score": -0.08763545006513596 } }, "else": { "operation": "boost", - "score": -0.05740068852901459 + "score": 0.00010239481343887746 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09376392513513565 - }, - "else": { - "operation": "boost", - "score": 0.1324869692325592 - } }, "else": { "operation": "boost", - "score": -0.2520313262939453 + "score": -0.004317150451242924 } - }, - "else": { - "operation": "boost", - "score": -0.06185571849346161 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.1342821717262268 + "score": 0.05187229812145233 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92051.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": -0.03287314996123314 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90634.0, - "then": { - "operation": "boost", - "score": -0.9663264155387878 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.07789076119661331 - }, - "else": { - "operation": "boost", - "score": 0.025846485048532486 - } - } + "operation": "boost", + "score": 0.05527687445282936 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.1068832129240036 + "score": 0.19492214918136597 }, "else": { "operation": "boost", - "score": 0.10980738699436188 + "score": -0.22158195078372955 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.21157829463481903 - }, - "else": { - "operation": "boost", - "score": -0.24666623771190643 - } + "operation": "boost", + "score": 0.09594632685184479 }, "else": { "operation": "boost", - "score": 0.027038993313908577 + "score": 0.009347033686935902 } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.033569540828466415 + }, + "else": { + "operation": "boost", + "score": -0.014753763563930988 + } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.006482105236500502 + }, + "else": { + "operation": "boost", + "score": -0.011664016172289848 + } } } } + }, + "else": { + "operation": "boost", + "score": -0.02774161286652088 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1829.5, + "then": { + "operation": "boost", + "score": -4.634953498840332 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0024598175659775734 + }, + "else": { + "operation": "boost", + "score": -0.055717822164297104 } } }, "else": { - "operation": "boost", - "score": -0.02322203479707241 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.04273753985762596 + }, + "else": { + "operation": "boost", + "score": 0.011912763118743896 + } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.016843924298882484 + "score": 0.005084828473627567 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110939.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.009677066467702389 - }, - "else": { - "operation": "boost", - "score": -0.22609955072402954 - } + "operation": "boost", + "score": 0.008682993240654469 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.6716023683547974 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07488028705120087 + "score": -0.055100686848163605 }, "else": { "operation": "boost", - "score": 0.06472869217395782 + "score": 0.00046336278319358826 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.015292681753635406 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.04126114398241043 + }, + "else": { + "operation": "boost", + "score": -0.010335627943277359 + } } } } @@ -157026,2889 +153221,2827 @@ }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49723.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": -0.0923863872885704 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44616.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11150621622800827 - }, - "else": { - "operation": "boost", - "score": 0.06120527535676956 - } - }, - "else": { - "operation": "boost", - "score": 0.004330262541770935 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0008136239484883845 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.030133714899420738 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1280205.5, + "threshold": 272339.5, "then": { "operation": "boost", - "score": 0.09081719815731049 + "score": 0.025098126381635666 }, "else": { "operation": "boost", - "score": 0.10331472754478455 + "score": 0.07949905097484589 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.07479199022054672 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.06656645238399506 - }, - "else": { - "operation": "boost", - "score": 0.0028658187948167324 - } - } + "operation": "boost", + "score": 0.004907046910375357 } - } - }, - "else": { - "operation": "boost", - "score": -0.09408969432115555 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.09269776940345764 - }, - "else": { - "operation": "boost", - "score": -0.20487385988235474 - } - }, - "else": { - "operation": "boost", - "score": 0.0871398001909256 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.025341080501675606 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.036914221942424774 - }, - "else": { - "operation": "boost", - "score": -0.005234685726463795 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": -0.01143946684896946 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07403313368558884 }, "else": { "operation": "boost", - "score": -0.030524635687470436 + "score": -0.0056077586486935616 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04794328287243843 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.006785525009036064 }, "else": { - "operation": "boost", - "score": -0.00567244179546833 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Constructor", + "Destructor", "Keyword", - "Variable", - "Function", "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2067.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0426330603659153 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.04654970020055771 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ClassStructUnion", + "CCC_Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48040.5, - "then": { - "operation": "boost", - "score": 0.11754170805215836 - }, - "else": { - "operation": "boost", - "score": 0.0681162178516388 - } - }, - "else": { - "operation": "boost", - "score": 0.0162896066904068 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { - "operation": "boost", - "score": 0.013235291466116905 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.21774624288082123 + }, + "else": { + "operation": "boost", + "score": 0.2665605843067169 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.013556082732975483 + "score": -0.1896539032459259 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6067.0, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10529.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08453644067049026 - }, - "else": { - "operation": "boost", - "score": 0.10524145513772964 - } - }, - "else": { - "operation": "boost", - "score": -0.10058716684579849 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10224338620901108 - }, - "else": { - "operation": "boost", - "score": 0.11528391391038895 - } - } + "operation": "boost", + "score": 0.14525499939918518 }, "else": { "operation": "boost", - "score": -0.18549659848213196 + "score": 0.14689266681671143 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.08003285527229309 }, "else": { "operation": "boost", - "score": 0.049247000366449356 + "score": -0.5416795015335083 } } }, "else": { + "operation": "boost", + "score": 0.0663851946592331 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.030411774292588234 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.016298260539770126 + }, + "else": { + "operation": "boost", + "score": -0.06285692006349564 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.02993147261440754 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.08167044073343277 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.0777600109577179 + }, + "else": { + "operation": "boost", + "score": 0.1508338451385498 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200716.0, - "then": { - "operation": "boost", - "score": 0.10336281359195709 - }, - "else": { - "operation": "boost", - "score": 0.190157949924469 - } + "operation": "boost", + "score": 0.12796661257743835 }, "else": { "operation": "boost", - "score": 0.11495033651590347 + "score": -0.025673430413007736 } } - }, - "else": { - "operation": "boost", - "score": 0.0795573741197586 } + }, + "else": { + "operation": "boost", + "score": 0.018280690535902977 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 35.5, + "then": { + "operation": "boost", + "score": -0.13908398151397705 + }, + "else": { + "operation": "boost", + "score": -0.01893048733472824 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.009211575612425804 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2236.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.0016825146740302444 + "score": 0.014506499283015728 }, "else": { "operation": "boost", - "score": 0.09719738364219666 + "score": -0.012700064107775688 } } }, "else": { + "operation": "boost", + "score": -0.00959071610122919 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "GlobalScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], + "then": { + "operation": "boost", + "score": 0.05709487572312355 + }, + "else": { + "operation": "boost", + "score": -0.0029212129302322865 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.04347199946641922 + }, + "else": { + "operation": "boost", + "score": -0.0647786483168602 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.05837412178516388 + }, + "else": { + "operation": "boost", + "score": 0.006468089763075113 + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.03547050058841705 + }, + "else": { + "operation": "boost", + "score": 0.002646968699991703 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0017825613031163812 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.029431771486997604 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.03716345876455307 + }, + "else": { + "operation": "boost", + "score": -0.1414077877998352 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 134893.5, + "then": { + "operation": "boost", + "score": -0.17787474393844604 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.025617223232984543 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.021195635199546814 + "score": 0.08577702194452286 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.09720201790332794 - }, - "else": { - "operation": "boost", - "score": -0.26468273997306824 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "feature": "NumReferences", + "threshold": 98088.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 108163.5, "then": { "operation": "boost", - "score": -0.041676148772239685 + "score": -0.12379266321659088 }, "else": { - "operation": "boost", - "score": 0.04273722320795059 - } - }, - "else": { - "operation": "boost", - "score": -0.06890305876731873 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.027091018855571747 + "score": 0.018820220604538918 }, "else": { "operation": "boost", - "score": 0.01110445149242878 + "score": 0.1164599061012268 } - }, - "else": { - "operation": "boost", - "score": 0.13843730092048645 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 62708.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.12300436943769455 - }, - "else": { - "operation": "boost", - "score": 0.15924040973186493 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.07605402916669846 - }, - "else": { - "operation": "boost", - "score": -0.06695260852575302 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04501825198531151 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.09389559924602509 - }, - "else": { - "operation": "boost", - "score": -0.16368988156318665 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10770061612129211 - }, - "else": { - "operation": "boost", - "score": 0.10121826082468033 - } - }, - "else": { - "operation": "boost", - "score": 0.11945788562297821 - } - }, - "else": { - "operation": "boost", - "score": -0.9293398261070251 - } - }, - "else": { - "operation": "boost", - "score": 0.08411693572998047 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05689803883433342 - } - } + "operation": "boost", + "score": -0.1649361103773117 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57582.0, "then": { "operation": "boost", - "score": 0.02366306632757187 + "score": 0.14730755984783173 }, "else": { "operation": "boost", - "score": -0.014384492300450802 + "score": 0.006072735879570246 } } } } }, "else": { - "operation": "boost", - "score": -0.017749695107340813 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.02210543118417263 + "score": -0.015488079749047756 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11450798809528351 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 23993.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.05375099554657936 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15358.5, "then": { + "operation": "boost", + "score": -0.0996985211968422 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 12495.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 13716.0, "then": { "operation": "boost", - "score": 0.06659799069166183 + "score": -0.01551778707653284 }, "else": { "operation": "boost", - "score": 0.1068556010723114 + "score": 0.13055862486362457 } }, "else": { "operation": "boost", - "score": -0.4913688600063324 + "score": 0.002963882638141513 } - }, - "else": { - "operation": "boost", - "score": -2.4678449630737305 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.06767110526561737 - }, - "else": { - "operation": "boost", - "score": 0.12147916853427887 } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.04994477704167366 - } - }, - "else": { - "operation": "boost", - "score": -0.10202369093894958 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.11095526069402695 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { "operation": "boost", - "score": -0.1170116513967514 + "score": 0.15918254852294922 }, "else": { "operation": "boost", - "score": 0.1130666509270668 + "score": 0.09003283828496933 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.06389165669679642 + "score": 0.11853162199258804 }, "else": { "operation": "boost", - "score": 0.06664413213729858 + "score": 0.844743549823761 } } }, "else": { - "operation": "boost", - "score": 0.0008484457503072917 - } - } - }, - "else": { - "operation": "boost", - "score": 0.005813293159008026 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.1127442717552185 + "score": 0.051478028297424316 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.11679618060588837 - }, - "else": { - "operation": "boost", - "score": -0.06271082907915115 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11057841777801514 - }, - "else": { - "operation": "boost", - "score": -1.0735070705413818 - } + "score": -0.00801513995975256 }, "else": { "operation": "boost", - "score": 0.14040090143680573 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 750.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858.0, - "then": { - "operation": "boost", - "score": 0.07892747968435287 - }, - "else": { - "operation": "boost", - "score": 0.10163227468729019 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, - "then": { - "operation": "boost", - "score": 0.05541666969656944 - }, - "else": { - "operation": "boost", - "score": 0.10960261523723602 - } - }, - "else": { - "operation": "boost", - "score": 0.032918531447649 - } - }, - "else": { - "operation": "boost", - "score": 0.05242413282394409 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10827359557151794 - }, - "else": { - "operation": "boost", - "score": 0.1165679544210434 - } - }, - "else": { - "operation": "boost", - "score": 0.7931569814682007 - } - }, - "else": { - "operation": "boost", - "score": 0.031015891581773758 - } - } + "score": 0.051337577402591705 } } } - }, - "else": { - "operation": "boost", - "score": 0.07722695171833038 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56793.5, + "then": { + "operation": "boost", + "score": -0.180574432015419 }, "else": { "operation": "boost", - "score": 0.006152387708425522 + "score": 0.01107652485370636 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, + "feature": "NumReferences", + "threshold": 5546.5, "then": { - "operation": "boost", - "score": 0.033557191491127014 - }, - "else": { - "operation": "boost", - "score": -0.03559311479330063 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0016097330953925848 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0005766264512203634 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0031054047867655754 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.19866593182086945 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.5, + "then": { + "operation": "boost", + "score": 0.04540615901350975 + }, + "else": { + "operation": "boost", + "score": -0.013282150030136108 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 106.5, + "then": { + "operation": "boost", + "score": 0.040099773555994034 + }, + "else": { + "operation": "boost", + "score": 0.03058595582842827 + } + } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.020367048680782318 + "score": -0.026299333199858665 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.019433530047535896 - }, - "else": { - "operation": "boost", - "score": 0.1088041365146637 - } - }, - "else": { - "operation": "boost", - "score": -0.007478195242583752 - } - }, - "else": { - "operation": "boost", - "score": 0.08994279056787491 - } + "operation": "boost", + "score": 0.07132600247859955 }, "else": { "operation": "boost", - "score": -0.14418353140354156 + "score": 0.012079327367246151 } } }, "else": { "operation": "boost", - "score": 0.032055992633104324 + "score": -0.04355105012655258 } }, "else": { - "operation": "boost", - "score": 0.03742225840687752 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.051237478852272034 + }, + "else": { + "operation": "boost", + "score": 0.013408327475190163 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.01992836780846119 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1050126850605011 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.02280276268720627 - }, - "else": { - "operation": "boost", - "score": -0.05049632489681244 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1125953271985054 - }, - "else": { - "operation": "boost", - "score": -0.007768396288156509 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "feature": "NumReferences", + "threshold": 476.0, "then": { "operation": "boost", - "score": -0.11919289082288742 + "score": -0.13533590734004974 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.10678087174892426 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.027382833883166313 - }, - "else": { - "operation": "boost", - "score": 0.11318942904472351 - } + "operation": "boost", + "score": -0.32480838894844055 }, "else": { "operation": "boost", - "score": 0.04343970865011215 + "score": -0.7128198146820068 } }, "else": { "operation": "boost", - "score": -0.6717197299003601 + "score": -0.07209143787622452 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0755322203040123 + }, + "else": { + "operation": "boost", + "score": 0.017251357436180115 } } }, "else": { "operation": "boost", - "score": -0.09943527728319168 + "score": -0.05790819227695465 } } } }, "else": { "operation": "boost", - "score": -0.002955490490421653 + "score": -0.0042183892801404 } - }, - "else": { - "operation": "boost", - "score": -0.00714267510920763 } } - }, - "else": { - "operation": "boost", - "score": -0.00337641267105937 } } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1481.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232885.0, + "operation": "boost", + "score": 0.01618322730064392 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 291408.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { + "operation": "boost", + "score": 0.08207952231168747 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.02996240369975567 - }, - "else": { - "operation": "boost", - "score": -0.001434783567674458 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09682799875736237 - }, - "else": { - "operation": "boost", - "score": 0.06853078305721283 - } - }, - "else": { - "operation": "boost", - "score": 0.017161648720502853 - } - }, - "else": { - "operation": "boost", - "score": 0.08351768553256989 - } - } + "operation": "boost", + "score": -0.12107828259468079 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2570604383945465 + "score": -0.0014717400772497058 }, "else": { "operation": "boost", - "score": -0.014967148192226887 + "score": 0.011030896566808224 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 375849.5, + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10207395255565643 - }, - "else": { - "operation": "boost", - "score": 0.1004863977432251 - } - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 20.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.08277123421430588 - }, - "else": { - "operation": "boost", - "score": 0.1071246862411499 - } + "operation": "boost", + "score": 0.08502009510993958 }, "else": { "operation": "boost", - "score": -0.2548428177833557 + "score": 0.1290012151002884 } }, "else": { "operation": "boost", - "score": 0.011735408566892147 + "score": -0.1566549837589264 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.048379458487033844 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.025518380105495453 + "score": 0.17396041750907898 }, "else": { "operation": "boost", - "score": -0.6029350161552429 + "score": 0.03592971712350845 } + }, + "else": { + "operation": "boost", + "score": -0.13584406673908234 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.027267057448625565 - }, - "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06285233795642853 + "score": 0.043072670698165894 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.08539023995399475 - }, - "else": { - "operation": "boost", - "score": 0.007637991104274988 - } - }, - "else": { - "operation": "boost", - "score": -0.0383063405752182 - } - }, - "else": { - "operation": "boost", - "score": 0.06270851939916611 - } + "operation": "boost", + "score": 0.005710008088499308 } + }, + "else": { + "operation": "boost", + "score": 0.00929641630500555 } + }, + "else": { + "operation": "boost", + "score": -0.001106737065128982 } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.016515251249074936 + }, + "else": { + "operation": "boost", + "score": -0.11901484429836273 + } } - }, - "else": { - "operation": "boost", - "score": -0.009782373905181885 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.07402161508798599 + "score": -0.0006980219040997326 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ParenthesizedExpression", + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.09895333647727966 + "score": 0.04543454945087433 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.002461845986545086 + "score": 0.028102219104766846 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "boost", + "score": -0.017739811912178993 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 310.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 333.0, "then": { "operation": "boost", - "score": 0.11163540929555893 + "score": 0.06732656061649323 }, "else": { "operation": "boost", - "score": 0.09138273447751999 + "score": 0.13065968453884125 } + }, + "else": { + "operation": "boost", + "score": -0.011792570352554321 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" + "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06019655615091324 - }, - "else": { - "operation": "boost", - "score": 0.09294728934764862 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, - "then": { - "operation": "boost", - "score": -0.3856939971446991 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.001285133883357048 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.25231125950813293 - }, - "else": { - "operation": "boost", - "score": 0.11371021717786789 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.2383783459663391 - }, - "else": { - "operation": "boost", - "score": 0.08207014203071594 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.015019144862890244 - } - } - } + "operation": "boost", + "score": 0.014001207426190376 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10317441821098328 - }, - "else": { - "operation": "boost", - "score": -0.12755027413368225 - } - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.02778971567749977 + "score": 0.44147035479545593 }, "else": { "operation": "boost", - "score": 0.08190584182739258 + "score": 0.024649078026413918 } }, "else": { "operation": "boost", - "score": 0.013118487782776356 + "score": -0.06580280512571335 } }, "else": { "operation": "boost", - "score": 0.045721907168626785 + "score": 0.036114390939474106 } + }, + "else": { + "operation": "boost", + "score": -0.1642722636461258 } } }, "else": { - "operation": "boost", - "score": -0.13726706802845 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.06082634627819061 + }, + "else": { + "operation": "boost", + "score": -0.005388978868722916 + } } + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.04201345518231392 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12704390287399292 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "boost", + "score": 0.03131091222167015 + }, + "else": { + "operation": "boost", + "score": 0.26413530111312866 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07312905788421631 }, "else": { "operation": "boost", - "score": -0.011273867450654507 + "score": 0.018310245126485825 } } } + }, + "else": { + "operation": "boost", + "score": 0.007162673398852348 } - }, - "else": { - "operation": "boost", - "score": -0.0064353072084486485 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol", - "CCC_Expression" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "boost", + "score": 0.005855710245668888 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.0679284855723381 + }, + "else": { + "operation": "boost", + "score": 0.022426867857575417 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.007652761414647102 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06915168464183807 + "score": -0.020058367401361465 }, "else": { - "operation": "boost", - "score": -0.062332961708307266 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "FractionNameInContext", + "threshold": 0.464102566242218, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.048522576689720154 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10696935653686523 + "score": -0.026468835771083832 }, "else": { "operation": "boost", - "score": 0.10500462353229523 + "score": 0.04273262247443199 } }, "else": { "operation": "boost", - "score": 0.08983970433473587 + "score": 0.004217496141791344 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": 0.0006703255930915475 + }, + "else": { + "operation": "boost", + "score": -0.023221999406814575 } } }, "else": { - "operation": "boost", - "score": -0.3026442229747772 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, - "then": { - "operation": "boost", - "score": 0.04489578679203987 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Namespace", + "Operator", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.03477137163281441 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.026957539841532707 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011903461068868637 + }, + "else": { + "operation": "boost", + "score": 0.09406585246324539 + } }, "else": { "operation": "boost", - "score": 0.10443763434886932 + "score": -0.013924078084528446 } }, "else": { - "operation": "boost", - "score": 0.08438672870397568 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02563495561480522 + }, + "else": { + "operation": "boost", + "score": 0.08506004512310028 + } } }, "else": { - "operation": "boost", - "score": 0.06611701101064682 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.013147509656846523 + }, + "else": { + "operation": "boost", + "score": -0.005765360780060291 + } + }, + "else": { + "operation": "boost", + "score": 0.00010076625767396763 + } } + }, + "else": { + "operation": "boost", + "score": -0.02720329351723194 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.08463110774755478 - }, - "else": { - "operation": "boost", - "score": 0.10357656329870224 - } }, "else": { "operation": "boost", - "score": 0.03911077231168747 + "score": -0.010482804849743843 } } - }, - "else": { - "operation": "boost", - "score": -0.05203079804778099 } - }, - "else": { - "operation": "boost", - "score": -0.07721345871686935 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176731.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": -0.14226825535297394 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.00654307845979929 + "score": -0.0275914017111063 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.05949893593788147 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope" + "Function", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0005136454710736871 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0047182063572108746 + }, + "else": { + "operation": "boost", + "score": 0.09237640351057053 + } }, "else": { - "operation": "boost", - "score": 0.08247751742601395 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09772136807441711 + }, + "else": { + "operation": "boost", + "score": 0.012081571854650974 + } } }, "else": { - "operation": "boost", - "score": 0.017264163121581078 - } - }, - "else": { - "operation": "boost", - "score": 0.004021233879029751 - } - }, - "else": { - "operation": "boost", - "score": -0.0037201433442533016 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.0713634192943573 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.01679743267595768 + }, + "else": { + "operation": "boost", + "score": -0.038629017770290375 + } + }, + "else": { + "operation": "boost", + "score": -0.019121157005429268 + } + } }, "else": { - "operation": "boost", - "score": -0.4396460950374603 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.060149721801280975 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 82.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 85.5, + "then": { + "operation": "boost", + "score": 0.06300324201583862 + }, + "else": { + "operation": "boost", + "score": 0.1388411819934845 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.008817837573587894 + }, + "else": { + "operation": "boost", + "score": -0.027428502216935158 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.003941577859222889 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Namespace" + "ClassScope", + "FunctionScope" ], "then": { "operation": "boost", - "score": 0.08508092910051346 + "score": -0.002130104461684823 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.07403956353664398 - }, - "else": { - "operation": "boost", - "score": 0.11229239404201508 - } + "operation": "boost", + "score": -0.0015889592468738556 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -2.746586799621582 - }, - "else": { - "operation": "boost", - "score": 0.1215401366353035 - } + "operation": "boost", + "score": -0.02069544419646263 }, "else": { "operation": "boost", - "score": 0.008663039654493332 + "score": -0.12777520716190338 } } } }, "else": { "operation": "boost", - "score": -0.757485568523407 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.09272754192352295 - }, - "else": { - "operation": "boost", - "score": -0.418911337852478 + "score": 0.04208815470337868 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.03581729531288147 - }, - "else": { - "operation": "boost", - "score": 0.12640592455863953 - } } - }, - "else": { - "operation": "boost", - "score": -0.094046451151371 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.010422604158520699 - }, - "else": { - "operation": "boost", - "score": -0.041483502835035324 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": -0.13324585556983948 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.0022419202141463757 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 688.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 794.5, + "threshold": 266615.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 272339.5, "then": { - "operation": "boost", - "score": 0.09441978484392166 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 276057.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.037541359663009644 + }, + "else": { + "operation": "boost", + "score": 0.028053410351276398 + } + }, + "else": { + "operation": "boost", + "score": -0.2076113075017929 + } }, "else": { - "operation": "boost", - "score": -0.3516378402709961 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09384317696094513 + }, + "else": { + "operation": "boost", + "score": 0.026910340413451195 + } } }, "else": { - "operation": "boost", - "score": 0.11384545266628265 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.1575719118118286 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.0624992810189724 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91274.0, + "then": { + "operation": "boost", + "score": -0.08923058956861496 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33610.5, + "then": { + "operation": "boost", + "score": 0.03849272429943085 + }, + "else": { + "operation": "boost", + "score": 0.1209503784775734 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30389.0, + "then": { + "operation": "boost", + "score": -0.1463741809129715 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29460.5, + "then": { + "operation": "boost", + "score": 0.10299456864595413 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24308.0, + "then": { + "operation": "boost", + "score": -0.095067098736763 + }, + "else": { + "operation": "boost", + "score": 0.02228519506752491 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0048890127800405025 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.034811586141586304 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0182370375841856 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3539.0, + "then": { + "operation": "boost", + "score": -0.13944998383522034 + }, + "else": { + "operation": "boost", + "score": -0.09747802466154099 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.18543384969234467 + }, + "else": { + "operation": "boost", + "score": 0.07853681594133377 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.1664263904094696 + }, + "else": { + "operation": "boost", + "score": 0.031777866184711456 + } + } + } + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27.5, + "threshold": 241916.0, "then": { + "operation": "boost", + "score": -0.029609184712171555 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 203324.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, + "feature": "NumReferences", + "threshold": 207505.0, "then": { "operation": "boost", - "score": 0.09703115373849869 + "score": 0.004769369959831238 }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.055010031908750534 + }, + "else": { + "operation": "boost", + "score": -0.12918752431869507 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 19.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 152.5, + "threshold": 134893.5, "then": { "operation": "boost", - "score": -0.19536727666854858 + "score": -0.06508945673704147 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.016398832201957703 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.03118104487657547 + "score": 0.0590028315782547 }, "else": { "operation": "boost", - "score": 0.07344110310077667 + "score": 0.27495455741882324 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "boost", + "score": 0.036144860088825226 }, "else": { "operation": "boost", - "score": 0.13051164150238037 + "score": -0.0035046017728745937 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.5, + "then": { + "operation": "boost", + "score": 0.10871107131242752 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "boost", + "score": 0.07498030364513397 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.01554173231124878 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "boost", - "score": -0.07875999808311462 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.17515027523040771 - }, - "else": { - "operation": "boost", - "score": 0.08934111148118973 - } - } + "operation": "boost", + "score": 0.014284453354775906 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15623.0, "then": { "operation": "boost", - "score": -0.6103721857070923 + "score": -0.11710644513368607 }, "else": { "operation": "boost", - "score": -0.0659472644329071 + "score": -0.0444360077381134 } } } } } - }, - "else": { - "operation": "boost", - "score": -0.16064460575580597 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.049486685544252396 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.06020626053214073 }, "else": { "operation": "boost", - "score": 0.02530818246304989 + "score": -0.1238020732998848 } } } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": -0.0015172064304351807 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.0008029698510654271 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.08141899108886719 + }, + "else": { + "operation": "boost", + "score": 0.03412312641739845 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2054.0, + "then": { + "operation": "boost", + "score": 0.44890105724334717 + }, + "else": { + "operation": "boost", + "score": 0.021732255816459656 + } + } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "boost", + "score": -0.04326305538415909 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 565.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.17064695060253143 + "score": 0.14890623092651367 }, "else": { "operation": "boost", - "score": -0.09306753426790237 + "score": 0.0629386454820633 } + }, + "else": { + "operation": "boost", + "score": 0.0027583418413996696 } } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.109060138463974 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4690.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4809.0, + "then": { + "operation": "boost", + "score": 0.016610851511359215 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4777.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.24942560493946075 }, "else": { "operation": "boost", - "score": -0.023467110469937325 + "score": 0.15138055384159088 } + }, + "else": { + "operation": "boost", + "score": 0.07934325933456421 } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "FileScope" + "Macro", + "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { + "operation": "boost", + "score": 0.08122789114713669 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.00967724621295929 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.010989969596266747 + }, + "else": { + "operation": "boost", + "score": -0.041135773062705994 + } }, "else": { + "operation": "boost", + "score": 0.010432113893330097 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 31.0, + "feature": "NumReferences", + "threshold": 30.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.05921067297458649 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1183251291513443 + }, + "else": { + "operation": "boost", + "score": 0.10105780512094498 + } + } + }, + "else": { + "operation": "boost", + "score": 0.029710667207837105 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.75, "then": { "operation": "boost", - "score": 0.018338076770305634 + "score": -0.13578951358795166 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.1068190187215805 + "score": 0.22628705203533173 }, "else": { "operation": "boost", - "score": 0.08230346441268921 + "score": 0.04131330922245979 } } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04294084385037422 - }, - "else": { - "operation": "boost", - "score": -0.059207573533058167 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21461.5, - "then": { "operation": "boost", - "score": 0.051518380641937256 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.037151310592889786 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2027072161436081 - }, - "else": { - "operation": "boost", - "score": 0.07874608784914017 - } - }, - "else": { - "operation": "boost", - "score": 0.1105390191078186 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "boost", - "score": 0.12753848731517792 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": -1.7857098579406738 - }, - "else": { - "operation": "boost", - "score": -0.1514359712600708 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.01605822704732418 - } + "score": 0.005314672831445932 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11434727907180786 }, "else": { "operation": "boost", - "score": 0.21037757396697998 + "score": 0.008762271143496037 } + }, + "else": { + "operation": "boost", + "score": -0.0013377105351537466 } } }, "else": { - "operation": "boost", - "score": 0.020910656079649925 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09862598031759262 + }, + "else": { + "operation": "boost", + "score": -0.011309255845844746 + } + }, + "else": { + "operation": "boost", + "score": -0.10229040682315826 + } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.019019780680537224 + "score": -0.10627840459346771 }, "else": { "operation": "boost", - "score": 0.0060534849762916565 + "score": -0.00032948266016319394 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.04058045893907547 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.026566995307803154 + }, + "else": { + "operation": "boost", + "score": -0.01617603562772274 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "boost", + "score": 0.02119499072432518 + }, + "else": { + "operation": "boost", + "score": 0.0017607779009267688 + } } } - }, - "else": { - "operation": "boost", - "score": -0.00433315709233284 } } } } }, { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope", - "FileScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { - "operation": "boost", - "score": -0.06376885622739792 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11859950423240662 + }, + "else": { + "operation": "boost", + "score": 0.04431169852614403 + } + }, + "else": { + "operation": "boost", + "score": 0.014712159521877766 + } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.09848681092262268 + "score": -0.007691806647926569 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 25461.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 17.5, + "threshold": 31804.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 44616.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 47253.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 68.5, - "then": { - "operation": "boost", - "score": 0.0337362177670002 - }, - "else": { - "operation": "boost", - "score": 0.05286682769656181 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "threshold": 78490.0, "then": { - "operation": "boost", - "score": -0.022800562903285027 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123410.5, + "then": { + "operation": "boost", + "score": 0.06486315280199051 + }, + "else": { + "operation": "boost", + "score": -0.15742532908916473 + } + }, + "else": { + "operation": "boost", + "score": 0.08741586655378342 + } + }, + "else": { + "operation": "boost", + "score": -0.05135186389088631 + } + }, + "else": { + "operation": "boost", + "score": 0.08381330966949463 + } + }, + "else": { + "operation": "boost", + "score": -0.0398903451859951 + } + }, + "else": { + "operation": "boost", + "score": 0.09328605234622955 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.0025341357104480267 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 627.0, + "then": { + "operation": "boost", + "score": 0.05639408901333809 + }, + "else": { + "operation": "boost", + "score": -0.06380024552345276 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { + "operation": "boost", + "score": 0.1360996812582016 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.0, - "then": { - "operation": "boost", - "score": 0.12087096273899078 - }, - "else": { - "operation": "boost", - "score": 0.08757530152797699 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11981471627950668 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10688463598489761 - }, - "else": { - "operation": "boost", - "score": -0.6372920870780945 - } - } - } + "operation": "boost", + "score": 0.013132060877978802 }, "else": { "operation": "boost", - "score": -0.07367116957902908 + "score": 0.08836867660284042 } }, "else": { "operation": "boost", - "score": 0.05178854614496231 + "score": 0.082058846950531 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" ], "then": { + "operation": "boost", + "score": 0.037663668394088745 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.11589568853378296 - }, - "else": { - "operation": "boost", - "score": 0.0911215990781784 - } - }, - "else": { - "operation": "boost", - "score": 0.05748164281249046 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.06926409155130386 + "score": 0.011389249935746193 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.13569721579551697 - }, - "else": { - "operation": "boost", - "score": -0.35043972730636597 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { "operation": "boost", - "score": 0.0527169331908226 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.09068386256694794 - }, - "else": { - "operation": "boost", - "score": 0.029283858835697174 - } + "score": -0.10892304033041 } } - }, - "else": { - "operation": "boost", - "score": -0.022033998742699623 } } } @@ -159916,2209 +156049,2064 @@ }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 79.5, "then": { "operation": "boost", - "score": -0.0028372874949127436 + "score": 0.0680447518825531 }, "else": { + "operation": "boost", + "score": 0.0032325093634426594 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6406.0, + "then": { + "operation": "boost", + "score": -0.030670268461108208 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6360.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4673.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4906.0, - "then": { - "operation": "boost", - "score": 0.02735866978764534 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4889.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12461785227060318 - }, - "else": { - "operation": "boost", - "score": 0.10784521698951721 - } - }, - "else": { - "operation": "boost", - "score": 0.07269328832626343 - } - } - }, - "else": { - "operation": "boost", - "score": 0.013563672080636024 - } + "operation": "boost", + "score": 0.10876727849245071 }, "else": { "operation": "boost", - "score": 0.0045723142102360725 + "score": 0.1096789613366127 } }, "else": { "operation": "boost", - "score": -0.060662347823381424 + "score": 0.11661893129348755 } + }, + "else": { + "operation": "boost", + "score": 0.007376855704933405 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.018087642267346382 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "boost", + "score": 0.04821731522679329 + }, + "else": { + "operation": "boost", + "score": 0.017637787386775017 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.041047919541597366 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.0005930791376158595 + }, + "else": { + "operation": "boost", + "score": -0.05607473477721214 } + }, + "else": { + "operation": "boost", + "score": 0.0014709606766700745 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.02395460568368435 }, "else": { "operation": "boost", - "score": -0.017045004293322563 + "score": -1.782733678817749 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], + "then": { + "operation": "boost", + "score": -0.10560250282287598 + }, + "else": { + "operation": "boost", + "score": -0.14768949151039124 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5811403393745422, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Type", - "Namespace" + "FileScope" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, "then": { + "operation": "boost", + "score": 0.028076456859707832 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "boost", + "score": -0.10541453212499619 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.013109708204865456 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.11404728889465332 - }, - "else": { - "operation": "boost", - "score": -0.011684909462928772 - } - }, - "else": { - "operation": "boost", - "score": 0.09683816134929657 - } - }, - "else": { - "operation": "boost", - "score": -0.03247556462883949 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.010290198028087616 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0901794359087944 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": -0.05078578740358353 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.15086470544338226 - }, - "else": { - "operation": "boost", - "score": 0.1343545764684677 - } - }, - "else": { - "operation": "boost", - "score": 0.14051911234855652 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.13480322062969208 - }, - "else": { - "operation": "boost", - "score": 0.12407013028860092 - } - }, - "else": { - "operation": "boost", - "score": 0.03196222335100174 - } - }, - "else": { - "operation": "boost", - "score": 0.12346110492944717 - } - }, - "else": { - "operation": "boost", - "score": -0.13514874875545502 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.0674724131822586 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.12411387264728546 - }, - "else": { - "operation": "boost", - "score": 0.08559101819992065 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07336004078388214 - } + "score": 0.049175161868333817 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.047638073563575745 - }, - "else": { - "operation": "boost", - "score": -0.026787525042891502 - } + "operation": "boost", + "score": 0.13737869262695312 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.08627358824014664 }, "else": { "operation": "boost", - "score": -0.02703022211790085 + "score": 0.10340838134288788 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.16168177127838135 + }, + "else": { + "operation": "boost", + "score": 0.024613700807094574 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6833333373069763, + "then": { + "operation": "boost", + "score": 0.011036409065127373 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.014394101686775684 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Variable" ], "then": { "operation": "boost", - "score": -0.01922149956226349 + "score": 0.05950808525085449 }, "else": { "operation": "boost", - "score": -0.08199531584978104 + "score": 0.01905515417456627 } }, "else": { "operation": "boost", - "score": -0.011212768033146858 + "score": -0.19591674208641052 } + }, + "else": { + "operation": "boost", + "score": 0.10315993428230286 } } }, "else": { "operation": "boost", - "score": 0.010111787356436253 + "score": 0.013612275943160057 } - }, - "else": { - "operation": "boost", - "score": 0.0004246726748533547 } }, "else": { "operation": "boost", - "score": 0.0021232357248663902 + "score": 0.012571688741445541 } + }, + "else": { + "operation": "boost", + "score": -0.06326977908611298 } + }, + "else": { + "operation": "boost", + "score": 0.0042008887976408005 } - } - }, - "else": { - "operation": "boost", - "score": -0.05767954885959625 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.023574406281113625 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.042834147810935974 + "score": -0.05324860289692879 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.07403696328401566 + "score": -0.00610149372369051 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10333442687988281 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07655324786901474 - }, - "else": { - "operation": "boost", - "score": 0.10382474958896637 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "boost", - "score": 0.006180221680551767 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.042839791625738144 - }, - "else": { - "operation": "boost", - "score": 0.014823627658188343 - } + "score": 0.05652255192399025 } - }, - "else": { - "operation": "boost", - "score": 0.014294841326773167 } } }, "else": { - "operation": "boost", - "score": -0.07034942507743835 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 698.5, + "then": { + "operation": "boost", + "score": 0.024413486942648888 + }, + "else": { + "operation": "boost", + "score": 0.0013323230668902397 + } } }, "else": { - "operation": "boost", - "score": 0.0032555803190916777 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.048205312341451645 + }, + "else": { + "operation": "boost", + "score": 0.004066715016961098 + } + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47907.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.02277163229882717 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 32.5, "then": { "operation": "boost", - "score": 0.07032786309719086 + "score": 0.1704065054655075 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1251317411661148 - }, - "else": { - "operation": "boost", - "score": 0.18056900799274445 - } + "operation": "boost", + "score": 0.059059642255306244 } + }, + "else": { + "operation": "boost", + "score": -0.11694604158401489 } }, "else": { "operation": "boost", - "score": -0.042523618787527084 + "score": 0.028956396505236626 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.004001713823527098 + }, + "else": { + "operation": "boost", + "score": 0.029262421652674675 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11348243057727814 + "score": -0.030864287167787552 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, - "then": { - "operation": "boost", - "score": 0.06508241593837738 - }, - "else": { - "operation": "boost", - "score": 0.13075275719165802 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", - "score": -0.11335495859384537 + "score": 0.11163483560085297 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 242.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.11695287376642227 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.025126254186034203 + }, + "else": { + "operation": "boost", + "score": 0.07571617513895035 + } }, "else": { "operation": "boost", - "score": 1.642093539237976 + "score": -0.04578611999750137 } }, "else": { - "operation": "boost", - "score": -0.10185080766677856 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.09873697906732559 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.1309078335762024 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13608752191066742 + }, + "else": { + "operation": "boost", + "score": 0.028024528175592422 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04656270518898964 + } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.009947589598596096 + }, + "else": { + "operation": "boost", + "score": -0.08866115659475327 + } } }, "else": { "operation": "boost", - "score": 0.06720764189958572 + "score": -0.0019679339602589607 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", - "score": -0.014673622325062752 + "score": 0.06238992512226105 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.25836411118507385 - }, - "else": { - "operation": "boost", - "score": 0.12068520486354828 - } + "operation": "boost", + "score": 0.047386642545461655 } }, "else": { + "operation": "boost", + "score": 0.020525388419628143 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30.5, + "threshold": 20253.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 21064.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 24900.5, "then": { "operation": "boost", - "score": 0.11427227407693863 + "score": -0.0023635674733668566 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33.5, + "threshold": 23993.5, "then": { - "operation": "boost", - "score": 0.09140121191740036 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.12576410174369812 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.12873192131519318 + }, + "else": { + "operation": "boost", + "score": 0.14630375802516937 + } + } }, "else": { "operation": "boost", - "score": 0.627682626247406 + "score": -0.018145399168133736 } } }, "else": { "operation": "boost", - "score": 0.10377860814332962 + "score": 0.14999404549598694 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10.5, + "threshold": 11359.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.014663285575807095 - }, - "else": { - "operation": "boost", - "score": -2.5147597789764404 - } + "operation": "boost", + "score": -0.18712837994098663 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 5155.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10202700644731522 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04856189340353012 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13527730107307434 - }, - "else": { - "operation": "boost", - "score": 0.1085951179265976 - } - } + "operation": "boost", + "score": 0.14437167346477509 + }, + "else": { + "operation": "boost", + "score": 0.011646865867078304 + } + }, + "else": { + "operation": "boost", + "score": 0.0022597392089664936 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.10001029074192047 + }, + "else": { + "operation": "boost", + "score": 0.1227182000875473 } }, "else": { "operation": "boost", - "score": 0.02121904492378235 + "score": 0.06616559624671936 } }, "else": { "operation": "boost", - "score": 0.07193496823310852 + "score": 0.035169269889593124 } + }, + "else": { + "operation": "boost", + "score": 0.04914816841483116 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07572650909423828 + }, + "else": { + "operation": "boost", + "score": 0.009659088216722012 } } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37379.5, + "then": { + "operation": "boost", + "score": -0.1045786514878273 }, "else": { "operation": "boost", - "score": -0.037345144897699356 + "score": -0.010631367564201355 } + }, + "else": { + "operation": "boost", + "score": -0.032100826501846313 } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { + "operation": "boost", + "score": 0.010473774746060371 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70521.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.11865227669477463 + "score": -0.0001324318873230368 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": -0.10339276492595673 + "score": 0.01660260371863842 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.034412916749715805 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": -0.15275612473487854 - }, - "else": { - "operation": "boost", - "score": 0.11967784911394119 - } - } - }, - "else": { - "operation": "boost", - "score": -0.034161560237407684 - } + "operation": "boost", + "score": -0.009708845056593418 } }, + "else": { + "operation": "boost", + "score": 0.00887866597622633 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.0028875269927084446 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11881177127361298 - }, - "else": { - "operation": "boost", - "score": -0.010509354993700981 - } + "operation": "boost", + "score": -0.14911553263664246 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.14735710620880127 - }, - "else": { - "operation": "boost", - "score": 0.09571623057126999 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.06402710825204849 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { - "operation": "boost", - "score": 0.04929221048951149 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 64.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09016381204128265 + "score": 0.04455575346946716 }, "else": { "operation": "boost", - "score": 0.11306992918252945 + "score": 0.19217799603939056 } }, "else": { "operation": "boost", - "score": 0.03991539403796196 + "score": 0.003884962759912014 } + }, + "else": { + "operation": "boost", + "score": 0.025398489087820053 } - }, - "else": { - "operation": "boost", - "score": 0.14408306777477264 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.060833752155303955 - }, - "else": { - "operation": "boost", - "score": 0.10956933349370956 - } + "operation": "boost", + "score": -0.1269204318523407 } - }, - "else": { - "operation": "boost", - "score": 0.030142972245812416 } + }, + "else": { + "operation": "boost", + "score": -0.037886105477809906 } } - }, - "else": { - "operation": "boost", - "score": 0.0069194938987493515 } } - }, - "else": { - "operation": "boost", - "score": 0.010122710838913918 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.004292536061257124 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00559559790417552 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.036035697907209396 + "score": 0.011135285720229149 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.09981288015842438 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5256.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5905.5, + "then": { + "operation": "boost", + "score": 0.07498686015605927 + }, + "else": { + "operation": "boost", + "score": 0.16212406754493713 + } + }, + "else": { + "operation": "boost", + "score": 0.024601953104138374 + } }, "else": { "operation": "boost", - "score": -0.0995188057422638 + "score": -0.048979271203279495 } } } }, "else": { - "operation": "boost", - "score": -0.0050608813762664795 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.000772632600273937 + }, + "else": { + "operation": "boost", + "score": -0.005201318766921759 + } } } - }, - "else": { - "operation": "boost", - "score": -0.020896567031741142 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1218.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08874285966157913 + }, + "else": { + "operation": "boost", + "score": 0.00943811796605587 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.015432794578373432 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.002219980349764228 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 5.031563341617584e-05 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.07010538130998611 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.10758641362190247 + }, + "else": { + "operation": "boost", + "score": -0.0007271672948263586 + } + }, + "else": { + "operation": "boost", + "score": 0.04449603334069252 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026107823476195335 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005742757115513086 + } + } + } + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 35.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.016378769651055336 + }, + "else": { + "operation": "boost", + "score": 0.0037670712918043137 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 212125.0, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.042307689785957336 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.025955861434340477 + }, + "else": { + "operation": "boost", + "score": -0.020510630682110786 + } }, "else": { - "operation": "boost", - "score": 0.0006489047082141042 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.023852964863181114 + }, + "else": { + "operation": "boost", + "score": -0.0069471788592636585 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression" + ], "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.042139939963817596 + }, + "else": { + "operation": "boost", + "score": 0.021467693150043488 + } + }, + "else": { + "operation": "boost", + "score": 0.009496494196355343 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.018304849043488503 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.21052636206150055 + }, + "else": { + "operation": "boost", + "score": -0.030540751293301582 + } + } + } + }, + "else": { "operation": "boost", - "score": 0.03749065101146698 + "score": 0.002679849276319146 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04917037859559059 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": 0.02502637729048729 + }, + "else": { + "operation": "boost", + "score": 0.0077056242153048515 + } + }, + "else": { + "operation": "boost", + "score": -0.003253932110965252 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2374.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": -0.026627520099282265 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2417.0, + "feature": "FractionNameInContext", + "threshold": 0.8194444179534912, "then": { "operation": "boost", - "score": 0.04403729736804962 + "score": 0.11597324162721634 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.03851057589054108 + "score": -0.13583654165267944 }, "else": { - "operation": "boost", - "score": 0.1136278435587883 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.08979512751102448 + }, + "else": { + "operation": "boost", + "score": -0.22476808726787567 + } } } - }, - "else": { - "operation": "boost", - "score": 0.005952934268862009 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62087.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74544.0, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": -0.010367942973971367 + "score": 0.10358958691358566 }, "else": { "operation": "boost", - "score": -0.07601060718297958 + "score": 0.000561899971216917 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5161.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5204.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.22892571985721588 + }, + "else": { + "operation": "boost", + "score": 0.14426150918006897 + } + }, + "else": { + "operation": "boost", + "score": -0.04813265800476074 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01513928547501564 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23353.0, + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32538.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.0, + "then": { + "operation": "boost", + "score": 0.12035846710205078 + }, + "else": { + "operation": "boost", + "score": -0.13557736575603485 + } + }, + "else": { + "operation": "boost", + "score": -0.11120189726352692 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { + "operation": "boost", + "score": 0.07878253608942032 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08661378920078278 - }, - "else": { - "operation": "boost", - "score": 0.12278103828430176 - } + "operation": "boost", + "score": -1.6359494924545288 }, "else": { "operation": "boost", - "score": 0.019714215770363808 + "score": 0.033834949135780334 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60916.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10685014724731445 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10135547071695328 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.09420420974493027 - }, - "else": { - "operation": "boost", - "score": 0.16506510972976685 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.024018313735723495 - } - }, - "else": { - "operation": "boost", - "score": -0.010892890393733978 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43084.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50368.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09851793199777603 - }, - "else": { - "operation": "boost", - "score": 0.1087941974401474 - } - }, - "else": { - "operation": "boost", - "score": -0.11405692249536514 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08580578863620758 - }, - "else": { - "operation": "boost", - "score": -0.0724717453122139 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1366194784641266 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.08089105039834976 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09464733302593231 - }, - "else": { - "operation": "boost", - "score": 0.10599382221698761 - } - }, - "else": { - "operation": "boost", - "score": 0.11447910964488983 - } - }, - "else": { - "operation": "boost", - "score": 0.10032469779253006 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34991.0, - "then": { - "operation": "boost", - "score": -0.15654367208480835 - }, - "else": { - "operation": "boost", - "score": 0.06792664527893066 - } - } - } + "operation": "boost", + "score": -1.8350533246994019 } - }, - "else": { - "operation": "boost", - "score": -0.05489268898963928 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35650.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.017008209601044655 + "score": 0.011732845567166805 }, "else": { - "operation": "boost", - "score": -0.13993413746356964 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35146.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04765400290489197 + "score": 0.014802183024585247 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12919901311397552 - }, - "else": { - "operation": "boost", - "score": 0.08272868394851685 - } + "operation": "boost", + "score": -0.8458218574523926 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.18444295227527618 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, - "then": { - "operation": "boost", - "score": 0.028896372765302658 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.11798810213804245 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11950990557670593 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33449.0, - "then": { - "operation": "boost", - "score": 0.11699489504098892 - }, - "else": { - "operation": "boost", - "score": 0.046466197818517685 - } - }, - "else": { - "operation": "boost", - "score": -0.34606438875198364 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0008422802784480155 - } + "operation": "boost", + "score": 0.053599920123815536 } } } }, "else": { "operation": "boost", - "score": -0.035940416157245636 + "score": 0.12857647240161896 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.04321013391017914 + }, + "else": { + "operation": "boost", + "score": 0.033522069454193115 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.055302344262599945 }, "else": { + "operation": "boost", + "score": -0.052090879529714584 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19203.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.02650080807507038 - }, - "else": { - "operation": "boost", - "score": 0.11588083207607269 - } - }, - "else": { - "operation": "boost", - "score": -0.5143533945083618 - } + "operation": "boost", + "score": 0.0798036977648735 }, "else": { "operation": "boost", - "score": 0.10323023796081543 + "score": -0.108615942299366 } }, "else": { - "operation": "boost", - "score": 0.07177601009607315 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "boost", - "score": 0.03777940198779106 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21996.0, - "then": { - "operation": "boost", - "score": 0.11904427409172058 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20025.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1581178456544876 - }, - "else": { - "operation": "boost", - "score": 0.18335220217704773 - } - }, - "else": { - "operation": "boost", - "score": 0.051976364105939865 - } - }, - "else": { - "operation": "boost", - "score": -0.022221030667424202 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11343348771333694 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.055981989949941635 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1326887309551239 - }, - "else": { - "operation": "boost", - "score": 0.10740593820810318 - } - }, - "else": { - "operation": "boost", - "score": 0.073585644364357 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04978246986865997 - } - }, - "else": { - "operation": "boost", - "score": 0.037484701722860336 - } + "score": 0.09759863466024399 }, "else": { "operation": "boost", - "score": -0.013954248279333115 + "score": 0.069037064909935 } } + }, + "else": { + "operation": "boost", + "score": 0.006634129211306572 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19035.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.12166270613670349 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.0789128765463829 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18837.5, - "then": { - "operation": "boost", - "score": -0.009945327416062355 - }, - "else": { - "operation": "boost", - "score": 0.12329771369695663 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.049238838255405426 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10405.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13163.5, - "then": { - "operation": "boost", - "score": 0.27585968375205994 - }, - "else": { - "operation": "boost", - "score": 0.13542814552783966 - } - }, - "else": { - "operation": "boost", - "score": 0.11084577441215515 - } - } - }, - "else": { - "operation": "boost", - "score": 0.019836166873574257 - } + "score": 0.012838131748139858 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6708.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13551.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13707.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15561.0, - "then": { - "operation": "boost", - "score": 0.1408231556415558 - }, - "else": { - "operation": "boost", - "score": -0.4744958281517029 - } - }, - "else": { - "operation": "boost", - "score": 0.11210978031158447 - } - }, - "else": { - "operation": "boost", - "score": -0.3748004734516144 - } - }, - "else": { - "operation": "boost", - "score": 0.1267378330230713 - } - }, - "else": { - "operation": "boost", - "score": -0.020247332751750946 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6436.5, - "then": { - "operation": "boost", - "score": 0.10669324547052383 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5934.0, - "then": { - "operation": "boost", - "score": 0.051246099174022675 - }, - "else": { - "operation": "boost", - "score": 0.12218739837408066 - } - }, - "else": { - "operation": "boost", - "score": 0.08662443608045578 - } - } - } + "operation": "boost", + "score": 0.047649916261434555 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7842.0, - "then": { - "operation": "boost", - "score": -0.4016248881816864 - }, - "else": { - "operation": "boost", - "score": 0.13847936689853668 - } + "operation": "boost", + "score": -0.003385034156963229 } - }, - "else": { - "operation": "boost", - "score": 0.024829713627696037 } + }, + "else": { + "operation": "boost", + "score": -0.0163728017359972 } + }, + "else": { + "operation": "boost", + "score": -0.02030360698699951 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03690498322248459 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5183.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.13095353543758392 + "score": 0.008955840021371841 }, "else": { "operation": "boost", - "score": 0.10011856257915497 + "score": -0.02731527015566826 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": 0.0039385040290653706 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13528883457183838 - }, - "else": { - "operation": "boost", - "score": 0.11693571507930756 - } + "operation": "boost", + "score": 0.1327665150165558 }, "else": { "operation": "boost", - "score": -0.1499626636505127 + "score": 0.018022002652287483 } + }, + "else": { + "operation": "boost", + "score": -0.0007093716412782669 } } - }, - "else": { - "operation": "boost", - "score": 0.009753653779625893 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20010.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.004524259362369776 - }, - "else": { - "operation": "boost", - "score": 0.03243936598300934 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.11567599326372147 - }, - "else": { - "operation": "boost", - "score": -0.28092533349990845 } } - }, - "else": { - "operation": "boost", - "score": -0.012733710929751396 } } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, "then": { - "operation": "boost", - "score": 0.0562780387699604 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 50563.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 749331.5, + "threshold": 51599.0, "then": { - "operation": "boost", - "score": 0.016195302829146385 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.02003094181418419 + "score": 0.007095606066286564 }, "else": { "operation": "boost", - "score": -0.10182526707649231 + "score": -0.049956176429986954 } }, "else": { - "operation": "boost", - "score": -0.04730561003088951 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86186.0, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" + "Macro", + "Type" ], "then": { - "operation": "boost", - "score": 0.11022662371397018 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 94883.5, - "then": { - "operation": "boost", - "score": 0.02781890332698822 - }, - "else": { - "operation": "boost", - "score": 0.09590713679790497 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "threshold": 241916.0, "then": { - "operation": "boost", - "score": 0.0011099730618298054 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1530.0, + "threshold": 858647.0, "then": { + "operation": "boost", + "score": 0.06293699890375137 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 275328.5, + "then": { + "operation": "boost", + "score": 0.007159675471484661 + }, + "else": { + "operation": "boost", + "score": -0.12067398428916931 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9090.0, + "threshold": 58696.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 59716.0, + "threshold": 62601.0, "then": { "operation": "boost", - "score": -0.27792230248451233 + "score": 0.050433505326509476 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.09290187805891037 - }, - "else": { - "operation": "boost", - "score": -0.052750058472156525 - } + "operation": "boost", + "score": -0.15741361677646637 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2658.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11575573682785034 + "score": 0.11563024669885635 }, "else": { "operation": "boost", - "score": -0.5645287036895752 + "score": -0.18563233315944672 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57248.5, - "then": { - "operation": "boost", - "score": 0.14137254655361176 - }, - "else": { - "operation": "boost", - "score": -0.008332254365086555 - } + "operation": "boost", + "score": 0.01893451437354088 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1305.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1331447958946228 - }, - "else": { - "operation": "boost", - "score": 0.10915057361125946 - } + "operation": "boost", + "score": 0.06006458029150963 }, "else": { "operation": "boost", - "score": -0.1261858344078064 + "score": -0.007338542956858873 } } } }, "else": { "operation": "boost", - "score": 0.011177174746990204 + "score": -0.0019284250447526574 } } }, @@ -162126,2594 +158114,2729 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression" ], "then": { - "operation": "boost", - "score": 0.00523192435503006 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.1414436250925064 + }, + "else": { + "operation": "boost", + "score": 0.15263313055038452 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": -0.40743541717529297 - }, - "else": { - "operation": "boost", - "score": -0.07899052649736404 - } + "operation": "boost", + "score": 0.09180538356304169 }, "else": { "operation": "boost", - "score": 0.10878061503171921 + "score": -0.19928276538848877 } } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00973731279373169 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1535.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1538.5, - "then": { - "operation": "boost", - "score": 0.027145465835928917 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1334943026304245 }, "else": { "operation": "boost", - "score": -0.11384525150060654 + "score": -0.11915245652198792 } - } - }, - "else": { - "operation": "boost", - "score": -0.010147254914045334 - } - }, - "else": { - "operation": "boost", - "score": 0.009199585765600204 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0005637154681608081 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47293.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232885.0, - "then": { - "operation": "boost", - "score": 0.007208246737718582 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 44048.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 44315.0, "then": { - "operation": "boost", - "score": 0.1078302413225174 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47423.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1462177038192749 + }, + "else": { + "operation": "boost", + "score": 0.08812731504440308 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45617.0, + "then": { + "operation": "boost", + "score": 0.043240323662757874 + }, + "else": { + "operation": "boost", + "score": -0.19024299085140228 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.13055048882961273 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10800279676914215 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1722072809934616 + }, + "else": { + "operation": "boost", + "score": 0.10559412091970444 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.13826905190944672 + }, + "else": { + "operation": "boost", + "score": 0.06044379994273186 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1815255731344223 + } }, "else": { - "operation": "boost", - "score": -0.03276846185326576 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.05667230114340782 + }, + "else": { + "operation": "boost", + "score": 0.1279686987400055 + } + }, + "else": { + "operation": "boost", + "score": 0.13258741796016693 + } + }, + "else": { + "operation": "boost", + "score": 0.008189341053366661 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33610.5, "then": { "operation": "boost", - "score": 0.07374662160873413 + "score": 0.001840852783061564 }, "else": { "operation": "boost", - "score": 0.11059890687465668 + "score": 0.07817194610834122 } } }, "else": { "operation": "boost", - "score": 0.02673785388469696 + "score": -0.006900402717292309 } } }, "else": { "operation": "boost", - "score": 0.00509154237806797 + "score": -0.02883552573621273 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.004689315799623728 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47131.5, + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30283.0, "then": { "operation": "boost", - "score": 0.11456988751888275 + "score": -0.05943670496344566 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 27602.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.177943155169487 - }, - "else": { - "operation": "boost", - "score": 0.1298864483833313 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 28180.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05347271263599396 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.05805261805653572 + }, + "else": { + "operation": "boost", + "score": 0.10706564784049988 + } }, "else": { "operation": "boost", - "score": 0.12762442231178284 + "score": -0.013164343312382698 } }, "else": { - "operation": "boost", - "score": 0.18736298382282257 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.13473552465438843 + }, + "else": { + "operation": "boost", + "score": 0.065726138651371 + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "boost", - "score": 0.08340660482645035 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 24339.0, "then": { + "operation": "boost", + "score": -0.06010580435395241 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 24227.5, "then": { - "operation": "boost", - "score": 0.11563727259635925 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10774408280849457 + }, + "else": { + "operation": "boost", + "score": 0.10174094140529633 + } + }, + "else": { + "operation": "boost", + "score": 0.06885496526956558 + } }, "else": { - "operation": "boost", - "score": 0.17628929018974304 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.1366836577653885 + }, + "else": { + "operation": "boost", + "score": 0.10085421800613403 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10548136383295059 + }, + "else": { + "operation": "boost", + "score": 0.10779708623886108 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0063614314422011375 + } } - }, - "else": { - "operation": "boost", - "score": 0.10542458295822144 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.000826278468593955 }, "else": { "operation": "boost", - "score": 0.04908359795808792 + "score": -0.004955016076564789 } } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 600.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.060262344777584076 }, "else": { "operation": "boost", - "score": 0.018727563321590424 + "score": 0.012311493046581745 } + }, + "else": { + "operation": "boost", + "score": 0.03133270889520645 } }, "else": { - "operation": "boost", - "score": 0.00367922754958272 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31292.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32515.5, - "then": { - "operation": "boost", - "score": 0.07133835554122925 - }, - "else": { - "operation": "boost", - "score": -0.1252259463071823 - } + "operation": "boost", + "score": 0.03531655669212341 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.01477009616792202 + } + }, + "else": { + "operation": "boost", + "score": 0.007924298755824566 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.003954735584557056 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01883263885974884 - }, - "else": { - "operation": "boost", - "score": 0.10199138522148132 - } + "operation": "boost", + "score": 0.06989337503910065 }, "else": { "operation": "boost", - "score": 0.10792338848114014 + "score": 0.013163436204195023 } }, "else": { - "operation": "boost", - "score": -0.10066234320402145 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08062306046485901 + }, + "else": { + "operation": "boost", + "score": -0.07055865228176117 + } } + }, + "else": { + "operation": "boost", + "score": -0.015341459773480892 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.14461608231067657 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ + "FunctionScope", "GlobalScope" ], "then": { + "operation": "boost", + "score": 0.031241632997989655 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04341832175850868 + }, + "else": { + "operation": "boost", + "score": -0.16267384588718414 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { + "operation": "boost", + "score": 0.0003350320621393621 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Expression" + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.015994500368833542 + }, + "else": { + "operation": "boost", + "score": 0.004244479816406965 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05503895878791809 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.014854333363473415 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 26.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.062261443585157394 - }, - "else": { - "operation": "boost", - "score": 0.11167322844266891 - } - }, - "else": { - "operation": "boost", - "score": 0.05110799893736839 - } - }, - "else": { - "operation": "boost", - "score": 0.12274686992168427 - } + "operation": "boost", + "score": 0.0447857566177845 }, "else": { "operation": "boost", - "score": -0.012756812386214733 + "score": 0.07067462801933289 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.14818908274173737 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11326152086257935 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.08488841354846954 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.111749567091465 - }, - "else": { - "operation": "boost", - "score": 0.09187858551740646 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04050278291106224 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.10493331402540207 - }, - "else": { - "operation": "boost", - "score": 0.057042196393013 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0682075172662735 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.022990647703409195 - }, - "else": { - "operation": "boost", - "score": 0.10013968497514725 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06472183018922806 - } - } - }, - "else": { - "operation": "boost", - "score": 0.017685966566205025 - } - } + "operation": "boost", + "score": 0.021103786304593086 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.07161793112754822 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.008896072395145893 - }, - "else": { - "operation": "boost", - "score": 0.11784671992063522 - } - }, - "else": { - "operation": "boost", - "score": 0.048346493393182755 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05262317508459091 - } + "operation": "boost", + "score": 0.11479691416025162 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, "then": { + "operation": "boost", + "score": 0.13492102921009064 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.020173873752355576 + "score": -0.12105555087327957 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03750879317522049 + "score": 0.08274711668491364 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05437649041414261 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.1353970319032669 - }, - "else": { - "operation": "boost", - "score": -0.23073598742485046 - } - } - }, - "else": { - "operation": "boost", - "score": 0.16093343496322632 - } + "operation": "boost", + "score": 0.007945477962493896 } } - }, - "else": { - "operation": "boost", - "score": -0.022706588730216026 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03235805407166481 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.06176726520061493 - }, - "else": { - "operation": "boost", - "score": 0.0756794661283493 - } - }, - "else": { - "operation": "boost", - "score": 0.020251663401722908 - } + "operation": "boost", + "score": -0.08020038157701492 }, "else": { "operation": "boost", - "score": -0.02359459176659584 + "score": -0.009046518243849277 } } } }, "else": { - "operation": "boost", - "score": -0.0015841034473851323 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Namespace", - "CCC_Symbol" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.015389588661491871 + }, + "else": { + "operation": "boost", + "score": -0.04651069641113281 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10164233297109604 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 363.5, - "then": { - "operation": "boost", - "score": 0.008960568346083164 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0738551914691925 - }, - "else": { - "operation": "boost", - "score": 0.19970528781414032 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07506255805492401 - } - }, - "else": { "operation": "boost", - "score": 0.00611960981041193 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16305339336395264 - }, - "else": { - "operation": "boost", - "score": 0.05658723786473274 - } + "score": 0.021011944860219955 }, "else": { "operation": "boost", - "score": 0.04106396436691284 + "score": -0.09802231192588806 } - } - }, - "else": { - "operation": "boost", - "score": 0.02076449990272522 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18885.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "boost", - "score": 0.03868130221962929 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.02188846468925476 + "score": -0.10322044044733047 }, "else": { "operation": "boost", - "score": 0.12388382107019424 + "score": -0.012338201515376568 } } - }, - "else": { - "operation": "boost", - "score": -0.023148639127612114 } } } - }, - "else": { - "operation": "boost", - "score": 0.0013430019607767463 } + }, + "else": { + "operation": "boost", + "score": -0.07937192916870117 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.024079032242298126 + }, + "else": { + "operation": "boost", + "score": 0.06990277022123337 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.01273490022867918 + "score": 0.07825152575969696 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.011959961615502834 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7638888955116272, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.04524023458361626 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11768224090337753 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04786892980337143 - }, - "else": { - "operation": "boost", - "score": 0.11706756055355072 - } - }, - "else": { - "operation": "boost", - "score": 0.07272951304912567 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.027389662340283394 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.013682711869478226 + "score": -0.00645489664748311 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.11164644360542297 + "score": 0.1412690281867981 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.06046068295836449 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 760.0, - "then": { - "operation": "boost", - "score": 0.10287586599588394 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0964607298374176 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.05904470384120941 - }, - "else": { - "operation": "boost", - "score": 0.1534135937690735 - } - }, - "else": { - "operation": "boost", - "score": -0.04541948810219765 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 493.5, - "then": { - "operation": "boost", - "score": -0.5693904161453247 - }, - "else": { - "operation": "boost", - "score": 0.037169985473155975 - } - } + "operation": "boost", + "score": 0.12298658490180969 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.001827917993068695 - }, - "else": { - "operation": "boost", - "score": -0.2939850091934204 - } }, "else": { "operation": "boost", - "score": -0.04737340286374092 + "score": -0.06873956322669983 } + }, + "else": { + "operation": "boost", + "score": 0.13323666155338287 } + }, + "else": { + "operation": "boost", + "score": -0.1795036643743515 } + }, + "else": { + "operation": "boost", + "score": 0.0023272880353033543 } - }, - "else": { - "operation": "boost", - "score": -0.008928303606808186 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 281926.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 298482.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 323356.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.043412238359451294 + "score": -0.07014524191617966 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.03864603117108345 - }, - "else": { - "operation": "boost", - "score": 0.02434244565665722 - } + "operation": "boost", + "score": 0.024901138618588448 } }, "else": { "operation": "boost", - "score": 0.10747992992401123 + "score": -0.11206169426441193 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_Expression", + "CCC_TopLevel" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02777777798473835, "then": { "operation": "boost", - "score": 0.025000395253300667 + "score": 0.005430266261100769 }, "else": { - "operation": "boost", - "score": -0.1420665681362152 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09630940854549408 + }, + "else": { + "operation": "boost", + "score": 0.06674748659133911 + } + }, + "else": { + "operation": "boost", + "score": 0.04062872380018234 + } } }, "else": { - "operation": "boost", - "score": 0.005894300527870655 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 288840.5, + "then": { + "operation": "boost", + "score": -0.04010331258177757 + }, + "else": { + "operation": "boost", + "score": 0.051700327545404434 + } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "boost", - "score": -0.005568749736994505 + "score": -0.06558343023061752 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 193454.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.036033034324645996 + }, + "else": { + "operation": "boost", + "score": -0.007157705258578062 + } + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", + "CCC_Expression", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.060730576515197754 + }, + "else": { + "operation": "boost", + "score": -0.10418860614299774 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", + "CCC_Namespace", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.03133440762758255 - }, - "else": { - "operation": "boost", - "score": -0.00630435673519969 - } + "operation": "boost", + "score": 0.018218522891402245 + }, + "else": { + "operation": "boost", + "score": -0.19551482796669006 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168474.5, + "then": { + "operation": "boost", + "score": -0.10678945481777191 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 167779.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.07701951265335083 }, "else": { "operation": "boost", - "score": -0.049485862255096436 + "score": -0.004151434171944857 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 154962.0, "then": { "operation": "boost", - "score": 0.03658365458250046 + "score": -0.21154667437076569 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105661.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.049112532287836075 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", "Variable" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.058814018964767456 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 120524.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3684638440608978 - }, - "else": { - "operation": "boost", - "score": 0.13623753190040588 - } + "operation": "boost", + "score": 0.09483189880847931 }, "else": { "operation": "boost", - "score": -0.06616085022687912 + "score": -0.052903637290000916 } + }, + "else": { + "operation": "boost", + "score": 0.0024548075161874294 } }, "else": { "operation": "boost", - "score": 0.05874788761138916 + "score": -0.12226519733667374 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12174052745103836 + "score": 0.12101174145936966 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04144708812236786 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0080293333157897 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.09212172776460648 - }, - "else": { - "operation": "boost", - "score": 0.07412230223417282 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.097422756254673 - }, - "else": { - "operation": "boost", - "score": 0.07260951399803162 - } - } + "operation": "boost", + "score": -0.036595944315195084 } } + }, + "else": { + "operation": "boost", + "score": -0.047660406678915024 } }, "else": { - "operation": "boost", - "score": -0.15780645608901978 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.1158093735575676 + }, + "else": { + "operation": "boost", + "score": 0.07310564070940018 + } + }, + "else": { + "operation": "boost", + "score": 0.04834260791540146 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0405304953455925 - }, - "else": { - "operation": "boost", - "score": 0.009785561822354794 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.008846553973853588 - } - }, - "else": { - "operation": "boost", - "score": -0.008822734467685223 - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1218.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.009060784243047237 - }, - "else": { - "operation": "boost", - "score": -0.009172139689326286 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1535.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1538.5, - "then": { - "operation": "boost", - "score": 0.026091426610946655 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13109566271305084 - }, - "else": { - "operation": "boost", - "score": -0.11209427565336227 - } - } - }, - "else": { - "operation": "boost", - "score": -0.008322239853441715 - } - }, - "else": { - "operation": "boost", - "score": 0.008860036730766296 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.02806910127401352 - }, - "else": { - "operation": "boost", - "score": -0.04113997519016266 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.04986904188990593 - }, - "else": { - "operation": "boost", - "score": 0.06096503511071205 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.004362533800303936 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 43.5, + "threshold": 94712.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.1610443890094757 + }, + "else": { + "operation": "boost", + "score": -0.1608457714319229 + } + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 93746.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11391918361186981 + "score": 0.10507894307374954 }, "else": { "operation": "boost", - "score": -0.13350805640220642 + "score": -0.1136685311794281 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44.5, + "threshold": 56138.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 71306.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 92051.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "boost", + "score": -0.07152204215526581 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.1200096532702446 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0831417590379715 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76763.5, + "then": { + "operation": "boost", + "score": 0.006305673159658909 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.0887322649359703 + }, + "else": { + "operation": "boost", + "score": -0.03233746811747551 + } + }, + "else": { + "operation": "boost", + "score": 0.020436495542526245 + } + } + } }, "else": { "operation": "boost", - "score": 0.11619845032691956 + "score": -0.012949111871421337 } - }, - "else": { - "operation": "boost", - "score": 0.08877972513437271 } }, "else": { "operation": "boost", - "score": 0.05160817503929138 + "score": -0.04350103437900543 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.14634741842746735 - }, - "else": { - "operation": "boost", - "score": -0.062318556010723114 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.06631387025117874 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, + "then": { + "operation": "boost", + "score": -0.158321812748909 + }, + "else": { + "operation": "boost", + "score": 0.1071108803153038 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.14805133640766144 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07493621855974197, + "then": { + "operation": "boost", + "score": 0.13513118028640747 + }, + "else": { + "operation": "boost", + "score": 0.07216425240039825 + } + } + } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13337060809135437 + "score": -0.1473298817873001 }, "else": { "operation": "boost", - "score": -0.37912628054618835 + "score": 0.06696828454732895 } }, "else": { "operation": "boost", - "score": 0.023044511675834656 + "score": -0.14855962991714478 } } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03403455391526222 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.13114315271377563 - }, - "else": { - "operation": "boost", - "score": -0.10420950502157211 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.013218902051448822 - }, - "else": { - "operation": "boost", - "score": 0.1283305138349533 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.00852191261947155 - }, - "else": { - "operation": "boost", - "score": 0.023947078734636307 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.015302308835089207 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 566.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 662.5, - "then": { - "operation": "boost", - "score": -0.15344519913196564 - }, - "else": { - "operation": "boost", - "score": 0.11445698887109756 - } - }, - "else": { - "operation": "boost", - "score": 0.028551191091537476 - } - }, - "else": { - "operation": "boost", - "score": 0.0035606706514954567 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.12401048094034195 - }, - "else": { - "operation": "boost", - "score": -0.03854561224579811 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06754317879676819 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10475355386734009 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": -0.1731066107749939 }, "else": { - "operation": "boost", - "score": 0.032184481620788574 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42438.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 44315.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "NumReferences", + "threshold": 45000.0, "then": { - "operation": "boost", - "score": 0.019043762236833572 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type" + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 50563.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.13825483620166779 + "score": 0.1426888406276703 }, "else": { "operation": "boost", - "score": 0.13471311330795288 + "score": -0.1047116369009018 } }, "else": { + "operation": "boost", + "score": -0.13544999063014984 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.04404352232813835 + }, + "else": { + "operation": "boost", + "score": -0.07876444607973099 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08464450389146805 + "score": 0.10950107127428055 }, "else": { "operation": "boost", - "score": 0.12299631536006927 + "score": 0.1279112994670868 } }, "else": { "operation": "boost", - "score": 0.1287168264389038 + "score": 0.11640513688325882 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.08195451647043228 }, "else": { "operation": "boost", - "score": 0.10557664930820465 + "score": -0.10563648492097855 } + }, + "else": { + "operation": "boost", + "score": -0.19816693663597107 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.01157862413674593 + "score": 0.02077779546380043 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.047046806663274765 - }, - "else": { - "operation": "boost", - "score": 0.08969153463840485 - } + "operation": "boost", + "score": 0.12600040435791016 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.06160049885511398 - }, - "else": { - "operation": "boost", - "score": 0.1280033141374588 - } - } - }, - "else": { - "operation": "boost", - "score": -0.031949084252119064 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.011656754650175571 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.03956957161426544 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11504503339529037 + }, + "else": { + "operation": "boost", + "score": 0.04973830655217171 + } }, "else": { "operation": "boost", - "score": 0.10013304650783539 + "score": -0.015110882930457592 } - }, - "else": { - "operation": "boost", - "score": -0.13743169605731964 } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.003777815494686365 - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10452565550804138 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1558704376220703, "then": { - "operation": "boost", - "score": 0.07377087324857712 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.11528288573026657 - }, - "else": { - "operation": "boost", - "score": 0.10577358305454254 - } - }, - "else": { - "operation": "boost", - "score": 0.029433585703372955 - } + "operation": "boost", + "score": 0.0009646415710449219 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 191.5, "then": { "operation": "boost", - "score": 0.0993870422244072 + "score": 0.025804560631513596 }, "else": { - "operation": "boost", - "score": 0.07174193114042282 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.03520095720887184 + }, + "else": { + "operation": "boost", + "score": -0.01124120969325304 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": 0.0673995241522789 + }, + "else": { + "operation": "boost", + "score": 0.18983140587806702 + } + }, + "else": { + "operation": "boost", + "score": 0.009924876503646374 + } + }, + "else": { + "operation": "boost", + "score": -0.023566216230392456 + } + }, + "else": { + "operation": "boost", + "score": 0.008746090345084667 + } + }, + "else": { + "operation": "boost", + "score": -0.003167852759361267 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.11874990165233612 + }, + "else": { + "operation": "boost", + "score": 0.01807326450943947 + } + }, + "else": { + "operation": "boost", + "score": -0.19448454678058624 + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.0023849690333008766 } } } - }, - "else": { - "operation": "boost", - "score": 0.06189781054854393 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.040446601808071136 - }, - "else": { - "operation": "boost", - "score": -0.028481846675276756 } } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.08250240981578827 - }, - "else": { - "operation": "boost", - "score": -0.02270347811281681 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.01289936900138855 - }, - "else": { - "operation": "boost", - "score": -0.016332441940903664 } } + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03937830403447151 + }, + "else": { + "operation": "boost", + "score": 0.01383031252771616 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151.5, + "then": { + "operation": "boost", + "score": 0.02288883551955223 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.002867949428036809 }, "else": { "operation": "boost", - "score": 0.008709805086255074 + "score": 0.03190087154507637 } }, "else": { - "operation": "boost", - "score": -0.0011221299646422267 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.014364889822900295 + }, + "else": { + "operation": "boost", + "score": -0.0008188047213479877 + } } }, "else": { - "operation": "boost", - "score": 0.0014856281923130155 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.01063183881342411 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1160079836845398 + }, + "else": { + "operation": "boost", + "score": 0.011862154118716717 + } + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.015303835272789001 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" + "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "boost", + "score": 0.049114253371953964 + }, + "else": { + "operation": "boost", + "score": 0.014072928577661514 + } + }, + "else": { + "operation": "boost", + "score": 0.0006326998118311167 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.023168860003352165 + }, + "else": { + "operation": "boost", + "score": -0.13641303777694702 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.099570132791996 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.04423133283853531 + "score": 0.02216389775276184 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07354927808046341 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06524621695280075 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10030637681484222 - }, - "else": { - "operation": "boost", - "score": 0.10621928423643112 - } - }, - "else": { - "operation": "boost", - "score": 0.10119357705116272 - } - } - } + "operation": "boost", + "score": -0.032967835664749146 } }, "else": { + "operation": "boost", + "score": -0.005157408770173788 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.05908632278442383 + }, + "else": { + "operation": "boost", + "score": 0.011041529476642609 + } + }, + "else": { + "operation": "boost", + "score": 0.016958091408014297 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.05107763037085533 + }, + "else": { + "operation": "boost", + "score": -0.04934771731495857 + } + } + }, + "else": { + "operation": "boost", + "score": -0.052355311810970306 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8540.0, + "then": { + "operation": "boost", + "score": 0.01653948612511158 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.0008772704168222845 + "score": 0.024591386318206787 }, "else": { "operation": "boost", - "score": -0.029706981033086777 + "score": -0.07545486837625504 } }, "else": { "operation": "boost", - "score": 0.013061321340501308 + "score": 0.036187686026096344 } }, "else": { + "operation": "boost", + "score": -0.05830562114715576 + } + }, + "else": { + "operation": "boost", + "score": -0.018836205825209618 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04761645197868347 + }, + "else": { + "operation": "boost", + "score": -0.025313880294561386 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.05466768145561218 + "score": 0.031762395054101944 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.07780595123767853 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 10.0, "then": { + "operation": "boost", + "score": -0.0709267258644104 + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.06480571627616882 + "score": 0.16816876828670502 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.05314752459526062 - }, - "else": { - "operation": "boost", - "score": 0.058441318571567535 - } + "operation": "boost", + "score": -0.14206045866012573 } }, "else": { "operation": "boost", - "score": 0.046755533665418625 + "score": -0.0041124094277620316 } - }, - "else": { - "operation": "boost", - "score": 0.031251393258571625 } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.039001934230327606 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.019384577870368958 - }, - "else": { - "operation": "boost", - "score": -0.013398624956607819 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11956842988729477 + "score": -0.1085430160164833 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.012947706505656242 - }, - "else": { - "operation": "boost", - "score": 0.15549711883068085 - } + "operation": "boost", + "score": 0.029850685968995094 } }, "else": { - "operation": "boost", - "score": 0.0010973496828228235 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.5843892693519592 - }, - "else": { - "operation": "boost", - "score": 0.05898178368806839 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.0431731753051281 + "score": 0.010065978392958641 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.1183457300066948 - }, - "else": { - "operation": "boost", - "score": 0.11161372065544128 - } + "operation": "boost", + "score": -0.12125115841627121 } - }, - "else": { - "operation": "boost", - "score": -0.0032845884561538696 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.07532640546560287 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13411185145378113 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12282291054725647 + }, + "else": { + "operation": "boost", + "score": -0.07679085433483124 + } + }, + "else": { + "operation": "boost", + "score": 0.03656414896249771 + } + } + }, + "else": { + "operation": "boost", + "score": -0.006415022071450949 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.13605868816375732 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.11069890856742859 + }, + "else": { + "operation": "boost", + "score": 0.02377360686659813 + } }, "else": { "operation": "boost", - "score": 0.037131838500499725 + "score": -0.04794768616557121 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04353565722703934 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03366093337535858 + "score": -0.10865360498428345 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "boost", + "score": 0.009541863575577736 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.006366312503814697 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.25080764293670654 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.1072768047451973 + "score": 0.09590199589729309 }, "else": { - "operation": "boost", - "score": 0.0483977384865284 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06281501054763794, + "then": { + "operation": "boost", + "score": -0.001584047800861299 + }, + "else": { + "operation": "boost", + "score": 0.04097279533743858 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.0741359144449234 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.12959101796150208 + }, + "else": { + "operation": "boost", + "score": 0.08824146538972855 + } + } + }, + "else": { + "operation": "boost", + "score": 0.018443066626787186 + } + }, + "else": { + "operation": "boost", + "score": 0.02017829194664955 + } + } } }, "else": { "operation": "boost", - "score": -0.1288345605134964 + "score": -0.010905220173299313 } - }, - "else": { - "operation": "boost", - "score": 0.1306476593017578 } }, "else": { "operation": "boost", - "score": 0.11922219395637512 + "score": -0.0020542277488857508 } }, "else": { - "operation": "boost", - "score": 0.07263805717229843 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.00745679996907711 + }, + "else": { + "operation": "boost", + "score": -0.06434766948223114 + } } + }, + "else": { + "operation": "boost", + "score": 0.01687428168952465 } - }, - "else": { - "operation": "boost", - "score": 0.055070456117391586 } - }, - "else": { - "operation": "boost", - "score": -0.30071479082107544 } } } @@ -164722,896 +160845,1846 @@ }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { + "operation": "boost", + "score": -0.01215886976569891 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05946961045265198 + "score": -0.05268038809299469 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "boost", + "score": 0.010376626625657082 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.010045250877737999 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 155294.5, + "then": { + "operation": "boost", + "score": -0.3533863127231598 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23993.5, "then": { "operation": "boost", - "score": 0.10967832803726196 + "score": 0.03945377841591835 }, "else": { - "operation": "boost", - "score": 0.022709861397743225 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21099.5, + "then": { + "operation": "boost", + "score": -0.14561587572097778 + }, + "else": { + "operation": "boost", + "score": 0.009852546267211437 + } } } }, "else": { - "operation": "boost", - "score": 0.09661374241113663 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.03845791146159172 + }, + "else": { + "operation": "boost", + "score": -0.015399891883134842 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.05108409747481346 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.0022679090034216642 + }, + "else": { + "operation": "boost", + "score": 0.054279062896966934 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10961317270994186 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.10461385548114777 } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 222.0, "then": { "operation": "boost", - "score": -0.08297746628522873 + "score": -0.08397913724184036 }, "else": { - "operation": "boost", - "score": 0.0027640073094516993 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 170.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.10380604863166809 + }, + "else": { + "operation": "boost", + "score": 0.21377377212047577 + } + }, + "else": { + "operation": "boost", + "score": 0.005235723685473204 + } } } } }, "else": { - "operation": "boost", - "score": -0.016828810796141624 - } - }, - "else": { - "operation": "boost", - "score": -0.07048683613538742 - } - }, - "else": { - "operation": "boost", - "score": -0.05422738939523697 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.026346761733293533 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.15975455939769745 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 11467.0, "then": { "operation": "boost", - "score": -0.21558444201946259 + "score": -0.14505699276924133 }, "else": { "operation": "boost", - "score": 0.10669198632240295 + "score": -0.09625978767871857 } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": 0.15738284587860107 }, "else": { "operation": "boost", - "score": 0.10274520516395569 + "score": 0.10994027554988861 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 263421.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.06835304945707321 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09699983894824982 + "score": -0.09366310387849808 }, "else": { - "operation": "boost", - "score": 0.057102020829916 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011117805726826191 + }, + "else": { + "operation": "boost", + "score": 0.04807957634329796 + } + }, + "else": { + "operation": "boost", + "score": 0.018251823261380196 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30877.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.02020682580769062 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11521683633327484 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.07590501755475998 + }, + "else": { + "operation": "boost", + "score": 0.10955122858285904 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004279077053070068 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.006598724517971277 } } - } - }, - "else": { - "operation": "boost", - "score": -0.07343727350234985 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.08990631997585297 }, "else": { - "operation": "boost", - "score": -0.1667795330286026 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.014980337582528591 + }, + "else": { + "operation": "boost", + "score": -0.009993808344006538 + } } - }, - "else": { - "operation": "boost", - "score": 0.08289521187543869 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 189.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.014280424453318119 - }, - "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -1.7491044998168945 + "score": -0.0022018258459866047 + }, + "else": { + "operation": "boost", + "score": 0.01612858474254608 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.014492071233689785 }, "else": { "operation": "boost", - "score": -0.10753372311592102 + "score": -0.03415511175990105 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.0015845184680074453 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.2129601091146469 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "boost", + "score": -0.06319129467010498 + }, + "else": { + "operation": "boost", + "score": -0.0064754793420434 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01781558245420456 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "boost", + "score": -0.015294366516172886 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.19058580696582794 + }, + "else": { + "operation": "boost", + "score": 0.01877022162079811 + } + } + } + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.049537114799022675 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05900188535451889 + "score": -0.020030686631798744 }, "else": { "operation": "boost", - "score": 0.09750599414110184 + "score": 0.01173095777630806 } }, "else": { - "operation": "boost", - "score": -0.31483229994773865 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.004447129555046558 + }, + "else": { + "operation": "boost", + "score": -0.07757987082004547 + } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], "then": { "operation": "boost", - "score": -0.30739331245422363 + "score": 0.15599551796913147 }, "else": { "operation": "boost", - "score": 0.019726762548089027 + "score": 0.05272459611296654 } + }, + "else": { + "operation": "boost", + "score": 0.028400635346770287 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.46891945600509644 + "score": 0.005170593969523907 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.0023249133955687284 - }, - "else": { - "operation": "boost", - "score": 0.06882044672966003 - } + "operation": "boost", + "score": 0.04460678622126579 } }, "else": { "operation": "boost", - "score": -0.1080026850104332 + "score": -0.15314045548439026 } } } }, "else": { "operation": "boost", - "score": -0.2309470921754837 + "score": -0.005736449267715216 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0323210246860981 + }, + "else": { + "operation": "boost", + "score": 0.009516747668385506 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008995169773697853 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0034555683378130198 + }, + "else": { + "operation": "boost", + "score": -0.04717494919896126 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.12882667779922485 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.029921263456344604 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04655851423740387 + }, + "else": { + "operation": "boost", + "score": -0.16083800792694092 + } + } } }, "else": { "operation": "boost", - "score": 0.12025420367717743 + "score": 6.0952839703531936e-05 } } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.054953351616859436 + }, + "else": { + "operation": "boost", + "score": -0.04893653839826584 + } + }, + "else": { + "operation": "boost", + "score": 0.00956257339566946 + } + }, + "else": { + "operation": "boost", + "score": 0.0063604977913200855 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 52.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Namespace", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.009349498897790909 + }, + "else": { + "operation": "boost", + "score": 0.02611999399960041 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": 0.00051396299386397 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47907.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11993.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.10983582586050034 + "score": 0.04428427666425705 }, "else": { "operation": "boost", - "score": -0.3112095594406128 + "score": -0.06829214096069336 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.06792907416820526 + "score": 0.025714918971061707 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.12238924950361252 + "score": 0.26133042573928833 }, "else": { "operation": "boost", - "score": 0.180546373128891 + "score": -0.1599729061126709 } } } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.02724071405827999 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.02746506594121456 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5471.0, "then": { "operation": "boost", - "score": 0.19353531301021576 + "score": 0.07662207633256912 }, "else": { "operation": "boost", - "score": -0.12792856991291046 + "score": 0.020294783636927605 } - }, - "else": { - "operation": "boost", - "score": 0.13778620958328247 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 15623.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 61387.0, "then": { "operation": "boost", - "score": -0.12976323068141937 + "score": 0.027973128482699394 }, "else": { "operation": "boost", - "score": 0.07968764007091522 + "score": -0.11744114011526108 } }, "else": { "operation": "boost", - "score": 0.1668335646390915 + "score": -0.3559429943561554 } }, "else": { + "operation": "boost", + "score": -0.056640662252902985 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 30.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 140.0, - "then": { - "operation": "boost", - "score": -0.2383345365524292 - }, - "else": { - "operation": "boost", - "score": 0.39715927839279175 - } + "operation": "boost", + "score": 0.10044964402914047 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1148194670677185 + "score": 0.03580562397837639 }, "else": { - "operation": "boost", - "score": -0.10154004395008087 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.029029766097664833 + }, + "else": { + "operation": "boost", + "score": 0.01735427789390087 + } } } + }, + "else": { + "operation": "boost", + "score": -0.01072782464325428 } }, "else": { "operation": "boost", - "score": -0.060091521590948105 + "score": -0.03998810797929764 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "boost", + "score": 0.028749734163284302 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 72.0, + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], "then": { - "operation": "boost", - "score": -0.022844547405838966 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.07064228504896164 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.05000000074505806, + "then": { + "operation": "boost", + "score": 0.13460847735404968 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13812875747680664 + }, + "else": { + "operation": "boost", + "score": 0.07195068895816803 + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11146.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.08897928893566132 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.0, + "then": { + "operation": "boost", + "score": -0.5038118362426758 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.1440895050764084 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1388888955116272, + "then": { + "operation": "boost", + "score": 0.13920453190803528 + }, + "else": { + "operation": "boost", + "score": 0.7254771590232849 + } + } + } }, "else": { "operation": "boost", - "score": 0.551651120185852 + "score": 0.06339586526155472 } } }, "else": { + "operation": "boost", + "score": 0.05665671452879906 + } + }, + "else": { + "operation": "boost", + "score": -0.13662543892860413 + } + }, + "else": { + "operation": "boost", + "score": -0.017104696482419968 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.054001711308956146 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03829061612486839 + }, + "else": { + "operation": "boost", + "score": -0.0006794232176616788 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11201556026935577 + "score": 0.15033948421478271 }, "else": { "operation": "boost", - "score": 0.05609806999564171 + "score": -0.031249115243554115 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.011268915608525276 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.22358624637126923 + }, + "else": { + "operation": "boost", + "score": 0.12256628274917603 + } + }, + "else": { + "operation": "boost", + "score": 0.09473061561584473 + } + }, + "else": { + "operation": "boost", + "score": -0.21094465255737305 + } }, "else": { "operation": "boost", - "score": 0.2239556908607483 + "score": -0.0318593755364418 } } - }, - "else": { - "operation": "boost", - "score": 0.1046842485666275 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.14211556315422058 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16411824524402618 - }, - "else": { - "operation": "boost", - "score": -0.11089203506708145 - } - } - }, - "else": { - "operation": "boost", - "score": -0.18597392737865448 - } + "operation": "boost", + "score": -0.018161285668611526 } }, "else": { - "operation": "boost", - "score": 0.1125451996922493 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.00019750147475861013 + }, + "else": { + "operation": "boost", + "score": -0.04219229891896248 + } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.04580110311508179 + "score": 0.04875184968113899 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.1126372218132019 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "boost", - "score": 0.25306209921836853 + "score": 0.15109992027282715 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11291050910949707 - }, - "else": { - "operation": "boost", - "score": 0.02766071818768978 - } - }, - "else": { - "operation": "boost", - "score": -0.528736412525177 - } + "operation": "boost", + "score": 0.06547489017248154 } + }, + "else": { + "operation": "boost", + "score": -0.002298480598255992 } } }, "else": { - "operation": "boost", - "score": 0.03597107157111168 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02380952425301075, + "then": { + "operation": "boost", + "score": 0.04057050868868828 + }, + "else": { + "operation": "boost", + "score": -0.005984407849609852 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.02464677393436432 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.017842065542936325 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10969071835279465 - }, - "else": { - "operation": "boost", - "score": 0.08321269601583481 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12958396971225739 - } + "operation": "boost", + "score": 0.016993306577205658 }, "else": { "operation": "boost", - "score": -0.5372982621192932 + "score": -0.08555255085229874 } + }, + "else": { + "operation": "boost", + "score": 0.021775750443339348 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.1368601769208908 + "score": -0.014937447383999825 }, "else": { "operation": "boost", - "score": 0.022077729925513268 + "score": -0.06605532020330429 } } }, "else": { "operation": "boost", - "score": -0.8048356771469116 + "score": 0.027057886123657227 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": -0.029504209756851196 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { - "operation": "boost", - "score": 0.0465388223528862 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": -0.1011025533080101 + }, + "else": { + "operation": "boost", + "score": 0.08833962678909302 + } }, "else": { "operation": "boost", - "score": 0.14105838537216187 + "score": -0.08204032480716705 } - }, - "else": { - "operation": "boost", - "score": 0.008821586146950722 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.004661059007048607 + "score": 0.003674475010484457 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.19481852650642395 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.07420816272497177 + "score": 0.030698511749505997 }, "else": { - "operation": "boost", - "score": 0.13491596281528473 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1207703948020935 + }, + "else": { + "operation": "boost", + "score": -0.04145418480038643 + } } }, "else": { "operation": "boost", - "score": 0.13585436344146729 + "score": 0.04119708389043808 } + }, + "else": { + "operation": "boost", + "score": 0.0019114919705316424 } }, "else": { + "operation": "boost", + "score": 0.0023998164106160402 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19309678673744202 + }, + "else": { + "operation": "boost", + "score": 0.018770210444927216 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03779341280460358 + }, + "else": { + "operation": "boost", + "score": 0.002408769214525819 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.021371927112340927 + }, + "else": { + "operation": "boost", + "score": -0.13691692054271698 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.011976159177720547 + }, + "else": { + "operation": "boost", + "score": -0.011154674924910069 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0008862720569595695 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0530594065785408 + }, + "else": { + "operation": "boost", + "score": -0.11725073307752609 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.008147931657731533 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.050544336438179016 + "score": 0.028671475127339363 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0749073326587677 - }, - "else": { - "operation": "boost", - "score": 0.12385116517543793 - } - }, - "else": { - "operation": "boost", - "score": -0.13280943036079407 - } - }, - "else": { - "operation": "boost", - "score": 0.08737918734550476 - } + "operation": "boost", + "score": 0.13410280644893646 } + }, + "else": { + "operation": "boost", + "score": 0.01479382999241352 } } } @@ -165619,1147 +162692,1665 @@ }, "else": { "operation": "boost", - "score": 0.09890950471162796 + "score": 0.003067909274250269 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01103063765913248 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.0898444876074791 + }, + "else": { + "operation": "boost", + "score": 0.023422284051775932 + } + }, + "else": { + "operation": "boost", + "score": -0.03699127584695816 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01062625739723444 } } - }, - "else": { - "operation": "boost", - "score": -0.027512043714523315 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.09964330494403839 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.07710374891757965 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.05652303248643875 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.6690322160720825 + "score": 0.036628589034080505 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.12327463924884796 + "score": -0.121660977602005 }, "else": { - "operation": "boost", - "score": 0.1360194981098175 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 1.1375268697738647 + }, + "else": { + "operation": "boost", + "score": -0.10080470889806747 + } } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.017687736079096794 + }, + "else": { + "operation": "boost", + "score": 0.04646436870098114 + } } }, "else": { - "operation": "boost", - "score": 0.27110031247138977 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.010113955475389957 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.03235044330358505 + }, + "else": { + "operation": "boost", + "score": -0.011282003484666348 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.1046086773276329 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.1134098470211029 + }, + "else": { + "operation": "boost", + "score": 0.32339146733283997 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.04564996808767319 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.0010175658389925957 + }, + "else": { + "operation": "boost", + "score": 0.04622703790664673 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.020110873505473137 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.04756084457039833 } }, "else": { - "operation": "boost", - "score": 0.0072152563370764256 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.011563270352780819 + }, + "else": { + "operation": "boost", + "score": 0.03694186732172966 + } + }, + "else": { + "operation": "boost", + "score": -0.10725616663694382 + } + }, + "else": { + "operation": "boost", + "score": -0.09702319651842117 + } } } + }, + "else": { + "operation": "boost", + "score": -0.0016677845269441605 } } + }, + "else": { + "operation": "boost", + "score": -0.02597106620669365 } - }, - "else": { - "operation": "boost", - "score": -0.029334690421819687 } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.038564249873161316 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "boost", + "score": 0.030068762600421906 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.011153320781886578 + "score": 0.021261323243379593 }, "else": { "operation": "boost", - "score": 0.12716445326805115 + "score": -0.2663571536540985 } }, "else": { - "operation": "boost", - "score": -0.02786865271627903 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.02709398791193962 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.04151758924126625 + }, + "else": { + "operation": "boost", + "score": 0.1383521556854248 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0007276833639480174 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.054281558841466904 + }, + "else": { + "operation": "boost", + "score": 0.028964724391698837 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.02651609666645527 } }, "else": { "operation": "boost", - "score": -0.19301681220531464 + "score": 0.006169200409203768 } } }, "else": { + "operation": "boost", + "score": 0.003266445128247142 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { - "operation": "boost", - "score": 0.00013891924754716456 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.010434816591441631 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 475.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], "then": { "operation": "boost", - "score": 0.08352558314800262 + "score": 0.03144896775484085 }, "else": { - "operation": "boost", - "score": 0.00347784161567688 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ParenthesizedExpression" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.22095943987369537 + "score": -0.04089927300810814 }, "else": { "operation": "boost", - "score": 0.06822864711284637 + "score": -0.653803825378418 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Type" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04765641316771507 + "score": -0.008940648287534714 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09146406501531601 + "score": -0.10641330480575562 }, "else": { - "operation": "boost", - "score": 0.09923706948757172 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.05195528641343117 + }, + "else": { + "operation": "boost", + "score": -0.16630074381828308 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.09330270439386368 + }, + "else": { + "operation": "boost", + "score": 0.06669612973928452 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0841180831193924 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": 0.11072784662246704 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06876808404922485 + }, + "else": { + "operation": "boost", + "score": 0.05580928549170494 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.07149477303028107 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.05748530477285385 + }, + "else": { + "operation": "boost", + "score": 0.03987306356430054 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.045273538678884506 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": 0.1144401803612709 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04251403361558914 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0651959627866745, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": -0.032492995262145996 + }, + "else": { + "operation": "boost", + "score": -0.21110863983631134 + } + }, + "else": { + "operation": "boost", + "score": 0.002115968381986022 + } + } + } + } + } + } + } } } }, "else": { "operation": "boost", - "score": 0.06766404211521149 + "score": 0.01171769481152296 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.0216072928160429 - }, - "else": { - "operation": "boost", - "score": 0.0862593874335289 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19.5, + "threshold": 12048.0, "then": { "operation": "boost", - "score": 0.1273273080587387 + "score": 0.03700198978185654 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.037248704582452774 + "score": 0.03043292835354805 }, "else": { "operation": "boost", - "score": 0.11049573123455048 + "score": -0.02427101694047451 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.005219741724431515 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06966374069452286 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10385872423648834 - }, - "else": { - "operation": "boost", - "score": -0.10186967253684998 - } - }, - "else": { - "operation": "boost", - "score": -0.008823536336421967 - } - } + "operation": "boost", + "score": 0.44688060879707336 } } - }, - "else": { - "operation": "boost", - "score": -0.0022073364816606045 } } }, "else": { "operation": "boost", - "score": 0.010089710354804993 + "score": -0.03260929882526398 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6159.0, + "operation": "boost", + "score": -0.004853751976042986 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.013657504692673683 - }, - "else": { - "operation": "boost", - "score": 0.10327266901731491 - } + "operation": "boost", + "score": 0.0386316180229187 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.023510359227657318 - }, - "else": { - "operation": "boost", - "score": 0.1111166849732399 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011330310255289078 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00015902244194876403 - } - } - } - }, - { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.001023133983835578 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.5, - "then": { - "operation": "boost", - "score": -0.09710928052663803 - }, - "else": { - "operation": "boost", - "score": 0.17372679710388184 - } + "score": 0.04142647981643677 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "boost", - "score": 0.07041535526514053 + "score": 0.15025708079338074 }, "else": { - "operation": "boost", - "score": 0.11251435428857803 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.07604237645864487 + }, + "else": { + "operation": "boost", + "score": -0.3104464113712311 + } } }, "else": { "operation": "boost", - "score": 0.10417942702770233 + "score": 0.06486096978187561 } } - }, - "else": { - "operation": "boost", - "score": -0.13367033004760742 } }, "else": { "operation": "boost", - "score": 0.004314618185162544 + "score": 0.005078161600977182 } }, "else": { "operation": "boost", - "score": 0.02368789166212082 + "score": -0.018337048590183258 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", + "CCC_Expression", "CCC_Namespace", - "CCC_Type" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 243.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.05480930209159851 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 526.5, - "then": { - "operation": "boost", - "score": 0.12511710822582245 - }, - "else": { - "operation": "boost", - "score": 0.1025642454624176 - } - }, - "else": { - "operation": "boost", - "score": -0.13176950812339783 - } + "operation": "boost", + "score": 0.09087306261062622 }, "else": { "operation": "boost", - "score": 0.06785409897565842 + "score": 0.00946497917175293 } - }, - "else": { - "operation": "boost", - "score": 0.11214737594127655 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.021648483350872993 + "score": 0.06717725843191147 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.5, - "then": { - "operation": "boost", - "score": 0.08449821174144745 - }, - "else": { - "operation": "boost", - "score": 0.10439064353704453 - } + "operation": "boost", + "score": -0.00816869456321001 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.12551316618919373 + "score": 0.0038211725186556578 + }, + "else": { + "operation": "boost", + "score": -0.026624485850334167 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1260591745376587 + }, + "else": { + "operation": "boost", + "score": 0.04254290089011192 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.056297607719898224 + }, + "else": { + "operation": "boost", + "score": 0.018217161297798157 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07533760368824005 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.06092708557844162 + "score": 0.004972155671566725 }, "else": { "operation": "boost", - "score": 0.1030334010720253 + "score": -0.051688168197870255 } } } - }, - "else": { - "operation": "boost", - "score": 0.0613037534058094 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.03771568462252617 + "score": -0.008099970407783985 }, "else": { + "operation": "boost", + "score": -0.07104837149381638 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.12047471106052399 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 165.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { + "operation": "boost", + "score": -0.01564568653702736 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 531.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.11782926321029663 + "score": 0.07207994908094406 }, "else": { - "operation": "boost", - "score": -0.022730126976966858 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0025316195096820593 + }, + "else": { + "operation": "boost", + "score": 0.03695892170071602 + } } - }, - "else": { - "operation": "boost", - "score": 0.1211313009262085 } + }, + "else": { + "operation": "boost", + "score": 0.0033003126736730337 } + }, + "else": { + "operation": "boost", + "score": -0.0067421323619782925 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0035494500771164894 }, "else": { "operation": "boost", - "score": 0.06281587481498718 + "score": -0.046012453734874725 } - }, - "else": { - "operation": "boost", - "score": 0.07025919109582901 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 442.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 714.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 808.5, - "then": { - "operation": "boost", - "score": 0.05808211490511894 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 756.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.10228637605905533 - }, - "else": { - "operation": "boost", - "score": 0.11970552057027817 - } - }, - "else": { - "operation": "boost", - "score": -0.15403933823108673 - } - } + "operation": "boost", + "score": 0.18500150740146637 }, "else": { "operation": "boost", - "score": 0.0022847920190542936 + "score": -0.002037421567365527 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 699.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "boost", + "score": -0.2199534922838211 + }, + "else": { + "operation": "boost", + "score": -0.043813496828079224 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.013798504136502743 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "boost", - "score": 0.07794809341430664 + "score": 0.0021085471380501986 }, "else": { "operation": "boost", - "score": 0.13463523983955383 + "score": -0.008188579231500626 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.03746005892753601 + "score": -0.021114930510520935 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 529.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 680.5, - "then": { - "operation": "boost", - "score": 0.10801044851541519 - }, - "else": { - "operation": "boost", - "score": -0.015266263857483864 - } + "operation": "boost", + "score": 0.05321776866912842 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 522.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.1236434057354927 - }, - "else": { - "operation": "boost", - "score": 0.07530451565980911 - } + "operation": "boost", + "score": 0.028467442840337753 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 509.0, - "then": { - "operation": "boost", - "score": -0.30431389808654785 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 504.5, - "then": { - "operation": "boost", - "score": 0.11794731765985489 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 445.5, - "then": { - "operation": "boost", - "score": 0.030791547149419785 - }, - "else": { - "operation": "boost", - "score": 0.1829158216714859 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 480.5, - "then": { - "operation": "boost", - "score": 0.11221414804458618 - }, - "else": { - "operation": "boost", - "score": 0.09001745283603668 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.20733429491519928 - } + "operation": "boost", + "score": 0.1013672724366188 } } } + }, + "else": { + "operation": "boost", + "score": 0.0069238608703017235 } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1791.0, + "then": { + "operation": "boost", + "score": -0.023287680000066757 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 117.5, + "threshold": 76.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.03897171467542648 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 246.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { - "operation": "boost", - "score": 0.05742013081908226 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": -0.03018435835838318 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11038711667060852 + }, + "else": { + "operation": "boost", + "score": 0.1010182574391365 + } + } }, "else": { "operation": "boost", - "score": 0.15960188210010529 + "score": 0.0762142539024353 } }, "else": { "operation": "boost", - "score": 0.07441180944442749 + "score": 0.006832376588135958 } }, - "else": { - "operation": "boost", - "score": 0.031155792996287346 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.5, - "then": { - "operation": "boost", - "score": 0.08775491267442703 - }, - "else": { - "operation": "boost", - "score": 0.10986614972352982 - } - } - }, - "else": { - "operation": "boost", - "score": 0.005984603427350521 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 160.5, - "then": { - "operation": "boost", - "score": -0.0282574575394392 - }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "boost", + "score": -0.015560224652290344 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "boost", - "score": -0.028974639251828194 + "score": 0.11648958176374435 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.04092585667967796 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.01280986424535513 + "score": -0.012201766483485699 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10614784061908722 - }, - "else": { - "operation": "boost", - "score": 0.06375163048505783 - } + "operation": "boost", + "score": 0.04028934985399246 } - }, - "else": { - "operation": "boost", - "score": 0.11499449610710144 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 156.0, - "then": { - "operation": "boost", - "score": 0.11333557218313217 - }, - "else": { - "operation": "boost", - "score": 0.043844010680913925 - } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1159631758928299 - }, - "else": { - "operation": "boost", - "score": 0.014599831774830818 - } + "operation": "boost", + "score": 0.012677743099629879 }, "else": { "operation": "boost", - "score": 0.10660149157047272 + "score": 0.09217070788145065 } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.038174472749233246 - }, - "else": { - "operation": "boost", - "score": -0.12939129769802094 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 407.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 430.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 21.0, "then": { "operation": "boost", - "score": -0.4787428379058838 + "score": -0.027649523690342903 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.11294212937355042 - }, - "else": { - "operation": "boost", - "score": 0.05368529260158539 - } + "operation": "boost", + "score": 0.17564891278743744 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278.5, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { "operation": "boost", - "score": 0.09435654431581497 + "score": 0.06237030401825905 }, "else": { "operation": "boost", - "score": 0.018672190606594086 + "score": 0.017312267795205116 } }, "else": { - "operation": "boost", - "score": -0.05383143573999405 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.035403963178396225 + }, + "else": { + "operation": "boost", + "score": 0.01284706499427557 + } } } - }, - "else": { - "operation": "boost", - "score": 0.007436295039951801 } } + }, + "else": { + "operation": "boost", + "score": -0.011921098455786705 } } + }, + "else": { + "operation": "boost", + "score": -0.003593018278479576 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1481.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.01531428936868906 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1611.0, "then": { + "operation": "boost", + "score": 0.0431952066719532 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.04454689100384712 + "score": -0.02901131473481655 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "boost", + "score": 0.14802607893943787 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0607120655477047 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.07963550090789795 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.011047044768929482 + "score": 0.009704632684588432 }, "else": { + "operation": "boost", + "score": -0.03890591487288475 + } + }, + "else": { + "operation": "boost", + "score": 0.009480170905590057 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.012189654633402824 + "score": 0.10535949468612671 }, "else": { "operation": "boost", - "score": 0.03060128539800644 + "score": 0.06815558671951294 } + }, + "else": { + "operation": "boost", + "score": 0.027120618149638176 } + }, + "else": { + "operation": "boost", + "score": 0.004307369235903025 } }, "else": { @@ -166767,825 +164358,1006 @@ "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": -0.008187953382730484 + "score": -0.01408380176872015 }, "else": { "operation": "boost", - "score": -0.07554813474416733 + "score": -0.09361381083726883 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0007057770271785557 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Symbol" ], "then": { - "operation": "boost", - "score": -0.0027695607859641314 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.04063224419951439 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.022858064621686935 + }, + "else": { + "operation": "boost", + "score": -0.015430856496095657 + } + } }, "else": { "operation": "boost", - "score": -0.016267811879515648 + "score": 0.002375636249780655 } } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.013435802422463894 + }, + "else": { + "operation": "boost", + "score": -0.13522975146770477 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "boost", + "score": 0.10005796700716019 + }, + "else": { + "operation": "boost", + "score": 0.03056401014328003 + } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Symbol", - "CCC_Type" + "ClassScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.11939764767885208 - }, - "else": { - "operation": "boost", - "score": 0.04071556776762009 - } + "operation": "boost", + "score": 0.017442788928747177 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.02777777798473835, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11044471710920334 - }, - "else": { - "operation": "boost", - "score": -0.1275336891412735 - } - }, - "else": { - "operation": "boost", - "score": -0.05312175676226616 - } + "operation": "boost", + "score": 0.01177766639739275 }, "else": { "operation": "boost", - "score": -0.18867696821689606 + "score": 0.03391556441783905 } } }, "else": { - "operation": "boost", - "score": 0.02367999404668808 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.00952683761715889 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": -0.10391449928283691 + "score": 0.06566726416349411 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12532950937747955 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.4067257046699524 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.13435927033424377 - }, - "else": { - "operation": "boost", - "score": -0.17525553703308105 - } - } - }, - "else": { - "operation": "boost", - "score": -0.07201103866100311 - } - } + "operation": "boost", + "score": -0.16797183454036713 } + }, + "else": { + "operation": "boost", + "score": 0.012864925898611546 } - }, - "else": { - "operation": "boost", - "score": 0.021887045353651047 } + }, + "else": { + "operation": "boost", + "score": 0.01682494953274727 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.01220256369560957 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.08399244397878647 - }, - "else": { - "operation": "boost", - "score": -0.022713622078299522 - } - } + "operation": "boost", + "score": 0.17104394733905792 }, "else": { "operation": "boost", - "score": 0.014795291237533092 + "score": 0.006080983206629753 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, "then": { "operation": "boost", - "score": 0.024689285084605217 + "score": 0.09515631943941116 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { - "operation": "boost", - "score": 0.02093617431819439 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, "then": { "operation": "boost", - "score": 0.08369872719049454 + "score": -0.11296822875738144 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08846700191497803 - }, - "else": { - "operation": "boost", - "score": -0.19565369188785553 - } + "operation": "boost", + "score": -0.002662813290953636 } + }, + "else": { + "operation": "boost", + "score": -0.12404294312000275 } }, "else": { "operation": "boost", - "score": 0.023589113727211952 + "score": -0.00036499870475381613 } } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.004359783139079809 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", + "operation": "boost", + "score": -0.02883034385740757 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7636363506317139, + "then": { + "operation": "boost", + "score": 0.14101910591125488 + }, + "else": { + "operation": "boost", + "score": -0.11970432847738266 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, "then": { "operation": "boost", - "score": 0.036644600331783295 + "score": -0.0018055540276691318 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11642182618379593 - }, - "else": { - "operation": "boost", - "score": 0.501682460308075 - } + "operation": "boost", + "score": 0.013451624661684036 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.09922176599502563 - }, - "else": { - "operation": "boost", - "score": 0.06242829188704491 - } - }, - "else": { - "operation": "boost", - "score": -0.0557456910610199 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "boost", - "score": -0.13248507678508759 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, "then": { "operation": "boost", - "score": 0.09993742406368256 + "score": 0.02909817360341549 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.06933823972940445 + "score": 0.05256623029708862 }, "else": { "operation": "boost", - "score": 0.04978952929377556 + "score": -0.09287606924772263 } } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05736422911286354 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { + "operation": "boost", + "score": 0.01062039379030466 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": -0.013413242995738983 + "score": 0.08805765956640244 }, "else": { "operation": "boost", - "score": -0.57021164894104 + "score": -0.02408573031425476 } - }, - "else": { - "operation": "boost", - "score": 0.015164351090788841 } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.034488387405872345 - }, - "else": { - "operation": "boost", - "score": 0.09913968294858932 - } - }, - "else": { - "operation": "boost", - "score": -0.03931058570742607 - } + "operation": "boost", + "score": 0.005285854917019606 }, "else": { "operation": "boost", - "score": -0.19508744776248932 + "score": -0.025959137827157974 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017395202070474625 }, "else": { + "operation": "boost", + "score": -0.02587788738310337 + } + } + }, + "else": { + "operation": "boost", + "score": -0.019803214818239212 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.008537189103662968 + "score": 0.046441446989774704 }, "else": { - "operation": "boost", - "score": 0.03797664865851402 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.5, + "then": { + "operation": "boost", + "score": 0.06298190355300903 + }, + "else": { + "operation": "boost", + "score": 0.10166887938976288 + } } + }, + "else": { + "operation": "boost", + "score": 0.02341504395008087 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": -0.4075770676136017 + }, + "else": { + "operation": "boost", + "score": -0.02417709492146969 } } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.044253457337617874 + }, + "else": { + "operation": "boost", + "score": -0.04984248802065849 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.007691659964621067 } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.02389529161155224 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1074118.5, + "threshold": 6397.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32060.5, "then": { "operation": "boost", - "score": 0.08267975598573685 + "score": -0.15985314548015594 }, "else": { "operation": "boost", - "score": -0.0069737969897687435 + "score": 0.07083117216825485 } }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5707.0, + "then": { + "operation": "boost", + "score": -0.7200466990470886 + }, + "else": { + "operation": "boost", + "score": 0.0051532625220716 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_ClassStructUnion", + "CCC_TopLevel" ], "then": { + "operation": "boost", + "score": 0.0378614105284214 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.11558487266302109 - }, - "else": { - "operation": "boost", - "score": 0.09155163913965225 - } + "operation": "boost", + "score": -0.005660246592015028 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10619419813156128 + "score": 0.0520847924053669 }, "else": { - "operation": "boost", - "score": 0.07309644669294357 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.026261569932103157 + }, + "else": { + "operation": "boost", + "score": -0.07510533928871155 + } } } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06985469162464142 - }, - "else": { - "operation": "boost", - "score": -0.03744393214583397 - } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.08440274000167847 }, "else": { - "operation": "boost", - "score": -0.11572147160768509 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Function", + "Keyword", + "Macro", + "Type" ], "then": { - "operation": "boost", - "score": 0.09340789914131165 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.04789121821522713 + }, + "else": { + "operation": "boost", + "score": 0.011985131539404392 + } }, "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.006072433665394783 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.024025319144129753 + }, + "else": { + "operation": "boost", + "score": -0.15067651867866516 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03939313441514969 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.003076889319345355 + "score": 0.02308502234518528 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.015673911198973656 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.08105888217687607 + "score": 0.03670073673129082 }, "else": { "operation": "boost", - "score": 0.047512609511613846 + "score": -0.056343816220760345 } }, "else": { "operation": "boost", - "score": 0.046971965581178665 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.041850745677948 - }, - "else": { - "operation": "boost", - "score": 0.03457697853446007 + "score": -0.008958615362644196 } } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.014116169884800911 + }, + "else": { + "operation": "boost", + "score": 0.09732616692781448 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0005582079757004976 + }, + "else": { + "operation": "boost", + "score": -0.010841659270226955 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.0016946722753345966 }, "else": { "operation": "boost", - "score": -0.01977895386517048 + "score": -0.046103715896606445 } } - }, - "else": { - "operation": "boost", - "score": -0.001354633248411119 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.036187317222356796 - }, - "else": { - "operation": "boost", - "score": -0.04124343395233154 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "feature": "NumReferences", + "threshold": 52.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.0070789470337331295 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.016642140224575996 + "score": -0.010705679655075073 + }, + "else": { + "operation": "boost", + "score": 0.0037326014135032892 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.28027990460395813 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1357920616865158 + }, + "else": { + "operation": "boost", + "score": 0.010975666344165802 + } + } }, "else": { "operation": "boost", - "score": 0.11241426318883896 + "score": -0.021552059799432755 } } }, @@ -167593,496 +165365,482 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", + "Destructor", + "Macro", "Namespace" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.003019941970705986 + "score": 0.5769132971763611 }, "else": { + "operation": "boost", + "score": 0.09570655971765518 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.23484379053115845 + "score": -0.01573362573981285 }, "else": { + "operation": "boost", + "score": 0.03338591754436493 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.14444266259670258 + }, + "else": { + "operation": "boost", + "score": 0.10314779728651047 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "boost", - "score": 0.21190407872200012 + "score": -0.024188650771975517 }, "else": { "operation": "boost", - "score": 0.21277908980846405 + "score": 0.0066881682723760605 } } } - }, - "else": { - "operation": "boost", - "score": 0.07696270197629929 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "boost", + "score": 0.003790962975472212 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "boost", + "score": -0.034814368933439255 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.04765865579247475 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": -0.004671327769756317 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.14332698285579681 + "score": 0.028526129201054573 }, "else": { - "operation": "boost", - "score": 0.1442285180091858 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.07837552577257156 + }, + "else": { + "operation": "boost", + "score": -0.048958275467157364 + } } }, "else": { - "operation": "boost", - "score": 0.07631996273994446 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": -0.18361438810825348 + }, + "else": { + "operation": "boost", + "score": 0.039442721754312515 + } } }, "else": { "operation": "boost", - "score": 0.21851027011871338 + "score": -0.001596741029061377 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.05222376435995102 }, "else": { "operation": "boost", - "score": 0.12000086158514023 + "score": -0.01359616033732891 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.060571663081645966 - }, - "else": { - "operation": "boost", - "score": 0.010004518553614616 - } } - }, - "else": { - "operation": "boost", - "score": -0.10815229266881943 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07831817865371704 - }, - "else": { - "operation": "boost", - "score": 0.001132429693825543 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.015800995752215385 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_Symbol" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007041463162750006 + }, + "else": { + "operation": "boost", + "score": -0.020923377946019173 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { + "operation": "boost", + "score": 0.001427146140486002 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Operator", - "Unknown", - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": -0.048508137464523315 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.02829454280436039 + "score": -0.05645196884870529 }, "else": { - "operation": "boost", - "score": -0.15658728778362274 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": 0.08839742094278336 + }, + "else": { + "operation": "boost", + "score": -0.011195512488484383 + } } - }, - "else": { - "operation": "boost", - "score": 0.0029067222494632006 } - }, - "else": { - "operation": "boost", - "score": -0.003338867099955678 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.029834533110260963 - }, - "else": { - "operation": "boost", - "score": -0.05274703726172447 - } + "operation": "boost", + "score": 0.03723578900098801 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05097723379731178 - }, - "else": { - "operation": "boost", - "score": -0.05879712477326393 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_Symbol" ], "then": { + "operation": "boost", + "score": 0.0661061480641365 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06751847267150879 - }, - "else": { - "operation": "boost", - "score": 0.0791878029704094 - } + "operation": "boost", + "score": 0.02574605494737625 }, "else": { "operation": "boost", - "score": 0.04206571727991104 + "score": -0.00508191529661417 } - }, - "else": { - "operation": "boost", - "score": 0.010977627709507942 } - }, - "else": { - "operation": "boost", - "score": 0.023907802999019623 } - }, - "else": { - "operation": "boost", - "score": 0.0045145731419324875 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.0013663654681295156 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 629.0, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 723.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.00013861303159501404 + "score": -0.04966650530695915 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.1292324811220169 + "score": 0.010125871747732162 }, "else": { - "operation": "boost", - "score": 0.10409152507781982 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06065600365400314 + }, + "else": { + "operation": "boost", + "score": -0.0272140484303236 + } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.013871905393898487 + "score": -0.0035379056353121996 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": -0.10627637058496475 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11125019937753677 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], - "then": { - "operation": "boost", - "score": 0.13522234559059143 - }, - "else": { - "operation": "boost", - "score": -0.17107143998146057 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.05631513521075249 - }, - "else": { - "operation": "boost", - "score": 0.12129152566194534 - } + "operation": "boost", + "score": -0.013459459878504276 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03390796482563019 - }, - "else": { - "operation": "boost", - "score": -0.8755866289138794 - } + "operation": "boost", + "score": 0.020065436139702797 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.04719221591949463 + "score": 0.00878145545721054 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.044473662972450256 - }, - "else": { - "operation": "boost", - "score": 0.13805744051933289 - } + "operation": "boost", + "score": 0.017459888011217117 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.03948942944407463 + "score": 0.009072203189134598 }, "else": { "operation": "boost", - "score": 0.14127756655216217 + "score": -0.08061004430055618 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.2629467248916626 - }, - "else": { - "operation": "boost", - "score": 0.06323469430208206 - } + "operation": "boost", + "score": 0.003286819439381361 } } } @@ -168090,1042 +165848,933 @@ }, "else": { "operation": "boost", - "score": -0.057876937091350555 + "score": -0.027257971465587616 } } + }, + "else": { + "operation": "boost", + "score": -0.009108525700867176 } - }, - "else": { - "operation": "boost", - "score": 0.01129173394292593 } }, + "else": { + "operation": "boost", + "score": -0.00632026931270957 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.011509270407259464 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.009560362435877323 + }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_EnumTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "operation": "boost", + "score": 0.0056553916074335575 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13257446885108948 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.053385891020298004 - }, - "else": { - "operation": "boost", - "score": 0.1261095553636551 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.09138701111078262 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.219752699136734 - }, - "else": { - "operation": "boost", - "score": 0.06282704323530197 - } - }, - "else": { - "operation": "boost", - "score": -0.2270313948392868 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 329.0, - "then": { - "operation": "boost", - "score": 0.10365032404661179 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.025585994124412537 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11851166188716888 - }, - "else": { - "operation": "boost", - "score": 0.07601521909236908 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.024192897602915764 - } - } + "operation": "boost", + "score": -0.037439025938510895 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.011955315247178078 + "score": 0.23454400897026062 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.03166820481419563 - }, - "else": { - "operation": "boost", - "score": -0.0875082015991211 - } + "operation": "boost", + "score": 0.006277382839471102 } } }, "else": { "operation": "boost", - "score": -0.009225786663591862 + "score": -0.11984774470329285 } + } + } + } + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009543932043015957 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.007611863315105438 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.008583194576203823 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.017634477466344833 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5192307829856873, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06667456775903702 - }, - "else": { - "operation": "boost", - "score": 0.10136393457651138 - } - }, - "else": { - "operation": "boost", - "score": 0.015119596384465694 - } + "operation": "boost", + "score": -0.03337264433503151 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "boost", - "score": -0.6878109574317932 + "score": 0.13320571184158325 }, "else": { "operation": "boost", - "score": -0.12603099644184113 + "score": 0.07547067850828171 } } } + }, + "else": { + "operation": "boost", + "score": 0.04239572584629059 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 883.5, + "then": { + "operation": "boost", + "score": 0.02860281802713871 + }, + "else": { + "operation": "boost", + "score": 0.002858088817447424 } } + }, + "else": { + "operation": "boost", + "score": -0.006584179122000933 } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.1295512467622757 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "boost", + "score": -0.035557106137275696 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18943.0, "then": { "operation": "boost", - "score": 0.01594984345138073 + "score": -0.3198107182979584 }, "else": { "operation": "boost", - "score": -0.11719664931297302 + "score": 0.013897327706217766 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Type" - ], + "operation": "boost", + "score": -0.12690071761608124 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 132.5, + "threshold": 23.5, "then": { + "operation": "boost", + "score": 0.01995094120502472 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02404838241636753 + "score": -0.6009328961372375 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { "operation": "boost", - "score": 0.11389802396297455 + "score": 0.14946967363357544 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148.5, - "then": { - "operation": "boost", - "score": -0.14481811225414276 - }, - "else": { - "operation": "boost", - "score": 0.11039972305297852 - } + "operation": "boost", + "score": 0.1309615969657898 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009748296812176704 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.214747816324234 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.10311231017112732 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05036347731947899 + "score": 0.10777938365936279 }, "else": { "operation": "boost", - "score": 0.09376374632120132 + "score": -0.040771082043647766 } + }, + "else": { + "operation": "boost", + "score": 0.2674146890640259 } - }, - "else": { - "operation": "boost", - "score": -0.022795360535383224 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "boost", - "score": 0.057939693331718445 - }, - "else": { - "operation": "boost", - "score": -0.31864532828330994 - } - }, - "else": { - "operation": "boost", - "score": -0.4852466285228729 - } + "operation": "boost", + "score": 0.02161310985684395 }, "else": { "operation": "boost", - "score": -0.004106019623577595 + "score": 0.13496190309524536 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.1362394243478775 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.08494244515895844 - }, - "else": { - "operation": "boost", - "score": 0.043627530336380005 - } - } - }, - "else": { - "operation": "boost", - "score": 0.033613771200180054 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.006626317277550697 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, - "then": { - "operation": "boost", - "score": -0.41323423385620117 - }, - "else": { - "operation": "boost", - "score": 0.10910850763320923 - } + "operation": "boost", + "score": 0.09329487383365631 }, "else": { "operation": "boost", - "score": 0.06427311152219772 + "score": 0.19867251813411713 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, - "then": { - "operation": "boost", - "score": -0.5822681784629822 - }, - "else": { - "operation": "boost", - "score": 0.009204646572470665 - } + "operation": "boost", + "score": -0.2723483145236969 } }, "else": { "operation": "boost", - "score": -0.010871464386582375 - } - }, - "else": { - "operation": "boost", - "score": -0.0369434654712677 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.08683695644140244 - }, - "else": { - "operation": "boost", - "score": -0.031554218381643295 + "score": 0.05806298181414604 } - }, - "else": { - "operation": "boost", - "score": 0.00016591935127507895 } } } } + }, + "else": { + "operation": "boost", + "score": 0.0013410650426521897 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": 0.14320723712444305 + }, + "else": { + "operation": "boost", + "score": -0.28786662220954895 + } + }, + "else": { + "operation": "boost", + "score": -0.014946049079298973 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1329728215932846 + }, + "else": { + "operation": "boost", + "score": 0.1228613629937172 } + }, + "else": { + "operation": "boost", + "score": 0.018888289108872414 } }, "else": { "operation": "boost", - "score": -0.002948935143649578 + "score": -0.0026789435651153326 } } } } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 33610.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.00557591812685132 + }, + "else": { + "operation": "boost", + "score": -0.02965734153985977 + } + }, + "else": { + "operation": "boost", + "score": 0.019435415044426918 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97357.5, + "threshold": 33508.5, "then": { "operation": "boost", - "score": 0.009505398571491241 + "score": 0.13228189945220947 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12002420425415039 - }, - "else": { - "operation": "boost", - "score": 0.14087285101413727 - } + "operation": "boost", + "score": 0.1140662357211113 } }, "else": { "operation": "boost", - "score": -0.06017472967505455 + "score": 0.1253153532743454 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function" + "CCC_SymbolOrNewName" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, "then": { "operation": "boost", - "score": 0.12865585088729858 + "score": 0.1266273558139801 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "boost", + "score": -0.116947703063488 + } + }, + "else": { + "operation": "boost", + "score": 0.05861743167042732 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.029997318983078003 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.23914828896522522 - }, - "else": { - "operation": "boost", - "score": 0.03419800475239754 - } - }, - "else": { - "operation": "boost", - "score": -0.20026522874832153 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 24366.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.11327574402093887 - }, - "else": { - "operation": "boost", - "score": 0.07558206468820572 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 25183.5, "then": { - "operation": "boost", - "score": 0.09560355544090271 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10854774713516235 + }, + "else": { + "operation": "boost", + "score": 0.019069727510213852 + } }, "else": { "operation": "boost", - "score": 0.07678703218698502 + "score": -0.22537539899349213 } }, "else": { - "operation": "boost", - "score": 0.10439599305391312 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1098862737417221 + }, + "else": { + "operation": "boost", + "score": 0.11186284571886063 + } + }, + "else": { + "operation": "boost", + "score": 0.11834882199764252 + } + }, + "else": { + "operation": "boost", + "score": 0.008990845642983913 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.004656864795833826 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 624.5, "then": { - "operation": "boost", - "score": 0.05444567650556564 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23670.0, + "threshold": 900.5, "then": { "operation": "boost", - "score": 0.06714744865894318 + "score": 0.03369787335395813 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23530.5, + "threshold": 899.5, "then": { "operation": "boost", - "score": 0.11011823266744614 + "score": 0.11554060131311417 }, "else": { - "operation": "boost", - "score": 0.104581817984581 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09157435595989227 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.14976342022418976 + }, + "else": { + "operation": "boost", + "score": 0.11614417284727097 + } + }, + "else": { + "operation": "boost", + "score": 0.14131474494934082 + } + } + }, + "else": { + "operation": "boost", + "score": -0.004440354648977518 + } + }, + "else": { + "operation": "boost", + "score": 0.028134338557720184 + } } } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61294.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62580.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.01858234405517578 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": -0.1035323217511177 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.04853149503469467 + "score": 0.009076167829334736 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72713.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 358.5, "then": { "operation": "boost", - "score": 0.026126712560653687 + "score": 0.15576785802841187 }, "else": { "operation": "boost", - "score": 0.12102095782756805 + "score": 0.11662428081035614 } }, "else": { - "operation": "boost", - "score": 0.1194237694144249 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298.5, + "then": { + "operation": "boost", + "score": -0.09304868429899216 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 100.5, + "then": { + "operation": "boost", + "score": 0.11261320114135742 + }, + "else": { + "operation": "boost", + "score": 0.14943742752075195 + } + }, + "else": { + "operation": "boost", + "score": 0.03079182095825672 + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.02539379708468914 } } - }, - "else": { - "operation": "boost", - "score": -0.07273460179567337 } }, "else": { - "operation": "boost", - "score": 0.012073070742189884 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.1238069161772728 - }, - "else": { - "operation": "boost", - "score": 0.1116797924041748 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "feature": "NumReferences", + "threshold": 26.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11422066390514374 - }, - "else": { - "operation": "boost", - "score": 0.03514924272894859 - } - }, - "else": { - "operation": "boost", - "score": -0.053808338940143585 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27682.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43744.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.06477037817239761 + "score": -0.009835162200033665 }, "else": { - "operation": "boost", - "score": -0.021119985729455948 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.12158134579658508 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1282.0, + "then": { + "operation": "boost", + "score": -0.015965070575475693 + }, + "else": { + "operation": "boost", + "score": 0.05179620906710625 + } }, "else": { - "operation": "boost", - "score": 0.04020101577043533 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28523.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.05797029659152031 + "score": 0.04003649204969406 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.11361493170261383 - }, - "else": { - "operation": "boost", - "score": 0.03915403038263321 - } + "operation": "boost", + "score": -0.0003146169474348426 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0583963580429554 - }, - "else": { - "operation": "boost", - "score": -0.005304524675011635 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 30138.5, "then": { "operation": "boost", - "score": 0.07451623678207397 + "score": 0.11208869516849518 }, "else": { "operation": "boost", - "score": 0.13529548048973083 + "score": 0.037219054996967316 } - }, - "else": { - "operation": "boost", - "score": 0.09252206981182098 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24366.0, - "then": { - "operation": "boost", - "score": -0.19035710394382477 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20414.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.13623186945915222 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { + "operation": "boost", + "score": -0.5440766215324402 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.10894308984279633 + "score": 0.1617254912853241 }, "else": { "operation": "boost", - "score": 0.11612065136432648 + "score": 0.4255756437778473 } - }, - "else": { - "operation": "boost", - "score": 0.16439983248710632 } }, "else": { "operation": "boost", - "score": 0.059115756303071976 + "score": 0.13727393746376038 } - }, - "else": { - "operation": "boost", - "score": 0.05035281553864479 } }, "else": { "operation": "boost", - "score": -0.08106474578380585 + "score": -0.0580938458442688 } } } @@ -169133,1188 +166782,1201 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44699.0, + "threshold": 5362.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17326.5, + "then": { + "operation": "boost", + "score": 0.007889414206147194 + }, + "else": { + "operation": "boost", + "score": -0.14537020027637482 + } + }, + "else": { + "operation": "boost", + "score": 0.03673520311713219 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0015229604905471206 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.03303470462560654 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.06821350753307343 + "score": 0.015795178711414337 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32519.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { + "operation": "boost", + "score": 0.09739834815263748 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33041.5, - "then": { - "operation": "boost", - "score": -0.0021671403665095568 - }, - "else": { - "operation": "boost", - "score": 0.12483098357915878 - } + "operation": "boost", + "score": 0.121756911277771 }, "else": { "operation": "boost", - "score": -0.00896223820745945 + "score": -0.11325494945049286 } - }, - "else": { - "operation": "boost", - "score": -0.04704482853412628 } } } + }, + "else": { + "operation": "boost", + "score": 0.0037840669974684715 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.030461158603429794 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20039.5, + "threshold": 30283.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "boost", + "score": -0.04286159202456474 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.008086415007710457 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25183.5, + "threshold": 5256.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25726.0, + "threshold": 5905.5, "then": { "operation": "boost", - "score": 0.024396678432822227 + "score": 0.08130759000778198 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.10218120366334915 + "score": 0.13895611464977264 }, "else": { "operation": "boost", - "score": 0.014440156519412994 + "score": 0.10425281524658203 } } }, "else": { "operation": "boost", - "score": -0.1464831680059433 + "score": 0.01478923112154007 } }, "else": { - "operation": "boost", - "score": -0.01610996574163437 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.22726672887802124 + }, + "else": { + "operation": "boost", + "score": -0.02888481505215168 + } } - }, - "else": { - "operation": "boost", - "score": 0.11484185606241226 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11476002633571625 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_DotMemberAccess", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.10741882771253586 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": 0.3065928518772125 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07157295197248459 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.07303038984537125 + }, + "else": { + "operation": "boost", + "score": -0.12317882478237152 + } + } + } }, "else": { "operation": "boost", - "score": 0.10754286497831345 + "score": -0.02101106382906437 } - }, - "else": { - "operation": "boost", - "score": 0.05749361962080002 } }, "else": { "operation": "boost", - "score": 0.08867527544498444 + "score": 0.0014692749828100204 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 30.5, "then": { - "operation": "boost", - "score": -0.02886549010872841 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "Function" ], "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.1747518926858902 + }, + "else": { + "operation": "boost", + "score": 0.07497917860746384 + } + }, + "else": { + "operation": "boost", + "score": 0.009259535931050777 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", "Destructor", - "Operator", - "Unknown", - "Constructor", + "Function", + "Namespace", "Type", - "Namespace" + "Variable" ], "then": { + "operation": "boost", + "score": 0.008745999075472355 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FileProximityDistanceCost", + "threshold": 36.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 383039.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.006464318372309208 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.2237602323293686 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "boost", - "score": 0.09922938793897629 - }, - "else": { - "operation": "boost", - "score": 0.08861899375915527 - } - }, - "else": { - "operation": "boost", - "score": 0.026913488283753395 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.31616127490997314 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 318692.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0999177098274231 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10407386720180511 - }, - "else": { - "operation": "boost", - "score": -0.19133485853672028 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.05335460230708122 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1091117113828659 - }, - "else": { - "operation": "boost", - "score": 0.12017865478992462 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1856314092874527 - } - }, - "else": { - "operation": "boost", - "score": 0.03869755566120148 - } - }, - "else": { - "operation": "boost", - "score": -0.17568399012088776 - } - } - }, - "else": { - "operation": "boost", - "score": -0.050002723932266235 - } + "operation": "boost", + "score": -0.08166028559207916 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 187158.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04285501688718796 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.12951821088790894 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.05191243067383766 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10969401150941849 - }, - "else": { - "operation": "boost", - "score": -0.11513693630695343 - } - }, - "else": { - "operation": "boost", - "score": -0.27166351675987244 - } - }, - "else": { - "operation": "boost", - "score": 0.035175714641809464 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.24834240972995758 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11294378340244293 - }, - "else": { - "operation": "boost", - "score": 0.07727304100990295 - } - } - }, - "else": { - "operation": "boost", - "score": 0.031143270432949066 - } - } - } + "operation": "boost", + "score": -0.12110237032175064 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, - "then": { - "operation": "boost", - "score": 0.04125822335481644 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.10985764861106873 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.07925869524478912 - }, - "else": { - "operation": "boost", - "score": 0.11917590349912643 - } - } - } + "operation": "boost", + "score": 0.15513460338115692 }, "else": { "operation": "boost", - "score": -0.009420318529009819 + "score": -0.10196114331483841 } } } - }, - "else": { - "operation": "boost", - "score": -0.12185569852590561 } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, + "operation": "boost", + "score": -0.004132767673581839 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator" + ], "then": { - "operation": "boost", - "score": 0.005898073315620422 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.010452774353325367 + }, + "else": { + "operation": "boost", + "score": 0.05024867504835129 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108984.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.09585867077112198 - }, - "else": { - "operation": "boost", - "score": 0.11302101612091064 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13184835016727448 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.086077980697155 - }, - "else": { - "operation": "boost", - "score": 0.129576176404953 - } - }, - "else": { - "operation": "boost", - "score": -0.011194691993296146 - } - }, - "else": { - "operation": "boost", - "score": 0.084864042699337 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.12962056696414948 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11607784032821655 - }, - "else": { - "operation": "boost", - "score": -0.10164414346218109 - } - } - }, - "else": { - "operation": "boost", - "score": -0.12507465481758118 - } - } - } - } + "operation": "boost", + "score": -0.04432089999318123 }, "else": { "operation": "boost", - "score": 0.04528266564011574 + "score": -0.09755988419055939 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.04164939373731613 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08466066420078278 - }, - "else": { - "operation": "boost", - "score": 0.10075443238019943 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04029922932386398 - } + "operation": "boost", + "score": 0.024981966242194176 }, "else": { "operation": "boost", - "score": -0.13779930770397186 + "score": 0.002171476371586323 } + }, + "else": { + "operation": "boost", + "score": -0.022950466722249985 } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09300102293491364 - }, - "else": { - "operation": "boost", - "score": 0.12924714386463165 - } - }, - "else": { - "operation": "boost", - "score": 0.04376630857586861 - } - } - }, - "else": { - "operation": "boost", - "score": 0.001566210645250976 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.06489533185958862 + "score": 0.07646918296813965 }, "else": { "operation": "boost", - "score": 0.11795762926340103 + "score": -0.11161623895168304 } - }, - "else": { - "operation": "boost", - "score": 0.011501467786729336 } - }, - "else": { - "operation": "boost", - "score": -0.04417499154806137 } } } } - }, - "else": { - "operation": "boost", - "score": -0.005927770398557186 } - }, - "else": { - "operation": "boost", - "score": -0.0003603216027840972 } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07932544499635696 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 107411.0, + "threshold": 2401.5, "then": { - "operation": "boost", - "score": 0.005715334787964821 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 2435.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 3146.5, "then": { "operation": "boost", - "score": 0.13169772922992706 + "score": 0.031312234699726105 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 93017.5, + "threshold": 3102.5, "then": { "operation": "boost", - "score": 0.10676288604736328 + "score": 0.12950442731380463 }, "else": { "operation": "boost", - "score": -0.013364232145249844 + "score": 0.0767441913485527 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, - "then": { - "operation": "boost", - "score": -0.039259228855371475 - }, - "else": { - "operation": "boost", - "score": 0.1429954171180725 - } - }, + "operation": "boost", + "score": 0.11818220466375351 + } + }, + "else": { + "operation": "boost", + "score": 0.0070661697536706924 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.1632160246372223 + }, + "else": { + "operation": "boost", + "score": 0.014848681166768074 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": 0.023290302604436874 + }, + "else": { + "operation": "boost", + "score": 0.26591816544532776 + } + }, + "else": { + "operation": "boost", + "score": -0.04473527893424034 + } + }, "else": { - "operation": "boost", - "score": 0.0668034702539444 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.1014535054564476 + }, + "else": { + "operation": "boost", + "score": 0.4264606833457947 + } + }, + "else": { + "operation": "boost", + "score": 0.09129638224840164 + } } }, "else": { "operation": "boost", - "score": 0.11663446575403214 + "score": 0.005889330059289932 } }, "else": { "operation": "boost", - "score": 0.09181050956249237 + "score": -0.0015508814249187708 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.08772735297679901 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { "operation": "boost", - "score": -0.04050632193684578 + "score": 0.1367075890302658 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.15276655554771423 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5694444179534912, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1060648187994957 - }, - "else": { - "operation": "boost", - "score": 0.10327988117933273 - } - }, - "else": { - "operation": "boost", - "score": 0.14022020995616913 - } - }, - "else": { - "operation": "boost", - "score": 0.10772485285997391 - } + "operation": "boost", + "score": 0.035629913210868835 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07124831527471542 + "score": 0.014830718748271465 }, "else": { "operation": "boost", - "score": 0.10033934563398361 + "score": 0.11314737051725388 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.0023343663197010756 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.34331536293029785 + "score": -0.07452434301376343 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.00782192125916481 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.07835733890533447 - }, - "else": { - "operation": "boost", - "score": 0.07981470227241516 - } - }, - "else": { - "operation": "boost", - "score": -0.020127873867750168 - } - } + "operation": "boost", + "score": -0.5818341374397278 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.05804726481437683 + }, + "else": { + "operation": "boost", + "score": 0.13373003900051117 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10244576632976532 }, "else": { "operation": "boost", - "score": 0.0003297704679425806 + "score": 0.06235335022211075 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.27643823623657227 }, "else": { - "operation": "boost", - "score": -0.11431209743022919 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": -0.2146500200033188 + }, + "else": { + "operation": "boost", + "score": 0.03821362927556038 + } } } }, "else": { - "operation": "boost", - "score": -0.04845842346549034 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.009597317315638065 + }, + "else": { + "operation": "boost", + "score": -0.004428786225616932 + } } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": -0.14249439537525177 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Constructor", + "Function", + "Keyword", + "Macro", + "Variable" ], + "then": { + "operation": "boost", + "score": 0.006905480287969112 + }, + "else": { + "operation": "boost", + "score": -0.005809381604194641 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.036674778908491135 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.015321588143706322 + }, + "else": { + "operation": "boost", + "score": -0.0010205277940258384 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.05364092439413071 + "score": -0.11237724125385284 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { + "operation": "boost", + "score": 0.09382099658250809 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "boost", - "score": 0.0022033816203475 + "score": -0.23978909850120544 }, "else": { "operation": "boost", - "score": 0.10095072537660599 + "score": -0.00675966776907444 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0885295569896698 + "score": 0.08937636762857437 }, "else": { - "operation": "boost", - "score": 0.11272784322500229 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": -0.18055163323879242 + }, + "else": { + "operation": "boost", + "score": 0.2504871189594269 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { - "operation": "boost", - "score": -0.11763890832662582 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, "then": { "operation": "boost", - "score": 0.10823021829128265 + "score": -0.018913695588707924 }, "else": { "operation": "boost", - "score": 0.07932901382446289 + "score": 0.15504467487335205 } + }, + "else": { + "operation": "boost", + "score": -0.10041139274835587 } } + }, + "else": { + "operation": "boost", + "score": 0.020540615543723106 } - }, - "else": { - "operation": "boost", - "score": -0.7604097723960876 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.024958185851573944 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.02700350433588028 + }, + "else": { + "operation": "boost", + "score": -0.019758492708206177 + } + }, + "else": { + "operation": "boost", + "score": -0.17195908725261688 + } }, "else": { - "operation": "boost", - "score": -0.11459717154502869 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0513157919049263, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1193501278758049 + }, + "else": { + "operation": "boost", + "score": 0.011456739157438278 + } + }, + "else": { + "operation": "boost", + "score": 0.2535754442214966 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.176448255777359 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12313332408666611 + "score": -0.019660573452711105 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.03821028769016266 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.14680978655815125 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "boost", + "score": 0.026401720941066742 + }, + "else": { + "operation": "boost", + "score": 0.1299007534980774 + } + } }, "else": { - "operation": "boost", - "score": 0.17742329835891724 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": 0.17540882527828217 + }, + "else": { + "operation": "boost", + "score": 0.04544103890657425 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": -0.20463843643665314 + }, + "else": { + "operation": "boost", + "score": 0.027315225452184677 + } + }, + "else": { + "operation": "boost", + "score": 0.07311877608299255 + } + } } } }, "else": { "operation": "boost", - "score": 0.007463013753294945 + "score": -0.011956813745200634 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.00510704331099987 + }, + "else": { + "operation": "boost", + "score": -0.20217740535736084 + } + }, + "else": { + "operation": "boost", + "score": -0.021582426503300667 } } } @@ -170322,2971 +167984,2018 @@ } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.10868129134178162 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.019150977954268456 + "score": 0.023969655856490135 }, "else": { - "operation": "boost", - "score": 0.10915204137563705 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "boost", + "score": -0.029834842309355736 + }, + "else": { + "operation": "boost", + "score": -0.40407535433769226 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "boost", - "score": 0.04617942124605179 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "boost", + "score": 0.027674494311213493 + }, + "else": { + "operation": "boost", + "score": 0.06387511640787125 + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.09167357534170151 + "score": 0.12185179442167282 }, "else": { "operation": "boost", - "score": 0.09579815715551376 + "score": 0.05609910190105438 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.08491241931915283 + "score": -0.04442960396409035 }, "else": { "operation": "boost", - "score": -0.026341529563069344 + "score": 0.3622494637966156 } } }, + "else": { + "operation": "boost", + "score": 0.0072293588891625404 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168474.5, + "then": { + "operation": "boost", + "score": -0.0725456029176712 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 167779.0, + "then": { + "operation": "boost", + "score": 0.16128666698932648 + }, + "else": { + "operation": "boost", + "score": -0.006368858739733696 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 136397.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 288840.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185218.0, + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10354543477296829 + }, + "else": { + "operation": "boost", + "score": -0.07368141412734985 + } + }, + "else": { + "operation": "boost", + "score": 0.056426744908094406 + } + }, + "else": { + "operation": "boost", + "score": 0.0037608256097882986 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.10896484553813934 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7136363983154297, "then": { "operation": "boost", - "score": -0.4370654225349426 + "score": 0.14762859046459198 }, "else": { + "operation": "boost", + "score": 0.02860211580991745 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 559.0, + "then": { + "operation": "boost", + "score": -0.07608204334974289 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.1180669516324997 + "score": -0.04110982269048691 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.09088559448719025 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.11594053357839584 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155294.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10964702069759369 - }, - "else": { - "operation": "boost", - "score": 0.09604128450155258 - } - }, - "else": { - "operation": "boost", - "score": 0.08481331914663315 - } - }, - "else": { - "operation": "boost", - "score": 0.08277637511491776 - } - } - } + "operation": "boost", + "score": 0.0025163383688777685 } + }, + "else": { + "operation": "boost", + "score": -0.07851005345582962 } - }, - "else": { - "operation": "boost", - "score": 0.04732026904821396 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 847.0, + "then": { + "operation": "boost", + "score": -0.03564049303531647 + }, + "else": { + "operation": "boost", + "score": 0.005741099826991558 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0005358494236133993 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.00613754615187645 + }, + "else": { + "operation": "boost", + "score": 0.14458730816841125 + } }, "else": { + "operation": "boost", + "score": 0.043110478669404984 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4678.5, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.02531440742313862 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03205430135130882 + "score": -0.005587033927440643 }, "else": { "operation": "boost", - "score": 0.12469664216041565 + "score": 0.11274608969688416 } - }, - "else": { - "operation": "boost", - "score": -0.054807811975479126 } + }, + "else": { + "operation": "boost", + "score": 0.005529620219022036 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.001498684287071228 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 323356.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression", "CCC_Statement", - "CCC_TopLevel", + "CCC_Symbol", "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.0352255217730999 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.016717860475182533 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.23522576689720154 + }, + "else": { + "operation": "boost", + "score": 0.08401937782764435 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04522987827658653 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09290846437215805 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.061067450791597366 + }, + "else": { + "operation": "boost", + "score": 0.0017929807072505355 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.05679338425397873 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 212125.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234371.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 276057.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.15382398664951324 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297854.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.020718201994895935 + "score": 0.16154368221759796 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.010413216426968575 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 398484.5, - "then": { - "operation": "boost", - "score": 0.06887318938970566 - }, - "else": { - "operation": "boost", - "score": -0.2305002063512802 - } - }, - "else": { - "operation": "boost", - "score": -0.07975386828184128 - } - } + "operation": "boost", + "score": 0.09152686595916748 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 276543.0, - "then": { - "operation": "boost", - "score": 0.11826571822166443 - }, - "else": { - "operation": "boost", - "score": 0.15393130481243134 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": 0.19517827033996582 - }, - "else": { - "operation": "boost", - "score": 0.009499656036496162 - } - } - }, - "else": { - "operation": "boost", - "score": 0.021145647391676903 - } + "operation": "boost", + "score": 0.06286702305078506 } }, "else": { "operation": "boost", - "score": 0.020413119345903397 + "score": 0.021490395069122314 } - }, - "else": { - "operation": "boost", - "score": -0.12491898983716965 } }, "else": { + "operation": "boost", + "score": -0.12291167676448822 + } + }, + "else": { + "operation": "boost", + "score": 0.02931390330195427 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, + "then": { + "operation": "boost", + "score": -0.14554139971733093 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205376.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.003960867412388325 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 120391.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04038716480135918 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0036064675077795982 + }, + "else": { + "operation": "boost", + "score": 0.11707659810781479 + } }, "else": { "operation": "boost", - "score": -0.23941729962825775 + "score": -0.05204692482948303 } }, "else": { "operation": "boost", - "score": -0.04312387853860855 + "score": 0.018732575699687004 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.06526625156402588 - }, - "else": { - "operation": "boost", - "score": 0.07655394077301025 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 144686.0, + "threshold": 250.5, "then": { "operation": "boost", - "score": -0.13444438576698303 + "score": 0.007268888875842094 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105661.0, - "then": { - "operation": "boost", - "score": 0.026850711554288864 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.09237090498209 - }, - "else": { - "operation": "boost", - "score": 0.09900934249162674 - } - }, - "else": { - "operation": "boost", - "score": 0.06890810281038284 - } - }, - "else": { - "operation": "boost", - "score": 0.008756319992244244 - } - }, - "else": { - "operation": "boost", - "score": -0.45359006524086 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0938781127333641 - }, - "else": { - "operation": "boost", - "score": -0.4660658538341522 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, - "then": { - "operation": "boost", - "score": -0.0807671919465065 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08599149435758591 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.09089995920658112 - }, - "else": { - "operation": "boost", - "score": 0.1069502979516983 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11756531149148941 - }, - "else": { - "operation": "boost", - "score": -0.16225512325763702 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.0666559562087059 - }, - "else": { - "operation": "boost", - "score": 0.10380011796951294 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.12261688709259033 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.07612214982509613 - }, - "else": { - "operation": "boost", - "score": 0.12378012388944626 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.06827171891927719 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "boost", - "score": -0.4043794572353363 - }, - "else": { - "operation": "boost", - "score": 0.03875603526830673 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.13378240168094635 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.0015752374893054366 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.09665880352258682 - }, - "else": { - "operation": "boost", - "score": 0.1490076780319214 - } - }, - "else": { - "operation": "boost", - "score": 0.1024903878569603 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.015675770118832588 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, - "then": { - "operation": "boost", - "score": 0.059135209769010544 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10677402466535568 - }, - "else": { - "operation": "boost", - "score": -0.13387039303779602 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.015636321157217026 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11951316148042679 - } + "operation": "boost", + "score": -0.0003491016977932304 } - }, - "else": { - "operation": "boost", - "score": 0.11150722950696945 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03816269338130951 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.02957635372877121 - }, - "else": { - "operation": "boost", - "score": -0.2382706105709076 - } - }, - "else": { - "operation": "boost", - "score": -0.12618687748908997 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114921.5, - "then": { - "operation": "boost", - "score": -0.012636400759220123 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108984.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07772671431303024 - }, - "else": { - "operation": "boost", - "score": 0.10526528209447861 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.0863729864358902 - }, - "else": { - "operation": "boost", - "score": 0.1262541264295578 - } - }, - "else": { - "operation": "boost", - "score": 0.009752071462571621 - } - }, - "else": { - "operation": "boost", - "score": 0.12740810215473175 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02094973251223564 - } - } - } + "operation": "boost", + "score": 0.13790592551231384 } } } } } - }, - "else": { - "operation": "boost", - "score": -0.000370038760593161 } - }, - "else": { - "operation": "boost", - "score": -0.00023079494712874293 } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.8691563010215759 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.1063307672739029 - }, - "else": { - "operation": "boost", - "score": 0.052333783358335495 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10176944732666016 - }, - "else": { - "operation": "boost", - "score": 0.06321302801370621 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08233146369457245 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": 0.10125628858804703 - }, - "else": { - "operation": "boost", - "score": -0.23059743642807007 - } - }, - "else": { - "operation": "boost", - "score": 0.008940257132053375 - } - } - } + "operation": "boost", + "score": -0.07271980494260788 }, "else": { - "operation": "boost", - "score": -0.0065467930398881435 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2401.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 2435.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 3149.5, "then": { "operation": "boost", - "score": 0.09404709935188293 + "score": 0.030291467905044556 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3102.5, "then": { "operation": "boost", - "score": 0.021026764065027237 + "score": 0.12186964601278305 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2533.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 2678.0, "then": { "operation": "boost", - "score": 0.06053916737437248 + "score": 0.07078348100185394 }, "else": { - "operation": "boost", - "score": -0.15938948094844818 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2632.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.07072458416223526 + }, + "else": { + "operation": "boost", + "score": 0.11754748225212097 + } + }, + "else": { + "operation": "boost", + "score": 0.10478711128234863 + } } }, "else": { "operation": "boost", - "score": -0.15946055948734283 + "score": -0.047284360975027084 } } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05403336137533188 - }, - "else": { - "operation": "boost", - "score": 0.07732607424259186 - } + "operation": "boost", + "score": 0.11735771596431732 } }, "else": { "operation": "boost", - "score": 0.013454900123178959 + "score": 0.007190174423158169 } - }, - "else": { - "operation": "boost", - "score": 0.02157176099717617 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.10832113027572632 - }, - "else": { - "operation": "boost", - "score": -0.14541539549827576 - } + "operation": "boost", + "score": 0.14944793283939362 }, "else": { "operation": "boost", - "score": -0.05735429748892784 + "score": 0.017157770693302155 } }, "else": { - "operation": "boost", - "score": -0.10019996017217636 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel" + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11800745129585266 + "score": 0.0017791838617995381 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.027647975832223892 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06948912888765335 - }, - "else": { - "operation": "boost", - "score": 0.1075863242149353 - } - } + "operation": "boost", + "score": -0.027567902579903603 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 236336.5, + "threshold": 505.5, "then": { + "operation": "boost", + "score": 0.13589170575141907 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.12239577621221542 + "score": 0.05299295485019684 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.1870645433664322 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.02631578966975212, "then": { - "operation": "boost", - "score": 0.006100911647081375 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.0387493297457695 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10725073516368866 - }, - "else": { - "operation": "boost", - "score": -0.32809239625930786 - } - }, - "else": { - "operation": "boost", - "score": 0.119465172290802 - } - }, - "else": { - "operation": "boost", - "score": -0.2928747236728668 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.07039657980203629 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06029871106147766 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10798834264278412 - }, - "else": { - "operation": "boost", - "score": -0.11408363282680511 - } - } - } - } - } + "operation": "boost", + "score": 0.023931834846735 }, "else": { "operation": "boost", - "score": 0.11275701224803925 + "score": 0.11619990319013596 } + }, + "else": { + "operation": "boost", + "score": -0.04391387850046158 } }, "else": { - "operation": "boost", - "score": 0.011522280052304268 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "boost", - "score": 0.0027263257652521133 + "score": 0.0010709043126553297 }, "else": { - "operation": "boost", - "score": 0.0943216010928154 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.05397256463766098 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.1635269969701767 + }, + "else": { + "operation": "boost", + "score": 0.11293839663267136 + } + }, + "else": { + "operation": "boost", + "score": 0.10289989411830902 + } }, "else": { "operation": "boost", - "score": 0.09493647515773773 + "score": 0.044455695897340775 } - }, - "else": { - "operation": "boost", - "score": 0.03806673735380173 } + }, + "else": { + "operation": "boost", + "score": 0.02768954075872898 } - }, - "else": { - "operation": "boost", - "score": 0.005836401600390673 } }, "else": { - "operation": "boost", - "score": -0.09681340306997299 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.03734789043664932 + "score": -0.03919774666428566 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06995072215795517 - }, - "else": { - "operation": "boost", - "score": 0.1056072935461998 - } + "operation": "boost", + "score": 0.009465603157877922 } - }, - "else": { - "operation": "boost", - "score": 0.0394953228533268 } } } } }, + "else": { + "operation": "boost", + "score": -0.13798761367797852 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "boost", + "score": 0.031871963292360306 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234371.5, + "then": { + "operation": "boost", + "score": -0.05690528079867363 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205637.0, + "threshold": 188273.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Type" + "CCC_ClassStructUnion" ], "then": { + "operation": "boost", + "score": 0.09782407432794571 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "boost", + "score": 0.005859398283064365 + }, + "else": { + "operation": "boost", + "score": 0.08971341699361801 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 171597.5, + "then": { + "operation": "boost", + "score": -0.17459654808044434 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.2124060094356537, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsDeprecated", "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11221860349178314 - }, - "else": { - "operation": "boost", - "score": 0.14864996075630188 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220925.5, + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.05477721244096756 + "score": -0.10248398780822754 }, "else": { "operation": "boost", - "score": 0.11016172915697098 + "score": -0.015247398987412453 } }, "else": { "operation": "boost", - "score": -0.008774851448833942 + "score": 0.004790626000612974 } - } - }, - "else": { - "operation": "boost", - "score": 0.06278946250677109 - } - }, - "else": { - "operation": "boost", - "score": -0.004268605262041092 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.06859810650348663 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 167779.0, "then": { - "operation": "boost", - "score": 0.04037921875715256 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.007077918853610754 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.044319868087768555 + "score": 0.12574242055416107 }, "else": { "operation": "boost", - "score": -0.14133009314537048 + "score": 0.22724463045597076 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159339.0, + "then": { + "operation": "boost", + "score": -0.23360785841941833 }, "else": { "operation": "boost", - "score": 0.048541031777858734 + "score": 0.0016955184983089566 } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.049464281648397446 + "score": -0.011414100416004658 }, "else": { - "operation": "boost", - "score": 0.10505885630846024 - } - }, - "else": { - "operation": "boost", - "score": 0.025926623493433 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "boost", - "score": -0.16914312541484833 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 20253.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20310.0, "then": { "operation": "boost", - "score": 0.14401264488697052 + "score": 0.027628496289253235 }, "else": { - "operation": "boost", - "score": 0.0576317124068737 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13890071213245392 + }, + "else": { + "operation": "boost", + "score": -0.1251096874475479 + } } }, "else": { - "operation": "boost", - "score": -0.17546118795871735 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 17949.0, "then": { - "operation": "boost", - "score": -0.2673371136188507 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, - "then": { - "operation": "boost", - "score": 0.01933145336806774 - }, - "else": { - "operation": "boost", - "score": 0.10777033120393753 - } + "operation": "boost", + "score": -0.19413258135318756 }, "else": { "operation": "boost", - "score": 0.050183385610580444 + "score": -0.02468270994722843 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.08014608919620514 }, "else": { "operation": "boost", - "score": 0.0359310582280159 + "score": 0.010960215702652931 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.059305619448423386 - }, - "else": { - "operation": "boost", - "score": -0.012179065495729446 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176731.0, - "then": { - "operation": "boost", - "score": -0.14139601588249207 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.000919215613976121 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, - "then": { - "operation": "boost", - "score": 0.03637830913066864 - }, - "else": { - "operation": "boost", - "score": 0.10571694374084473 - } - }, - "else": { - "operation": "boost", - "score": 0.018982725217938423 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "feature": "FractionNameInContext", + "threshold": 0.6076923608779907, "then": { "operation": "boost", - "score": 0.10738912969827652 + "score": 0.0052934433333575726 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.01639365404844284 + "score": -0.001003385172225535 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.037565141916275024 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2445489764213562 + }, + "else": { + "operation": "boost", + "score": 0.1259857565164566 + } }, "else": { + "operation": "boost", + "score": -0.006141533609479666 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.6945720314979553 + }, + "else": { + "operation": "boost", + "score": -0.01857573725283146 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.04945766553282738 + "score": -0.023536983877420425 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.04181099683046341 + "score": -0.13810862600803375 }, "else": { "operation": "boost", - "score": 0.1381571739912033 + "score": -0.2658828794956207 } } - }, - "else": { - "operation": "boost", - "score": 0.05746820196509361 } - } - }, - "else": { - "operation": "boost", - "score": 0.03945862874388695 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.006310472264885902 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Constructor", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.28287214040756226 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { + "operation": "boost", + "score": 0.10945569723844528 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.09332259744405746 + "score": -0.04241473227739334 }, "else": { - "operation": "boost", - "score": 0.12771810591220856 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.14038144052028656 - }, - "else": { - "operation": "boost", - "score": 0.09909620881080627 - } - }, - "else": { - "operation": "boost", - "score": 0.08169324696063995 - } + "operation": "boost", + "score": 0.13734161853790283 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.1396813988685608 + "score": -0.22896546125411987 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.012581050395965576 - }, - "else": { - "operation": "boost", - "score": 0.1269398182630539 - } + "operation": "boost", + "score": 0.011728363111615181 } } - }, - "else": { - "operation": "boost", - "score": 0.12043103575706482 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.03778776526451111 - }, - "else": { - "operation": "boost", - "score": 0.09319140017032623 - } } } - }, - "else": { - "operation": "boost", - "score": 0.040467519313097 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.32088735699653625 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.050839539617300034 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.06991612166166306 + "score": -0.18598118424415588 }, "else": { + "operation": "boost", + "score": 0.145375058054924 + } + }, + "else": { + "operation": "boost", + "score": -0.04248042404651642 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.001262929174117744 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2195.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5453.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.016514940187335014 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54332.5, + "then": { + "operation": "boost", + "score": -0.036545705050230026 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11532.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22379.0, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 41256.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.050132714211940765 - }, - "else": { - "operation": "boost", - "score": 0.11745324730873108 - } + "operation": "boost", + "score": 0.11032595485448837 }, "else": { "operation": "boost", - "score": -0.31235912442207336 + "score": -0.10907115787267685 } }, + "else": { + "operation": "boost", + "score": -0.004856247454881668 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.15869903564453125 + }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.03463761508464813 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.14972756803035736 + }, + "else": { + "operation": "boost", + "score": 0.22853614389896393 + } + }, + "else": { + "operation": "boost", + "score": 0.10764356702566147 + } }, "else": { - "operation": "boost", - "score": -0.2155727744102478 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.07220607250928879 + }, + "else": { + "operation": "boost", + "score": 0.16111785173416138 + } } } } + }, + "else": { + "operation": "boost", + "score": 0.055542539805173874 } } }, "else": { "operation": "boost", - "score": -0.009399202652275562 + "score": -0.048882707953453064 } + }, + "else": { + "operation": "boost", + "score": 0.010975620709359646 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.0008097323006950319 + } + }, + "else": { + "operation": "boost", + "score": -0.04705028980970383 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4094.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4100.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.005264881066977978 - }, - "else": { - "operation": "boost", - "score": -0.05616479367017746 - } + "operation": "boost", + "score": 0.037627581506967545 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 4174.0, "then": { - "operation": "boost", - "score": 0.02572455070912838 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 5283.0, "then": { - "operation": "boost", - "score": -0.047670070081949234 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5339.0, "then": { "operation": "boost", - "score": 0.008199135772883892 + "score": -0.048991765826940536 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.13327419757843018 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4399.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4409.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1260286420583725 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11093499511480331 - }, - "else": { - "operation": "boost", - "score": -0.14591257274150848 - } - } + "operation": "boost", + "score": 0.0861191600561142 }, "else": { "operation": "boost", - "score": 0.04599998891353607 + "score": 0.23694580793380737 } + }, + "else": { + "operation": "boost", + "score": -0.15222792327404022 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4302.5, + "then": { + "operation": "boost", + "score": 0.06765639036893845 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.1424681395292282 + }, + "else": { + "operation": "boost", + "score": 0.14764991402626038 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.17494872212409973 }, "else": { "operation": "boost", - "score": 0.036251652985811234 + "score": 0.10520297288894653 } } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.039278965443372726 - }, - "else": { - "operation": "boost", - "score": 0.007402205839753151 - } + "operation": "boost", + "score": 0.025991687551140785 } } }, "else": { "operation": "boost", - "score": 0.01130644790828228 + "score": 0.16216635704040527 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00877845287322998 - } - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.013051550835371017 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224557.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 272339.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.003463745815679431 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1074118.5, + "threshold": 2459.0, "then": { "operation": "boost", - "score": -0.1614484041929245 + "score": 0.01605847105383873 }, "else": { - "operation": "boost", - "score": -0.012264951132237911 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.04974903166294098 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 2396.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 2397.5, "then": { "operation": "boost", - "score": 0.0858810544013977 + "score": 0.1127946600317955 }, "else": { "operation": "boost", - "score": 0.0827207863330841 + "score": 0.1811632215976715 } }, "else": { "operation": "boost", - "score": -0.06118899583816528 + "score": 0.04814969003200531 } - }, - "else": { - "operation": "boost", - "score": -0.062384769320487976 } + }, + "else": { + "operation": "boost", + "score": 0.17129550874233246 } } }, "else": { "operation": "boost", - "score": -0.1486048698425293 + "score": 0.018736520782113075 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": -0.0343179889023304 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0029453637544065714 + }, + "else": { + "operation": "boost", + "score": 0.016401216387748718 + } + }, + "else": { + "operation": "boost", + "score": -0.09799113869667053 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 30.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.007896837778389454 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0025168994907289743 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.042756952345371246 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.040983039885759354 - }, - "else": { - "operation": "boost", - "score": 0.10209627449512482 - } - }, - "else": { - "operation": "boost", - "score": 0.08543886989355087 - } - } + "operation": "boost", + "score": 0.11467655003070831 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11241341382265091 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.1619339883327484 - }, - "else": { - "operation": "boost", - "score": -0.13616344332695007 - } - } + "operation": "boost", + "score": 0.024424491450190544 } }, "else": { "operation": "boost", - "score": -0.03673452138900757 + "score": -0.007310532499104738 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.1372712403535843 - }, - "else": { - "operation": "boost", - "score": -0.045552391558885574 - } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.023093337193131447 + "score": -0.12443819642066956 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Type" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.07753787189722061 + "score": 0.0035631044302135706 }, "else": { "operation": "boost", - "score": 0.009640056639909744 + "score": -0.008986982516944408 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_UnionTag", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", "CCC_Other", - "CCC_Expression" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.08859509974718094 - }, - "else": { - "operation": "boost", - "score": -0.004798772279173136 - } - }, - "else": { - "operation": "boost", - "score": -0.09847434610128403 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124731.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168474.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type" + ], "then": { - "operation": "boost", - "score": -0.05655677989125252 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.023761725053191185 + }, + "else": { + "operation": "boost", + "score": -0.017716599628329277 + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 182949.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.0035164623986929655 + "score": 0.03538259118795395 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.012805439531803131 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.14392127096652985 - }, - "else": { - "operation": "boost", - "score": 0.09144182503223419 - } - } + "operation": "boost", + "score": -0.1455874890089035 } }, "else": { "operation": "boost", - "score": -0.053440071642398834 + "score": -0.04808923974633217 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.09693077951669693 + "score": -0.0029287291690707207 }, "else": { - "operation": "boost", - "score": 0.013882085680961609 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.013254859484732151 + }, + "else": { + "operation": "boost", + "score": -0.013607860542833805 + } } } - }, - "else": { - "operation": "boost", - "score": 0.028597798198461533 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08761175721883774 - }, - "else": { - "operation": "boost", - "score": 0.2005840688943863 } }, "else": { "operation": "boost", - "score": -0.16975349187850952 + "score": -0.01896427944302559 } + }, + "else": { + "operation": "boost", + "score": -0.03987665846943855 } - }, - "else": { - "operation": "boost", - "score": -0.06117378547787666 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0016057188622653484 + }, + "else": { + "operation": "boost", + "score": 0.13489805161952972 + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07963182032108307 + }, + "else": { + "operation": "boost", + "score": 0.00846092402935028 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.13736312091350555 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.04183298721909523 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.01914840377867222 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04149789363145828 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, - "then": { - "operation": "boost", - "score": 0.041131243109703064 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.13991780579090118 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.07023420184850693 - }, - "else": { - "operation": "boost", - "score": 0.11126333475112915 - } - } - } - } + "operation": "boost", + "score": 0.07107304781675339 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 96602.0, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0843518003821373 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.06615174561738968 - }, - "else": { - "operation": "boost", - "score": -0.1780545711517334 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08223118633031845 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.10629978030920029 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11059416085481644 - }, - "else": { - "operation": "boost", - "score": 0.07698245346546173 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.0797119289636612 - }, - "else": { - "operation": "boost", - "score": 0.10744389146566391 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.11724871397018433 - }, - "else": { - "operation": "boost", - "score": 0.14501942694187164 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.040216896682977676 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11279049515724182 - }, - "else": { - "operation": "boost", - "score": -0.10144463181495667 - } - }, - "else": { - "operation": "boost", - "score": 0.01242063008248806 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.23174560070037842 - }, - "else": { - "operation": "boost", - "score": 0.11374002695083618 - } - }, - "else": { - "operation": "boost", - "score": 0.08959823846817017 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.2221139371395111 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.05553881824016571 - }, - "else": { - "operation": "boost", - "score": 0.10981258749961853 - } - }, - "else": { - "operation": "boost", - "score": -0.010309705510735512 - } - }, - "else": { - "operation": "boost", - "score": 0.022255277261137962 - } - }, - "else": { - "operation": "boost", - "score": -0.0864177718758583 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.009997289627790451 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03311096504330635 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.03880598768591881 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10725466161966324 - }, - "else": { - "operation": "boost", - "score": 0.10583813488483429 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08308865875005722 - } - }, - "else": { - "operation": "boost", - "score": -0.12780800461769104 - } - } - } - } - } - } + "operation": "boost", + "score": -0.334110289812088 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07963566482067108 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1325787454843521 - }, - "else": { - "operation": "boost", - "score": -0.25599539279937744 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0532340370118618 - } + "operation": "boost", + "score": 0.08036689460277557 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.14270612597465515 - }, - "else": { - "operation": "boost", - "score": 0.06360513716936111 - } - }, - "else": { - "operation": "boost", - "score": 0.007033037021756172 - } + "operation": "boost", + "score": -0.014230316504836082 } } } @@ -173294,308 +170003,260 @@ } }, "else": { - "operation": "boost", - "score": -0.024020085111260414 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31804.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { + "operation": "boost", + "score": -0.0020142316352576017 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49723.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": -0.06589698791503906 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44616.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47253.0, - "then": { - "operation": "boost", - "score": -0.04833952710032463 - }, - "else": { - "operation": "boost", - "score": 0.15121124684810638 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.09510345011949539 - }, - "else": { - "operation": "boost", - "score": 0.1128680482506752 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.06795568764209747 - }, - "else": { - "operation": "boost", - "score": 0.1266029179096222 - } - }, - "else": { - "operation": "boost", - "score": -0.037532515823841095 - } - } - } + "operation": "boost", + "score": 0.006073031574487686 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32342.0, - "then": { - "operation": "boost", - "score": -0.06292502582073212 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.18539579212665558 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07882536202669144 - }, - "else": { - "operation": "boost", - "score": 0.09659086167812347 - } - }, - "else": { - "operation": "boost", - "score": -0.04536154493689537 - } - } - } + "operation": "boost", + "score": -0.03518424555659294 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33380.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10951381176710129 + "score": -0.07550010830163956 }, "else": { "operation": "boost", - "score": -0.1754973977804184 + "score": 0.0991765707731247 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.4314276874065399 }, "else": { - "operation": "boost", - "score": -0.0794244036078453 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30750.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09668688476085663 + "score": 0.03151776269078255 }, "else": { "operation": "boost", - "score": 0.05594823881983757 + "score": 0.09667878597974777 } }, + "else": { + "operation": "boost", + "score": 0.010098605416715145 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10982761532068253 + }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.10337287932634354 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { + "operation": "boost", + "score": 0.04742194712162018 + }, + "else": { + "operation": "boost", + "score": 0.0175915714353323 + } }, "else": { "operation": "boost", - "score": 0.09820032864809036 + "score": -0.04533904790878296 } } }, "else": { - "operation": "boost", - "score": 0.03928476199507713 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13821.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16649.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.0451512336730957 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26223.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.005792181473225355 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27658.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.6190476417541504, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.00735506322234869 - }, - "else": { - "operation": "boost", - "score": 0.07766643911600113 - } + "operation": "boost", + "score": 0.0802665501832962 }, "else": { "operation": "boost", - "score": -0.2111920565366745 + "score": 0.0464773029088974 } }, "else": { "operation": "boost", - "score": -0.30969271063804626 + "score": 0.04906149208545685 } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00182180549018085 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5811403393745422, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.21303798258304596 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25461.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.021541401743888855 + "score": 0.45086240768432617 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.23504088819026947 + "score": 0.12832720577716827 }, "else": { "operation": "boost", - "score": 0.13551492989063263 + "score": -0.12493003159761429 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23639.5, - "then": { - "operation": "boost", - "score": -0.309079647064209 - }, - "else": { - "operation": "boost", - "score": 0.01965772546827793 - } + "operation": "boost", + "score": 0.030104711651802063 } } }, @@ -173603,95 +170264,34 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_Statement", + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15173.0, - "then": { - "operation": "boost", - "score": -0.08533814549446106 - }, - "else": { - "operation": "boost", - "score": 0.10350564867258072 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05877811834216118 - }, - "else": { - "operation": "boost", - "score": 0.09631536155939102 - } - } + "operation": "boost", + "score": 0.03720709681510925 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.10378947854042053 - }, - "else": { - "operation": "boost", - "score": 0.10028422623872757 - } - }, - "else": { - "operation": "boost", - "score": 0.0829041376709938 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.18910378217697144 - }, - "else": { - "operation": "boost", - "score": 0.13165242969989777 - } - } + "operation": "boost", + "score": 0.06907923519611359 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.11302883923053741 + "score": -0.0017599978018552065 }, "else": { "operation": "boost", - "score": 0.06563541293144226 + "score": 0.11850801855325699 } } } @@ -173701,2055 +170301,1615 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", "CCC_Expression", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.0059379031881690025 + "score": 0.011560242623090744 }, "else": { "operation": "boost", - "score": -0.005171888507902622 + "score": -0.005367468111217022 } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0007464553345926106 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30340.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.12613099813461304 + "score": 0.04277527704834938 }, "else": { - "operation": "boost", - "score": -0.3679846525192261 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02742583304643631 + }, + "else": { + "operation": "boost", + "score": 0.011669686995446682 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32458.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34205.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 200884.5, + "threshold": 31.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.016183391213417053 - }, - "else": { - "operation": "boost", - "score": 0.09735125303268433 - } + "operation": "boost", + "score": 0.16171684861183167 }, "else": { - "operation": "boost", - "score": -0.014833031222224236 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.06035400927066803 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1646413803100586 - }, - "else": { - "operation": "boost", - "score": 0.12830020487308502 - } - } + "operation": "boost", + "score": 0.04192972183227539 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32947.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13989073038101196 + "score": -0.13758307695388794 }, "else": { "operation": "boost", - "score": 0.2642424404621124 + "score": 0.10288197547197342 } } - }, - "else": { - "operation": "boost", - "score": -0.0838562473654747 } + }, + "else": { + "operation": "boost", + "score": 0.024063006043434143 } }, "else": { "operation": "boost", - "score": -0.13097307085990906 + "score": 0.005906339269131422 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28239.0, + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.02186611294746399 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.007926573045551777 + }, + "else": { + "operation": "boost", + "score": 0.01316104270517826 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11623034626245499 + "score": 0.039876118302345276 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.09894262999296188 - }, - "else": { - "operation": "boost", - "score": 0.13455964624881744 - } + "operation": "boost", + "score": 0.0019774187821894884 } } }, "else": { - "operation": "boost", - "score": 0.05712977424263954 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { + "operation": "boost", + "score": 0.0008502574055455625 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.621349036693573 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70036.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.08734706044197083 + "score": 0.12860222160816193 }, "else": { + "operation": "boost", + "score": -0.036265552043914795 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30909.0, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "boost", - "score": -0.12607945501804352 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { + "operation": "boost", + "score": 0.031604018062353134 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24900.5, + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, "then": { "operation": "boost", - "score": 0.07956889271736145 + "score": 0.03170159086585045 }, "else": { + "operation": "boost", + "score": 0.11102037876844406 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1153712347149849 + "score": 0.1512681096792221 }, "else": { "operation": "boost", - "score": 0.19341494143009186 + "score": 0.012774158269166946 } + }, + "else": { + "operation": "boost", + "score": -0.01491548866033554 } - }, - "else": { - "operation": "boost", - "score": 0.0004012669378425926 } - }, - "else": { - "operation": "boost", - "score": 0.024326352402567863 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07512765377759933 - }, - "else": { - "operation": "boost", - "score": 0.10340097546577454 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24577.0, - "then": { - "operation": "boost", - "score": 0.046335335820913315 - }, - "else": { - "operation": "boost", - "score": 0.10994937270879745 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.0956185907125473 - }, - "else": { - "operation": "boost", - "score": 0.11661810427904129 - } + "operation": "boost", + "score": 0.0014616678236052394 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114271.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09598883986473083 + "score": 0.020735034719109535 }, "else": { - "operation": "boost", - "score": 0.1110357940196991 - } - }, - "else": { - "operation": "boost", - "score": -0.08744924515485764 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49823.5, - "then": { - "operation": "boost", - "score": 0.07110555469989777 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.03287316486239433 + "score": -0.003132858080789447 }, "else": { - "operation": "boost", - "score": 0.11881081014871597 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.015362963080406189 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.05720027908682823 + }, + "else": { + "operation": "boost", + "score": 0.0019871785771101713 + } + } } } }, "else": { "operation": "boost", - "score": -0.008645984344184399 + "score": 0.0020820770878344774 } + }, + "else": { + "operation": "boost", + "score": -0.0038999649696052074 } } } } - }, - "else": { + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11538.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0015353065682575107 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13650.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21689.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 85554.5, + "threshold": 24308.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11319912225008011 - }, - "else": { - "operation": "boost", - "score": 0.08826849609613419 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "feature": "NumReferences", + "threshold": 34039.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 34582.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32329.5, + "threshold": 48488.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 50563.0, "then": { - "operation": "boost", - "score": 0.002374693052843213 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10396573692560196 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 43945.0, + "threshold": 51599.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 81237.5, + "then": { + "operation": "boost", + "score": 0.02071131393313408 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.15357714891433716 + }, + "else": { + "operation": "boost", + "score": -0.05908498913049698 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07985755056142807 + } + }, + "else": { + "operation": "boost", + "score": 0.17819459736347198 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], "then": { "operation": "boost", - "score": 0.045861583203077316 + "score": 0.03263849765062332 }, "else": { "operation": "boost", - "score": 0.11032579839229584 + "score": 0.0014056472573429346 } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.27682042121887207 + }, + "else": { + "operation": "boost", + "score": -0.04304707050323486 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 44693.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 45000.0, "then": { - "operation": "boost", - "score": -0.13801966607570648 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47903.5, + "then": { + "operation": "boost", + "score": 0.08384064584970474 + }, + "else": { + "operation": "boost", + "score": 0.041568320244550705 + } }, "else": { - "operation": "boost", - "score": 0.09215538203716278 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14853766560554504 + }, + "else": { + "operation": "boost", + "score": 0.026025809347629547 + } + }, + "else": { + "operation": "boost", + "score": 0.08861199021339417 + } } }, "else": { - "operation": "boost", - "score": -0.1405489146709442 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.055260706692934036 + }, + "else": { + "operation": "boost", + "score": -0.07253166288137436 + } } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10296192020177841 - }, - "else": { - "operation": "boost", - "score": -0.18331879377365112 - } + "operation": "boost", + "score": 0.14591781795024872 } }, "else": { "operation": "boost", - "score": -0.10065914690494537 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10213374346494675 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224557.0, - "then": { - "operation": "boost", - "score": 0.0017854197649285197 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199261.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.1183708980679512 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.022482572123408318 - }, - "else": { - "operation": "boost", - "score": 0.10046636313199997 - } + "score": -0.01714162901043892 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.05397263914346695 - }, - "else": { - "operation": "boost", - "score": 0.16083143651485443 - } - }, - "else": { - "operation": "boost", - "score": 0.1161680519580841 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 24227.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.056402456015348434 + "score": 0.10343771427869797 }, "else": { "operation": "boost", - "score": -0.0553986020386219 + "score": 0.060994792729616165 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20341.0, - "then": { - "operation": "boost", - "score": 0.12246407568454742 - }, - "else": { - "operation": "boost", - "score": -0.30400151014328003 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27418.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44221.5, + "threshold": 23639.5, "then": { "operation": "boost", - "score": 0.023428449407219887 + "score": 0.13562996685504913 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11145196855068207 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.051879629492759705 - }, - "else": { - "operation": "boost", - "score": 0.1261790692806244 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.04894065111875534 - }, - "else": { - "operation": "boost", - "score": 0.1058318167924881 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06583912670612335 - }, - "else": { - "operation": "boost", - "score": 0.03914293274283409 - } - } - } - } + "operation": "boost", + "score": 0.1308707445859909 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 22006.5, + "threshold": 23670.0, "then": { "operation": "boost", - "score": -0.06415287405252457 + "score": -0.17256002128124237 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20414.5, + "threshold": 23530.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20562.0, - "then": { - "operation": "boost", - "score": 0.1432102918624878 - }, - "else": { - "operation": "boost", - "score": 0.13490478694438934 - } + "operation": "boost", + "score": 0.11293838173151016 }, "else": { "operation": "boost", - "score": -0.15328176319599152 + "score": 0.06684472411870956 } } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03386818990111351 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.04801257699728012 }, "else": { - "operation": "boost", - "score": 0.09533464163541794 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15241092443466187 + }, + "else": { + "operation": "boost", + "score": 0.06121528148651123 + } + }, + "else": { + "operation": "boost", + "score": 0.022694366052746773 + } } - }, - "else": { - "operation": "boost", - "score": 0.10958916693925858 } - }, - "else": { - "operation": "boost", - "score": 0.10285189002752304 } }, "else": { "operation": "boost", - "score": 0.01211974024772644 + "score": -0.013790400698781013 } }, "else": { - "operation": "boost", - "score": -0.0018047706689685583 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23395.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37723.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 40902.5, + "threshold": 13630.0, "then": { - "operation": "boost", - "score": 0.012243642471730709 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.03707519918680191 + }, + "else": { + "operation": "boost", + "score": 0.3135356903076172 + } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12103.0, "then": { "operation": "boost", - "score": -0.08463254570960999 + "score": 0.044678039848804474 }, "else": { "operation": "boost", - "score": 0.11357448995113373 + "score": 0.09570205956697464 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.18826353549957275 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39401.5, - "then": { - "operation": "boost", - "score": 0.10850390791893005 - }, - "else": { - "operation": "boost", - "score": 0.09643872827291489 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11064919084310532 - } + "operation": "boost", + "score": 0.05193081125617027 } } - }, - "else": { - "operation": "boost", - "score": -0.007594764232635498 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10512.0, + "then": { + "operation": "boost", + "score": -0.057923078536987305 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23281.0, + "threshold": 2417.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.10786789655685425 + "score": 0.010606556199491024 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 7253.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, + "feature": "NumReferences", + "threshold": 7343.5, "then": { "operation": "boost", - "score": 0.11892315000295639 + "score": 0.06683764606714249 }, "else": { "operation": "boost", - "score": -0.025653447955846786 + "score": 0.09689395874738693 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 5489.0, "then": { "operation": "boost", - "score": -0.37086474895477295 + "score": -0.19661694765090942 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.10119323432445526 - }, - "else": { - "operation": "boost", - "score": 0.12438957393169403 - } + "operation": "boost", + "score": 0.0874442458152771 } } } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19901.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0026261373423039913 + "score": -0.1741335391998291 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.09944974631071091 - }, - "else": { - "operation": "boost", - "score": 0.048898402601480484 - } - }, - "else": { - "operation": "boost", - "score": 0.10440721362829208 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05267957225441933 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00044875554158352315 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.004099064040929079 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.096340112388134 - }, - "else": { - "operation": "boost", - "score": 0.013264436274766922 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17071.0, - "then": { - "operation": "boost", - "score": -0.7472226619720459 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Constructor", - "Function", - "Type", - "Namespace" + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.030773071572184563 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "boost", - "score": -0.1136716976761818 + "score": -0.023827973753213882 }, "else": { - "operation": "boost", - "score": -0.005697611253708601 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.0439685694873333 + }, + "else": { + "operation": "boost", + "score": 0.00542305875569582 + } + }, + "else": { + "operation": "boost", + "score": 0.10408622026443481 + } } - } - }, - "else": { - "operation": "boost", - "score": -0.11682059615850449 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.11120324581861496 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.0039001659024506807 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.006463069934397936 + "score": -0.03540974482893944 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.059149209409952164 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.056737978011369705 + "score": -0.00806677807122469 }, "else": { - "operation": "boost", - "score": 0.10126155614852905 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.0945664718747139 + }, + "else": { + "operation": "boost", + "score": 0.02583887055516243 + } + }, + "else": { + "operation": "boost", + "score": -0.004696503281593323 + } } + }, + "else": { + "operation": "boost", + "score": -0.014060160145163536 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.009309097193181515 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.011938800103962421 + }, + "else": { + "operation": "boost", + "score": -0.0037101132329553366 + } + }, + "else": { + "operation": "boost", + "score": -0.013298619538545609 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": -0.05318787321448326 + "score": 0.030892062932252884 }, "else": { "operation": "boost", - "score": -0.17627766728401184 + "score": 0.008150971494615078 } } - }, - "else": { - "operation": "boost", - "score": -0.018389597535133362 } } } + }, + "else": { + "operation": "boost", + "score": -0.0026942575350403786 } } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.020787471905350685 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.027157362550497055 + "score": 0.03979991748929024 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": -0.0008484895224682987 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241.0, - "then": { - "operation": "boost", - "score": 0.02341580018401146 - }, - "else": { - "operation": "boost", - "score": 0.10995641350746155 - } + "operation": "boost", + "score": 0.08283963054418564 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, + "operation": "boost", + "score": 0.030207233503460884 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2064337432384491 + "score": -0.009189972653985023 }, "else": { - "operation": "boost", - "score": -0.025212887674570084 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, "then": { "operation": "boost", - "score": -0.008332477882504463 + "score": 0.04154224693775177 }, "else": { "operation": "boost", - "score": -0.04186754673719406 + "score": 0.015572352334856987 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.003040298353880644 }, "else": { "operation": "boost", - "score": 0.008232341147959232 + "score": -0.029332948848605156 } } + }, + "else": { + "operation": "boost", + "score": -0.041594043374061584 } } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "boost", + "score": -0.02615475095808506 + }, + "else": { + "operation": "boost", + "score": -0.013300401158630848 + } } - } - }, - "else": { - "operation": "boost", - "score": -0.0021089385263621807 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1218.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62087.0, + "operation": "boost", + "score": -0.07829426229000092 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134893.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.029133232310414314 + "score": -0.02837296947836876 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0705345943570137 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.8999999761581421, "then": { + "operation": "boost", + "score": 0.1169532835483551 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.04066962003707886 + "score": -0.1291540116071701 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, + "feature": "FractionNameInContext", + "threshold": 0.054411765187978745, "then": { - "operation": "boost", - "score": 0.05092005804181099 - }, - "else": { - "operation": "boost", - "score": 0.10372002422809601 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.6861299276351929 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.01554314885288477 + }, + "else": { + "operation": "boost", + "score": 0.07426635175943375 + } }, "else": { "operation": "boost", - "score": 0.06164690479636192 + "score": 0.033868152648210526 } - }, - "else": { - "operation": "boost", - "score": 0.012480378150939941 } } - }, - "else": { - "operation": "boost", - "score": 0.10351094603538513 } }, "else": { "operation": "boost", - "score": -0.015718236565589905 + "score": 0.005777824204415083 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.009310307912528515 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13250766694545746 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.23344279825687408 + }, + "else": { + "operation": "boost", + "score": 0.10641317814588547 + } + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9583333730697632, "then": { - "operation": "boost", - "score": 0.10642670840024948 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.16220280528068542 + }, + "else": { + "operation": "boost", + "score": -0.14591169357299805 + } }, "else": { "operation": "boost", - "score": -0.1389663815498352 + "score": 0.04754066467285156 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.10140012204647064 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "boost", + "score": 0.01037480216473341 + }, + "else": { + "operation": "boost", + "score": 0.0007627106388099492 + } }, "else": { "operation": "boost", - "score": -0.11613266915082932 + "score": -0.17340068519115448 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.021307360380887985 + "score": 0.16714222729206085 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2764.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09265170991420746 + "score": 0.12042967975139618 }, "else": { "operation": "boost", - "score": 0.11424470692873001 + "score": -0.06605146825313568 } } }, "else": { + "operation": "boost", + "score": 0.020424598827958107 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "boost", + "score": 0.019215742126107216 + }, + "else": { + "operation": "boost", + "score": -0.08911450207233429 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.13078071177005768 + }, + "else": { + "operation": "boost", + "score": 0.007530285511165857 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1782.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11423.5, + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, "then": { "operation": "boost", - "score": 0.10351809114217758 + "score": 0.056790441274642944 }, "else": { "operation": "boost", - "score": -0.10870546847581863 + "score": -0.05184756591916084 } }, "else": { "operation": "boost", - "score": 0.06600792706012726 + "score": 0.006529053673148155 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1412556916475296 - }, - "else": { - "operation": "boost", - "score": 0.11482374370098114 - } + "operation": "boost", + "score": -0.04378349334001541 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41256.0, - "then": { - "operation": "boost", - "score": 0.10561399161815643 - }, - "else": { - "operation": "boost", - "score": -0.0410333126783371 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03849953040480614 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5170.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5204.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.07433861494064331 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.27619048953056335, "then": { - "operation": "boost", - "score": 0.015908125787973404 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5247.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6984.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "boost", + "score": -0.3653782904148102 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7076.0, + "feature": "FractionNameInContext", + "threshold": 0.38181817531585693, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22379.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41256.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05315902456641197 - }, - "else": { - "operation": "boost", - "score": 0.13147187232971191 - } - }, - "else": { - "operation": "boost", - "score": 0.044647183269262314 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.2173568457365036 - }, - "else": { - "operation": "boost", - "score": 0.1485084593296051 - } - } - }, - "else": { - "operation": "boost", - "score": -0.21391896903514862 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9195.5, - "then": { - "operation": "boost", - "score": 0.03856479004025459 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8908.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9020.5, - "then": { - "operation": "boost", - "score": 0.1248709037899971 - }, - "else": { - "operation": "boost", - "score": -0.2576340436935425 - } - }, - "else": { - "operation": "boost", - "score": 0.13586276769638062 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8246.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8347.5, - "then": { - "operation": "boost", - "score": 0.06223843991756439 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.16057994961738586 - }, - "else": { - "operation": "boost", - "score": 0.1175752803683281 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06161767616868019 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7126.0, - "then": { - "operation": "boost", - "score": 0.021026337519288063 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7108.5, - "then": { - "operation": "boost", - "score": 0.11329738795757294 - }, - "else": { - "operation": "boost", - "score": -0.1282409131526947 - } - }, - "else": { - "operation": "boost", - "score": -3.027648745046463e-06 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10722457617521286 - }, - "else": { - "operation": "boost", - "score": -0.10442070662975311 - } - } + "operation": "boost", + "score": 0.07858690619468689 }, "else": { "operation": "boost", - "score": 0.13733001053333282 + "score": 0.11174001544713974 } - }, - "else": { - "operation": "boost", - "score": 0.0058874087408185005 } }, - "else": { - "operation": "boost", - "score": 0.18166124820709229 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, - "then": { - "operation": "boost", - "score": 0.037438903003931046 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11393396556377411 - }, - "else": { - "operation": "boost", - "score": 0.10923302918672562 - } + "operation": "boost", + "score": 0.09166831523180008 }, "else": { "operation": "boost", - "score": 0.017252527177333832 + "score": 0.01055699959397316 } } }, "else": { + "operation": "boost", + "score": 0.08620313555002213 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10989776253700256 + "score": -0.04174426570534706 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.5902777910232544, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { "operation": "boost", - "score": 0.08019688725471497 + "score": 0.06838716566562653 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12568870186805725 - }, - "else": { - "operation": "boost", - "score": 0.046863242983818054 - } - }, - "else": { - "operation": "boost", - "score": 0.03640285134315491 - } + "operation": "boost", + "score": 0.1924591213464737 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.04370420426130295 - }, - "else": { - "operation": "boost", - "score": -0.11425014585256577 - } + "operation": "boost", + "score": 0.04884497821331024 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25411.0, + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12335193157196045 + }, + "else": { + "operation": "boost", + "score": -0.00785698089748621 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": 0.0012624308001250029 + }, + "else": { + "operation": "boost", + "score": -0.2254643440246582 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015137880109250546 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "boost", + "score": -0.15625737607479095 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", - "score": 0.0909438356757164 + "score": 0.11338242143392563 }, "else": { "operation": "boost", - "score": -0.08607053756713867 + "score": 0.06257830560207367 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, - "then": { - "operation": "boost", - "score": -0.04416244477033615 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.02317632921040058 - }, - "else": { - "operation": "boost", - "score": 0.1129559874534607 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, - "then": { - "operation": "boost", - "score": 0.10272087901830673 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08862487226724625 - }, - "else": { - "operation": "boost", - "score": 0.18122579157352448 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.029508672654628754 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23685.0, - "then": { - "operation": "boost", - "score": -0.3207433819770813 - }, - "else": { - "operation": "boost", - "score": 0.01497621089220047 - } - } + "operation": "boost", + "score": 0.0027737983036786318 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": -0.03157328814268112 + }, + "else": { + "operation": "boost", + "score": 0.004928826354444027 } } } @@ -175758,5794 +171918,5551 @@ }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { "operation": "boost", - "score": -0.627169668674469 + "score": -0.0009449964854866266 }, "else": { "operation": "boost", - "score": 0.10945384204387665 + "score": 0.003165645757690072 } } - }, - "else": { - "operation": "boost", - "score": -0.0390033982694149 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.12839336693286896 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "boost", + "score": -0.0032335103023797274 + }, + "else": { + "operation": "boost", + "score": 0.026816265657544136 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5192307829856873, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3568873107433319 + }, + "else": { + "operation": "boost", + "score": -0.05166623368859291 + } + }, + "else": { + "operation": "boost", + "score": 0.03901751711964607 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": 0.15077897906303406 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.021945124492049217 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.15239909291267395 + }, + "else": { + "operation": "boost", + "score": 0.01584498956799507 + } + }, + "else": { + "operation": "boost", + "score": -0.08326348662376404 + } + } + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5183.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.12948378920555115 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.07219880074262619 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0299227274954319 + }, + "else": { + "operation": "boost", + "score": -0.06895601004362106 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": 0.038680627942085266 + }, + "else": { + "operation": "boost", + "score": 0.11015525460243225 + } + }, + "else": { + "operation": "boost", + "score": -0.053410883992910385 + } + }, + "else": { + "operation": "boost", + "score": -0.09881503880023956 + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07837703824043274 + "score": -0.0328415222465992 }, "else": { "operation": "boost", - "score": 0.1161312460899353 + "score": -0.011629240587353706 } } } } - }, - "else": { - "operation": "boost", - "score": 0.006933867931365967 } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.020773131400346756 + }, + "else": { + "operation": "boost", + "score": -0.0018824003636837006 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.005757858045399189 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20000.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 627.0, + "then": { + "operation": "boost", + "score": 0.05603818967938423 + }, + "else": { + "operation": "boost", + "score": -0.05972527712583542 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.027487918734550476 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { "operation": "boost", - "score": 0.11422505974769592 + "score": 0.10737966001033783 }, "else": { "operation": "boost", - "score": -0.21957257390022278 + "score": 0.023752516135573387 } + }, + "else": { + "operation": "boost", + "score": 0.07787908613681793 } }, "else": { "operation": "boost", - "score": -0.0215836763381958 + "score": 0.025654487311840057 } - }, - "else": { - "operation": "boost", - "score": -0.013971316628158092 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.03546380251646042 + }, + "else": { + "operation": "boost", + "score": 0.0018497334094718099 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.006541426759213209 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45.5, "then": { + "operation": "boost", + "score": 0.0151128601282835 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5523.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6287.0, - "then": { - "operation": "boost", - "score": 0.028192996978759766 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.15626949071884155 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.1262287199497223 - }, - "else": { - "operation": "boost", - "score": 0.14045697450637817 - } - } - } + "operation": "boost", + "score": 0.133380725979805 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.04545454680919647, "then": { "operation": "boost", - "score": 0.09554312378168106 + "score": 0.06309676170349121 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.10788051038980484 - }, - "else": { - "operation": "boost", - "score": 0.04824414104223251 - } - }, - "else": { - "operation": "boost", - "score": -0.02995757758617401 - } + "operation": "boost", + "score": -0.8512701392173767 } }, "else": { "operation": "boost", - "score": 0.10494459420442581 + "score": 0.09862184524536133 } } }, "else": { - "operation": "boost", - "score": -0.015185941010713577 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.08204282820224762 + "score": 0.01509571261703968 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.14503760635852814 - }, - "else": { - "operation": "boost", - "score": 0.08908488601446152 - } + "operation": "boost", + "score": -0.07236646860837936 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.002987888641655445 + "score": -0.18449170887470245 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1320.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.09585505723953247 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1857.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1906.5, + "operation": "boost", + "score": 0.04280773177742958 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0022940603084862232 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.04749784246087074 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.09406217932701111 + "score": -0.06776309013366699 }, "else": { "operation": "boost", - "score": 0.04427896440029144 + "score": 0.04730264097452164 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.06434668600559235 - }, - "else": { - "operation": "boost", - "score": 0.11033707857131958 - } + "operation": "boost", + "score": -0.15484528243541718 } }, "else": { "operation": "boost", - "score": -0.06700169295072556 + "score": -0.5227890014648438 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.11459790170192719 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1258.0, - "then": { - "operation": "boost", - "score": -0.1003042533993721 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11774317920207977 - }, - "else": { - "operation": "boost", - "score": 0.13495425879955292 - } - } - } + "operation": "boost", + "score": -0.0503368079662323 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1315.0, - "then": { - "operation": "boost", - "score": 0.12583348155021667 - }, - "else": { - "operation": "boost", - "score": -0.04394848644733429 - } + "operation": "boost", + "score": -0.01646747998893261 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.3345746695995331 + }, + "else": { + "operation": "boost", + "score": -0.030194537714123726 + } } - } - }, - "else": { - "operation": "boost", - "score": -0.0023707658983767033 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.027165241539478302 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "boost", + "score": -0.07266387343406677 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2767.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.11681945621967316 + "score": 0.1248648539185524 }, "else": { - "operation": "boost", - "score": -0.01315764058381319 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.044586386531591415 + }, + "else": { + "operation": "boost", + "score": -0.15573719143867493 + } } }, - "else": { - "operation": "boost", - "score": -0.19503436982631683 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.087729312479496 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1308.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.03169209882616997 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown" ], "then": { + "operation": "boost", + "score": -0.00925513170659542 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1266.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "boost", - "score": 0.11783777177333832 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": -0.039646197110414505 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.410255491733551 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2844904959201813 + }, + "else": { + "operation": "boost", + "score": 0.03760319575667381 + } + } + } }, "else": { "operation": "boost", - "score": 0.10606526583433151 + "score": -0.056531667709350586 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0468035452067852 }, "else": { "operation": "boost", - "score": 0.109754279255867 + "score": -0.00421023927628994 } } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 357084.0, - "then": { - "operation": "boost", - "score": 0.0622725673019886 - }, - "else": { - "operation": "boost", - "score": 0.03531802445650101 - } } - }, - "else": { - "operation": "boost", - "score": -0.02124478667974472 } } } - }, - "else": { - "operation": "boost", - "score": -0.008150143548846245 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.0009124461212195456 }, "else": { + "operation": "boost", + "score": -0.10024348646402359 + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "boost", - "score": 0.02391325682401657 + "score": -0.013376638293266296 }, "else": { "operation": "boost", - "score": 0.008386295288801193 + "score": 0.010598448105156422 } + }, + "else": { + "operation": "boost", + "score": 0.0026784008368849754 } }, "else": { - "operation": "boost", - "score": -0.0005164127796888351 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.011465990915894508 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.107129767537117 + "score": -0.07097875326871872 }, "else": { - "operation": "boost", - "score": 0.09539894014596939 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.007245237939059734 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.03720647469162941 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "boost", - "score": -0.10507209599018097 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.04052131995558739 + }, + "else": { + "operation": "boost", + "score": 0.004261022433638573 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.14191485941410065 + }, + "else": { + "operation": "boost", + "score": 0.21085265278816223 + } + }, + "else": { + "operation": "boost", + "score": -0.05177057161927223 + } + } }, "else": { "operation": "boost", - "score": 0.17009437084197998 + "score": 0.024973243474960327 } - } - }, - "else": { - "operation": "boost", - "score": 0.01425148919224739 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12046452611684799 }, "else": { "operation": "boost", - "score": 0.11126412451267242 + "score": -0.03841579705476761 } - }, - "else": { - "operation": "boost", - "score": 0.018183359876275063 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "boost", - "score": 0.010663012973964214 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11408918350934982 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.020754415541887283 - }, - "else": { - "operation": "boost", - "score": 0.09463182091712952 - } + "operation": "boost", + "score": -0.021131940186023712 }, "else": { "operation": "boost", - "score": 0.10793446004390717 + "score": -0.05342138558626175 } } + }, + "else": { + "operation": "boost", + "score": -0.02653176710009575 } - } - }, - "else": { - "operation": "boost", - "score": -0.005928732454776764 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.0012098001316189766 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.0261967945843935 + "score": 0.03673877939581871 }, "else": { - "operation": "boost", - "score": 0.061150841414928436 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.07599932700395584 + }, + "else": { + "operation": "boost", + "score": -0.06548918038606644 + } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_TopLevel" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.03945760056376457 - }, - "else": { - "operation": "boost", - "score": -0.2455192357301712 - } - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1470232605934143 - }, - "else": { - "operation": "boost", - "score": -0.08720636367797852 - } - }, - "else": { - "operation": "boost", - "score": -0.1076115071773529 - } + "operation": "boost", + "score": -0.08669006824493408 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "boost", - "score": 0.03550538420677185 + "score": 0.08861265331506729 }, "else": { "operation": "boost", - "score": 0.11717648804187775 + "score": 0.026562046259641647 } } + }, + "else": { + "operation": "boost", + "score": -0.019264139235019684 } }, "else": { "operation": "boost", - "score": 0.017400206997990608 + "score": 0.0024448304902762175 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18715.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19345.0, + "then": { + "operation": "boost", + "score": 0.04059597849845886 + }, + "else": { + "operation": "boost", + "score": 0.11695563048124313 + } + }, + "else": { + "operation": "boost", + "score": 0.006772107444703579 + } + }, + "else": { + "operation": "boost", + "score": -0.029932662844657898 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 41.5, + "threshold": 99880.5, "then": { "operation": "boost", - "score": 0.10628848522901535 + "score": -0.05432966351509094 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 98088.5, "then": { - "operation": "boost", - "score": -0.04055776819586754 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.02545340359210968 + }, + "else": { + "operation": "boost", + "score": 0.10780216753482819 + } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "boost", - "score": -0.11089219897985458 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.19936606287956238 + }, + "else": { + "operation": "boost", + "score": 0.011377205140888691 + } }, "else": { - "operation": "boost", - "score": 0.08581152558326721 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_Expression" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.013218323700129986 - }, - "else": { - "operation": "boost", - "score": 0.09258375316858292 - } - }, - "else": { - "operation": "boost", - "score": 0.0776682123541832 - } - }, - "else": { - "operation": "boost", - "score": -0.06977544724941254 - } - }, - "else": { - "operation": "boost", - "score": 0.5694182515144348 - } - }, - "else": { - "operation": "boost", - "score": -0.003671912243589759 - } + "operation": "boost", + "score": 0.14811460673809052 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 97.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "NumReferences", + "threshold": 217.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.0935988575220108 - }, - "else": { - "operation": "boost", - "score": 0.160080224275589 - } - }, - "else": { - "operation": "boost", - "score": -0.1651700735092163 - } + "operation": "boost", + "score": 0.009434820152819157 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.060769155621528625 + "score": -0.10946819931268692 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.13331051170825958 + "score": 0.2193797379732132 }, "else": { "operation": "boost", - "score": -0.12663160264492035 + "score": 0.24134685099124908 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1245851218700409 - }, - "else": { - "operation": "boost", - "score": 0.053144022822380066 - } + "operation": "boost", + "score": 0.07150455564260483 } } }, "else": { "operation": "boost", - "score": 0.031002353876829147 + "score": 0.03137388080358505 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71608.5, + "then": { + "operation": "boost", + "score": 0.16520154476165771 }, "else": { "operation": "boost", - "score": -0.13371559977531433 + "score": -0.02338491380214691 } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Type" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.032131217420101166 + "score": -0.014318152330815792 }, "else": { - "operation": "boost", - "score": -0.12257131189107895 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "operation": "boost", + "score": -0.10401364415884018 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.05098547413945198 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.024910826236009598 + "score": -0.0019205717835575342 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14024153351783752 + "score": 0.03335797041654587 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.10361336916685104 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12529215216636658 - }, - "else": { - "operation": "boost", - "score": 0.057114724069833755 - } - } - }, - "else": { - "operation": "boost", - "score": -0.030473969876766205 - } + "operation": "boost", + "score": 0.023069268092513084 } } - }, - "else": { - "operation": "boost", - "score": 0.035948898643255234 } - }, - "else": { - "operation": "boost", - "score": 0.029523266479372978 } - }, - "else": { - "operation": "boost", - "score": 0.002007697941735387 } + }, + "else": { + "operation": "boost", + "score": -0.007567909080535173 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Constructor", - "Namespace" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 266152.5, "then": { - "operation": "boost", - "score": -0.2685827314853668 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 272339.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.028262227773666382 + }, + "else": { + "operation": "boost", + "score": -0.05210632085800171 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09633392840623856 + }, + "else": { + "operation": "boost", + "score": 0.024748986586928368 + } + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "boost", + "score": -0.008531076833605766 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.09361130744218826 + "score": -0.026122869923710823 }, "else": { "operation": "boost", - "score": 0.12472505867481232 + "score": -0.06893464177846909 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.16197113692760468 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 203783.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 219439.0, "then": { - "operation": "boost", - "score": 0.0015057780547067523 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234371.5, + "then": { + "operation": "boost", + "score": 0.0535912849009037 + }, + "else": { + "operation": "boost", + "score": -0.08915743231773376 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1064232662320137 + "score": 0.09400129318237305 }, "else": { + "operation": "boost", + "score": 0.04673252999782562 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114340.0, + "then": { + "operation": "boost", + "score": -0.0490911640226841 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13492532074451447 - }, - "else": { - "operation": "boost", - "score": 0.07813960313796997 - } + "operation": "boost", + "score": -0.04285065457224846 }, "else": { + "operation": "boost", + "score": 0.07903455942869186 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32513.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 34838.5, "then": { - "operation": "boost", - "score": -0.006489576306194067 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.14373822510242462 + "score": 0.025673111900687218 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.16408704221248627 - }, - "else": { - "operation": "boost", - "score": 0.09778846800327301 - } + "operation": "boost", + "score": -0.0032793078571558 } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11795090138912201 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04914729297161102 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.026810036972165108 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1156492605805397 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10029064118862152 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10574504733085632 - }, - "else": { - "operation": "boost", - "score": 0.12891529500484467 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.012443636544048786 - } - }, - "else": { - "operation": "boost", - "score": 0.03839338198304176 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.08478694409132004 - }, - "else": { - "operation": "boost", - "score": -0.025132164359092712 - } - }, - "else": { - "operation": "boost", - "score": 0.06785530596971512 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.029282527044415474 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.027410294860601425 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.0909530520439148 - }, - "else": { - "operation": "boost", - "score": -0.267622172832489 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.008727162145078182 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.14058300852775574 - }, - "else": { - "operation": "boost", - "score": -0.6272240281105042 - } - }, - "else": { - "operation": "boost", - "score": 0.14016743004322052 - } - }, - "else": { - "operation": "boost", - "score": 0.004501820541918278 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": 0.09625256061553955 - }, - "else": { - "operation": "boost", - "score": 0.0251061599701643 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "boost", - "score": -0.5330658555030823 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31.5, + "threshold": 32947.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "boost", - "score": 0.2740961015224457 + "score": 0.08412274718284607 }, "else": { "operation": "boost", - "score": -0.47926053404808044 + "score": -0.053108248859643936 } }, "else": { - "operation": "boost", - "score": 0.12426140904426575 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0016729211201891303 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.09559276700019836 + }, + "else": { + "operation": "boost", + "score": 0.1996934413909912 + } + } } }, "else": { - "operation": "boost", - "score": -0.049420252442359924 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34582.0, + "then": { + "operation": "boost", + "score": 0.08973729610443115 + }, + "else": { + "operation": "boost", + "score": -0.04293940216302872 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28306.0, + "then": { + "operation": "boost", + "score": -0.06691945344209671 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 23608.0, "then": { - "operation": "boost", - "score": -0.010727915912866592 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23667.0, "then": { "operation": "boost", - "score": 0.11044507473707199 + "score": 0.0257573202252388 }, "else": { - "operation": "boost", - "score": -0.17285862565040588 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.12183696031570435 + }, + "else": { + "operation": "boost", + "score": 0.1029563620686531 + } } + }, + "else": { + "operation": "boost", + "score": 0.0002523923176340759 } } } - }, - "else": { - "operation": "boost", - "score": -0.2906073331832886 } - }, - "else": { - "operation": "boost", - "score": 0.08639699220657349 } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 383039.5, + "then": { + "operation": "boost", + "score": -0.052961524575948715 }, "else": { + "operation": "boost", + "score": -0.012170521542429924 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.004054448567330837 - }, - "else": { - "operation": "boost", - "score": 0.1480541080236435 - } + "operation": "boost", + "score": 0.10369031131267548 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 368.0, "then": { "operation": "boost", - "score": 0.09687129408121109 + "score": -0.10544906556606293 }, "else": { "operation": "boost", - "score": -0.06949274241924286 + "score": 0.2995036542415619 } } + }, + "else": { + "operation": "boost", + "score": 0.02196711301803589 } - }, - "else": { - "operation": "boost", - "score": -0.02439088001847267 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.05097606033086777 - }, - "else": { - "operation": "boost", - "score": -0.007386655546724796 } } }, "else": { - "operation": "boost", - "score": -0.0513511560857296 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.030106905847787857 + }, + "else": { + "operation": "boost", + "score": -0.05712660774588585 + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.09915849566459656 }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 287372.5, + "then": { + "operation": "boost", + "score": -0.05266396328806877 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": -0.03306536376476288 + }, + "else": { + "operation": "boost", + "score": -0.1025344505906105 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.011035148985683918 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16.5, + "threshold": 114453.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.012633887119591236 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.15519477427005768 - }, - "else": { - "operation": "boost", - "score": 0.06841137260198593 - } - } - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", "Operator", "Unknown", - "Constructor", - "Namespace" + "Variable" ], "then": { "operation": "boost", - "score": 0.14315165579319 + "score": 0.11017565429210663 }, "else": { "operation": "boost", - "score": -0.12523336708545685 + "score": -0.02786710113286972 } - } - }, - "else": { - "operation": "boost", - "score": 0.01827516034245491 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07406735420227051 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43437.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.16425654292106628 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11241787672042847 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.10959862917661667 + }, + "else": { + "operation": "boost", + "score": 0.03908837214112282 + } }, "else": { - "operation": "boost", - "score": 0.12342202663421631 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.020907845348119736 + }, + "else": { + "operation": "boost", + "score": 0.021836567670106888 + } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", + "Constructor", "Destructor", + "Keyword", + "Macro", + "Namespace", "Operator", - "Unknown", - "Constructor", - "Function", "Type", - "Namespace" + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.09639039635658264 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94.5, + "then": { + "operation": "boost", + "score": 0.06050478667020798 + }, + "else": { + "operation": "boost", + "score": 0.01572110876441002 + } }, "else": { "operation": "boost", - "score": -0.07352160662412643 + "score": -0.10983797907829285 } } - }, - "else": { - "operation": "boost", - "score": 0.03416925296187401 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02006070502102375 }, "else": { "operation": "boost", - "score": 0.03179262951016426 + "score": 0.010470184497535229 } } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.04204960912466049 - }, - "else": { - "operation": "boost", - "score": -0.12676404416561127 - } + "operation": "boost", + "score": -0.09088798612356186 }, "else": { "operation": "boost", - "score": 0.007585149724036455 + "score": -0.21706445515155792 } } + }, + "else": { + "operation": "boost", + "score": -0.004189439117908478 } - }, - "else": { - "operation": "boost", - "score": 0.010482413694262505 } } } - }, - "else": { - "operation": "boost", - "score": -0.006784456316381693 } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45000.0, + "threshold": 572.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.18423551321029663 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "boost", + "score": 0.09644411504268646 + }, + "else": { + "operation": "boost", + "score": 0.012157647870481014 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", "CCC_Symbol" ], + "then": { + "operation": "boost", + "score": 0.07632800191640854 + }, + "else": { + "operation": "boost", + "score": 0.007070333696901798 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46094.0, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.014301563613116741 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.13942863047122955 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0272446908056736 + }, + "else": { + "operation": "boost", + "score": -0.12196841835975647 + } + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1016545221209526 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FractionNameInContext", + "threshold": 0.75, "then": { "operation": "boost", - "score": 0.10909327119588852 + "score": -0.11251983791589737 }, "else": { "operation": "boost", - "score": 0.04642779007554054 + "score": 0.03911150246858597 } }, "else": { "operation": "boost", - "score": 0.14196032285690308 + "score": 0.002881062915548682 } + }, + "else": { + "operation": "boost", + "score": 0.007258948870003223 } }, "else": { - "operation": "boost", - "score": 0.09927480667829514 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.001138879219070077 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0748089849948883 + }, + "else": { + "operation": "boost", + "score": -0.028776157647371292 + } + } } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": -0.012498794123530388 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.12375987321138382 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.18479949235916138 - }, - "else": { - "operation": "boost", - "score": 0.22408905625343323 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04314926266670227 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.11152675002813339 - }, - "else": { - "operation": "boost", - "score": 0.08852169662714005 - } - } - } + "operation": "boost", + "score": -0.1272727996110916 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 234860.0, + "threshold": 39.5, "then": { "operation": "boost", - "score": -0.006951607298105955 + "score": 0.10625836253166199 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07197187095880508 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.013501527719199657 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72713.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.08175888657569885 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1037616953253746 - }, - "else": { - "operation": "boost", - "score": 0.040629126131534576 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05925723910331726 - } - }, - "else": { - "operation": "boost", - "score": -0.17661897838115692 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.1311616748571396 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11291225254535675 - }, - "else": { - "operation": "boost", - "score": -0.10717799514532089 - } - } - } - } - } + "operation": "boost", + "score": -0.2630074918270111 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46485.0, - "then": { - "operation": "boost", - "score": 0.00873592495918274 }, "else": { - "operation": "boost", - "score": -0.1458313763141632 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0777101069688797 + }, + "else": { + "operation": "boost", + "score": -0.20100924372673035 + } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10300993919372559 }, "else": { "operation": "boost", - "score": -0.06541159749031067 + "score": -0.00013713593943975866 } - }, - "else": { - "operation": "boost", - "score": -0.0812164917588234 } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07258450984954834 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 85788.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "NumReferences", + "threshold": 97095.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "boost", + "score": 0.05634203925728798 + }, + "else": { + "operation": "boost", + "score": 0.0918859913945198 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.08439411222934723 + "score": 0.04461992159485817 }, "else": { + "operation": "boost", + "score": 0.10808533430099487 + } + }, + "else": { + "operation": "boost", + "score": 0.004633437376469374 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "boost", - "score": 0.10109641402959824 + "score": 0.054197363555431366 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.11204490065574646 + "score": 0.09122700244188309 }, "else": { "operation": "boost", - "score": 0.09665334969758987 + "score": 0.016398636624217033 } } + }, + "else": { + "operation": "boost", + "score": 0.024599619209766388 } }, "else": { - "operation": "boost", - "score": 0.08693580329418182 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11271099746227264 - }, - "else": { - "operation": "boost", - "score": 0.05622564256191254 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.05623637139797211 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.02157897874712944 + }, + "else": { + "operation": "boost", + "score": -0.3518964946269989 + } + }, + "else": { + "operation": "boost", + "score": 0.03711097687482834 + } + } } } }, "else": { "operation": "boost", - "score": 0.11072154343128204 + "score": 0.0065354714170098305 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.015746375545859337 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.0009132710401900113 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.1893777698278427 - }, - "else": { - "operation": "boost", - "score": 0.11830539256334305 - } + "operation": "boost", + "score": -0.19923536479473114 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44315.0, + "threshold": 764.5, "then": { "operation": "boost", - "score": -0.18654920160770416 + "score": -0.10447246581315994 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 496.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.5837963223457336 - }, - "else": { - "operation": "boost", - "score": 0.11956530064344406 - } + "operation": "boost", + "score": 0.12463806569576263 }, "else": { "operation": "boost", - "score": 0.08023542165756226 + "score": 0.022603238001465797 } } } }, "else": { - "operation": "boost", - "score": 0.20096388459205627 - } - }, - "else": { - "operation": "boost", - "score": -0.07856068015098572 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.02873804233968258 - }, - "else": { - "operation": "boost", - "score": 0.010199818760156631 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32947.0, - "then": { - "operation": "boost", - "score": -0.07470909506082535 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13821.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16649.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0030753971077501774 + "score": -0.03495293855667114 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18783.0, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { + "operation": "boost", + "score": 0.0387357659637928 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19625.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25461.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.030327312648296356 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26223.5, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { - "operation": "boost", - "score": -0.2182459533214569 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30750.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { + "operation": "boost", + "score": 0.10043363273143768 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.09895258396863937 + "score": -0.06141754239797592 }, "else": { "operation": "boost", - "score": 0.08775895833969116 + "score": -0.6589498519897461 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.011951551772654057 + } + } + }, + "else": { + "operation": "boost", + "score": -0.46245768666267395 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.026983272284269333 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "boost", - "score": 0.04880162328481674 + "score": -0.03691395744681358 }, "else": { "operation": "boost", - "score": -0.38653722405433655 + "score": -0.21593500673770905 } + }, + "else": { + "operation": "boost", + "score": -0.0030434238724410534 } - }, - "else": { - "operation": "boost", - "score": -0.007531364448368549 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.13680772483348846 }, "else": { "operation": "boost", - "score": 0.12574049830436707 + "score": -0.09894584119319916 } } - }, - "else": { - "operation": "boost", - "score": -0.008690974675118923 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { "operation": "boost", - "score": 0.0766739472746849 + "score": 0.03734799101948738 }, "else": { - "operation": "boost", - "score": 0.11401360481977463 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.029733896255493164 + }, + "else": { + "operation": "boost", + "score": -0.0035382313653826714 + } } } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.13124299049377441 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4868420958518982, + "then": { + "operation": "boost", + "score": 0.00838513020426035 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11191882193088531 + }, + "else": { + "operation": "boost", + "score": 0.025476140901446342 + } + }, + "else": { + "operation": "boost", + "score": -0.027673494070768356 + } + }, + "else": { + "operation": "boost", + "score": 0.0016390540404245257 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1224.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05725253373384476 + }, + "else": { + "operation": "boost", + "score": 0.018201498314738274 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "boost", + "score": -0.02411074750125408 }, "else": { "operation": "boost", - "score": -0.06278415769338608 + "score": -0.0009591796551831067 } + }, + "else": { + "operation": "boost", + "score": -0.07524699717760086 } }, "else": { "operation": "boost", - "score": -0.10024245083332062 + "score": 0.07326993346214294 + } + }, + "else": { + "operation": "boost", + "score": -0.0007499621133320034 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.003975861705839634 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.11684975773096085 + }, + "else": { + "operation": "boost", + "score": 0.057258397340774536 } }, + "else": { + "operation": "boost", + "score": 0.005751962307840586 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.005686541553586721 + }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_Namespace", "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15173.0, + "threshold": 18485.0, "then": { - "operation": "boost", - "score": -0.07842633128166199 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18526.5, + "then": { + "operation": "boost", + "score": 0.01728680357336998 + }, + "else": { + "operation": "boost", + "score": 0.1062101274728775 + } }, "else": { "operation": "boost", - "score": 0.1013917326927185 + "score": 0.01091484073549509 } }, "else": { "operation": "boost", - "score": 0.09205907583236694 + "score": 0.025032317265868187 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 83772.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1016656830906868 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.033595696091651917 + }, + "else": { + "operation": "boost", + "score": 0.10440874844789505 + } }, "else": { - "operation": "boost", - "score": 0.10057190805673599 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84795.5, + "then": { + "operation": "boost", + "score": -0.02318812534213066 + }, + "else": { + "operation": "boost", + "score": 0.09346015006303787 + } } }, "else": { "operation": "boost", - "score": 0.06790991872549057 + "score": -0.157002255320549 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.19513648748397827 + "score": 0.03263818100094795 }, "else": { "operation": "boost", - "score": 0.13201573491096497 + "score": -0.0425051674246788 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10147859156131744 - }, - "else": { - "operation": "boost", - "score": 0.05935997515916824 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { - "operation": "boost", - "score": -0.2660566568374634 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.1669570803642273 + }, + "else": { + "operation": "boost", + "score": 0.3675655424594879 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 40920.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.018747596070170403 + "score": -0.5697132349014282 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04770367220044136 - }, - "else": { - "operation": "boost", - "score": 0.07546931505203247 - } + "operation": "boost", + "score": -0.023276273161172867 } }, "else": { - "operation": "boost", - "score": 0.023914899677038193 - } - }, - "else": { - "operation": "boost", - "score": -0.0009451155783608556 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33041.5, "then": { - "operation": "boost", - "score": 0.015089508146047592 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Function", - "Type", - "Namespace" + "GlobalScope" ], "then": { "operation": "boost", - "score": -0.012873885221779346 + "score": 0.14003463089466095 }, "else": { "operation": "boost", - "score": -4.06507682800293 + "score": 0.026254350319504738 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 183.5, "then": { - "operation": "boost", - "score": -0.016040923073887825 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.06250505149364471 + "score": 0.03707120195031166 }, "else": { - "operation": "boost", - "score": -0.0008285543881356716 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014836492948234081 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.132423534989357 + }, + "else": { + "operation": "boost", + "score": 0.009154224768280983 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 231.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 471.5, + "then": { + "operation": "boost", + "score": 0.11152742058038712 + }, + "else": { + "operation": "boost", + "score": -0.07030696421861649 + } + }, + "else": { + "operation": "boost", + "score": 0.19040973484516144 + } + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02915956638753414 }, "else": { "operation": "boost", - "score": -0.015479793772101402 + "score": 0.01620151475071907 } } } }, "else": { - "operation": "boost", - "score": 0.008343550376594067 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12720.5, + "then": { + "operation": "boost", + "score": -0.052730195224285126 + }, + "else": { + "operation": "boost", + "score": 0.0004337524878792465 + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.04945468530058861 }, "else": { - "operation": "boost", - "score": -0.008871777914464474 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.011061073280870914 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.5295704007148743 - }, - "else": { - "operation": "boost", - "score": -0.3594520390033722 - } - }, - "else": { - "operation": "boost", - "score": 0.0719277411699295 - } - }, - "else": { - "operation": "boost", - "score": -0.022036153823137283 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 237.5, - "then": { - "operation": "boost", - "score": 0.018350273370742798 + "score": -0.004861864261329174 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 231.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10699772834777832 - }, - "else": { - "operation": "boost", - "score": 0.11569450050592422 - } + "operation": "boost", + "score": -0.034332744777202606 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 54.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 337.5, "then": { + "operation": "boost", + "score": -0.14742957055568695 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": -0.07975684851408005 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 139.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 172.5, + "threshold": 58.5, "then": { "operation": "boost", - "score": 0.08444467186927795 + "score": 0.08220399916172028 }, "else": { "operation": "boost", - "score": 0.12248381972312927 + "score": 0.20067091286182404 } }, "else": { - "operation": "boost", - "score": -0.11708545684814453 - } - }, - "else": { - "operation": "boost", - "score": 0.06623811274766922 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "boost", - "score": 0.12670621275901794 - }, - "else": { - "operation": "boost", - "score": -0.2644260823726654 - } - } - }, - "else": { - "operation": "boost", - "score": 0.040789514780044556 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 182.5, - "then": { - "operation": "boost", - "score": 0.008985819295048714 - }, - "else": { - "operation": "boost", - "score": 0.11858359724283218 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 106.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.0, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": -0.23089967668056488 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 160.5, + "threshold": 100.0, "then": { "operation": "boost", - "score": -0.11836748570203781 + "score": 0.13763968646526337 }, "else": { "operation": "boost", - "score": 0.11144914478063583 + "score": -0.13621628284454346 } - } - }, - "else": { - "operation": "boost", - "score": 0.1394404023885727 - } - }, - "else": { - "operation": "boost", - "score": -0.16436487436294556 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10361972451210022 - }, - "else": { - "operation": "boost", - "score": 0.2104472666978836 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "boost", - "score": -0.14553698897361755 }, "else": { "operation": "boost", - "score": 0.12119223177433014 + "score": 0.03315587714314461 } } }, "else": { "operation": "boost", - "score": 0.07417742908000946 + "score": -0.06315770000219345 } } } + }, + "else": { + "operation": "boost", + "score": -0.012423207052052021 } } } - }, - "else": { + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.0031761308200657368 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.11809579282999039 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.02632301114499569 + "score": 0.1635202020406723 }, "else": { "operation": "boost", - "score": -1.5383135080337524 + "score": -0.037150535732507706 } + }, + "else": { + "operation": "boost", + "score": -0.0501626618206501 } - }, - "else": { - "operation": "boost", - "score": 0.005086042452603579 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3191.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.16186389327049255 + "score": 0.06489672511816025 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3146.5, - "then": { - "operation": "boost", - "score": 0.14711160957813263 - }, - "else": { - "operation": "boost", - "score": 0.05218896269798279 - } + "operation": "boost", + "score": 0.1546953320503235 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.13864538073539734 + "score": 0.12533694505691528 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.10447019338607788 - }, - "else": { - "operation": "boost", - "score": 0.03488518297672272 - } + "operation": "boost", + "score": -0.42625296115875244 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.10428669303655624 - }, - "else": { - "operation": "boost", - "score": -0.29655706882476807 - } - }, - "else": { - "operation": "boost", - "score": -0.12389856576919556 - } + "operation": "boost", + "score": -0.19710898399353027 } + }, + "else": { + "operation": "boost", + "score": 0.04215243458747864 } - }, - "else": { - "operation": "boost", - "score": 0.010722859762609005 } - } - }, - "else": { - "operation": "boost", - "score": -0.005701020359992981 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0007724555907770991 - } - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04702233895659447 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.010236939415335655 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.04505009576678276 - }, - "else": { - "operation": "boost", - "score": 0.0249615665525198 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.017184924334287643 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03825343772768974 + "score": 0.015180389396846294 }, "else": { "operation": "boost", - "score": 0.015173152089118958 + "score": 0.008961247280240059 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.005300991237163544 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.07518351823091507 - }, - "else": { - "operation": "boost", - "score": 0.003010950982570648 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.10411252826452255 + "score": -0.018538309261202812 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.0773678570985794 + "score": 0.029507778584957123 }, "else": { "operation": "boost", - "score": 0.046292442828416824 + "score": 0.004183686804026365 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.19137047231197357 + "score": 0.18548007309436798 }, "else": { "operation": "boost", - "score": -0.055477458983659744 + "score": -0.04452761262655258 } }, "else": { "operation": "boost", - "score": 0.05554017424583435 + "score": 0.035082846879959106 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.11692661792039871 - }, - "else": { - "operation": "boost", - "score": -0.019327523186802864 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.1130647361278534 - }, - "else": { - "operation": "boost", - "score": 0.05281137675046921 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": -0.044229134917259216 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.13593368232250214 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12059272080659866 - }, - "else": { - "operation": "boost", - "score": -0.11995347589254379 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08274500072002411 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07823525369167328 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.047262173146009445 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12288645654916763 - }, - "else": { - "operation": "boost", - "score": 0.12825541198253632 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.0637061670422554 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10144128650426865 - }, - "else": { - "operation": "boost", - "score": -0.1325111836194992 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.018773090094327927 - }, - "else": { - "operation": "boost", - "score": 0.07727500051259995 - } - } - } - } + "operation": "boost", + "score": -0.003015610622242093 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.09085720777511597 - }, - "else": { - "operation": "boost", - "score": -0.13025543093681335 - } + "operation": "boost", + "score": -0.02761068381369114 }, "else": { "operation": "boost", - "score": 0.06994058936834335 + "score": 0.015102088451385498 } } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": 0.0035661691799759865 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0396646223962307 + "score": -0.011376204900443554 }, "else": { "operation": "boost", - "score": -0.03189030662178993 + "score": 0.02329920418560505 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.0741783082485199 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.017564935609698296 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1762036383152008 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.00011314953735563904 - }, - "else": { - "operation": "boost", - "score": 0.09789270162582397 - } - }, - "else": { - "operation": "boost", - "score": -0.17986012995243073 - } - }, - "else": { - "operation": "boost", - "score": -0.13407059013843536 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03254048526287079 - } - } + "operation": "boost", + "score": -0.005766354966908693 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.02559307962656021 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.007024771999567747 + "score": -0.02002062276005745 }, "else": { "operation": "boost", - "score": -0.03257538378238678 + "score": -0.05108867958188057 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 26.5, "then": { "operation": "boost", - "score": -0.030797917395830154 + "score": -0.0008670383831486106 }, "else": { "operation": "boost", - "score": -0.008938190527260303 + "score": 0.012771343812346458 } } } } }, "else": { - "operation": "boost", - "score": 0.008088372647762299 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.003512233728542924 - }, - "else": { - "operation": "boost", - "score": -0.11067859828472137 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.008553776890039444 + }, + "else": { + "operation": "boost", + "score": -0.003096699947491288 + } + }, + "else": { + "operation": "boost", + "score": -0.01753406971693039 + } } } }, "else": { "operation": "boost", - "score": 0.0007021354977041483 + "score": -0.00452780444175005 } } - }, - "else": { - "operation": "boost", - "score": -0.053343579173088074 } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.00763728329911828 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression" - ], + "operation": "boost", + "score": 0.0031684329733252525 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 600.5, "then": { + "operation": "boost", + "score": 0.012649516575038433 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.0009456591797061265 + }, + "else": { + "operation": "boost", + "score": 0.00534850126132369 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.044711172580718994 + "score": -0.08092911541461945 }, "else": { + "operation": "boost", + "score": 0.07282716035842896 + } + }, + "else": { + "operation": "boost", + "score": -0.052553366869688034 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06841184943914413 + "score": 0.025721775367856026 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { - "operation": "boost", - "score": 0.07287311553955078 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.10143256932497025 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.38723108172416687 + }, + "else": { + "operation": "boost", + "score": 0.03393387794494629 + } + }, + "else": { + "operation": "boost", + "score": 0.0653151273727417 + } }, "else": { "operation": "boost", - "score": 0.09868999570608139 + "score": 0.012249866500496864 } + }, + "else": { + "operation": "boost", + "score": -0.0009468266507610679 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.007274182979017496 - }, - "else": { - "operation": "boost", - "score": 0.05288488045334816 - } }, "else": { - "operation": "boost", - "score": 0.013821377418935299 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06149500980973244 - } - }, - "else": { - "operation": "boost", - "score": 0.005562969017773867 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47907.0, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03174600005149841 + "score": -0.10935372859239578 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { - "operation": "boost", - "score": 0.05885745584964752 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "boost", + "score": 0.1255285143852234 + }, + "else": { + "operation": "boost", + "score": 0.01151618454605341 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11977539211511612 + "score": -0.5625141859054565 }, "else": { - "operation": "boost", - "score": 0.1741107553243637 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": 0.08110619336366653 + }, + "else": { + "operation": "boost", + "score": -0.017891934141516685 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.03713218867778778 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.014426414854824543 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.25824177265167236, "then": { "operation": "boost", - "score": -0.08490142971277237 + "score": -0.14213517308235168 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 147.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.05354832857847214 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 425.0, - "then": { - "operation": "boost", - "score": 0.11207885295152664 - }, - "else": { - "operation": "boost", - "score": 0.6284003853797913 - } - } + "operation": "boost", + "score": -0.11763907968997955 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.13152876496315002 - }, - "else": { - "operation": "boost", - "score": -0.1439039260149002 - } + "operation": "boost", + "score": 0.10717064887285233 } }, "else": { "operation": "boost", - "score": 0.07644256204366684 + "score": -0.1177716925740242 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, "then": { "operation": "boost", - "score": -0.01937801204621792 + "score": -0.0003918668953701854 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.2303636521100998 - }, - "else": { - "operation": "boost", - "score": 0.11511901766061783 - } + "operation": "boost", + "score": -0.04780978709459305 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33.5, + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.033513378351926804 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.10910559445619583 + "score": -0.5149034857749939 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.039951618760824203 - }, - "else": { - "operation": "boost", - "score": 0.13702543079853058 - } + "operation": "boost", + "score": 0.03727913647890091 } - }, - "else": { - "operation": "boost", - "score": 0.1588079333305359 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "boost", - "score": 0.06420429050922394 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0597819983959198 + }, + "else": { + "operation": "boost", + "score": 0.011244762688875198 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13772675395011902 + }, + "else": { + "operation": "boost", + "score": 0.0008922623237594962 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7571429014205933, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.17376291751861572 + "score": 0.011498223058879375 }, "else": { "operation": "boost", - "score": 0.13402986526489258 + "score": 0.08705304563045502 } }, "else": { "operation": "boost", - "score": -0.01689411886036396 + "score": -0.0019239538814872503 } + }, + "else": { + "operation": "boost", + "score": -0.14409135282039642 } - }, - "else": { - "operation": "boost", - "score": -0.015837883576750755 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.07312171161174774 + "score": 0.03846336901187897 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.059449851512908936 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12768417596817017 - }, - "else": { - "operation": "boost", - "score": -0.12551608681678772 - } - } + "operation": "boost", + "score": -0.04297233372926712 }, "else": { "operation": "boost", - "score": 0.06316065788269043 + "score": -0.35373765230178833 } } }, "else": { - "operation": "boost", - "score": 0.0855269581079483 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03167393058538437 + }, + "else": { + "operation": "boost", + "score": -0.014555301517248154 + } } } } } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "boost", + "score": -0.0942402109503746 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.016259023919701576 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -1.863906741142273 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.02300512231886387 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "boost", - "score": -0.1457962691783905 - }, - "else": { - "operation": "boost", - "score": 0.10013727098703384 - } + "operation": "boost", + "score": 0.033303868025541306 }, "else": { "operation": "boost", - "score": 0.013816497288644314 + "score": 0.06864845007658005 } + }, + "else": { + "operation": "boost", + "score": 0.007498632185161114 } - } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04134007543325424 + }, + "else": { + "operation": "boost", + "score": -0.00981801189482212 + } + }, + "else": { + "operation": "boost", + "score": -0.06618612259626389 + } + } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 70521.5, + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.12161555141210556 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0025917303282767534 + }, + "else": { + "operation": "boost", + "score": 0.061121661216020584 + } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": 0.10832519829273224 + }, + "else": { + "operation": "boost", + "score": -0.01213759370148182 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0280531607568264 + "score": -0.04495736211538315 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1098184585571289 - }, - "else": { - "operation": "boost", - "score": 0.057077743113040924 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.14541581273078918 - }, - "else": { - "operation": "boost", - "score": 0.0915154218673706 - } - } + "operation": "boost", + "score": 0.017547788098454475 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.0, - "then": { - "operation": "boost", - "score": 0.093729667365551 - }, - "else": { - "operation": "boost", - "score": 0.13635294139385223 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.08072938024997711 - }, - "else": { - "operation": "boost", - "score": 0.11059103906154633 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "boost", - "score": -0.27463284134864807 - }, - "else": { - "operation": "boost", - "score": 0.025242434814572334 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 252.5, - "then": { - "operation": "boost", - "score": 0.05949155613780022 - }, - "else": { - "operation": "boost", - "score": 0.12343072146177292 - } - }, - "else": { - "operation": "boost", - "score": 0.06671947985887527 - } - }, - "else": { - "operation": "boost", - "score": -0.14833597838878632 - } - } - } + "operation": "boost", + "score": -0.1341622918844223 } } + }, + "else": { + "operation": "boost", + "score": -0.028751591220498085 } - }, - "else": { - "operation": "boost", - "score": 0.004547168966382742 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.010177774354815483 + "score": -0.3880917727947235 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.11740966141223907 - }, - "else": { - "operation": "boost", - "score": 0.12218774855136871 - } + "operation": "boost", + "score": 0.002466740319505334 }, "else": { "operation": "boost", - "score": 0.047203440219163895 + "score": -0.10592134296894073 } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "boost", - "score": 0.03370939940214157 + "score": 0.035535380244255066 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.09945235401391983 - }, - "else": { - "operation": "boost", - "score": -0.08169001340866089 - } + "operation": "boost", + "score": 4.711574365501292e-05 } } } - }, - "else": { - "operation": "boost", - "score": -0.004253596533089876 } } - }, - "else": { - "operation": "boost", - "score": -0.018384454771876335 } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30340.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "boost", + "score": -0.024230919778347015 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.11954367160797119 + "score": 0.03361710533499718 }, "else": { - "operation": "boost", - "score": -0.3019437789916992 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.08879311382770538 + }, + "else": { + "operation": "boost", + "score": -0.09885875135660172 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31292.5, - "then": { - "operation": "boost", - "score": -0.0014557801187038422 - }, - "else": { - "operation": "boost", - "score": -0.16596433520317078 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28239.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.013378801755607128 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.007347887847572565 + "score": 0.0708024725317955 }, "else": { "operation": "boost", - "score": 0.11794160306453705 + "score": 0.016223499551415443 } + }, + "else": { + "operation": "boost", + "score": 0.002337029902264476 } - }, - "else": { - "operation": "boost", - "score": 0.052250489592552185 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, + "operation": "boost", + "score": -0.10892795771360397 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 8445.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 77386.0, + "threshold": 18069.5, "then": { "operation": "boost", - "score": -0.4283779561519623 + "score": 0.21943867206573486 }, "else": { "operation": "boost", - "score": 0.04703441634774208 + "score": -0.10635702311992645 } }, + "else": { + "operation": "boost", + "score": 0.028769806027412415 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.0018315829802304506 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07018275558948517 - }, - "else": { - "operation": "boost", - "score": 0.10242418944835663 - } + "operation": "boost", + "score": -0.0014870587037876248 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24577.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.047873739153146744 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "boost", + "score": -0.07606072723865509 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "boost", + "score": 0.08696188032627106 + }, + "else": { + "operation": "boost", + "score": 0.015474531799554825 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.01057498436421156 + }, + "else": { + "operation": "boost", + "score": -0.057800356298685074 + } + } }, "else": { "operation": "boost", - "score": 0.10938163101673126 + "score": 0.025675181299448013 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.09360872209072113 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.023569855839014053 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.08692494034767151 + }, + "else": { + "operation": "boost", + "score": -0.0077415392734110355 + } + }, + "else": { + "operation": "boost", + "score": -0.07437096536159515 + } + } }, "else": { "operation": "boost", - "score": 0.11553587764501572 + "score": 0.008042150177061558 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0954883024096489 - }, - "else": { - "operation": "boost", - "score": 0.08669121563434601 - } - }, - "else": { - "operation": "boost", - "score": 0.06957527250051498 - } + "operation": "boost", + "score": 0.016793668270111084 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.057483647018671036 }, "else": { + "operation": "boost", + "score": -0.018704036250710487 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Operator" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85554.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.0959937646985054 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 264171.5, "then": { - "operation": "boost", - "score": 0.11055430769920349 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 278828.5, + "then": { + "operation": "boost", + "score": 0.017328433692455292 + }, + "else": { + "operation": "boost", + "score": 0.07443199306726456 + } }, "else": { - "operation": "boost", - "score": 0.08383802324533463 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.23303167521953583, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.042628709226846695 + "score": 0.00947010237723589 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.10151797533035278 + "score": 0.024375759065151215 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44493.0, + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, "then": { "operation": "boost", - "score": 0.027185847982764244 + "score": 0.10033959150314331 }, "else": { "operation": "boost", - "score": 0.0965941920876503 + "score": -0.02666870318353176 } }, "else": { "operation": "boost", - "score": 0.013823929242789745 + "score": 0.048825353384017944 } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.11866551637649536 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07376376539468765 + }, + "else": { + "operation": "boost", + "score": 0.03161128982901573 + } + }, + "else": { + "operation": "boost", + "score": 0.010658477433025837 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.0, + "then": { + "operation": "boost", + "score": 0.2117031067609787 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": 0.34462350606918335 + }, + "else": { + "operation": "boost", + "score": 0.10555897653102875 + } + } + }, + "else": { + "operation": "boost", + "score": 0.024253148585557938 + } + } }, "else": { "operation": "boost", - "score": -0.10160898417234421 + "score": 0.009416268207132816 } } - }, - "else": { - "operation": "boost", - "score": -0.08510429412126541 } } - } - }, - "else": { - "operation": "boost", - "score": 0.10112787783145905 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.023482557386159897 - }, - "else": { - "operation": "boost", - "score": 0.004024907946586609 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.036835379898548126 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 264171.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03668691962957382 - }, - "else": { - "operation": "boost", - "score": 0.08002832531929016 - } - }, - "else": { - "operation": "boost", - "score": 0.025895489379763603 - } + "operation": "boost", + "score": 0.038875989615917206 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07644045352935791 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, - "then": { - "operation": "boost", - "score": 0.047200266271829605 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.07950285077095032 - }, - "else": { - "operation": "boost", - "score": 0.035444580018520355 - } - } - } + "operation": "boost", + "score": -0.15468454360961914 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "boost", - "score": 0.033121999353170395 + "score": -0.036198753863573074 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.10906124860048294 + "score": 0.005613049957901239 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.04010577127337456 + "score": 0.01932956464588642 }, "else": { "operation": "boost", - "score": 0.10422506183385849 + "score": -0.08947605639696121 } } }, "else": { "operation": "boost", - "score": -0.014706188812851906 + "score": -0.006544506177306175 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, - "then": { - "operation": "boost", - "score": -0.11950868368148804 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12288934737443924 - }, - "else": { - "operation": "boost", - "score": 0.1301960051059723 - } - }, - "else": { - "operation": "boost", - "score": 0.16472765803337097 - } + "operation": "boost", + "score": -0.02913655899465084 }, "else": { "operation": "boost", - "score": 0.016811447218060493 + "score": -0.004449688363820314 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 94883.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.03114793635904789 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.021303845569491386 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "boost", + "score": 0.09884210675954819 + }, + "else": { + "operation": "boost", + "score": -0.03678084909915924 + } + } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.011744608171284199 + }, + "else": { + "operation": "boost", + "score": 0.027313342317938805 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62816.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.02452990412712097 - }, - "else": { - "operation": "boost", - "score": -1.4928148984909058 - } + "operation": "boost", + "score": -0.002407502382993698 + }, + "else": { + "operation": "boost", + "score": 0.010657954961061478 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.034929338842630386 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24164.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24900.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "boost", - "score": 0.10930529981851578 + "score": 0.605949878692627 }, "else": { "operation": "boost", - "score": 0.10813838988542557 + "score": -0.09146628528833389 } }, "else": { "operation": "boost", - "score": 0.021952908486127853 + "score": -0.0168082807213068 } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.002327068941667676 + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.014023395255208015 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0515873022377491, + "then": { + "operation": "boost", + "score": 0.013358557596802711 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.027090756222605705 + }, + "else": { + "operation": "boost", + "score": 0.03358397260308266 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.060462746769189835 }, "else": { + "operation": "boost", + "score": -0.15509632229804993 + } + }, + "else": { + "operation": "boost", + "score": 0.012676683254539967 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.949999988079071, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.13433782756328583 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.13397644460201263 + "score": 0.09863774478435516 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10420368611812592 - }, - "else": { - "operation": "boost", - "score": 0.052496593445539474 - } + "operation": "boost", + "score": -0.16547133028507233 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, - "then": { - "operation": "boost", - "score": -0.04327978566288948 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38396.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43555.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.06674587726593018 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.010323403403162956 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.004294759593904018 - }, - "else": { - "operation": "boost", - "score": 0.11757270246744156 - } - }, - "else": { - "operation": "boost", - "score": 0.13019384443759918 - } - }, - "else": { - "operation": "boost", - "score": 0.2102934718132019 - } - }, - "else": { - "operation": "boost", - "score": 0.11271502077579498 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28247.0, - "then": { - "operation": "boost", - "score": -0.11426212638616562 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27939.5, - "then": { - "operation": "boost", - "score": 0.47732478380203247 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, "then": { "operation": "boost", - "score": 0.04892871156334877 + "score": 0.0627661719918251 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22628.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", - "score": -0.41425928473472595 - }, - "else": { - "operation": "boost", - "score": 0.11638307571411133 - } - }, - "else": { - "operation": "boost", - "score": -0.02094852551817894 - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74787.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92148.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06280618906021118 - }, - "else": { - "operation": "boost", - "score": 0.05701713263988495 - } - }, - "else": { - "operation": "boost", - "score": 0.016943499445915222 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": -0.014198646880686283 - }, - "else": { - "operation": "boost", - "score": 0.09301245957612991 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.10559394210577011 - }, - "else": { - "operation": "boost", - "score": 0.07730647176504135 - } - } - }, - "else": { - "operation": "boost", - "score": -0.008069777861237526 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.08243200182914734 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.13148252665996552 - }, - "else": { - "operation": "boost", - "score": -0.03375506401062012 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.057817015796899796 - }, - "else": { - "operation": "boost", - "score": -0.17479005455970764 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40082.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59076.5, - "then": { - "operation": "boost", - "score": -0.019177230075001717 - }, - "else": { - "operation": "boost", - "score": 0.10922681540250778 - } - }, - "else": { - "operation": "boost", - "score": 0.10025584697723389 - } - }, - "else": { - "operation": "boost", - "score": -0.10447824001312256 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62085.0, - "then": { - "operation": "boost", - "score": -1.0669751167297363 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20565.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24698.0, - "then": { - "operation": "boost", - "score": -0.16675066947937012 + "score": 0.19156986474990845 }, "else": { "operation": "boost", - "score": -0.7106515765190125 + "score": 0.1426202356815338 } }, "else": { "operation": "boost", - "score": 0.09038684517145157 + "score": 0.16829155385494232 } - }, - "else": { - "operation": "boost", - "score": 0.002952534006908536 } } } }, "else": { "operation": "boost", - "score": 0.02859710343182087 + "score": -0.2928027808666229 } } } + }, + "else": { + "operation": "boost", + "score": 0.015595413744449615 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 458944.5, + "feature": "NumNameInContext", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.22497984766960144 + "score": 0.10437838733196259 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "boost", - "score": -0.07841795682907104 + "score": 0.005141392350196838 }, "else": { - "operation": "boost", - "score": 0.2572278678417206 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "boost", + "score": 0.09008649736642838 + }, + "else": { + "operation": "boost", + "score": -0.03291019797325134 + } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87637.0, + } + }, + "else": { + "operation": "boost", + "score": -0.03173323720693588 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.7636363506317139, + "then": { + "operation": "boost", + "score": 0.13227279484272003 + }, + "else": { + "operation": "boost", + "score": -0.1185946986079216 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.02772345393896103 + "score": 0.009302161633968353 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.013868148438632488 + "score": 0.05218985304236412 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 417741.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.011174670420587063 - }, - "else": { - "operation": "boost", - "score": -0.17713116109371185 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 318692.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.12102112174034119 - }, - "else": { - "operation": "boost", - "score": 0.04625469818711281 - } - }, - "else": { - "operation": "boost", - "score": 0.02889098785817623 - } - } - }, - "else": { - "operation": "boost", - "score": -0.682624101638794 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "boost", - "score": 0.09593233466148376 - }, - "else": { - "operation": "boost", - "score": 0.037009309977293015 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "boost", - "score": 0.07645323872566223 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.6240440607070923 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.09267310798168182 - }, - "else": { - "operation": "boost", - "score": -1.9190890789031982 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.09565731137990952 - }, - "else": { - "operation": "boost", - "score": 0.12275151163339615 - } - } - } + "score": 0.17856843769550323 } - } - }, - "else": { - "operation": "boost", - "score": -0.06327182054519653 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06033853441476822 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.33489421010017395 - }, - "else": { - "operation": "boost", - "score": 0.1885467767715454 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10115274786949158 }, "else": { "operation": "boost", - "score": 0.11027631163597107 + "score": -0.1022999957203865 } }, "else": { "operation": "boost", - "score": -0.10470467060804367 + "score": -0.005562970414757729 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.022632397711277008 + "score": 0.013899204321205616 }, "else": { + "operation": "boost", + "score": -0.0226959940046072 + } + } + }, + "else": { + "operation": "boost", + "score": -0.018368801102042198 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.10555864125490189 - }, - "else": { - "operation": "boost", - "score": 0.10252829641103745 - } - }, - "else": { - "operation": "boost", - "score": 0.026692422106862068 - } + "operation": "boost", + "score": -0.003882678924128413 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "boost", - "score": 0.2470342516899109 + "score": 0.05628706514835358 }, "else": { "operation": "boost", - "score": 0.01869836263358593 + "score": 0.09682033210992813 } } + }, + "else": { + "operation": "boost", + "score": 0.02351347543299198 } + }, + "else": { + "operation": "boost", + "score": -0.02647601068019867 } + }, + "else": { + "operation": "boost", + "score": -0.04130930453538895 } } - }, - "else": { - "operation": "boost", - "score": -0.0006226508994586766 } } }, "else": { - "operation": "boost", - "score": -0.00034147530095651746 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol" + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.008480455726385117 + "score": 0.04020145535469055 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 10.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11226730793714523 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.16822104156017303 - }, - "else": { - "operation": "boost", - "score": 0.09229575097560883 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.08454027771949768 - }, - "else": { - "operation": "boost", - "score": 0.12989018857479095 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.1133488193154335 - }, - "else": { - "operation": "boost", - "score": 0.1578780859708786 - } - } - } + "operation": "boost", + "score": -0.4870975613594055 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.39127597212791443 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.0369529090821743 - }, - "else": { - "operation": "boost", - "score": 0.12927216291427612 - } - }, - "else": { - "operation": "boost", - "score": 0.0488264299929142 - } - } + "operation": "boost", + "score": -0.028539301827549934 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04463159665465355 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": -0.10491856932640076 - }, - "else": { - "operation": "boost", - "score": 0.15890507400035858 - } - } - }, - "else": { - "operation": "boost", - "score": -0.004664773587137461 - } + "operation": "boost", + "score": 0.005968847777694464 }, "else": { "operation": "boost", - "score": 0.011607903987169266 + "score": -0.1483989655971527 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], + "then": { + "operation": "boost", + "score": -0.03192640468478203 + }, + "else": { + "operation": "boost", + "score": -0.07722233235836029 + } + }, + "else": { + "operation": "boost", + "score": -0.022721100598573685 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07280039042234421 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, "then": { "operation": "boost", - "score": -0.10732851922512054 + "score": -0.03695666044950485 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 316302.0, + "threshold": 1300.5, "then": { - "operation": "boost", - "score": -0.12488171458244324 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 91957.5, + "threshold": 1320.5, "then": { "operation": "boost", - "score": 0.13157805800437927 + "score": 0.04043447971343994 }, "else": { "operation": "boost", - "score": 0.026236290112137794 + "score": 0.12720909714698792 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.006100551690906286 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 536.5, + "then": { + "operation": "boost", + "score": 0.10865337401628494 + }, + "else": { + "operation": "boost", + "score": -0.008415140211582184 + } + }, + "else": { + "operation": "boost", + "score": 0.2203696370124817 + } } } } @@ -181554,1362 +177471,1179 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", "Variable" ], "then": { - "operation": "boost", - "score": 0.10932771861553192 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2396.5, "then": { - "operation": "boost", - "score": -0.10292454808950424 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2397.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.038655612617731094 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2476.0, + "then": { + "operation": "boost", + "score": 0.017760321497917175 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2471.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.20148883759975433 + }, + "else": { + "operation": "boost", + "score": 0.1202641949057579 + } + }, + "else": { + "operation": "boost", + "score": 0.08263277262449265 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.00247525074519217 + }, + "else": { + "operation": "boost", + "score": -0.03168054670095444 + } + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11372477561235428 + "score": -0.00047201229608617723 }, "else": { - "operation": "boost", - "score": 0.08509473502635956 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 749331.5, + "then": { + "operation": "boost", + "score": 0.039939068257808685 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 432212.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.016636637970805168 + }, + "else": { + "operation": "boost", + "score": -0.4741767346858978 + } + }, + "else": { + "operation": "boost", + "score": -0.09433291107416153 + } + } } } }, "else": { + "operation": "boost", + "score": 0.14637233316898346 + } + }, + "else": { + "operation": "boost", + "score": 0.012629233300685883 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304083.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.015864327549934387 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.01184102613478899 + "score": -0.037794049829244614 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2244.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 2258.5, "then": { + "operation": "boost", + "score": 0.06961623579263687 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118314.0, + "operation": "boost", + "score": -0.19252680242061615 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.08526529371738434 + "score": 0.24983547627925873 }, "else": { "operation": "boost", - "score": 0.12454226613044739 + "score": 0.08904335647821426 } - }, - "else": { - "operation": "boost", - "score": -0.15089042484760284 } + } + }, + "else": { + "operation": "boost", + "score": -0.0031359035056084394 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.008890224620699883 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03583687171339989 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72713.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { + "operation": "boost", + "score": -0.09853939712047577 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118314.0, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { "operation": "boost", - "score": 0.052973147481679916 + "score": -0.028752600774168968 }, "else": { "operation": "boost", - "score": 0.10512777417898178 + "score": 0.1811959594488144 } }, "else": { "operation": "boost", - "score": 0.10015841573476791 + "score": 0.04541449621319771 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.4954158067703247 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "boost", - "score": 0.006970573682337999 + "score": -0.3830605447292328 }, "else": { "operation": "boost", - "score": 0.10055503994226456 + "score": 0.20169775187969208 } } - }, - "else": { - "operation": "boost", - "score": 0.09973432868719101 } } }, "else": { "operation": "boost", - "score": 0.030432865023612976 + "score": -0.011522210203111172 } } } + }, + "else": { + "operation": "boost", + "score": -0.00015315190830733627 } }, "else": { - "operation": "boost", - "score": 0.11300131678581238 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0003793254727497697 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.15232890844345093 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.027762161567807198 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08800184726715088 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1000387966632843 - }, - "else": { - "operation": "boost", - "score": 0.1100158840417862 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.19441568851470947 - }, - "else": { - "operation": "boost", - "score": -0.07669582217931747 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31292.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, - "then": { - "operation": "boost", - "score": 0.04169416427612305 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.004502694588154554 - }, - "else": { - "operation": "boost", - "score": 0.0983576700091362 - } - }, - "else": { - "operation": "boost", - "score": 0.10526394098997116 - } - }, - "else": { - "operation": "boost", - "score": -0.10053147375583649 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0015392544446513057 - }, - "else": { - "operation": "boost", - "score": 0.09995558112859726 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.009287248365581036 - }, - "else": { - "operation": "boost", - "score": 0.004901782609522343 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": -0.010815444402396679 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.034791938960552216 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.011401367373764515 + "score": 0.02350427769124508 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.008429521694779396 - }, - "else": { - "operation": "boost", - "score": 0.11164886504411697 - } + "operation": "boost", + "score": 0.05079275369644165 } }, - "else": { - "operation": "boost", - "score": 0.011583571322262287 - } - } - }, - "else": { - "operation": "boost", - "score": -0.013374140486121178 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.08343935757875443 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.056536734104156494 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 767.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.10153920948505402 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.09624335914850235 + "score": 0.04530778527259827 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.3229580223560333 + "score": -0.048677559942007065 }, "else": { "operation": "boost", - "score": 0.12249863892793655 + "score": 0.1919398307800293 } } }, "else": { + "operation": "boost", + "score": 0.015766914933919907 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.04012180119752884 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10993590205907822 + "score": 0.03769192472100258 }, "else": { - "operation": "boost", - "score": -0.10681411623954773 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.018319953233003616 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.05416394770145416 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.06106317415833473 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 304.0, + "then": { + "operation": "boost", + "score": 0.13117925822734833 + }, + "else": { + "operation": "boost", + "score": 0.05575950816273689 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03928442671895027 + } + } + } } - }, - "else": { - "operation": "boost", - "score": -0.013725324533879757 } + }, + "else": { + "operation": "boost", + "score": -0.04714240878820419 } } } }, "else": { - "operation": "boost", - "score": 0.0306314118206501 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03594433143734932 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 285.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.09680846333503723 - }, - "else": { - "operation": "boost", - "score": 0.04760146141052246 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04206463322043419 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 1590.0, "then": { + "operation": "boost", + "score": -0.17719106376171112 + }, + "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 250.5, "then": { - "operation": "boost", - "score": -0.1081579253077507 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 839.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.017520271241664886 + }, + "else": { + "operation": "boost", + "score": -0.6152868866920471 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 819.0, "then": { "operation": "boost", - "score": 0.02682838961482048 + "score": 0.19883014261722565 }, "else": { + "operation": "boost", + "score": 0.0854945182800293 + } + } + }, + "else": { + "operation": "boost", + "score": 0.022442366927862167 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.03264964371919632 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.002057549776509404 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.1256067305803299 + "score": -0.0006458893185481429 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.12333116680383682 - }, - "else": { - "operation": "boost", - "score": 0.12450128048658371 - } - }, - "else": { - "operation": "boost", - "score": -0.15290215611457825 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.051413968205451965 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11927691102027893 - }, - "else": { - "operation": "boost", - "score": -0.11573834717273712 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10444959998130798 - } - } + "operation": "boost", + "score": -0.11560098081827164 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "NumReferences", + "threshold": 26.5, "then": { "operation": "boost", - "score": 0.08141844719648361 + "score": 0.06998492032289505 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.019740642979741096 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10110755264759064 - }, - "else": { - "operation": "boost", - "score": -0.16848501563072205 - } - } + "operation": "boost", + "score": 0.045737460255622864 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.029859324917197227 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.13955895602703094 - }, - "else": { - "operation": "boost", - "score": 0.10864849388599396 - } - }, - "else": { - "operation": "boost", - "score": -0.03250705450773239 - } - }, - "else": { - "operation": "boost", - "score": 0.10668689757585526 - } - }, - "else": { - "operation": "boost", - "score": 0.06472468376159668 - } - }, - "else": { - "operation": "boost", - "score": 0.07234231382608414 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05812166631221771 - } + "operation": "boost", + "score": 0.03170068934559822 } + }, + "else": { + "operation": "boost", + "score": -0.006171678192913532 } - }, - "else": { - "operation": "boost", - "score": 0.013486954383552074 } } }, "else": { - "operation": "boost", - "score": 0.03017568215727806 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 21.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.12039552628993988 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017687972635030746 + }, + "else": { + "operation": "boost", + "score": 0.07785360515117645 + } + }, + "else": { + "operation": "boost", + "score": 0.0007515914039686322 + } }, "else": { "operation": "boost", - "score": 0.128861665725708 + "score": -0.014054653234779835 } - }, - "else": { - "operation": "boost", - "score": -0.04750862345099449 } } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.042999569326639175 - }, - "else": { - "operation": "boost", - "score": 0.03051414154469967 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05707995221018791 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0017263167537748814 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27076.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.12074726819992065 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.01555416639894247 + "score": -0.02502502128481865 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 14.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { + "operation": "boost", + "score": 0.0388454794883728 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.04966916888952255 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008057907223701477 + }, + "else": { + "operation": "boost", + "score": 0.012503103353083134 + } }, "else": { "operation": "boost", - "score": 0.10182730108499527 + "score": -0.01557657215744257 } - }, - "else": { - "operation": "boost", - "score": 0.11854279041290283 } } }, "else": { "operation": "boost", - "score": 0.022419463843107224 + "score": 0.003403385868296027 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.013817992992699146 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.019076203927397728 + }, + "else": { + "operation": "boost", + "score": 0.0007730999495834112 + } } } - }, - "else": { - "operation": "boost", - "score": 0.0243188738822937 } } - }, - "else": { - "operation": "boost", - "score": -0.09804453700780869 - } - }, - "else": { - "operation": "boost", - "score": -0.0069656819105148315 - } - } - }, - "else": { - "operation": "boost", - "score": -0.007411425467580557 - } - }, - "else": { - "operation": "boost", - "score": -0.018853923305869102 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.040495485067367554 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.014569812454283237 - }, - "else": { - "operation": "boost", - "score": 0.04292409121990204 } - }, - "else": { - "operation": "boost", - "score": 0.019585464149713516 } - } - }, - "else": { - "operation": "boost", - "score": 0.10515967756509781 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.02279859222471714 }, "else": { "operation": "boost", - "score": -0.11980519443750381 + "score": -0.10107261687517166 } - }, - "else": { - "operation": "boost", - "score": 0.004833218175917864 } } - }, - "else": { - "operation": "boost", - "score": 0.0010205128928646445 } } } }, { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2401.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 2435.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.009132345207035542 - }, - "else": { - "operation": "boost", - "score": 0.09276982396841049 - } + "operation": "boost", + "score": 0.032201603055000305 }, "else": { "operation": "boost", - "score": -2.9090194702148438 + "score": 0.11483565717935562 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0631071925163269 - }, - "else": { - "operation": "boost", - "score": 0.0876532569527626 - } + "operation": "boost", + "score": -0.0617864690721035 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.265762060880661 - }, - "else": { - "operation": "boost", - "score": 0.03357064351439476 - } + "operation": "boost", + "score": 0.006226181983947754 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.15490002930164337 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -2.6612045764923096 - }, - "else": { - "operation": "boost", - "score": -0.7198639512062073 - } - } + "operation": "boost", + "score": 0.12029630690813065 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3100961446762085, "then": { "operation": "boost", - "score": 0.06863389909267426 + "score": -0.008689844980835915 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.00822881143540144 - }, - "else": { - "operation": "boost", - "score": 0.016665019094944 - } - }, - "else": { - "operation": "boost", - "score": 0.005629157647490501 - } + "operation": "boost", + "score": 0.01702594943344593 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.002949565416201949 - }, - "else": { - "operation": "boost", - "score": -0.008261547423899174 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Type" + "FileScope" ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { - "operation": "boost", - "score": -0.02630310319364071 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": 0.037849243730306625 + }, + "else": { + "operation": "boost", + "score": 0.2459680587053299 + } }, "else": { "operation": "boost", - "score": 0.038671620190143585 + "score": 0.02448938973248005 } }, "else": { "operation": "boost", - "score": -0.007010164204984903 + "score": -0.0016990706790238619 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.10053851455450058 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "boost", - "score": 0.006679334677755833 + "score": 0.03538915142416954 + }, + "else": { + "operation": "boost", + "score": -0.034839726984500885 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": 0.09035608172416687 }, "else": { "operation": "boost", - "score": -0.04378124326467514 + "score": -0.03833260014653206 } } } }, "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "boost", + "score": 0.08869067579507828 + }, + "else": { + "operation": "boost", + "score": -0.01240998599678278 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08846154063940048, + "then": { + "operation": "boost", + "score": 0.004644074477255344 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01157040148973465 + }, + "else": { + "operation": "boost", + "score": 0.09142053872346878 + } + }, + "else": { + "operation": "boost", + "score": 0.14772655069828033 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.03846153989434242, + "then": { + "operation": "boost", + "score": 0.11546443402767181 + }, + "else": { + "operation": "boost", + "score": -0.05383998155593872 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.029881024733185768 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "Variable" ], "then": { - "operation": "boost", - "score": 0.09830502420663834 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.08464516699314117 + }, + "else": { + "operation": "boost", + "score": -0.4770536720752716 + } + }, + "else": { + "operation": "boost", + "score": 0.11821084469556808 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": 0.08442805707454681 + }, + "else": { + "operation": "boost", + "score": -0.05351674184203148 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.003896588459610939 + }, + "else": { + "operation": "boost", + "score": 0.12887097895145416 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.09658420830965042 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "boost", + "score": 0.10368930548429489 + }, + "else": { + "operation": "boost", + "score": 0.04493116959929466 + } + } + } + } }, "else": { - "operation": "boost", - "score": -0.1989021599292755 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22850088775157928 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": -0.1933455765247345 + }, + "else": { + "operation": "boost", + "score": 0.033427558839321136 + } + } } + }, + "else": { + "operation": "boost", + "score": 0.005932012107223272 } } } @@ -182917,2100 +178651,2072 @@ }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1218.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.4868420958518982, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "boost", + "score": 0.00749246496707201 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2374.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2417.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03769202157855034 + "score": -0.1118156686425209 }, "else": { + "operation": "boost", + "score": 0.023955637589097023 + } + }, + "else": { + "operation": "boost", + "score": -0.025657739490270615 + } + }, + "else": { + "operation": "boost", + "score": 0.0014802623772993684 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1224.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05111749842762947 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 2755.5, "then": { "operation": "boost", - "score": 0.022210512310266495 + "score": 0.10674373060464859 }, "else": { "operation": "boost", - "score": 0.11280570924282074 + "score": 0.11995040625333786 } + }, + "else": { + "operation": "boost", + "score": -0.01559891365468502 } }, "else": { - "operation": "boost", - "score": 0.0055405194871127605 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1365.5, "then": { "operation": "boost", - "score": 0.04386598616838455 + "score": 0.020675111562013626 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 375849.5, + "threshold": 1338.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.0683988481760025 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.12164279073476791 - }, - "else": { - "operation": "boost", - "score": 0.025139085948467255 - } - }, - "else": { - "operation": "boost", - "score": 0.11321821808815002 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02113969437777996 - } - }, - "else": { - "operation": "boost", - "score": 0.06361785531044006 - } + "operation": "boost", + "score": -0.04668193310499191 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 549246.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.0519767589867115 + "score": -0.19981591403484344 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.15778349339962006 - }, - "else": { - "operation": "boost", - "score": -0.02107340283691883 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09271302819252014 - }, - "else": { - "operation": "boost", - "score": 0.0018393052741885185 - } - } + "operation": "boost", + "score": 0.12705089151859283 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10569840669631958 - }, - "else": { - "operation": "boost", - "score": 0.06351368874311447 - } + "operation": "boost", + "score": 0.13037189841270447 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.004289797507226467 - }, - "else": { - "operation": "boost", - "score": -0.017681891098618507 - } + "operation": "boost", + "score": 0.04369893670082092 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.1229759156703949 + }, + "else": { + "operation": "boost", + "score": 0.00476189935579896 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, + "then": { + "operation": "boost", + "score": -0.009437011554837227 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5161.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5204.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Variable" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" + "Macro", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2863636612892151, + "then": { + "operation": "boost", + "score": 0.08872359991073608 + }, + "else": { + "operation": "boost", + "score": -0.03400474414229393 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.5230880379676819 + }, + "else": { + "operation": "boost", + "score": 0.07907228916883469 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.0016502419020980597 + "score": 0.08144064992666245 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0731944665312767 - }, - "else": { - "operation": "boost", - "score": 0.10846473276615143 - } + "operation": "boost", + "score": -0.05477839708328247 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.11557430028915405 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "boost", - "score": 0.09063656628131866 + "score": 0.14004527032375336 }, "else": { - "operation": "boost", - "score": -0.3180624544620514 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2863636612892151, + "then": { + "operation": "boost", + "score": -0.2884790003299713 + }, + "else": { + "operation": "boost", + "score": 0.1341576725244522 + } } + }, + "else": { + "operation": "boost", + "score": -0.2568714916706085 } }, "else": { "operation": "boost", - "score": 0.10354695469141006 + "score": 0.010281368158757687 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.008630182594060898 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.21126312017440796 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.035019855946302414 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "boost", + "score": -0.3757169842720032 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.11277983337640762 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.0, + "then": { + "operation": "boost", + "score": 0.10267037153244019 + }, + "else": { + "operation": "boost", + "score": -0.051565755158662796 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15553.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { + "operation": "boost", + "score": 0.03324376791715622 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19373.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20206.5, - "then": { - "operation": "boost", - "score": 0.046153292059898376 - }, - "else": { - "operation": "boost", - "score": 0.09698224812746048 - } - }, - "else": { - "operation": "boost", - "score": 0.040049389004707336 - } + "operation": "boost", + "score": 0.03870555758476257 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.09777942299842834 - }, - "else": { - "operation": "boost", - "score": 0.007941885851323605 - } - }, - "else": { - "operation": "boost", - "score": 0.11786479502916336 - } + "operation": "boost", + "score": 0.11746573448181152 } - }, - "else": { - "operation": "boost", - "score": 0.04637017846107483 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8200.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8292.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10904.0, - "then": { - "operation": "boost", - "score": 0.008337553590536118 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10810.5, - "then": { - "operation": "boost", - "score": 0.12257318943738937 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10339.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10654.0, - "then": { - "operation": "boost", - "score": -0.2852509617805481 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.05071550980210304 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08219154179096222 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.12452743202447891 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10704021900892258 - }, - "else": { - "operation": "boost", - "score": 0.581957221031189 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9787.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.8290230631828308 - }, - "else": { - "operation": "boost", - "score": -0.013875915668904781 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.0978306233882904 - }, - "else": { - "operation": "boost", - "score": 0.13304394483566284 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.11199961602687836 - }, - "else": { - "operation": "boost", - "score": -0.10608511418104172 - } - } - }, - "else": { - "operation": "boost", - "score": 0.035993095487356186 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11580953747034073 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5934.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10279097408056259 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.16518071293830872 - }, - "else": { - "operation": "boost", - "score": 0.10694635659456253 - } - } - }, - "else": { - "operation": "boost", - "score": 0.023482976481318474 - } - }, - "else": { - "operation": "boost", - "score": 0.12537159025669098 - } - }, - "else": { - "operation": "boost", - "score": 0.04186265170574188 - } - }, - "else": { - "operation": "boost", - "score": -0.010461743921041489 - } - } + "operation": "boost", + "score": -0.06276345252990723 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": -0.379285991191864 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": -0.3647865355014801 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { + "operation": "boost", + "score": 0.08495768904685974 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9252.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.12919610738754272 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { "operation": "boost", - "score": 0.10485595464706421 + "score": 0.0488070473074913 }, "else": { "operation": "boost", - "score": -0.12639206647872925 + "score": 0.11129654198884964 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5522.0, - "then": { - "operation": "boost", - "score": 0.014328856021165848 }, "else": { "operation": "boost", - "score": 0.15248826146125793 + "score": -0.008523523807525635 } } } - }, - "else": { - "operation": "boost", - "score": -0.02707483060657978 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8448.5, - "then": { - "operation": "boost", - "score": -0.188652902841568 - }, - "else": { - "operation": "boost", - "score": 0.1418684422969818 - } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.03860773518681526 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.11637271195650101 + }, + "else": { + "operation": "boost", + "score": 0.12362448871135712 + } + }, + "else": { + "operation": "boost", + "score": -0.12438582628965378 + } }, "else": { - "operation": "boost", - "score": -0.05085595324635506 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": 0.03371777385473251 + }, + "else": { + "operation": "boost", + "score": -0.04726670682430267 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.06237225607037544 - }, - "else": { - "operation": "boost", - "score": -0.19359630346298218 - } + "operation": "boost", + "score": -0.004519737791270018 } } } }, "else": { "operation": "boost", - "score": 0.01917993277311325 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5183.5, - "then": { - "operation": "boost", - "score": 0.1279975324869156 - }, - "else": { - "operation": "boost", - "score": 0.09971169382333755 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1259361207485199 - }, - "else": { - "operation": "boost", - "score": 0.1163831576704979 - } - }, - "else": { - "operation": "boost", - "score": 0.0013331928057596087 - } + "score": -0.02885497361421585 } } }, "else": { + "operation": "boost", + "score": -0.001990227960050106 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 418.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19392986595630646 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_Expression", + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.061979297548532486 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.006984378211200237 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 54332.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": -0.03888782486319542 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11532.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 22379.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2033.5, + "threshold": 41256.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2764.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.14916367828845978 + "score": 0.10755780339241028 }, "else": { "operation": "boost", - "score": 0.11049307882785797 + "score": -0.10696125775575638 } }, "else": { "operation": "boost", - "score": -0.1003488153219223 + "score": -0.005441601388156414 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2422.0, - "then": { - "operation": "boost", - "score": 0.041586898267269135 - }, - "else": { - "operation": "boost", - "score": 0.10863620042800903 - } - }, - "else": { - "operation": "boost", - "score": 0.05651649832725525 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2735.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2833.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 12546.5, "then": { - "operation": "boost", - "score": -0.07841387391090393 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { + "operation": "boost", + "score": 0.14657340943813324 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4035.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4218.0, + "operation": "boost", + "score": -0.16655570268630981 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4762.0, - "then": { - "operation": "boost", - "score": 0.13529297709465027 - }, - "else": { - "operation": "boost", - "score": 0.10264204442501068 - } - }, - "else": { - "operation": "boost", - "score": 0.013061326928436756 - } + "operation": "boost", + "score": 0.15415269136428833 }, "else": { "operation": "boost", - "score": 0.11803414672613144 + "score": 0.13576605916023254 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3393.5, - "then": { - "operation": "boost", - "score": -0.1219141036272049 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10021825134754181 - }, - "else": { - "operation": "boost", - "score": 0.12968353927135468 - } - } + "operation": "boost", + "score": -0.13063950836658478 }, "else": { "operation": "boost", - "score": -0.2074689418077469 + "score": 0.13512086868286133 } + }, + "else": { + "operation": "boost", + "score": -0.10237313061952591 } }, "else": { "operation": "boost", - "score": -0.007563568186014891 + "score": 0.3571297526359558 } } }, + "else": { + "operation": "boost", + "score": 0.09820949286222458 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.06696020811796188 + }, + "else": { + "operation": "boost", + "score": 0.15468481183052063 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2764.5, + "then": { + "operation": "boost", + "score": 0.04715441167354584 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2810.5, + "threshold": 2481.0, "then": { - "operation": "boost", - "score": 0.11090154200792313 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 2586.5, "then": { - "operation": "boost", - "score": -0.356219619512558 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2694.0, + "then": { + "operation": "boost", + "score": 0.14415474236011505 + }, + "else": { + "operation": "boost", + "score": -0.11410806328058243 + } }, "else": { "operation": "boost", - "score": 0.14861692488193512 + "score": 0.14428988099098206 } + }, + "else": { + "operation": "boost", + "score": 0.11052005738019943 } } }, "else": { "operation": "boost", - "score": 0.022682957351207733 + "score": 0.13736645877361298 } }, "else": { "operation": "boost", - "score": 0.028731055557727814 + "score": -0.13670773804187775 } } - }, - "else": { - "operation": "boost", - "score": 0.006414564326405525 } - }, - "else": { - "operation": "boost", - "score": -0.01820977032184601 } + }, + "else": { + "operation": "boost", + "score": -0.05037490278482437 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23210.5, + "then": { + "operation": "boost", + "score": 0.014186015352606773 + }, + "else": { + "operation": "boost", + "score": -0.04297608882188797 } } + }, + "else": { + "operation": "boost", + "score": -0.0010744292521849275 } } }, - "else": { - "operation": "boost", - "score": -0.0032550166361033916 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.023236557841300964 - }, - "else": { - "operation": "boost", - "score": 0.008263060823082924 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0007742340676486492 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "boost", - "score": -0.0006104487692937255 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0020708227530121803 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.11901802569627762 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.014898300170898438 + }, + "else": { + "operation": "boost", + "score": 0.055497460067272186 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 3234.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { - "operation": "boost", - "score": 0.10979258269071579 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.09710296243429184 + }, + "else": { + "operation": "boost", + "score": 0.12897491455078125 + } }, "else": { "operation": "boost", - "score": -0.9023605585098267 + "score": -0.23152711987495422 } }, "else": { - "operation": "boost", - "score": -0.10599112510681152 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3145.5, + "then": { + "operation": "boost", + "score": 0.1268555372953415 + }, + "else": { + "operation": "boost", + "score": -0.018572473898530006 + } } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0016624314012005925 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008136741816997528 + }, + "else": { + "operation": "boost", + "score": 0.002513736952096224 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101593.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007307353895157576 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.0788964331150055 }, "else": { + "operation": "boost", + "score": -0.0437840074300766 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 98088.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.12135990709066391 + "score": 0.09683886170387268 }, "else": { "operation": "boost", - "score": 0.09272236377000809 + "score": 0.11477165669202805 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.016138644888997078 - }, - "else": { - "operation": "boost", - "score": 0.09967547655105591 - } + "operation": "boost", + "score": -0.11833161115646362 } }, "else": { "operation": "boost", - "score": -0.025301750749349594 + "score": 0.06083684787154198 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10753721743822098 + }, + "else": { + "operation": "boost", + "score": -0.005546011961996555 } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { + "operation": "boost", + "score": 0.033183347433805466 + }, + "else": { + "operation": "boost", + "score": 0.08888457715511322 + } } - }, - "else": { - "operation": "boost", - "score": 0.010455294512212276 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 94712.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224557.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.2765735685825348 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.1545838564634323 + }, + "else": { + "operation": "boost", + "score": -0.1506715714931488 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 272339.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 371693.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04141870513558388 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.04418885335326195 - }, - "else": { - "operation": "boost", - "score": 0.12003791332244873 - } - }, - "else": { - "operation": "boost", - "score": -0.3086641728878021 - } - }, - "else": { - "operation": "boost", - "score": 0.0048950244672596455 - } - }, - "else": { - "operation": "boost", - "score": 0.051098279654979706 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.18445390462875366 - }, - "else": { - "operation": "boost", - "score": -0.33777323365211487 - } - } - }, - "else": { - "operation": "boost", - "score": -0.005195758771151304 - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" + "Namespace" ], "then": { "operation": "boost", - "score": 0.04736502096056938 + "score": 0.029452266171574593 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08539951592683792 - }, - "else": { - "operation": "boost", - "score": 0.08135604113340378 - } - }, - "else": { - "operation": "boost", - "score": -0.04389231652021408 - } - }, - "else": { "operation": "boost", - "score": -0.05233699828386307 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1424131542444229 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0476493239402771 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03664757311344147 - }, - "else": { - "operation": "boost", - "score": 0.09623783826828003 - } + "score": 0.0023757184389978647 }, "else": { "operation": "boost", - "score": 0.08037571609020233 + "score": -0.027332454919815063 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type" + ], "then": { "operation": "boost", - "score": 0.11120646446943283 + "score": 0.011446679010987282 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.16138091683387756 - }, - "else": { - "operation": "boost", - "score": -0.11982420831918716 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03179435059428215 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.12572525441646576 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": -0.13084575533866882 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 40755.0, "then": { - "operation": "boost", - "score": -0.21005961298942566 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10741209983825684 - }, - "else": { - "operation": "boost", - "score": -0.17197012901306152 - } + "operation": "boost", + "score": 0.14841961860656738 }, "else": { "operation": "boost", - "score": 0.11781508475542068 + "score": 0.056678447872400284 } - } - }, - "else": { - "operation": "boost", - "score": -0.1807221919298172 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.26099029183387756 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232885.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.10217228531837463 + "score": -0.06871774047613144 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.07761142402887344 - }, - "else": { - "operation": "boost", - "score": 0.09698840230703354 - } + "operation": "boost", + "score": -0.0457843653857708 } } }, "else": { "operation": "boost", - "score": -0.03019111417233944 + "score": -0.0015570458490401506 } } } }, - "else": { - "operation": "boost", - "score": -0.08269952237606049 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": -0.11679304391145706 - }, - "else": { - "operation": "boost", - "score": 0.06343349069356918 - } - }, - "else": { - "operation": "boost", - "score": 0.011836057528853416 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.011074583046138287 - }, - "else": { - "operation": "boost", - "score": -0.2965274453163147 - } - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 32513.5, "then": { "operation": "boost", - "score": -0.10480666905641556 + "score": 0.017153823748230934 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 28306.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, - "then": { - "operation": "boost", - "score": 0.1062367707490921 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10326103121042252 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.052502695471048355 - }, - "else": { - "operation": "boost", - "score": 0.08295854926109314 - } - } - } + "operation": "boost", + "score": -0.059707093983888626 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.03454107046127319 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10201101005077362 - }, - "else": { - "operation": "boost", - "score": 0.06881660968065262 - } - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.4870801568031311 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "boost", + "score": -0.01495064701884985 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.22000953555107117 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": -0.12010848522186279 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.03656211867928505 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.021731168031692505 + }, + "else": { + "operation": "boost", + "score": 0.030957257375121117 + } + } + } }, "else": { "operation": "boost", - "score": 0.18455851078033447 + "score": 0.013275510631501675 } - }, - "else": { - "operation": "boost", - "score": -0.2733423113822937 } + }, + "else": { + "operation": "boost", + "score": 0.019501956179738045 } }, "else": { - "operation": "boost", - "score": 0.12092006206512451 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03390534967184067 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, - "then": { - "operation": "boost", - "score": -0.04603518173098564 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.13506391644477844 - }, - "else": { - "operation": "boost", - "score": -0.08506565541028976 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.13819976150989532 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.06727943569421768 - }, - "else": { - "operation": "boost", - "score": 0.10997273027896881 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, - "then": { - "operation": "boost", - "score": 0.019432341679930687 - }, - "else": { - "operation": "boost", - "score": 0.12223518639802933 - } - }, - "else": { - "operation": "boost", - "score": 0.03628518059849739 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.030186673626303673 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.01636168360710144 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.0032284304033964872 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.03377911448478699 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06954441964626312 + }, + "else": { + "operation": "boost", + "score": -0.03923351317644119 + } }, "else": { "operation": "boost", - "score": 0.10441312938928604 + "score": -0.03012293390929699 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.10134081542491913 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type" + ], "then": { - "operation": "boost", - "score": 0.10284800827503204 - }, - "else": { - "operation": "boost", - "score": 0.10628225654363632 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07936488091945648 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.12566275894641876 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0824810042977333 - }, - "else": { - "operation": "boost", - "score": 0.14086225628852844 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.029267923906445503 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10463807731866837 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.04564548656344414 + }, + "else": { + "operation": "boost", + "score": -0.15529769659042358 + } + }, + "else": { + "operation": "boost", + "score": 0.06419387459754944 + } + }, + "else": { + "operation": "boost", + "score": -0.07368117570877075 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": 0.10496639460325241 + }, + "else": { + "operation": "boost", + "score": 0.04815496876835823 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.05864673852920532 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.03470772132277489 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.04150198772549629 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": 0.11083546280860901 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.037026308476924896 + }, + "else": { + "operation": "boost", + "score": -0.007051641587167978 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.022695478051900864 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.0339239239692688 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.14123205840587616 + }, + "else": { + "operation": "boost", + "score": 0.04520072042942047 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010399160906672478 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1568448692560196 + }, + "else": { + "operation": "boost", + "score": 0.05683870613574982 + } + }, + "else": { + "operation": "boost", + "score": 0.036181047558784485 + } + }, + "else": { + "operation": "boost", + "score": 0.006418443750590086 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19464.5, + "then": { + "operation": "boost", + "score": 0.11872857064008713 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.025473980233073235 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.2097034752368927 + }, + "else": { + "operation": "boost", + "score": 0.08857140690088272 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.014261007308959961 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0034663155674934387 + } } - }, - "else": { - "operation": "boost", - "score": -0.15791502594947815 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.12936906516551971 + "score": -0.011772729456424713 }, "else": { - "operation": "boost", - "score": -0.12162468582391739 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114921.5, - "then": { - "operation": "boost", - "score": -0.038184769451618195 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111169.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 26.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.09237099438905716 - }, - "else": { - "operation": "boost", - "score": 0.1102161854505539 - } + "operation": "boost", + "score": 0.09820578992366791 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": -0.19218555092811584 + "score": 0.07269033044576645 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.07952222228050232 - }, - "else": { - "operation": "boost", - "score": 0.16841985285282135 - } - }, - "else": { - "operation": "boost", - "score": 0.049864958971738815 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10598640888929367 - }, - "else": { - "operation": "boost", - "score": -0.10289919376373291 - } - } - }, - "else": { - "operation": "boost", - "score": -0.17278435826301575 - } + "operation": "boost", + "score": 0.001352529739961028 } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.021520335227251053 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.03552021458745003 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.06475502252578735 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.12906621396541595 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.34873783588409424 + }, + "else": { + "operation": "boost", + "score": 0.07871928066015244 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": -4.078963279724121 + }, + "else": { + "operation": "boost", + "score": 0.05776024982333183 + } + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.09173852205276489 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.12529131770133972 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.029411764815449715, + "then": { + "operation": "boost", + "score": 0.02548973634839058 + }, + "else": { + "operation": "boost", + "score": -0.01674666255712509 + } + } }, "else": { "operation": "boost", - "score": 0.10452830046415329 + "score": -0.10195588320493698 } } }, "else": { - "operation": "boost", - "score": 0.05126141384243965 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.11195947974920273 + }, + "else": { + "operation": "boost", + "score": 0.046296052634716034 + } + }, + "else": { + "operation": "boost", + "score": -0.07628229260444641 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05658329650759697 + }, + "else": { + "operation": "boost", + "score": -0.0840420126914978 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.030207747593522072 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.028964461758732796 + }, + "else": { + "operation": "boost", + "score": 0.021728480234742165 + } + } + } + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { + "operation": "boost", + "score": 0.047187164425849915 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.1290520876646042 + "score": -0.016152985394001007 }, "else": { - "operation": "boost", - "score": 0.12457208335399628 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.09823276102542877 + }, + "else": { + "operation": "boost", + "score": 0.04049789533019066 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.006056106649339199 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.0314520001411438 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.002095353789627552 + }, + "else": { + "operation": "boost", + "score": 0.005663914140313864 + } + } + } + } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.01896762102842331 }, "else": { "operation": "boost", - "score": 0.03811832144856453 + "score": -0.0251948032528162 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.011592444963753223 }, "else": { "operation": "boost", - "score": -0.1272299885749817 + "score": -0.010772663168609142 } - }, - "else": { - "operation": "boost", - "score": 0.017967475578188896 } } }, @@ -185018,4228 +180724,3400 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, - "then": { - "operation": "boost", - "score": -0.3318637013435364 - }, - "else": { - "operation": "boost", - "score": 0.05556093901395798 - } + "operation": "boost", + "score": 0.00412809057161212 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.07947981357574463 + "score": 0.04637395218014717 }, "else": { "operation": "boost", - "score": 0.10276860743761063 + "score": -0.034317828714847565 } } }, "else": { "operation": "boost", - "score": -0.007212852127850056 + "score": -0.04657662659883499 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.03962619975209236 - }, - "else": { - "operation": "boost", - "score": -0.17059458792209625 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.19600655138492584 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.5522753000259399 + "score": -0.004893117118626833 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.10391171276569366 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.11308499425649643 - }, - "else": { - "operation": "boost", - "score": 0.04663468524813652 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.029351484030485153 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12053915113210678 - }, - "else": { - "operation": "boost", - "score": 0.09420761466026306 - } - } - } + "operation": "boost", + "score": 0.01724916510283947 }, "else": { "operation": "boost", - "score": 0.08208692073822021 + "score": -0.0320163331925869 } } - } - }, - "else": { - "operation": "boost", - "score": -0.00466281408444047 - } - } - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03138437867164612 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00022247483138926327 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": 0.006193504203110933 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.12850725650787354 - }, - "else": { - "operation": "boost", - "score": 0.06090034916996956 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.08797184377908707 - }, - "else": { - "operation": "boost", - "score": 0.11115584522485733 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": -0.08106445521116257 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.014778465032577515 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.24404621124267578 + "score": 0.024041756987571716 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.08886601775884628 + "score": -0.04951898381114006 }, "else": { "operation": "boost", - "score": 0.1368524134159088 + "score": 0.03630492836236954 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.019440477713942528 - }, - "else": { - "operation": "boost", - "score": 0.08435211330652237 - } } - }, - "else": { - "operation": "boost", - "score": 0.0634060725569725 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.1554875522851944 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.014461904764175415 - }, - "else": { - "operation": "boost", - "score": 0.05839749425649643 - } - }, - "else": { - "operation": "boost", - "score": 0.0335591621696949 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07167471200227737 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.1292661428451538 - }, - "else": { - "operation": "boost", - "score": -0.15031376481056213 - } - } - } + "operation": "boost", + "score": 0.1194930225610733 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, - "then": { - "operation": "boost", - "score": -0.14067600667476654 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, - "then": { - "operation": "boost", - "score": 0.026525050401687622 - }, - "else": { - "operation": "boost", - "score": 0.1139201894402504 - } - }, - "else": { - "operation": "boost", - "score": 0.07357488572597504 - } - } + "operation": "boost", + "score": 0.23504610359668732 } + }, + "else": { + "operation": "boost", + "score": -0.019972670823335648 } } }, "else": { - "operation": "boost", - "score": -0.10928681492805481 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.10113069415092468 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.029982229694724083 + "score": -0.02967793121933937 }, "else": { "operation": "boost", - "score": 0.08622101694345474 + "score": 0.03039899282157421 } + }, + "else": { + "operation": "boost", + "score": -0.019270317628979683 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 59716.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0876929759979248 - }, - "else": { - "operation": "boost", - "score": -0.01610756292939186 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 61387.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.08189026266336441 + "score": 0.07593152672052383 }, "else": { "operation": "boost", - "score": 0.10978472232818604 + "score": -0.1119447872042656 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": -0.11405796557664871 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "boost", - "score": 0.1040879562497139 - }, - "else": { - "operation": "boost", - "score": 0.06724292039871216 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, - "then": { - "operation": "boost", - "score": -0.007096884772181511 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14262470602989197 - }, - "else": { - "operation": "boost", - "score": 0.14579525589942932 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13430732488632202 - }, - "else": { - "operation": "boost", - "score": -0.0032370772678405046 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1668754369020462 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.05444084480404854 + "score": 0.22518962621688843 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1632729470729828 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.2844131886959076 - }, - "else": { - "operation": "boost", - "score": -0.14636772871017456 - } - } + "operation": "boost", + "score": -0.49226096272468567 } - }, - "else": { - "operation": "boost", - "score": 0.14302153885364532 } }, "else": { "operation": "boost", - "score": 0.055492103099823 + "score": -0.034750133752822876 } } } } }, + "else": { + "operation": "boost", + "score": 0.00735706090927124 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.0060614896938204765 + }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.0009965458884835243 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.10622710734605789 + "score": -0.002975654788315296 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.033954720944166183 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.11366824805736542 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.0054720924235880375 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.10068035125732422 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185218.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.02807369828224182 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, - "then": { - "operation": "boost", - "score": 0.10533653944730759 - }, - "else": { - "operation": "boost", - "score": -0.2070544958114624 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155294.5, - "then": { - "operation": "boost", - "score": 0.09246832877397537 - }, - "else": { - "operation": "boost", - "score": 0.08233324438333511 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, - "then": { - "operation": "boost", - "score": 0.054909512400627136 - }, - "else": { - "operation": "boost", - "score": 0.06244036555290222 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185218.0, - "then": { - "operation": "boost", - "score": -0.7972574830055237 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155294.5, - "then": { - "operation": "boost", - "score": 0.1254744678735733 - }, - "else": { - "operation": "boost", - "score": -0.10218759626150131 - } - } - } + "operation": "boost", + "score": 0.05767285078763962 }, "else": { "operation": "boost", - "score": -0.03128013014793396 + "score": -0.12522552907466888 } } - }, - "else": { + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01303115114569664 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_Statement", "CCC_TopLevel", - "CCC_Type" + "CCC_Type", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FractionNameInContext", + "threshold": 0.0515873022377491, "then": { "operation": "boost", - "score": 0.0049558160826563835 + "score": 0.012234548106789589 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205376.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.025301268324255943 + }, + "else": { + "operation": "boost", + "score": 0.030299127101898193 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010740390047430992 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.949999988079071, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1258709728717804 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", - "score": 0.024832243099808693 + "score": 0.09807255119085312 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.187926784157753 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11498460173606873 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.11409588158130646 - }, - "else": { - "operation": "boost", - "score": 0.05577322468161583 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1019483432173729 - }, - "else": { - "operation": "boost", - "score": -0.11703018099069595 - } - }, - "else": { - "operation": "boost", - "score": -0.12019730359315872 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.019374847412109375 - } - }, - "else": { - "operation": "boost", - "score": 0.043247371912002563 - } - }, - "else": { - "operation": "boost", - "score": 0.06404571980237961 - } + "operation": "boost", + "score": -0.19874314963817596 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144686.0, - "then": { - "operation": "boost", - "score": -0.11201857775449753 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105661.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 137180.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0662936195731163 - }, - "else": { - "operation": "boost", - "score": 0.1094435378909111 - } - }, - "else": { - "operation": "boost", - "score": -0.038930103182792664 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.07705467194318771 - }, - "else": { - "operation": "boost", - "score": -0.20690159499645233 - } - }, - "else": { - "operation": "boost", - "score": -0.4481494128704071 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129672.5, - "then": { - "operation": "boost", - "score": 0.11300969123840332 - }, - "else": { - "operation": "boost", - "score": -0.15086965262889862 - } - } - }, - "else": { - "operation": "boost", - "score": 0.00570674566552043 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2419901341199875 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08953233808279037 - }, - "else": { - "operation": "boost", - "score": -0.0007100976072251797 - } - }, - "else": { - "operation": "boost", - "score": -0.003734510624781251 - } - }, - "else": { - "operation": "boost", - "score": 0.05724112316966057 - } - }, - "else": { - "operation": "boost", - "score": -0.09639541804790497 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.04928546026349068 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1284315139055252 - }, - "else": { - "operation": "boost", - "score": -0.14387303590774536 - } - }, - "else": { - "operation": "boost", - "score": 0.19153042137622833 - } - } - }, - "else": { - "operation": "boost", - "score": 0.026946403086185455 - } - }, - "else": { - "operation": "boost", - "score": -0.02341577038168907 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10742373764514923 - } + "operation": "boost", + "score": 0.0510077141225338 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": 0.014973265118896961 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0961185172200203 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.004991411231458187 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.027715055271983147 + "score": -0.04078677296638489 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 94883.5, - "then": { - "operation": "boost", - "score": 0.031136404722929 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08322466164827347 - }, - "else": { - "operation": "boost", - "score": 0.09838616847991943 - } - }, - "else": { - "operation": "boost", - "score": 0.10080836713314056 - } - } - }, - "else": { - "operation": "boost", - "score": -0.009104610420763493 - } + "operation": "boost", + "score": 0.020131388679146767 } }, "else": { - "operation": "boost", - "score": -0.011235314421355724 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.1055484265089035 + }, + "else": { + "operation": "boost", + "score": -0.004018100444227457 + } } } } } + }, + "else": { + "operation": "boost", + "score": -0.028723297640681267 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10526712238788605 - }, - "else": { - "operation": "boost", - "score": -0.03329630196094513 - } - }, - "else": { - "operation": "boost", - "score": -0.10448475927114487 - } - } - }, - "else": { - "operation": "boost", - "score": 0.002649355912581086 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.001292180037125945 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.015253346413373947 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_Type" + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, "then": { + "operation": "boost", + "score": -0.0040410407818853855 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 243.5, - "then": { - "operation": "boost", - "score": 0.08973536640405655 - }, - "else": { - "operation": "boost", - "score": 0.10733070224523544 - } - }, - "else": { - "operation": "boost", - "score": 0.04419565200805664 - } + "operation": "boost", + "score": 0.01162667479366064 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.12492299824953079 + "score": 0.02511112578213215 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.07204645872116089 + "score": 0.04547983035445213 }, "else": { "operation": "boost", - "score": 0.09999780356884003 + "score": -0.07719141244888306 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.0955670177936554 }, "else": { - "operation": "boost", - "score": 0.05569954961538315 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0228638406842947 + }, + "else": { + "operation": "boost", + "score": -0.0394623763859272 + } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007796879857778549 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Constructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": 0.051225464791059494 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.018518518656492233, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0370333269238472 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11626409739255905 - }, - "else": { - "operation": "boost", - "score": 0.11198407411575317 - } - } + "operation": "boost", + "score": -0.004428735934197903 }, "else": { "operation": "boost", - "score": 0.05689617618918419 + "score": -0.029613174498081207 } - }, - "else": { - "operation": "boost", - "score": 0.06262745708227158 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": 0.08236151933670044 + }, + "else": { + "operation": "boost", + "score": 0.0025961408391594887 + } }, "else": { "operation": "boost", - "score": 0.019252624362707138 + "score": -0.03839225322008133 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.002472211606800556 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.037286754697561264 + }, + "else": { + "operation": "boost", + "score": -0.039847567677497864 + } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.018368560820817947 + "score": 0.040251292288303375 }, "else": { "operation": "boost", - "score": 0.006674942094832659 + "score": -0.0437786728143692 } } } - }, - "else": { - "operation": "boost", - "score": -0.007177260704338551 } } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "operation": "boost", + "score": 0.03878917545080185 + }, + "else": { + "operation": "boost", + "score": -0.008336059749126434 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 272339.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { + "operation": "boost", + "score": 0.044125039130449295 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": 0.00313093070872128 - }, - "else": { + "operation": "boost", + "score": -0.011474181897938251 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" + "ClassScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.16775017976760864 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09599869698286057 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0394623689353466 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.029478473588824272 - }, - "else": { - "operation": "boost", - "score": -0.13563001155853271 - } - }, - "else": { - "operation": "boost", - "score": -0.017284035682678223 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06736735254526138 - }, - "else": { - "operation": "boost", - "score": 0.12789775431156158 - } - }, - "else": { - "operation": "boost", - "score": -0.06830073893070221 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "boost", - "score": 0.0359327532351017 + "score": 0.027825117111206055 }, "else": { "operation": "boost", - "score": 0.06822729855775833 + "score": 0.0943220779299736 } - } - }, - "else": { - "operation": "boost", - "score": -0.008604584261775017 - } - } - }, - "else": { - "operation": "boost", - "score": -0.08787219971418381 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.04207754135131836 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.11401046812534332 + "score": 0.024581633508205414 }, "else": { "operation": "boost", - "score": 0.07296978682279587 + "score": 0.0014805186074227095 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10956182330846786 - }, - "else": { - "operation": "boost", - "score": 0.1459929645061493 - } + "operation": "boost", + "score": 0.011040838435292244 } }, "else": { "operation": "boost", - "score": -0.04057147726416588 + "score": -0.1408228576183319 } - }, - "else": { - "operation": "boost", - "score": -0.04789147898554802 } } }, "else": { - "operation": "boost", - "score": -0.15148550271987915 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.11318431049585342 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.15962418913841248 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { - "operation": "boost", - "score": 0.009314138442277908 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { + "operation": "boost", + "score": -0.1314740628004074 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.1861058473587036 + "score": 0.09635115414857864 }, "else": { "operation": "boost", - "score": 0.10136791318655014 + "score": 0.03760522976517677 } - }, - "else": { - "operation": "boost", - "score": -0.11509360373020172 } }, "else": { + "operation": "boost", + "score": 0.01810985989868641 + } + }, + "else": { + "operation": "boost", + "score": 0.012111708521842957 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0067160180769860744 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.5902777910232544, "then": { - "operation": "boost", - "score": 0.0545014888048172 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { "operation": "boost", - "score": 0.048835474997758865 + "score": 0.07565616816282272 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09958828240633011 - }, - "else": { - "operation": "boost", - "score": -0.11017901450395584 - } - }, - "else": { - "operation": "boost", - "score": -0.11819904297590256 - } + "operation": "boost", + "score": 0.17735838890075684 } + }, + "else": { + "operation": "boost", + "score": 0.027767790481448174 } + }, + "else": { + "operation": "boost", + "score": -0.010808801278471947 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.0251962561160326 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.012601910158991814 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06843555718660355 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "boost", + "score": 0.10089290142059326 + }, + "else": { + "operation": "boost", + "score": -0.2198437750339508 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08375168591737747 + "score": 0.02295619063079357 }, "else": { "operation": "boost", - "score": 0.024166135117411613 + "score": 0.14077213406562805 } }, "else": { "operation": "boost", - "score": 0.04132293164730072 + "score": 0.11527787894010544 } - }, - "else": { - "operation": "boost", - "score": -0.17688331007957458 } - } - }, - "else": { - "operation": "boost", - "score": 0.036063358187675476 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.2868620455265045 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.1045474261045456 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005511674098670483 + }, + "else": { + "operation": "boost", + "score": 0.08540590852499008 + } + }, + "else": { + "operation": "boost", + "score": 0.012404259294271469 + } }, "else": { "operation": "boost", - "score": 0.061720918864011765 + "score": -0.017055222764611244 } }, "else": { - "operation": "boost", - "score": -0.05247432366013527 + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09242419898509979 + }, + "else": { + "operation": "boost", + "score": 0.007527480833232403 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232885.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09583796560764313 + "score": -0.026825908571481705 }, "else": { - "operation": "boost", - "score": -0.05615357682108879 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008293534629046917 + }, + "else": { + "operation": "boost", + "score": -0.008304610848426819 + } } }, "else": { "operation": "boost", - "score": 0.12723635137081146 + "score": -0.00025957004982046783 } } } }, "else": { - "operation": "boost", - "score": 0.032590389251708984 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.03127264976501465 + }, + "else": { + "operation": "boost", + "score": 0.0029050633311271667 + } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04638173058629036 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.058936066925525665 - }, - "else": { - "operation": "boost", - "score": -0.01833438128232956 - } + "operation": "boost", + "score": -0.036952536553144455 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "boost", - "score": -0.05217938870191574 + "score": 0.030090264976024628 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12058857083320618 + "score": -0.013557438738644123 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93017.5, - "then": { - "operation": "boost", - "score": 0.09572631865739822 - }, - "else": { - "operation": "boost", - "score": -0.1066669225692749 - } + "operation": "boost", + "score": 0.07717171311378479 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93017.5, - "then": { - "operation": "boost", - "score": 0.1291910707950592 - }, - "else": { - "operation": "boost", - "score": -0.2539672255516052 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11867091804742813 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.057006314396858215 - }, - "else": { - "operation": "boost", - "score": 0.10197755694389343 - } - } - } + "operation": "boost", + "score": 0.008119088597595692 } } }, "else": { "operation": "boost", - "score": -0.03683772310614586 + "score": 0.0007229075417853892 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { + "operation": "boost", + "score": -0.09277409315109253 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { - "operation": "boost", - "score": 0.018885886296629906 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.021698391065001488 + "score": -0.10741609334945679 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00011253944103373215 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "boost", - "score": 0.030655520036816597 - }, - "else": { - "operation": "boost", - "score": 0.10442744195461273 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0998024269938469 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.1010546013712883 - }, - "else": { - "operation": "boost", - "score": 0.10263639688491821 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0726427212357521 - } - } + "operation": "boost", + "score": 0.07809469103813171 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, - "then": { - "operation": "boost", - "score": -0.10737399756908417 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.043613702058792114 - }, - "else": { - "operation": "boost", - "score": 0.13825589418411255 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12988494336605072 - }, - "else": { - "operation": "boost", - "score": -0.054985810071229935 - } - } + "operation": "boost", + "score": -0.14348240196704865 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, - "then": { - "operation": "boost", - "score": 0.1451217085123062 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "boost", - "score": 0.010279039852321148 - }, - "else": { - "operation": "boost", - "score": 0.11730262637138367 - } - }, - "else": { - "operation": "boost", - "score": -0.0033449972979724407 - } - } + "operation": "boost", + "score": -0.07767779380083084 } } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 104.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "boost", + "score": 0.030663302168250084 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11328443139791489 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 84.5, "then": { "operation": "boost", - "score": 0.04686615988612175 + "score": 0.1363927125930786 }, "else": { "operation": "boost", - "score": 0.10437966883182526 + "score": 0.08278275281190872 } - }, - "else": { - "operation": "boost", - "score": 0.06894233077764511 } }, "else": { "operation": "boost", - "score": -0.1419445276260376 + "score": 0.11178727447986603 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.000523740251082927 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.25732576847076416 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12277676165103912 + "score": -0.1311606913805008 }, "else": { "operation": "boost", - "score": -0.12133265286684036 + "score": 0.009878815151751041 } + }, + "else": { + "operation": "boost", + "score": -0.01701691746711731 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.035098522901535034, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.039230771362781525, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" + "Constructor", + "Macro" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.020543130114674568 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11336708813905716 - }, - "else": { - "operation": "boost", - "score": -0.13760749995708466 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.106744185090065 + "score": 0.0599638931453228 }, "else": { "operation": "boost", - "score": 0.1684507131576538 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.19972604513168335 - }, - "else": { - "operation": "boost", - "score": 0.015421253629028797 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153907.0, - "then": { - "operation": "boost", - "score": -0.2075628936290741 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108984.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.08121688663959503 - }, - "else": { - "operation": "boost", - "score": 0.02414862811565399 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, - "then": { - "operation": "boost", - "score": -0.11666266620159149 - }, - "else": { - "operation": "boost", - "score": 0.07088401168584824 - } + "score": -0.03965172916650772 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120524.0, - "then": { - "operation": "boost", - "score": -0.05941716954112053 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.009137528948485851 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108984.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.1579461246728897 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.1039445698261261 + "score": 0.07329436391592026 }, "else": { "operation": "boost", - "score": -0.10279306769371033 + "score": -0.0982820987701416 } + }, + "else": { + "operation": "boost", + "score": 0.0784081295132637 } }, "else": { "operation": "boost", - "score": -0.11470875889062881 + "score": 0.01116863451898098 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, - "then": { - "operation": "boost", - "score": 0.003952501341700554 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10710014402866364 - }, - "else": { - "operation": "boost", - "score": -0.024231011047959328 - } - } + "operation": "boost", + "score": 0.04095606878399849 }, "else": { "operation": "boost", - "score": 0.008819935843348503 + "score": 0.01760183647274971 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.102289117872715 - }, - "else": { - "operation": "boost", - "score": -0.12487131357192993 - } + "operation": "boost", + "score": 0.0011690022656694055 } } + }, + "else": { + "operation": "boost", + "score": -0.033140093088150024 } } + }, + "else": { + "operation": "boost", + "score": -0.012623968534171581 } - } - }, - "else": { - "operation": "boost", - "score": -0.03955107554793358 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114921.5, - "then": { - "operation": "boost", - "score": -0.039426352828741074 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111169.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.09557920694351196 - }, - "else": { - "operation": "boost", - "score": 0.09699560701847076 - } + "operation": "boost", + "score": -0.014136821031570435 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.19469821453094482 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.018576625734567642 + }, + "else": { + "operation": "boost", + "score": -0.002336552133783698 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10485226660966873 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.12971550226211548 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.019478069618344307 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.12355650216341019 - }, - "else": { - "operation": "boost", - "score": -0.17564435303211212 - } - } - } - } + "operation": "boost", + "score": 0.0695246160030365 }, "else": { "operation": "boost", - "score": -0.12247178703546524 + "score": 0.013858671300113201 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.01845489628612995 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06919911503791809 + }, + "else": { + "operation": "boost", + "score": 0.036244772374629974 + } + } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "boost", + "score": 0.002136986004188657 + }, + "else": { + "operation": "boost", + "score": -0.010153657756745815 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "boost", - "score": 0.22949498891830444 + "score": -0.05909198895096779 }, "else": { "operation": "boost", - "score": -0.18277420103549957 + "score": 0.1420530378818512 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.17784470319747925 + }, + "else": { + "operation": "boost", + "score": -0.03960204869508743 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.01786086894571781 }, "else": { "operation": "boost", - "score": 0.0539587140083313 + "score": -0.10552618652582169 } }, "else": { "operation": "boost", - "score": 0.0019574412144720554 + "score": -0.0014802414225414395 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.001390197197906673 + }, + "else": { + "operation": "boost", + "score": 0.007861419580876827 } } + }, + "else": { + "operation": "boost", + "score": -0.0029140650294721127 } } + }, + "else": { + "operation": "boost", + "score": 0.41247108578681946 } + }, + "else": { + "operation": "boost", + "score": -0.002749080304056406 } } } - }, - "else": { - "operation": "boost", - "score": 0.0014810938155278563 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32342.0, - "then": { - "operation": "boost", - "score": -0.044586408883333206 - }, - "else": { - "operation": "boost", - "score": 0.003828794928267598 - } - }, - "else": { - "operation": "boost", - "score": -0.000675576739013195 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2127.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2130.5, + "feature": "FileProximityDistanceCost", + "threshold": 29.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31879.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.011573518626391888 + "score": 0.030647119507193565 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6360.5, + "operation": "boost", + "score": 0.013352826237678528 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, - "then": { - "operation": "boost", - "score": 0.05024126544594765 - }, - "else": { - "operation": "boost", - "score": 0.10232427716255188 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06312283873558044 + "score": 0.1974688172340393 }, "else": { - "operation": "boost", - "score": 0.10506380349397659 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.17846496403217316 + }, + "else": { + "operation": "boost", + "score": -0.061002109199762344 + } } }, "else": { "operation": "boost", - "score": 0.014738406985998154 + "score": -0.10871422290802002 } + }, + "else": { + "operation": "boost", + "score": -0.624359667301178 } + }, + "else": { + "operation": "boost", + "score": 0.006319113075733185 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.012310375459492207 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { - "operation": "boost", - "score": 0.04235474765300751 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.037362027913331985 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007795094978064299 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.02891029603779316 + }, + "else": { + "operation": "boost", + "score": -0.21593999862670898 + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25627.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25940.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.026077790185809135 + }, + "else": { + "operation": "boost", + "score": 0.05128052458167076 + } + }, + "else": { + "operation": "boost", + "score": 0.011515296064317226 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.15622597932815552 + }, + "else": { + "operation": "boost", + "score": -0.1001325249671936 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.08070877939462662 + }, + "else": { + "operation": "boost", + "score": -0.1392795890569687 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.030144095420837402 + "score": 0.15256302058696747 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.051838286221027374 + "score": 0.027194920927286148 }, "else": { + "operation": "boost", + "score": -0.09970366209745407 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12243681401014328 + "score": -0.09483659267425537 }, "else": { "operation": "boost", - "score": 0.06668416410684586 + "score": 0.008731959387660027 } + }, + "else": { + "operation": "boost", + "score": -0.004675008822232485 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11233007907867432 + }, + "else": { + "operation": "boost", + "score": 0.007869773544371128 } } - }, - "else": { - "operation": "boost", - "score": -0.007614204194396734 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_TopLevel" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { - "operation": "boost", - "score": 0.10270313173532486 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.07206682115793228 + }, + "else": { + "operation": "boost", + "score": -0.0015550142852589488 + } }, "else": { - "operation": "boost", - "score": 0.06519964337348938 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04178120940923691 + }, + "else": { + "operation": "boost", + "score": -0.029132375493645668 + } } } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006533915642648935 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.02277120016515255 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -2.612753087305464e-05 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.03794875368475914 + }, + "else": { + "operation": "boost", + "score": -0.20701996982097626 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.006935046054422855 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5187.0, + "then": { + "operation": "boost", + "score": 0.07261147350072861 + }, + "else": { + "operation": "boost", + "score": -0.028424011543393135 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.015384029597043991 + }, + "else": { + "operation": "boost", + "score": 0.08977698534727097 + } }, "else": { "operation": "boost", - "score": -0.07028772681951523 + "score": 0.07346714287996292 } + }, + "else": { + "operation": "boost", + "score": 0.025957927107810974 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.03389984369277954 + }, + "else": { + "operation": "boost", + "score": 0.0013326467014849186 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.005824715830385685 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5161.0, + "threshold": 27.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5204.0, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { + "operation": "boost", + "score": -0.014481354504823685 + }, + "else": { + "operation": "boost", + "score": -0.09426949918270111 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0409083291888237 + }, + "else": { + "operation": "boost", + "score": 0.010950912721455097 + } + } + }, + "else": { + "operation": "boost", + "score": -0.036922987550497055 + } + }, + "else": { + "operation": "boost", + "score": 0.029071133583784103 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.0, + "then": { + "operation": "boost", + "score": 0.1318715512752533 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.01984906941652298 + }, + "else": { + "operation": "boost", + "score": 0.10309440642595291 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.01483512856066227 + }, + "else": { + "operation": "boost", + "score": -0.06383675336837769 + } + }, + "else": { + "operation": "boost", + "score": 0.03891408443450928 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.001461015548557043 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.026021623983979225 + }, + "else": { + "operation": "boost", + "score": -0.05662216618657112 + } + }, + "else": { + "operation": "boost", + "score": -0.13625440001487732 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.24990403652191162 + "score": 0.06531166285276413 }, "else": { "operation": "boost", - "score": 0.11163507401943207 + "score": -0.016013454645872116 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "boost", + "score": -0.014857595786452293 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.07375877350568771 + "score": -0.025708360597491264 }, "else": { - "operation": "boost", - "score": 0.10880213975906372 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.11488284915685654 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.06699799746274948 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.344493567943573 + }, + "else": { + "operation": "boost", + "score": -2.5616343021392822 + } + } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", "Constructor", + "Destructor", "Function", - "Type" + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { - "operation": "boost", - "score": 0.08848465234041214 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09038715809583664 + }, + "else": { + "operation": "boost", + "score": -0.04872964322566986 + } }, "else": { "operation": "boost", - "score": -0.2388419210910797 + "score": -0.5548510551452637 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.3106423616409302 }, "else": { "operation": "boost", - "score": 0.09287599474191666 + "score": 0.0021411709021776915 } + }, + "else": { + "operation": "boost", + "score": -0.042472995817661285 } + }, + "else": { + "operation": "boost", + "score": 0.03559790179133415 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.9256091117858887 }, "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "boost", + "score": 0.07578161358833313 + }, + "else": { + "operation": "boost", + "score": -0.07016465812921524 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12227088958024979 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.044001512229442596 + }, + "else": { + "operation": "boost", + "score": -0.12362933158874512 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { + "operation": "boost", + "score": -0.01640508510172367 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.1097242683172226 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": 0.0457572266459465 + }, + "else": { + "operation": "boost", + "score": 0.15349778532981873 + } + }, + "else": { + "operation": "boost", + "score": 0.02310495637357235 + } + }, + "else": { + "operation": "boost", + "score": 0.06777944415807724 + } + }, + "else": { + "operation": "boost", + "score": 0.018574628978967667 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8200.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.02743743360042572 + }, + "else": { + "operation": "boost", + "score": 0.021612467244267464 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, + "then": { + "operation": "boost", + "score": -0.007628526538610458 + }, + "else": { + "operation": "boost", + "score": -0.06712199002504349 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8292.0, + "feature": "FractionNameInContext", + "threshold": 0.06794321537017822, "then": { "operation": "boost", - "score": 0.05124371126294136 + "score": 0.21923542022705078 }, "else": { "operation": "boost", - "score": 0.11503271013498306 + "score": -0.2608596682548523 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7486.5, - "then": { - "operation": "boost", - "score": -0.260355144739151 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7145.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09733472764492035 - }, - "else": { - "operation": "boost", - "score": 0.105662040412426 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.04031367227435112 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7316.0, - "then": { - "operation": "boost", - "score": 0.06252143532037735 - }, - "else": { - "operation": "boost", - "score": 0.10333114862442017 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5257.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.33878710865974426 - }, - "else": { - "operation": "boost", - "score": 0.11227679252624512 - } - }, - "else": { - "operation": "boost", - "score": 0.03138994053006172 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0903639942407608 - }, - "else": { - "operation": "boost", - "score": 0.10265905410051346 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03173929825425148 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.5461257100105286 - }, - "else": { - "operation": "boost", - "score": -0.051980361342430115 - } - }, - "else": { - "operation": "boost", - "score": 0.0225831288844347 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.14873726665973663 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18842.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19538.5, - "then": { - "operation": "boost", - "score": -0.1550024151802063 - }, - "else": { - "operation": "boost", - "score": 0.11559838056564331 - } - }, - "else": { - "operation": "boost", - "score": -0.035683147609233856 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07464684545993805 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10100322216749191 - }, - "else": { - "operation": "boost", - "score": 0.09995637089014053 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20538.5, - "then": { - "operation": "boost", - "score": 0.1019158661365509 - }, - "else": { - "operation": "boost", - "score": 0.11765909194946289 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07118996232748032 - } - }, - "else": { - "operation": "boost", - "score": -0.007889126427471638 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7788.5, - "then": { - "operation": "boost", - "score": -0.1302732229232788 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7347.5, - "then": { - "operation": "boost", - "score": 0.11499562859535217 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5314.5, - "then": { - "operation": "boost", - "score": 0.09242171794176102 - }, - "else": { - "operation": "boost", - "score": 0.17838045954704285 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13807.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13840.5, + "operation": "boost", + "score": 0.023834899067878723 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.002918862272053957 + "score": -0.09534350037574768 }, "else": { "operation": "boost", - "score": 0.1947464495897293 + "score": -0.9258720278739929 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9294.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.09916316717863083 - }, - "else": { - "operation": "boost", - "score": -0.21260038018226624 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6879.0, - "then": { - "operation": "boost", - "score": 0.11528196185827255 - }, - "else": { - "operation": "boost", - "score": -0.11673147976398468 - } - }, - "else": { - "operation": "boost", - "score": -0.2677822411060333 - } + "score": 0.003725592512637377 }, "else": { "operation": "boost", - "score": -0.11379683762788773 + "score": -0.10818687826395035 } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05162372067570686 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19792.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.05272141471505165 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20587.0, - "then": { - "operation": "boost", - "score": 0.054418280720710754 }, "else": { "operation": "boost", - "score": 0.13683924078941345 + "score": -0.043849095702171326 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23353.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.050247445702552795 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03708116337656975 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.0755399689078331 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21573.0, - "then": { - "operation": "boost", - "score": -0.6633085608482361 - }, - "else": { - "operation": "boost", - "score": 0.16873504221439362 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21996.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10278749465942383 - }, - "else": { - "operation": "boost", - "score": 0.14544525742530823 - } - }, - "else": { - "operation": "boost", - "score": -0.45706605911254883 - } - } - } - } - }, - "else": { "operation": "boost", - "score": 0.03568730875849724 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12460901588201523 - }, - "else": { - "operation": "boost", - "score": -0.7221584320068359 - } - }, - "else": { - "operation": "boost", - "score": 0.0914522036910057 - } + "score": 0.1155441403388977 }, "else": { "operation": "boost", - "score": -0.027696285396814346 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10204457491636276 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1041112169623375 - }, - "else": { - "operation": "boost", - "score": 0.11102046072483063 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.01907159760594368 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5630.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15518.5, - "then": { - "operation": "boost", - "score": -0.09817404299974442 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7839.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11701926589012146 - }, - "else": { - "operation": "boost", - "score": 0.14632359147071838 - } - }, - "else": { - "operation": "boost", - "score": 0.07599849998950958 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10012.5, - "then": { - "operation": "boost", - "score": 0.0025700365658849478 - }, - "else": { - "operation": "boost", - "score": 0.09415304660797119 - } + "score": -0.014544609934091568 } }, - "else": { - "operation": "boost", - "score": -0.014529695734381676 - } - }, - "else": { - "operation": "boost", - "score": 0.04228074103593826 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -1.5354560613632202 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14441.5, - "then": { - "operation": "boost", - "score": 0.10691352188587189 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.10774162411689758 - }, - "else": { - "operation": "boost", - "score": 0.067308709025383 - } - } + "operation": "boost", + "score": -0.151570662856102 }, "else": { "operation": "boost", - "score": 0.005694903898984194 + "score": 0.11665213853120804 } } }, "else": { "operation": "boost", - "score": -0.09109583497047424 + "score": -0.025387190282344818 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.3065454065799713 - }, - "else": { - "operation": "boost", - "score": 0.19374851882457733 - } } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02349306456744671 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { + "operation": "boost", + "score": -0.6265851259231567 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5183.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.12660686671733856 + "score": 0.08012394607067108 }, "else": { "operation": "boost", - "score": 0.09869677573442459 + "score": 0.025629190728068352 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.09182284027338028 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12320470809936523 - }, - "else": { - "operation": "boost", - "score": 0.10737285763025284 - } + "operation": "boost", + "score": 0.021481746807694435 }, "else": { "operation": "boost", - "score": 0.005639952141791582 + "score": 0.11275172233581543 } } } }, "else": { + "operation": "boost", + "score": 0.029000993818044662 + } + }, + "else": { + "operation": "boost", + "score": -0.008118954487144947 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2155.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.024136018007993698 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11415594816207886 - }, - "else": { - "operation": "boost", - "score": -0.018557395786046982 - } + "operation": "boost", + "score": 0.01346964854747057 }, "else": { "operation": "boost", - "score": 0.10599441081285477 + "score": 0.10349048674106598 } }, "else": { - "operation": "boost", - "score": 3.8981830584816635e-05 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2152.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.12161815166473389 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1678321659564972, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.2153846174478531, "then": { "operation": "boost", - "score": 0.11610159277915955 + "score": -0.0036813935730606318 }, "else": { "operation": "boost", - "score": -0.0359032079577446 + "score": 0.3073946237564087 } }, "else": { "operation": "boost", - "score": -0.03088812530040741 + "score": -0.1428874284029007 } + }, + "else": { + "operation": "boost", + "score": 0.06587015092372894 } - }, - "else": { - "operation": "boost", - "score": -0.004596408922225237 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.023492993786931038 - }, - "else": { - "operation": "boost", - "score": -0.0018592342967167497 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6568.0, - "then": { - "operation": "boost", - "score": -0.03511923924088478 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4712.0, + "threshold": 32329.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.1397455334663391 - }, - "else": { - "operation": "boost", - "score": 0.16733849048614502 - } + "operation": "boost", + "score": 0.04427262768149376 }, "else": { "operation": "boost", - "score": -0.21221092343330383 + "score": 0.013392185792326927 } } }, "else": { "operation": "boost", - "score": -0.025662612169981003 + "score": -0.0226267259567976 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 276057.0, + "then": { + "operation": "boost", + "score": 0.026769356802105904 }, "else": { "operation": "boost", - "score": 0.022580280900001526 + "score": -0.0021601542830467224 } - }, - "else": { - "operation": "boost", - "score": 0.009852997958660126 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "boost", + "score": -6.209079583641142e-05 + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.007434238214045763 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.3553738594055176 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.10569024085998535 + "score": 0.11225781589746475 }, "else": { - "operation": "boost", - "score": -0.072431780397892 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3100961446762085, + "then": { + "operation": "boost", + "score": -0.009049694053828716 + }, + "else": { + "operation": "boost", + "score": 0.016425030305981636 + } } + }, + "else": { + "operation": "boost", + "score": 0.0014412200544029474 } } }, "else": { - "operation": "boost", - "score": -0.00045815849443897605 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { + "operation": "boost", + "score": 0.00226655718870461 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30340.5, + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { "operation": "boost", - "score": -0.0045295050367712975 + "score": 0.12126026302576065 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28239.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02463645301759243 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.013974405825138092 - }, - "else": { - "operation": "boost", - "score": 0.11437606066465378 - } - } + "operation": "boost", + "score": -0.004715561866760254 }, "else": { - "operation": "boost", - "score": 0.043191976845264435 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { "operation": "boost", - "score": 0.03532329946756363 + "score": 0.028103098273277283 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 4678.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 4906.0, "then": { "operation": "boost", - "score": 0.06743597239255905 + "score": 0.02139548398554325 }, "else": { - "operation": "boost", - "score": 0.10071521997451782 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4889.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24577.0, - "then": { - "operation": "boost", - "score": 0.04311281442642212 - }, - "else": { - "operation": "boost", - "score": 0.10842452943325043 - } + "operation": "boost", + "score": 0.14455154538154602 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.0772741436958313 - }, - "else": { - "operation": "boost", - "score": 0.11410452425479889 - } + "operation": "boost", + "score": 0.07278066873550415 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23993.5, + "threshold": 37.5, "then": { "operation": "boost", - "score": 0.09721650183200836 + "score": -0.017109179869294167 }, "else": { "operation": "boost", - "score": 0.07408567517995834 + "score": -0.434749037027359 } }, "else": { "operation": "boost", - "score": -0.08947884291410446 + "score": -0.02984795533120632 } }, - "else": { - "operation": "boost", - "score": 0.0658583715558052 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85554.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10665880143642426 - }, - "else": { - "operation": "boost", - "score": 0.08024250715970993 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.04269767552614212 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 77386.0, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.10032728314399719 + "score": 0.019846899434924126 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44493.0, - "then": { - "operation": "boost", - "score": 0.03518333286046982 - }, - "else": { - "operation": "boost", - "score": 0.09028156846761703 - } + "operation": "boost", + "score": 0.07535487413406372 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30909.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.05210711061954498 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.06605380773544312 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": -1.016629934310913 + }, + "else": { + "operation": "boost", + "score": -0.2845565378665924 + } + } }, "else": { - "operation": "boost", - "score": -0.14175349473953247 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10324717313051224 + }, + "else": { + "operation": "boost", + "score": 0.04328459873795509 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.1409737467765808 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": 0.1061517521739006 + }, + "else": { + "operation": "boost", + "score": -0.010839094407856464 + } + } + } } } } @@ -189247,6954 +184125,6565 @@ }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11964276432991028 + "score": -0.01897215098142624 }, "else": { "operation": "boost", - "score": -0.17384028434753418 + "score": 0.011613945476710796 } } - }, - "else": { - "operation": "boost", - "score": -0.08021234720945358 } } } - }, - "else": { - "operation": "boost", - "score": 0.09950779378414154 } + }, + "else": { + "operation": "boost", + "score": -0.0022881212644279003 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { + "operation": "boost", + "score": 0.21337024867534637 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03815574571490288 + "score": -0.09601641446352005 }, "else": { "operation": "boost", - "score": 0.03841691091656685 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11147676408290863 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "boost", - "score": 0.013348007574677467 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "boost", - "score": 0.1193784698843956 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12582440674304962 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, - "then": { - "operation": "boost", - "score": 0.11798761039972305 - }, - "else": { - "operation": "boost", - "score": -0.19993895292282104 - } - } - }, - "else": { - "operation": "boost", - "score": -0.12474669516086578 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02769569680094719 + "score": 0.04702974855899811 } } }, "else": { - "operation": "boost", - "score": 0.007290302310138941 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.012273721396923065 - }, - "else": { - "operation": "boost", - "score": 0.0003179831837769598 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16911.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.17393121123313904 + "score": -0.030181847512722015 }, "else": { "operation": "boost", - "score": -0.050192028284072876 + "score": -0.165236234664917 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16301.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16345.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.009746669791638851 + "score": -0.005775230936706066 }, "else": { + "operation": "boost", + "score": -0.02628377266228199 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.10449494421482086 - }, - "else": { - "operation": "boost", - "score": 0.13116230070590973 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.11200354993343353 + "score": 0.03386535868048668 }, "else": { "operation": "boost", - "score": -0.03919889032840729 + "score": -0.03348756581544876 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.002910482930019498 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15956.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16141.5, - "then": { - "operation": "boost", - "score": 0.08321340382099152 - }, - "else": { - "operation": "boost", - "score": 0.09946689754724503 - } - }, - "else": { - "operation": "boost", - "score": -0.004169469699263573 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05132443085312843 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03646790608763695 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.10688207298517227 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7126.0, - "then": { - "operation": "boost", - "score": -0.16392552852630615 - }, - "else": { - "operation": "boost", - "score": 0.012767213396728039 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.14136949181556702 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.023519551381468773 + }, + "else": { + "operation": "boost", + "score": -0.09890418499708176 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.10955731570720673 + "score": 0.04151955246925354 }, "else": { - "operation": "boost", - "score": 0.10577497631311417 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.08760417997837067 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.027636181563138962 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.037497058510780334 + }, + "else": { + "operation": "boost", + "score": 0.01963561214506626 + } + } + } } } }, "else": { - "operation": "boost", - "score": -0.12759608030319214 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 288840.5, + "then": { + "operation": "boost", + "score": 0.05842473730444908 + }, + "else": { + "operation": "boost", + "score": 0.003613121574744582 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.018412195146083832 + }, + "else": { + "operation": "boost", + "score": -0.11091025918722153 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05899861454963684 + }, + "else": { + "operation": "boost", + "score": -0.01022137701511383 + } + } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.12535367906093597 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5430.5, + "then": { + "operation": "boost", + "score": -0.002282290253788233 + }, + "else": { + "operation": "boost", + "score": 0.044926755130290985 + } }, "else": { "operation": "boost", - "score": -0.5015990138053894 + "score": -0.07729021459817886 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.031705208122730255 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0718260109424591 + }, + "else": { + "operation": "boost", + "score": -0.009805711917579174 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "boost", + "score": 0.01890442706644535 + }, + "else": { + "operation": "boost", + "score": -0.04056936502456665 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.12182985246181488 + "score": 0.027277609333395958 }, "else": { "operation": "boost", - "score": 0.0807235985994339 + "score": -0.040269531309604645 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.07905872911214828 + } + }, + "else": { + "operation": "boost", + "score": 0.05950302630662918 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.015931516885757446 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.5, "then": { "operation": "boost", - "score": 0.12861740589141846 + "score": 0.057025786489248276 }, "else": { "operation": "boost", - "score": -0.07656212151050568 + "score": 0.0945146381855011 } + }, + "else": { + "operation": "boost", + "score": -0.0007187004666775465 } + }, + "else": { + "operation": "boost", + "score": -0.11580859869718552 } }, "else": { "operation": "boost", - "score": 0.09479384124279022 + "score": -0.0341719314455986 } + }, + "else": { + "operation": "boost", + "score": -0.09671631455421448 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.024837730452418327 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.1310732513666153 + }, + "else": { + "operation": "boost", + "score": 0.053770359605550766 + } + }, + "else": { + "operation": "boost", + "score": 0.015804274007678032 + } }, "else": { "operation": "boost", - "score": 0.0744759663939476 + "score": -0.006392304319888353 } } } }, "else": { + "operation": "boost", + "score": 0.09927359968423843 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9157.0, + "operation": "boost", + "score": -0.05623910576105118 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.6909665465354919 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.025796253234148026 + }, + "else": { + "operation": "boost", + "score": -0.05791706591844559 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.053595222532749176 + }, + "else": { + "operation": "boost", + "score": 0.04356860741972923 + } + }, + "else": { + "operation": "boost", + "score": -0.142654687166214 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.04978897050023079 + "score": -0.013562212698161602 }, "else": { - "operation": "boost", - "score": 0.09230279177427292 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.024350283667445183 + }, + "else": { + "operation": "boost", + "score": -0.04309597983956337 + } + }, + "else": { + "operation": "boost", + "score": 0.03048279881477356 + } + }, + "else": { + "operation": "boost", + "score": -0.06747405230998993 + } + }, + "else": { + "operation": "boost", + "score": -0.010689353570342064 + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.015913430601358414 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": -0.00418156199157238 - }, - "else": { - "operation": "boost", - "score": -0.09431491047143936 - } + "operation": "boost", + "score": 0.016271665692329407 } } } }, "else": { - "operation": "boost", - "score": 0.046076349914073944 - } - } - }, - "else": { - "operation": "boost", - "score": 0.004868334159255028 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.10567212104797363 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 162.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10990.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.4274612069129944 + "score": -0.06399650126695633 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10611.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.12180893123149872 + "score": 0.04048401862382889 }, "else": { - "operation": "boost", - "score": 0.025298085063695908 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { + "operation": "boost", + "score": -0.04112030565738678 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.09265437722206116 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04321363568305969 + }, + "else": { + "operation": "boost", + "score": -0.0176907517015934 + } }, "else": { "operation": "boost", - "score": 0.11617247015237808 + "score": 0.002722848439589143 } - }, - "else": { - "operation": "boost", - "score": 0.03268376737833023 } - }, - "else": { - "operation": "boost", - "score": -0.0314883254468441 } + }, + "else": { + "operation": "boost", + "score": -0.006007716525346041 } } - }, - "else": { - "operation": "boost", - "score": 0.10315146297216415 } - }, - "else": { - "operation": "boost", - "score": -0.009143070317804813 } }, "else": { "operation": "boost", - "score": -0.041384007781744 + "score": -0.0036463786382228136 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.0051334938034415245 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 540.5, "then": { + "operation": "boost", + "score": 0.010642889887094498 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "Macro", + "Namespace", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.027925625443458557 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.023166531696915627 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.1076432541012764 + }, + "else": { + "operation": "boost", + "score": 0.002137869829311967 + } + }, + "else": { + "operation": "boost", + "score": -0.03285114839673042 + } }, "else": { "operation": "boost", - "score": 0.09698983281850815 + "score": 0.008818382397294044 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.004713577684015036 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.021740401163697243 + }, + "else": { + "operation": "boost", + "score": -0.0017848012503236532 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03931949660181999 + }, + "else": { + "operation": "boost", + "score": -0.0361865796148777 + } + } }, "else": { "operation": "boost", - "score": 0.05171460285782814 + "score": 0.0022785011678934097 } - }, - "else": { - "operation": "boost", - "score": -0.06031837686896324 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.045362688601017 + "score": -0.02646273747086525 }, "else": { + "operation": "boost", + "score": 0.0759374275803566 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1139756515622139 + "score": 0.004840652924031019 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.06324923783540726 - }, - "else": { - "operation": "boost", - "score": 0.08224224299192429 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02637612260878086 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.17026367783546448 - }, - "else": { - "operation": "boost", - "score": 0.0843241810798645 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0023917220532894135 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.0, - "then": { - "operation": "boost", - "score": 0.09393573552370071 - }, - "else": { - "operation": "boost", - "score": -0.13975003361701965 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, + "feature": "FileProximityDistanceCost", + "threshold": 26.0, "then": { "operation": "boost", - "score": 0.0014315573498606682 + "score": 0.05887341871857643 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { + "operation": "boost", + "score": -0.02641955576837063 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { - "operation": "boost", - "score": 0.14380256831645966 - }, - "else": { - "operation": "boost", - "score": 0.12035014480352402 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11055459082126617 - }, - "else": { - "operation": "boost", - "score": 0.0005969775374978781 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, - "then": { - "operation": "boost", - "score": 0.11236856877803802 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -1.2346017360687256 - }, - "else": { - "operation": "boost", - "score": 0.12332064658403397 - } - }, - "else": { - "operation": "boost", - "score": -0.22795699536800385 - } - } - } - } + "operation": "boost", + "score": 0.044552553445100784 }, "else": { "operation": "boost", - "score": 0.11178760230541229 + "score": -0.4906547963619232 } - }, - "else": { - "operation": "boost", - "score": 0.006792205385863781 } } + }, + "else": { + "operation": "boost", + "score": 0.01621556282043457 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.06849713623523712 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.11093053221702576 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.0, + "then": { + "operation": "boost", + "score": 0.21544446051120758 + }, + "else": { + "operation": "boost", + "score": 0.19031000137329102 + } }, "else": { "operation": "boost", - "score": -0.15371906757354736 + "score": 0.016765983775258064 } + }, + "else": { + "operation": "boost", + "score": -0.10624470561742783 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.07863400876522064 - }, - "else": { - "operation": "boost", - "score": 0.04161086678504944 - } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 299.0, "then": { - "operation": "boost", - "score": -0.019126735627651215 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04934874176979065 - }, - "else": { - "operation": "boost", - "score": -0.04501857981085777 - } + "operation": "boost", + "score": 0.08027859777212143 }, "else": { "operation": "boost", - "score": 0.034670233726501465 + "score": 0.241974875330925 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.01246443297713995 - } - } - }, - "else": { - "operation": "boost", - "score": 0.007224816828966141 - } - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1218.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0074642556719481945 - }, - "else": { - "operation": "boost", - "score": -0.0071126436814665794 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.022118939086794853 - }, - "else": { - "operation": "boost", - "score": 0.008016569539904594 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1075.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1102.5, - "then": { - "operation": "boost", - "score": 0.018766652792692184 - }, - "else": { - "operation": "boost", - "score": 0.10004538297653198 - } - }, - "else": { - "operation": "boost", - "score": 0.03497907519340515 - } - }, - "else": { - "operation": "boost", - "score": -0.050456441938877106 - } - }, - "else": { - "operation": "boost", - "score": 0.004867872688919306 - } - }, - "else": { - "operation": "boost", - "score": -0.035571224987506866 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "boost", - "score": -0.020709030330181122 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.04269547015428543 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11089789122343063 }, "else": { "operation": "boost", - "score": 0.0870058611035347 + "score": -0.0019852265249937773 } } - }, - "else": { - "operation": "boost", - "score": -0.011215032078325748 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.04628433659672737 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.113111712038517 + "score": -0.0004944982356391847 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.25922277569770813 - }, - "else": { - "operation": "boost", - "score": 0.1782185286283493 - } + "operation": "boost", + "score": -0.2540135085582733 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13517692685127258 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.11783198267221451 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1325722187757492 - }, - "else": { - "operation": "boost", - "score": 2.3630285263061523 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.08304692804813385 - }, - "else": { - "operation": "boost", - "score": 0.12639640271663666 - } - }, - "else": { - "operation": "boost", - "score": -0.10223215073347092 - } - }, - "else": { - "operation": "boost", - "score": -0.10048659890890121 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10751330852508545 - } - }, - "else": { - "operation": "boost", - "score": -0.06653700023889542 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07879769057035446 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.027932588011026382 + "score": 0.09636766463518143 }, "else": { "operation": "boost", - "score": -0.034009672701358795 + "score": -0.10452818870544434 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09233938902616501 - }, - "else": { - "operation": "boost", - "score": 0.00013349844084586948 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.019317930564284325 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 535.5, "then": { "operation": "boost", - "score": 0.11083108931779861 + "score": -0.16668598353862762 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.13182547688484192 - }, - "else": { - "operation": "boost", - "score": -0.09374897181987762 - } + "operation": "boost", + "score": -0.015611420385539532 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.08926144987344742 - }, - "else": { - "operation": "boost", - "score": 0.030520964413881302 - } } } }, "else": { - "operation": "boost", - "score": 0.018440546467900276 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0037296998780220747 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09253803640604019 + "score": -0.06753343343734741 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0813017413020134 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.34965580701828003 - }, - "else": { - "operation": "boost", - "score": 0.17450515925884247 - } - } + "operation": "boost", + "score": -0.1911434382200241 } - }, - "else": { - "operation": "boost", - "score": 0.08764481544494629 } - }, - "else": { - "operation": "boost", - "score": -0.1364622265100479 } - }, - "else": { - "operation": "boost", - "score": -0.03548884391784668 } } } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.007081192918121815 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.00288125011138618 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26162.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.01612645946443081 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24366.0, "then": { - "operation": "boost", - "score": 0.004228373523801565 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.012739147059619427 + "score": -0.07398166507482529 }, "else": { + "operation": "boost", + "score": -0.3154350519180298 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07961750775575638 + "score": 0.13187740743160248 }, "else": { + "operation": "boost", + "score": 0.05682500824332237 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "boost", + "score": -0.05133046954870224 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.09428589791059494 + "score": 0.023707790300250053 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { "operation": "boost", - "score": -0.055809590965509415 + "score": 0.02581457793712616 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.11905362457036972 - }, - "else": { - "operation": "boost", - "score": 0.17895007133483887 - } - }, - "else": { - "operation": "boost", - "score": 0.0387800969183445 - } + "operation": "boost", + "score": -0.01743943616747856 } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02040208876132965 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression" ], "then": { - "operation": "boost", - "score": -0.007200266700237989 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.13529737293720245 - }, - "else": { - "operation": "boost", - "score": 0.03134389594197273 - } + "operation": "boost", + "score": -0.2072698473930359 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.06968636065721512 - }, - "else": { - "operation": "boost", - "score": -0.18812572956085205 - } + "operation": "boost", + "score": 0.047167375683784485 } - } - }, - "else": { - "operation": "boost", - "score": -0.006464327219873667 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.037042856216430664 - }, - "else": { - "operation": "boost", - "score": -0.1427324265241623 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10774707794189453 }, "else": { "operation": "boost", - "score": 0.09918765723705292 + "score": -0.00019360630540177226 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0253861416131258 }, "else": { "operation": "boost", - "score": -0.17325147986412048 + "score": -0.024645131081342697 } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.041346874088048935 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06965059041976929 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.058075517416000366 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.08779837191104889 + "score": 0.13232548534870148 }, "else": { "operation": "boost", - "score": 0.10012771189212799 + "score": 0.024211199954152107 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07331234961748123 - }, - "else": { - "operation": "boost", - "score": 0.09711949527263641 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0017139703268185258 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -1.612094759941101 + "score": -0.32818618416786194 }, "else": { "operation": "boost", - "score": 0.047162383794784546 + "score": -0.0208810493350029 } }, "else": { "operation": "boost", - "score": -0.028278788551688194 + "score": 0.01948917657136917 } } }, "else": { - "operation": "boost", - "score": 0.011283899657428265 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01278875395655632 + }, + "else": { + "operation": "boost", + "score": -0.022827213630080223 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, + "then": { + "operation": "boost", + "score": 0.1038617193698883 + }, + "else": { + "operation": "boost", + "score": 0.006586747709661722 + } + } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ParenthesizedExpression" + "FileScope" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 118.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.03564148768782616 + }, + "else": { + "operation": "boost", + "score": 0.14786049723625183 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": 0.04943395406007767 + "score": -0.0013454812578856945 }, "else": { - "operation": "boost", - "score": 0.08151531964540482 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.09113797545433044 + }, + "else": { + "operation": "boost", + "score": 0.03895705193281174 + } } }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.06217343360185623 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.1486217975616455 + }, + "else": { + "operation": "boost", + "score": 0.13016176223754883 + } + }, + "else": { + "operation": "boost", + "score": 0.05729968473315239 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06111820787191391 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.056365203112363815 + }, "else": { "operation": "boost", - "score": 0.10901346802711487 + "score": 0.02247944474220276 } }, "else": { "operation": "boost", - "score": 0.04623677209019661 + "score": -0.016720078885555267 } - }, - "else": { - "operation": "boost", - "score": 0.03803395852446556 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.01531211193650961 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.02601204439997673 + }, + "else": { + "operation": "boost", + "score": 0.06227882578969002 + } + }, + "else": { + "operation": "boost", + "score": 0.0030314817558974028 + } }, "else": { - "operation": "boost", - "score": -0.07739447802305222 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03636199235916138 - } - } - }, - "else": { - "operation": "boost", - "score": 0.004488517064601183 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10723141580820084 + "score": 0.12022153288125992 }, "else": { "operation": "boost", - "score": 0.08602093160152435 + "score": 0.12000033259391785 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.07072174549102783 + "score": 0.12320045381784439 }, "else": { - "operation": "boost", - "score": 0.11193366348743439 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.006964227184653282 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.18940284848213196 + }, + "else": { + "operation": "boost", + "score": -4.047545433044434 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -1.1598280668258667 + }, + "else": { + "operation": "boost", + "score": 0.09728285670280457 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.030948176980018616 + }, + "else": { + "operation": "boost", + "score": -0.2216339111328125 + } + } } } }, "else": { - "operation": "boost", - "score": -0.05615963414311409 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04883275181055069 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.9287672638893127 + }, + "else": { + "operation": "boost", + "score": -0.1187591552734375 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.10178817808628082 + }, + "else": { + "operation": "boost", + "score": 0.11623505502939224 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.039081644266843796 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.012981066480278969 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "boost", + "score": 0.06439736485481262 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": -0.05048086866736412 + }, + "else": { + "operation": "boost", + "score": 0.014685514383018017 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.0736498311161995 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.04772954806685448 + }, + "else": { + "operation": "boost", + "score": -0.4940255284309387 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.02378462813794613 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 102.0, + "then": { + "operation": "boost", + "score": 0.09266984462738037 + }, + "else": { + "operation": "boost", + "score": 0.14308907091617584 + } + }, + "else": { + "operation": "boost", + "score": 0.014239626936614513 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.051811687648296356 + }, + "else": { + "operation": "boost", + "score": 0.10920540988445282 + } + }, + "else": { + "operation": "boost", + "score": 0.032075319439172745 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.0, + "then": { + "operation": "boost", + "score": 0.4880698025226593 + }, + "else": { + "operation": "boost", + "score": 0.08262555301189423 + } + }, + "else": { + "operation": "boost", + "score": -0.033600013703107834 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01181051880121231 + } + } + } + } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.000634010590147227 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.14055949449539185 + }, + "else": { + "operation": "boost", + "score": -0.6771196722984314 + } }, "else": { "operation": "boost", - "score": 0.03113090805709362 + "score": 0.014894271269440651 } + }, + "else": { + "operation": "boost", + "score": -0.050648804754018784 } }, "else": { "operation": "boost", - "score": -0.035984549671411514 + "score": 0.0019549650605767965 } - }, - "else": { - "operation": "boost", - "score": 0.06371717154979706 } }, "else": { + "operation": "boost", + "score": -0.012961633503437042 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0006347025046125054 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.048054322600364685 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.014958684332668781 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "boost", - "score": -0.1519237458705902 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.035423826426267624 + }, + "else": { + "operation": "boost", + "score": 0.12212302535772324 + } + }, + "else": { + "operation": "boost", + "score": -0.02675449103116989 + } }, "else": { "operation": "boost", - "score": 0.08208005875349045 + "score": 0.033974118530750275 } }, "else": { - "operation": "boost", - "score": -0.29599079489707947 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.044836048036813736 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.081944040954113 + }, + "else": { + "operation": "boost", + "score": 0.05451355502009392 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2760.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3433.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21057.0, + "then": { + "operation": "boost", + "score": 0.1132504940032959 + }, + "else": { + "operation": "boost", + "score": -0.23650947213172913 + } + }, + "else": { + "operation": "boost", + "score": 0.1273631900548935 + } + }, + "else": { + "operation": "boost", + "score": -0.0120706120505929 + } + } } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.9007749557495117 + "score": 0.16854271292686462 }, "else": { "operation": "boost", - "score": -0.010670170187950134 + "score": 0.055377766489982605 } }, "else": { - "operation": "boost", - "score": 0.1089111715555191 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10572179406881332 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.1452728807926178 + }, + "else": { + "operation": "boost", + "score": 0.014915743842720985 + } + }, + "else": { + "operation": "boost", + "score": 0.14274831116199493 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.09674631059169769 + }, + "else": { + "operation": "boost", + "score": 0.00017668871441856027 + } + } + } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { + "operation": "boost", + "score": 0.012411405332386494 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.007874797098338604 + "score": -0.1287834495306015 }, "else": { "operation": "boost", - "score": -0.08623027056455612 + "score": -0.008206627331674099 } - }, - "else": { - "operation": "boost", - "score": 0.053426213562488556 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.030098503455519676 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.044731445610523224 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.11361361294984818 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.08620157837867737 + "score": -0.02806226909160614 }, "else": { + "operation": "boost", + "score": 0.03125736489892006 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { "operation": "boost", - "score": 0.025382790714502335 + "score": 0.07539957761764526 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.02558889426290989 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.10422489792108536 + "score": -0.023266151547431946 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.049498915672302246 - }, - "else": { - "operation": "boost", - "score": 0.13324452936649323 - } + "operation": "boost", + "score": 0.046103496104478836 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.004668282810598612 }, "else": { "operation": "boost", - "score": 0.11643832176923752 + "score": -0.07791505008935928 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.09925834089517593 + }, + "else": { + "operation": "boost", + "score": 0.026298368349671364 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08280010521411896 + }, + "else": { + "operation": "boost", + "score": -0.025515953078866005 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 206.5, + "then": { + "operation": "boost", + "score": 0.020996129140257835 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 205.5, "then": { "operation": "boost", - "score": 0.10481618344783783 + "score": -1.2313841581344604 }, "else": { "operation": "boost", - "score": -0.030650872737169266 + "score": -0.019677285104990005 } } + }, + "else": { + "operation": "boost", + "score": 0.03189944103360176 } }, "else": { - "operation": "boost", - "score": 0.03533452749252319 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04470019415020943 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.05552222579717636 + }, + "else": { + "operation": "boost", + "score": -0.02226981893181801 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, + "then": { + "operation": "boost", + "score": -0.004143225494772196 + }, + "else": { + "operation": "boost", + "score": -0.023187613114714622 + } + } } } } } } } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06577198207378387 - }, - "else": { - "operation": "boost", - "score": 0.0030634566210210323 - } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.001284936210140586 + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25461.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31804.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44616.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47253.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 256926.0, + "then": { + "operation": "boost", + "score": -0.3237709403038025 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 123410.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09994453191757202 - }, - "else": { - "operation": "boost", - "score": 0.05283045768737793 - } + "operation": "boost", + "score": 0.0641995221376419 }, "else": { "operation": "boost", - "score": 0.0022602397948503494 + "score": -0.15270227193832397 } }, "else": { "operation": "boost", - "score": -0.05475429445505142 + "score": 0.07798721641302109 } + }, + "else": { + "operation": "boost", + "score": -0.04450218006968498 } } }, "else": { "operation": "boost", - "score": -0.06713027507066727 + "score": 0.07720731943845749 } }, "else": { - "operation": "boost", - "score": -0.050965387374162674 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32947.0, + "then": { + "operation": "boost", + "score": -0.07564513385295868 + }, + "else": { + "operation": "boost", + "score": 0.034298233687877655 + } } + }, + "else": { + "operation": "boost", + "score": 0.08149267733097076 } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6406.0, "then": { + "operation": "boost", + "score": -0.027133308351039886 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 6360.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 272339.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "boost", + "score": 0.10897216945886612 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6388.5, "then": { "operation": "boost", - "score": 0.016836218535900116 + "score": 0.10675381869077682 + }, + "else": { + "operation": "boost", + "score": 0.10890088230371475 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11071084439754486 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03138341009616852 + }, + "else": { + "operation": "boost", + "score": 0.05855172500014305 + } }, "else": { "operation": "boost", - "score": 0.00032219698186963797 + "score": 0.011526976712048054 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 6228.0, "then": { + "operation": "boost", + "score": -0.6128130555152893 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 228.5, "then": { - "operation": "boost", - "score": 0.039009615778923035 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { "operation": "boost", - "score": 0.07558739185333252 + "score": 0.1938953697681427 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 230.5, "then": { "operation": "boost", - "score": 0.11043311655521393 + "score": 0.052111294120550156 }, "else": { "operation": "boost", - "score": 0.07757174223661423 + "score": 0.08896856009960175 } } + }, + "else": { + "operation": "boost", + "score": -0.0076774610206484795 } - }, - "else": { - "operation": "boost", - "score": -0.03091396950185299 } }, "else": { "operation": "boost", - "score": -0.03722875192761421 + "score": 0.005879159085452557 } } }, "else": { - "operation": "boost", - "score": -0.14942023158073425 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.013599907979369164 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", - "Namespace" + "Variable" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "boost", - "score": -0.25795337557792664 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": -0.10632477700710297 + }, + "else": { + "operation": "boost", + "score": 0.04641656205058098 + } }, "else": { + "operation": "boost", + "score": 0.01490599662065506 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.022928794845938683 + "score": 0.034468874335289 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "operation": "boost", + "score": -0.18548713624477386 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12545783817768097 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.10883364826440811 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.052104681730270386 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11710742115974426 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.0606323778629303 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.09786130487918854 - }, - "else": { - "operation": "boost", - "score": -0.1154065951704979 - } - } - } - } - } - } - }, - "else": { "operation": "boost", - "score": 0.014822795055806637 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.04430681839585304 - }, - "else": { - "operation": "boost", - "score": 0.09192001074552536 - } + "score": -0.02061012014746666 }, "else": { "operation": "boost", - "score": 0.028802866116166115 + "score": 0.0008919649990275502 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, - "then": { - "operation": "boost", - "score": 0.028451241552829742 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, "then": { "operation": "boost", - "score": 0.12005742639303207 + "score": -0.06846587359905243 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.12839458882808685 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.022702660411596298 - }, - "else": { - "operation": "boost", - "score": 0.1441962569952011 - } - } + "operation": "boost", + "score": -0.020502114668488503 } } } } + }, + "else": { + "operation": "boost", + "score": 0.002200815826654434 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.01704997755587101 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.32759222388267517 - }, - "else": { - "operation": "boost", - "score": 0.09901008754968643 - } + "operation": "boost", + "score": -0.10347466170787811 }, "else": { "operation": "boost", - "score": 0.016443580389022827 + "score": -0.11698000133037567 } } - }, - "else": { - "operation": "boost", - "score": -0.008980144746601582 } - }, - "else": { + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4868420958518982, + "then": { + "operation": "boost", + "score": 0.008053292520344257 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05559517443180084 + "score": -0.033500056713819504 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Expression" ], "then": { + "operation": "boost", + "score": 0.05394105985760689 + }, + "else": { + "operation": "boost", + "score": -0.012555580586194992 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0004688366025220603 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.12153556942939758 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0013588363071903586 + "score": -0.03442415967583656 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.1507454663515091 - }, - "else": { - "operation": "boost", - "score": 0.11056247353553772 - } + "operation": "boost", + "score": 0.21169571578502655 }, "else": { "operation": "boost", - "score": 0.0028650974854826927 + "score": -0.04025162756443024 } } - }, - "else": { - "operation": "boost", - "score": -0.12810692191123962 } } } }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression" + ], + "then": { + "operation": "boost", + "score": 0.012789590284228325 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.0032844385132193565 + }, + "else": { + "operation": "boost", + "score": -0.005439239554107189 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 33.0, + "then": { + "operation": "boost", + "score": 0.10146772861480713 + }, + "else": { + "operation": "boost", + "score": 0.00980337243527174 + } + }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 96602.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 110487.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": -0.03182857111096382 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.1168966293334961 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93017.5, - "then": { - "operation": "boost", - "score": 0.0931299552321434 - }, - "else": { - "operation": "boost", - "score": -0.08174887299537659 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09292130172252655 - } - } + "operation": "boost", + "score": -1.3344062566757202 }, "else": { "operation": "boost", - "score": -0.020930949598550797 + "score": 0.009627556428313255 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": 0.10476235300302505 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62576.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 66036.0, + "then": { + "operation": "boost", + "score": -0.07570146769285202 + }, + "else": { + "operation": "boost", + "score": -0.26687929034233093 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 33949.0, "then": { - "operation": "boost", - "score": 0.016270296648144722 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { "operation": "boost", - "score": 0.024499593302607536 + "score": -0.960381031036377 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0007215062505565584 + "score": 0.06920372694730759 }, "else": { "operation": "boost", - "score": 0.0901634693145752 + "score": -0.06455236673355103 } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07550415396690369 + }, + "else": { + "operation": "boost", + "score": 0.12658020853996277 + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 108163.5, + "threshold": 30340.5, "then": { "operation": "boost", - "score": -0.06627853959798813 + "score": -0.15594829618930817 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20253.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03999195620417595 - }, - "else": { - "operation": "boost", - "score": 0.13563145697116852 - } - }, - "else": { - "operation": "boost", - "score": 0.09496501088142395 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, + "threshold": 25815.0, "then": { "operation": "boost", - "score": 0.13937778770923615 + "score": -0.025030015036463737 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0929136872291565 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20564.5, + "then": { + "operation": "boost", + "score": 0.060023099184036255 + }, + "else": { + "operation": "boost", + "score": 0.13376763463020325 + } }, "else": { - "operation": "boost", - "score": -0.0011367765255272388 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "boost", + "score": 0.08851295709609985 + }, + "else": { + "operation": "boost", + "score": -0.01734205149114132 + } } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 196353.5, - "then": { - "operation": "boost", - "score": -0.16902178525924683 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.09449708461761475 - }, - "else": { - "operation": "boost", - "score": 0.02873404696583748 - } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 13065.0, "then": { - "operation": "boost", - "score": 0.11878652125597 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.044353634119033813 + "score": -0.03359891101717949 }, "else": { - "operation": "boost", - "score": -0.15158121287822723 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15332.0, + "then": { + "operation": "boost", + "score": -0.16280946135520935 + }, + "else": { + "operation": "boost", + "score": -0.9851589202880859 + } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.1187906414270401 - }, - "else": { - "operation": "boost", - "score": -0.18987390398979187 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.12347834557294846 - }, - "else": { - "operation": "boost", - "score": 0.09280543029308319 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114921.5, - "then": { - "operation": "boost", - "score": -0.019629433751106262 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111169.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.029716037213802338 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 11825.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.024082116782665253 - }, - "else": { - "operation": "boost", - "score": 0.11157738417387009 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.06329836696386337 + "score": 0.11624765396118164 }, "else": { "operation": "boost", - "score": 0.1780054271221161 + "score": 0.18206609785556793 } }, "else": { "operation": "boost", - "score": 0.027397075667977333 + "score": -0.15224216878414154 } + }, + "else": { + "operation": "boost", + "score": 0.08760282397270203 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10005.5, "then": { - "operation": "boost", - "score": 0.10901852697134018 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.12447983026504517 - }, - "else": { - "operation": "boost", - "score": -0.13614758849143982 - } + "operation": "boost", + "score": -0.03666738420724869 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.19645565748214722 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.03550711274147034 - }, - "else": { - "operation": "boost", - "score": 0.09537949413061142 - } - }, - "else": { - "operation": "boost", - "score": -0.10253655910491943 - } - } + "operation": "boost", + "score": -0.23923088610172272 } + }, + "else": { + "operation": "boost", + "score": -0.0004597318184096366 } } - }, - "else": { - "operation": "boost", - "score": -0.08757995069026947 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.012804374098777771 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03867601975798607 + }, + "else": { + "operation": "boost", + "score": -0.015153972432017326 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3100961446762085, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, "then": { + "operation": "boost", + "score": -0.023802975192666054 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", + "Constructor", "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", "Operator", - "Unknown", - "Constructor", - "Type" + "Type", + "Unknown" ], + "then": { + "operation": "boost", + "score": 0.1417694389820099 + }, + "else": { + "operation": "boost", + "score": -0.1193254292011261 + } + } + }, + "else": { + "operation": "boost", + "score": 0.007603168953210115 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.0035514100454747677 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9444444179534912, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14474473893642426 + }, + "else": { + "operation": "boost", + "score": 0.021108919754624367 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99740.5, - "then": { - "operation": "boost", - "score": 0.08707249909639359 - }, - "else": { - "operation": "boost", - "score": 0.1047767698764801 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.09729068726301193 - }, - "else": { - "operation": "boost", - "score": 0.10857461392879486 - } - }, - "else": { - "operation": "boost", - "score": 0.06030631065368652 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03715353086590767 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102876.0, - "then": { - "operation": "boost", - "score": -0.34893813729286194 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.055712006986141205 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.09472779184579849 - }, - "else": { - "operation": "boost", - "score": 0.02614416368305683 - } - } - }, - "else": { - "operation": "boost", - "score": 0.042546022683382034 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0020447184797376394 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.002729157917201519 + "score": 0.1303565949201584 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.013921594247221947 - }, - "else": { - "operation": "boost", - "score": 0.09701944887638092 - } - }, - "else": { - "operation": "boost", - "score": 0.06810735166072845 - } + "operation": "boost", + "score": -0.036749038845300674 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04732527211308479 }, "else": { "operation": "boost", - "score": -0.17387154698371887 + "score": -0.004057413898408413 } + }, + "else": { + "operation": "boost", + "score": -0.009613612666726112 } }, "else": { "operation": "boost", - "score": -0.1114858090877533 + "score": 0.2877407968044281 } - }, - "else": { - "operation": "boost", - "score": 0.012819850817322731 } } } + }, + "else": { + "operation": "boost", + "score": -0.00025061643100343645 } } } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 418.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09919758886098862 + "score": 0.15307879447937012 }, "else": { "operation": "boost", - "score": -0.03351889178156853 + "score": 0.00011914357310160995 } }, - "else": { - "operation": "boost", - "score": -0.09349971264600754 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0016632442129775882 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.12966547906398773 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0020736465230584145 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], - "then": { - "operation": "boost", - "score": 0.08137170970439911 - }, - "else": { - "operation": "boost", - "score": 0.07963357865810394 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.07374591380357742 + "score": 0.014401315711438656 }, "else": { "operation": "boost", - "score": 0.0850568562746048 + "score": 0.0510273277759552 } }, "else": { "operation": "boost", - "score": -0.08465345203876495 + "score": -0.0266535934060812 } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.08248334378004074 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.21562062203884125 - }, - "else": { - "operation": "boost", - "score": -0.11307530105113983 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.09421487152576447 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.20844599604606628 + "score": 0.003241482423618436 }, "else": { - "operation": "boost", - "score": 0.004431792069226503 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.035302940756082535 + }, + "else": { + "operation": "boost", + "score": 0.006700173020362854 + } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.02323256805539131 + "score": -0.04681948944926262 }, "else": { - "operation": "boost", - "score": -0.013922257348895073 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": 0.016997335478663445 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.011243580840528011 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.18833313882350922 + "score": 0.4166176915168762 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.0375070758163929 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1147775948047638 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.1509336680173874 - }, - "else": { - "operation": "boost", - "score": 0.8068740963935852 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04875296354293823 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2274857461452484 - } + "operation": "boost", + "score": -0.2807748019695282 } } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.006857994012534618 - } - }, - "else": { - "operation": "boost", - "score": -0.0002643822517711669 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.06885196268558502 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91957.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 316302.0, + "operation": "boost", + "score": 0.030816150829195976 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type" + ], "then": { - "operation": "boost", - "score": -0.12095549702644348 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 335.5, + "then": { + "operation": "boost", + "score": 0.1650572270154953 + }, + "else": { + "operation": "boost", + "score": 0.01767268404364586 + } }, "else": { "operation": "boost", - "score": 0.1235378310084343 + "score": -0.05059971287846565 } - }, - "else": { - "operation": "boost", - "score": -0.09056193381547928 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28052.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.029492901638150215 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24318.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11075947433710098 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1069289967417717 - }, - "else": { - "operation": "boost", - "score": -0.13159222900867462 - } - } + "operation": "boost", + "score": 0.013998083770275116 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.0936460867524147 + "score": 0.15048490464687347 }, "else": { "operation": "boost", - "score": -0.09479056298732758 + "score": -0.043688274919986725 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11678200215101242 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.07054781168699265 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.08129319548606873 + "score": -0.03296702727675438 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.1968984156847 - }, - "else": { - "operation": "boost", - "score": 0.05354287102818489 - } + "operation": "boost", + "score": 0.003230134956538677 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.05816386640071869 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.1222376748919487 - }, - "else": { - "operation": "boost", - "score": -0.3887336552143097 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 1.1355143785476685 - }, - "else": { - "operation": "boost", - "score": 0.06954573094844818 - } - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.008777842856943607 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.021478325128555298 + "score": 0.16998125612735748 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 12.0, "then": { "operation": "boost", - "score": -0.09112243354320526 + "score": 0.08110211044549942 }, "else": { - "operation": "boost", - "score": 0.11634672433137894 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.11920542269945145 + }, + "else": { + "operation": "boost", + "score": 0.016821181401610374 + } } } }, "else": { "operation": "boost", - "score": 0.049932919442653656 + "score": -0.0445370152592659 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.10507019609212875 + "score": -0.053657375276088715 }, "else": { "operation": "boost", - "score": 0.1281338632106781 + "score": -0.036594126373529434 } } - }, - "else": { - "operation": "boost", - "score": -0.014707721769809723 } }, "else": { "operation": "boost", - "score": -0.15804216265678406 + "score": 0.004221324808895588 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_Statement" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.06862947344779968 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07438036054372787 - }, - "else": { - "operation": "boost", - "score": 0.09697303175926208 - } - } + "operation": "boost", + "score": 0.10494678467512131 }, "else": { - "operation": "boost", - "score": -0.0009887396590784192 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.07693403214216232 + "score": -0.21408015489578247 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.002932610223069787 + "score": 0.18649962544441223 }, "else": { "operation": "boost", - "score": -0.12523376941680908 + "score": -0.18989971280097961 } } + } + }, + "else": { + "operation": "boost", + "score": 0.05425123870372772 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0008076915983110666 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.033986277878284454 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.13223795592784882 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.018286192789673805 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11550372838973999 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.025316262617707253 - }, - "else": { - "operation": "boost", - "score": 0.11163900792598724 - } - } + "operation": "boost", + "score": 0.10335563123226166 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20562.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.027822459116578102 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27418.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33041.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10808101296424866 - }, - "else": { - "operation": "boost", - "score": -0.008671884424984455 - } - }, - "else": { - "operation": "boost", - "score": -0.018046220764517784 - } - }, - "else": { - "operation": "boost", - "score": -0.05812719836831093 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10920193791389465 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51588.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 170888.5, - "then": { - "operation": "boost", - "score": 0.10439679026603699 - }, - "else": { - "operation": "boost", - "score": -0.06398488581180573 - } - }, - "else": { - "operation": "boost", - "score": 0.10612176358699799 - } - }, - "else": { - "operation": "boost", - "score": -0.0798761248588562 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.05284285172820091 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.0009310460300184786 - }, - "else": { - "operation": "boost", - "score": -0.32930123805999756 - } - } - } + "operation": "boost", + "score": 0.1131838709115982 }, "else": { + "operation": "boost", + "score": 0.12349305301904678 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type" + "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", - "score": 0.10393139719963074 + "score": 0.2060401886701584 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.12792128324508667 - }, - "else": { - "operation": "boost", - "score": -0.001278663519769907 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.1041783019900322 - }, - "else": { - "operation": "boost", - "score": 0.0645664855837822 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11095596104860306 - }, - "else": { - "operation": "boost", - "score": -1.5501021146774292 - } - } - } + "operation": "boost", + "score": 0.08474448323249817 }, "else": { "operation": "boost", - "score": -0.21701936423778534 + "score": -0.040490809828042984 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.388493150472641 }, "else": { - "operation": "boost", - "score": -0.11650042235851288 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20414.5, - "then": { - "operation": "boost", - "score": 0.13166160881519318 - }, - "else": { - "operation": "boost", - "score": -0.060468174517154694 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62580.5, - "then": { - "operation": "boost", - "score": 0.005185876041650772 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, - "then": { - "operation": "boost", - "score": 0.11304157227277756 - }, - "else": { - "operation": "boost", - "score": 0.053510881960392 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12860938906669617 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.1286967396736145 + "score": -0.29267844557762146 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, - "then": { - "operation": "boost", - "score": 0.09411657601594925 - }, - "else": { - "operation": "boost", - "score": 0.03306260704994202 - } + "operation": "boost", + "score": 0.1648392230272293 } - }, - "else": { - "operation": "boost", - "score": -0.20384475588798523 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49850.5, - "then": { - "operation": "boost", - "score": -0.43526872992515564 - }, - "else": { - "operation": "boost", - "score": -0.034213900566101074 - } } + }, + "else": { + "operation": "boost", + "score": 0.2249753177165985 } + }, + "else": { + "operation": "boost", + "score": 0.010791255161166191 } - }, - "else": { - "operation": "boost", - "score": 0.00030944752506911755 } }, "else": { "operation": "boost", - "score": -0.01206845324486494 + "score": 0.0052569047547876835 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.003992708865553141 + "score": 0.01201393362134695 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13416096568107605 + "score": -0.10625940561294556 }, "else": { - "operation": "boost", - "score": 0.13695985078811646 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0855901911854744 + }, + "else": { + "operation": "boost", + "score": -0.017492705956101418 + } } }, "else": { "operation": "boost", - "score": -0.5560339093208313 + "score": -7.276600081240758e-05 } } }, "else": { + "operation": "boost", + "score": 0.00928430911153555 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.355042040348053, "then": { + "operation": "boost", + "score": 0.025639701634645462 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 31.5, "then": { - "operation": "boost", - "score": 0.0931621640920639 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10781511664390564 + }, + "else": { + "operation": "boost", + "score": 0.049368515610694885 + } }, "else": { "operation": "boost", - "score": 0.04887231066823006 + "score": 0.0008999896235764027 } - }, - "else": { - "operation": "boost", - "score": 0.09820887446403503 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "boost", + "score": 0.03102671355009079 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { - "operation": "boost", - "score": 0.11468927562236786 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12337850779294968 + }, + "else": { + "operation": "boost", + "score": 0.0312652513384819 + } }, "else": { "operation": "boost", - "score": 0.12075425684452057 + "score": -0.038665637373924255 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.05415669456124306 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10933035612106323 + }, + "else": { + "operation": "boost", + "score": 0.006694428622722626 + } + }, + "else": { + "operation": "boost", + "score": -0.04410915821790695 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.11597326397895813 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03158142790198326 + }, + "else": { + "operation": "boost", + "score": -0.0009317589574493468 + } }, "else": { "operation": "boost", - "score": 0.0864504799246788 + "score": -0.015745334327220917 } } } - }, - "else": { - "operation": "boost", - "score": 0.1101030707359314 } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.014270126819610596 + }, + "else": { + "operation": "boost", + "score": -0.05719872564077377 + } } - }, - "else": { - "operation": "boost", - "score": 0.0031977184116840363 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.027248015627264977 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13666.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.0035641142167150974 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.022409895434975624 + }, + "else": { + "operation": "boost", + "score": 0.049379270523786545 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.05277777835726738, + "then": { + "operation": "boost", + "score": -0.042906321585178375 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.15173949301242828 + "score": 0.013325969688594341 }, "else": { - "operation": "boost", - "score": 0.11018542945384979 - } - }, - "else": { - "operation": "boost", - "score": -0.21319067478179932 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.014520417898893356 + "score": 0.06805077195167542 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": -0.0736483708024025 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10839.0, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "boost", - "score": -0.19121207296848297 + "score": 0.1000467836856842 }, "else": { "operation": "boost", - "score": 0.0696302279829979 + "score": 0.12437940388917923 } }, "else": { - "operation": "boost", - "score": -0.0015980610623955727 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.031166445463895798 + }, + "else": { + "operation": "boost", + "score": 0.11422640085220337 + } } - }, - "else": { - "operation": "boost", - "score": 0.010427202098071575 } } - }, - "else": { - "operation": "boost", - "score": -0.03445763140916824 } }, "else": { - "operation": "boost", - "score": -0.0976223573088646 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011121781542897224 - } - } - }, - "else": { - "operation": "boost", - "score": 2.5274759536841884e-05 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.0733974352478981 - }, - "else": { - "operation": "boost", - "score": 0.015162190422415733 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.012741642072796822 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11437.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12363.5, - "then": { - "operation": "boost", - "score": 0.06470304727554321 - }, - "else": { - "operation": "boost", - "score": 0.16014890372753143 - } - }, - "else": { - "operation": "boost", - "score": 0.03413369879126549 - } + "operation": "boost", + "score": 0.04280893877148628 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20068.5, "then": { "operation": "boost", - "score": 0.013818936422467232 + "score": -0.3485015034675598 }, "else": { "operation": "boost", - "score": -0.6818764805793762 + "score": -0.028521491214632988 } } } - }, - "else": { - "operation": "boost", - "score": 0.022662553936243057 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.024273885414004326 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16506.0, - "then": { - "operation": "boost", - "score": 0.12160250544548035 - }, - "else": { - "operation": "boost", - "score": -0.04660456255078316 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.23650872707366943 - }, - "else": { - "operation": "boost", - "score": 0.09981773793697357 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { - "operation": "boost", - "score": -0.5982344150543213 - }, - "else": { - "operation": "boost", - "score": 0.11887326836585999 - } - }, - "else": { - "operation": "boost", - "score": 0.08743412792682648 - } - }, - "else": { - "operation": "boost", - "score": 0.007093534804880619 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3593.5, - "then": { - "operation": "boost", - "score": -0.5183537602424622 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3160.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11002915352582932 - }, - "else": { - "operation": "boost", - "score": -0.34247881174087524 - } - }, - "else": { - "operation": "boost", - "score": -0.08817681670188904 - } - } - }, - "else": { - "operation": "boost", - "score": -0.018970167264342308 - } - } + "operation": "boost", + "score": 0.002293128753080964 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.0020876643247902393 - }, - "else": { - "operation": "boost", - "score": -0.10690581798553467 - } + "operation": "boost", + "score": -0.01119181327521801 } + }, + "else": { + "operation": "boost", + "score": -0.021052774041891098 } } }, "else": { - "operation": "boost", - "score": 0.0011707284720614552 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2459.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.0020274079870432615 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "boost", - "score": 0.04018937051296234 + "score": -0.021125925704836845 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { + "operation": "boost", + "score": 0.02459239959716797 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName" ], - "then": { - "operation": "boost", - "score": 0.018174167722463608 - }, - "else": { - "operation": "boost", - "score": -0.026692340150475502 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25627.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25940.5, + "threshold": 656.5, "then": { + "operation": "boost", + "score": -0.014513703994452953 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 337965.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.411899209022522 + "score": -0.130198135972023 }, "else": { - "operation": "boost", - "score": 0.07499319314956665 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { "operation": "boost", - "score": 0.08329249918460846 + "score": -0.43990230560302734 }, "else": { "operation": "boost", - "score": 0.10585806518793106 + "score": 0.17540815472602844 } - }, - "else": { - "operation": "boost", - "score": 0.05737617611885071 } + }, + "else": { + "operation": "boost", + "score": -0.11512011289596558 } }, "else": { "operation": "boost", - "score": 0.05746462196111679 - } - }, - "else": { - "operation": "boost", - "score": -0.018235623836517334 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, - "then": { - "operation": "boost", - "score": 0.033384885638952255 - }, - "else": { - "operation": "boost", - "score": 0.10947556048631668 + "score": -0.11026690155267715 } }, "else": { "operation": "boost", - "score": 0.03028811514377594 + "score": 0.011854995973408222 } - } - }, - "else": { - "operation": "boost", - "score": -0.013753936626017094 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.09988941997289658 - }, - "else": { - "operation": "boost", - "score": -0.29280927777290344 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25411.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.34384700655937195 - }, - "else": { - "operation": "boost", - "score": 0.0862327367067337 - } - }, - "else": { - "operation": "boost", - "score": -0.0730506107211113 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5161.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5204.0, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.04481038078665733 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.0442984513938427 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10293.5, - "then": { - "operation": "boost", - "score": 0.05031636357307434 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6929.0, - "then": { - "operation": "boost", - "score": 0.09905122965574265 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6696.5, - "then": { - "operation": "boost", - "score": -0.11744607985019684 - }, - "else": { - "operation": "boost", - "score": 0.10347791761159897 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10554506629705429 - } - } - }, - "else": { - "operation": "boost", - "score": -0.15238215029239655 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, - "then": { "operation": "boost", - "score": 0.03216373175382614 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06989581882953644 - }, - "else": { - "operation": "boost", - "score": 0.10945098102092743 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11416072398424149 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06570155918598175 - }, - "else": { - "operation": "boost", - "score": 0.09916798770427704 - } - }, - "else": { - "operation": "boost", - "score": -0.1010102704167366 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08689802139997482 - } - } + "score": -0.051343098282814026 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", "Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.1045333594083786 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8200.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8292.0, - "then": { - "operation": "boost", - "score": 0.04715369641780853 - }, - "else": { - "operation": "boost", - "score": 0.11319059878587723 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "threshold": 76.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 80.5, "then": { + "operation": "boost", + "score": 0.03971867635846138 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7486.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.1875799596309662 + "score": 0.03397351875901222 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7145.0, + "threshold": 78.5, "then": { + "operation": "boost", + "score": 0.5105454325675964 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7186.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.07248102873563766 + "score": -0.13600489497184753 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 77.5, "then": { "operation": "boost", - "score": 0.09472787380218506 + "score": -0.2796136736869812 }, "else": { "operation": "boost", - "score": 0.10258269309997559 + "score": 0.8609305024147034 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5257.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.28481945395469666 + "score": -0.010636524297297001 }, "else": { "operation": "boost", - "score": 0.11499323695898056 + "score": 0.06954678893089294 } }, "else": { "operation": "boost", - "score": 0.026929736137390137 + "score": 0.4000227451324463 } }, "else": { "operation": "boost", - "score": 0.0996299535036087 + "score": -0.03475746512413025 } }, "else": { - "operation": "boost", - "score": 0.027755053713917732 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.11006142944097519 + }, + "else": { + "operation": "boost", + "score": -0.061565693467855453 + } + }, + "else": { + "operation": "boost", + "score": 0.11654902249574661 + } + }, + "else": { + "operation": "boost", + "score": 0.04735817015171051 + } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10437799245119095 - } - }, - "else": { - "operation": "boost", - "score": -0.00024124662741087377 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.151762917637825 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8158.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18842.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19220.5, - "then": { - "operation": "boost", - "score": -0.02647900953888893 - }, - "else": { - "operation": "boost", - "score": 0.11538873612880707 - } - }, - "else": { - "operation": "boost", - "score": 0.02717766910791397 - } - }, - "else": { - "operation": "boost", - "score": -0.016833893954753876 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8054.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.1199507862329483 - }, - "else": { - "operation": "boost", - "score": -0.11664937436580658 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7230.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7635.5, - "then": { - "operation": "boost", - "score": 0.11716372519731522 }, "else": { "operation": "boost", - "score": -0.10113594681024551 + "score": -0.0183044895529747 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.07176414877176285 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7788.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.11525065451860428 + "score": 0.02881796844303608 }, "else": { "operation": "boost", - "score": 0.11092390865087509 + "score": -0.02189992554485798 } }, "else": { - "operation": "boost", - "score": -0.1298578828573227 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7347.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.5332649350166321 - }, - "else": { - "operation": "boost", - "score": 0.030855905264616013 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.12493585050106049 - }, - "else": { - "operation": "boost", - "score": -0.1079171821475029 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.05092566832900047 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.0032177830580621958 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6044.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6175.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.11726465821266174 + }, + "else": { + "operation": "boost", + "score": 0.03629761561751366 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.09456785768270493 + "score": -0.004008475225418806 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "boost", - "score": -0.13099172711372375 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6804.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "boost", - "score": -0.1519901156425476 + "score": 0.11067378520965576 }, "else": { "operation": "boost", - "score": 0.11104380339384079 + "score": 0.28126034140586853 } + }, + "else": { + "operation": "boost", + "score": 0.0362430103123188 } } - }, - "else": { - "operation": "boost", - "score": 0.11940469592809677 } - }, - "else": { - "operation": "boost", - "score": -0.2299100160598755 } }, "else": { "operation": "boost", - "score": -0.07646097987890244 + "score": 0.012865160591900349 } } + }, + "else": { + "operation": "boost", + "score": 0.0040780361741781235 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7092.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7393.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.10644271224737167 + "score": 0.28348326683044434 }, "else": { "operation": "boost", - "score": 0.10325673222541809 + "score": 0.055761221796274185 } }, - "else": { - "operation": "boost", - "score": 0.13108162581920624 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6211.5, - "then": { - "operation": "boost", - "score": -0.2576814889907837 - }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 26.5, "then": { - "operation": "boost", - "score": 0.11472880095243454 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "boost", + "score": 0.0649571344256401 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "boost", + "score": 0.19835662841796875 + }, + "else": { + "operation": "boost", + "score": 0.08227872103452682 + } + } }, "else": { - "operation": "boost", - "score": 0.15778163075447083 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.15470652282238007 + }, + "else": { + "operation": "boost", + "score": -0.019036533311009407 + } } } + }, + "else": { + "operation": "boost", + "score": 0.008130851201713085 } }, "else": { - "operation": "boost", - "score": -0.03210652992129326 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.325901061296463 + }, + "else": { + "operation": "boost", + "score": -0.027516013011336327 + } } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13354074954986572 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 560.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 596.0, "then": { "operation": "boost", - "score": 0.10325489193201065 + "score": 0.08257932960987091 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6049.0, + "threshold": 569.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.08971324563026428 - }, - "else": { - "operation": "boost", - "score": 0.10390619933605194 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.09934008121490479 - }, - "else": { - "operation": "boost", - "score": -0.1363116204738617 - } - } + "operation": "boost", + "score": 0.1354023516178131 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10590197890996933 - }, - "else": { - "operation": "boost", - "score": 0.11090273410081863 - } + "operation": "boost", + "score": 0.09804705530405045 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11495719105005264 - }, - "else": { - "operation": "boost", - "score": 0.12217453867197037 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.021554457023739815 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11287324875593185 - }, - "else": { - "operation": "boost", - "score": 0.003204312175512314 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { "operation": "boost", - "score": 0.10031621903181076 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.1257304698228836 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8395.0, - "then": { - "operation": "boost", - "score": 0.16220690310001373 - }, - "else": { - "operation": "boost", - "score": 0.03487173467874527 - } - }, - "else": { - "operation": "boost", - "score": -0.1045675128698349 - } - } + "score": 0.020344272255897522 } - }, - "else": { - "operation": "boost", - "score": -0.008383593522012234 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6067.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10529.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.10323630273342133 - }, - "else": { - "operation": "boost", - "score": 0.08505978435277939 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.12981046736240387 - }, - "else": { - "operation": "boost", - "score": 0.12314701080322266 - } - }, - "else": { - "operation": "boost", - "score": -0.1138983890414238 - } - }, - "else": { - "operation": "boost", - "score": 0.12406112253665924 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1736333817243576 - } - }, - "else": { - "operation": "boost", - "score": -0.02266014739871025 - } + "operation": "boost", + "score": -0.04532129690051079 } }, "else": { "operation": "boost", - "score": -0.028094368055462837 + "score": -0.038339853286743164 } } } + }, + "else": { + "operation": "boost", + "score": -0.003258779877796769 } - }, - "else": { + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4724.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4809.0, + "then": { + "operation": "boost", + "score": 0.013752676546573639 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.22141319513320923 + }, + "else": { + "operation": "boost", + "score": 0.09042683243751526 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5183.5, - "then": { - "operation": "boost", - "score": 0.12582451105117798 - }, - "else": { - "operation": "boost", - "score": 0.09724979102611542 - } + "operation": "boost", + "score": 0.0062300353311002254 + }, + "else": { + "operation": "boost", + "score": -0.026556165888905525 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": -0.029851600527763367 }, "else": { + "operation": "boost", + "score": 0.009203627705574036 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12234605103731155 + "score": 0.11293602734804153 }, "else": { "operation": "boost", - "score": 0.09908497333526611 + "score": 0.06543811410665512 } }, "else": { "operation": "boost", - "score": -0.00035908666905015707 + "score": 0.02322736196219921 } + }, + "else": { + "operation": "boost", + "score": 0.0036628604866564274 } + }, + "else": { + "operation": "boost", + "score": -0.01222881581634283 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2469.0, + "threshold": 34.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.08556046336889267 - }, - "else": { - "operation": "boost", - "score": 0.004707269836217165 - } + "operation": "boost", + "score": -0.14632746577262878 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11539028584957123 + "score": -0.10784900188446045 }, "else": { - "operation": "boost", - "score": 0.0392635315656662 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": 0.17748208343982697 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08828332275152206 + }, + "else": { + "operation": "boost", + "score": 0.053786247968673706 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": -0.0760713517665863 + }, + "else": { + "operation": "boost", + "score": 0.11916641891002655 + } + }, + "else": { + "operation": "boost", + "score": -0.05426008254289627 + } + } } } + }, + "else": { + "operation": "boost", + "score": -1.6424253772129305e-05 } } - }, - "else": { - "operation": "boost", - "score": -0.002806692849844694 } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.00675848126411438 }, "else": { + "operation": "boost", + "score": 0.0026029536966234446 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 298482.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 323356.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.05310757830739021 + }, + "else": { + "operation": "boost", + "score": -0.0001880819909274578 + } + }, + "else": { + "operation": "boost", + "score": -0.08489398658275604 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_Expression", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6495.0, + "feature": "FractionNameInContext", + "threshold": 0.02777777798473835, "then": { "operation": "boost", - "score": -0.008962706662714481 + "score": 0.002480890369042754 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4712.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.13841280341148376 - }, - "else": { - "operation": "boost", - "score": 0.1442340463399887 - } + "operation": "boost", + "score": 0.09180008620023727 }, "else": { "operation": "boost", - "score": 0.10095684975385666 + "score": 0.059591226279735565 } }, "else": { "operation": "boost", - "score": -0.18813075125217438 + "score": 0.02666710689663887 } } }, "else": { - "operation": "boost", - "score": 0.0216587632894516 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.052185337990522385 + }, + "else": { + "operation": "boost", + "score": 0.023458095267415047 + } } - }, - "else": { - "operation": "boost", - "score": 0.009738503023982048 } - } - }, - "else": { - "operation": "boost", - "score": -0.00043545279186218977 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11093.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { + "operation": "boost", + "score": -0.05459415912628174 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 96602.0, + "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97095.5, + "threshold": 205637.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.008097890764474869 + "score": -0.06972047686576843 }, "else": { + "operation": "boost", + "score": 0.017543915659189224 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04644935205578804 + "score": 0.05335920304059982 }, "else": { + "operation": "boost", + "score": -0.03800826519727707 + } + }, + "else": { + "operation": "boost", + "score": -0.012955172918736935 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, + "then": { + "operation": "boost", + "score": -0.14958524703979492 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111169.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55854.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.020039044320583344 - }, - "else": { - "operation": "boost", - "score": 0.10899679362773895 - } - }, - "else": { - "operation": "boost", - "score": 0.0640607476234436 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10611261427402496 - }, - "else": { - "operation": "boost", - "score": 0.09321137517690659 - } - } + "operation": "boost", + "score": -0.04003315791487694 }, "else": { - "operation": "boost", - "score": -0.14547978341579437 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05415920913219452 - }, - "else": { - "operation": "boost", - "score": -0.008721845224499702 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.10687519609928131 + "score": 0.14571157097816467 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FractionNameInContext", + "threshold": 0.07493621855974197, "then": { "operation": "boost", - "score": 0.0777946338057518 + "score": 0.1355765163898468 }, "else": { "operation": "boost", - "score": 0.04896402731537819 + "score": 0.06905090063810349 } } + }, + "else": { + "operation": "boost", + "score": -0.18326330184936523 } }, "else": { - "operation": "boost", - "score": 0.013886811211705208 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105661.0, - "then": { - "operation": "boost", - "score": -0.16317741572856903 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 48070.0, "then": { "operation": "boost", - "score": 0.09581971913576126 + "score": -0.030554134398698807 }, "else": { - "operation": "boost", - "score": 0.09416785836219788 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.09274778515100479 + }, + "else": { + "operation": "boost", + "score": -0.15596041083335876 + } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 13327.0, "then": { - "operation": "boost", - "score": -0.2314951866865158 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13390.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04343261197209358 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28548.0, + "then": { + "operation": "boost", + "score": -0.13246724009513855 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27669.0, + "then": { + "operation": "boost", + "score": 0.19992277026176453 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18526.5, + "then": { + "operation": "boost", + "score": 0.07009807974100113 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18305.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.09583566337823868 + }, + "else": { + "operation": "boost", + "score": 0.15764276683330536 + } + }, + "else": { + "operation": "boost", + "score": 0.07781140506267548 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.4124438464641571 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08676277101039886 + "score": -0.013666884042322636 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.10467147827148438 - }, - "else": { - "operation": "boost", - "score": 0.0826125293970108 - } + "operation": "boost", + "score": 0.0800977498292923 }, "else": { "operation": "boost", - "score": 0.06942278146743774 + "score": -0.09904047101736069 } } } }, "else": { "operation": "boost", - "score": -0.25830554962158203 + "score": 0.0018011487554758787 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24577.5, "then": { + "operation": "boost", + "score": -0.1376655399799347 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23639.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.12355837970972061 - }, - "else": { - "operation": "boost", - "score": 0.07166346907615662 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 23935.5, "then": { "operation": "boost", - "score": 0.041177522391080856 + "score": 0.09532508254051208 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10597864538431168 - }, - "else": { - "operation": "boost", - "score": 0.04468065872788429 - } + "operation": "boost", + "score": 0.10352880507707596 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10371187329292297 + "score": 0.19421051442623138 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10891794413328171 - }, - "else": { - "operation": "boost", - "score": 0.1092173308134079 - } + "operation": "boost", + "score": 0.11590353399515152 } } } }, "else": { "operation": "boost", - "score": 0.04608755186200142 + "score": -0.11697892844676971 } - } - }, - "else": { - "operation": "boost", - "score": -0.012252209708094597 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04521958902478218 - }, - "else": { - "operation": "boost", - "score": 0.13668805360794067 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.16008365154266357 }, "else": { "operation": "boost", - "score": 0.08075578510761261 + "score": -0.024104753509163857 } } - }, - "else": { - "operation": "boost", - "score": 0.02055664174258709 } + }, + "else": { + "operation": "boost", + "score": -0.05465766042470932 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07127019762992859 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.12991948425769806 - }, - "else": { - "operation": "boost", - "score": 0.10254738479852676 - } - }, - "else": { - "operation": "boost", - "score": -0.3976207375526428 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75472.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.14568382501602173 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76763.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.006126217544078827 - }, - "else": { - "operation": "boost", - "score": 0.11488959193229675 - } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 167779.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.04585035517811775 + "score": 0.07416559755802155 }, "else": { "operation": "boost", - "score": 0.10778062045574188 + "score": -0.18289320170879364 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.10025845468044281 - }, - "else": { - "operation": "boost", - "score": 0.06668546050786972 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16761.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25208.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37521.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44009.0, - "then": { - "operation": "boost", - "score": -0.19440898299217224 - }, - "else": { - "operation": "boost", - "score": 0.27688321471214294 - } - }, - "else": { - "operation": "boost", - "score": -0.26804670691490173 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22942.0, - "then": { - "operation": "boost", - "score": 0.11896016448736191 - }, - "else": { - "operation": "boost", - "score": 0.8742266297340393 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06523853540420532 - } - }, - "else": { - "operation": "boost", - "score": 0.021743198856711388 - } - }, - "else": { - "operation": "boost", - "score": -0.07532991468906403 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62180.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.11526696383953094 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 160645.0, "then": { "operation": "boost", - "score": 0.01696523278951645 + "score": -0.20275366306304932 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.11496122181415558 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "boost", - "score": 0.04653036594390869 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 72713.0, + "threshold": 68401.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.05106541886925697 + }, + "else": { + "operation": "boost", + "score": -0.0409347303211689 + } + }, + "else": { "operation": "boost", - "score": 0.0048472583293914795 + "score": 0.008066191338002682 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0433371476829052 + }, + "else": { + "operation": "boost", + "score": -0.022048654034733772 + } }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8476.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59716.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61294.0, + "then": { + "operation": "boost", + "score": -0.05512602627277374 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3873879909515381 + }, + "else": { + "operation": "boost", + "score": -0.06662780791521072 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53793.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.10067971795797348 + }, + "else": { + "operation": "boost", + "score": 0.04762813076376915 + } + }, + "else": { + "operation": "boost", + "score": -0.07026449590921402 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46971.0, + "then": { + "operation": "boost", + "score": -0.06588133424520493 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46241.5, + "then": { + "operation": "boost", + "score": 0.07676829397678375 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.021756984293460846 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.035159796476364136 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.02654184214770794 + }, + "else": { + "operation": "boost", + "score": -0.10338429361581802 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7473.5, + "then": { + "operation": "boost", + "score": -0.1215212494134903 + }, + "else": { + "operation": "boost", + "score": 0.025562740862369537 + } + }, + "else": { + "operation": "boost", + "score": -0.0663188248872757 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.02178775519132614 + }, + "else": { + "operation": "boost", + "score": 0.06688954681158066 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08996648341417313 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.016525056213140488 + }, + "else": { + "operation": "boost", + "score": -0.1172778382897377 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.02249608188867569 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 10.0, + "then": { + "operation": "boost", + "score": -0.05667947977781296 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.1431623101234436 + }, + "else": { + "operation": "boost", + "score": -0.10630203038454056 + } + }, + "else": { + "operation": "boost", + "score": -0.001528955646790564 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0225498266518116 + }, + "else": { + "operation": "boost", + "score": -0.002707627136260271 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.002116968622431159 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.10629629343748093 + }, + "else": { + "operation": "boost", + "score": 0.03224535658955574 + } + }, + "else": { + "operation": "boost", + "score": -0.039633672684431076 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.008502139709889889 + }, + "else": { + "operation": "boost", + "score": -0.004962095990777016 + } + }, + "else": { + "operation": "boost", + "score": 0.0057676793076097965 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.009677935391664505 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.015383767895400524 + }, + "else": { + "operation": "boost", + "score": -0.012490826658904552 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { "operation": "boost", - "score": 0.11677806824445724 + "score": -0.012639855034649372 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09186425805091858 + }, + "else": { + "operation": "boost", + "score": 0.024591373279690742 + } + }, + "else": { + "operation": "boost", + "score": -0.10280642658472061 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 222.0, + "then": { + "operation": "boost", + "score": -0.07410300523042679 + }, + "else": { + "operation": "boost", + "score": 0.007650325540453196 + } + } } }, "else": { - "operation": "boost", - "score": 0.11589735746383667 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.14758314192295074 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11467.0, + "then": { + "operation": "boost", + "score": -0.13882435858249664 + }, + "else": { + "operation": "boost", + "score": -0.08684992045164108 + } + } } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.05618099495768547 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, - "then": { - "operation": "boost", - "score": -0.02268238551914692 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.010777843184769154 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10188450664281845 - }, - "else": { - "operation": "boost", - "score": -0.12937778234481812 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function", - "Namespace" + "Function" ], "then": { - "operation": "boost", - "score": 0.09840931743383408 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": 0.12642629444599152 + }, + "else": { + "operation": "boost", + "score": 0.09720033407211304 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08268596231937408 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011967801488935947 + }, + "else": { + "operation": "boost", + "score": 0.04184703528881073 + } + }, + "else": { + "operation": "boost", + "score": 0.014635924249887466 + } + }, + "else": { + "operation": "boost", + "score": 0.00020478229271247983 + } + } + } }, "else": { "operation": "boost", - "score": -0.021892046555876732 + "score": -0.00837474875152111 } - }, - "else": { - "operation": "boost", - "score": -0.11452287435531616 } } } - }, - "else": { - "operation": "boost", - "score": -0.018988555297255516 } + }, + "else": { + "operation": "boost", + "score": 0.00758777279406786 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61550.0, + "threshold": 189.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11272073537111282 - }, - "else": { - "operation": "boost", - "score": -0.0615391731262207 - } - }, - "else": { - "operation": "boost", - "score": 0.014587384648621082 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, "then": { "operation": "boost", - "score": 0.005293200258165598 + "score": -0.004558957181870937 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17774.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37666.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10865053534507751 + "score": -0.06271757930517197 }, "else": { "operation": "boost", - "score": -0.0009367507882416248 + "score": 0.10996513068675995 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 108163.5, "then": { - "operation": "boost", - "score": -0.33111605048179626 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.124207504093647 + }, + "else": { + "operation": "boost", + "score": 0.07462351024150848 + } }, "else": { - "operation": "boost", - "score": 0.07876088470220566 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, + "then": { + "operation": "boost", + "score": 0.10277403146028519 + }, + "else": { + "operation": "boost", + "score": 0.056860532611608505 + } } } }, @@ -196202,1669 +190691,1584 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ClassStructUnion" ], "then": { "operation": "boost", - "score": 0.13957884907722473 + "score": 0.10565686970949173 }, "else": { "operation": "boost", - "score": 0.07595369964838028 + "score": 0.00852958019822836 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 95499.0, + "then": { + "operation": "boost", + "score": -0.1321980506181717 + }, + "else": { + "operation": "boost", + "score": 0.010032344609498978 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0011827511480078101 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.003902002004906535 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.14399966597557068 + }, + "else": { + "operation": "boost", + "score": 0.042930010706186295 + } + }, + "else": { + "operation": "boost", + "score": 0.022893289104104042 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.017599718645215034 + }, + "else": { + "operation": "boost", + "score": -0.14016197621822357 + } } } }, "else": { "operation": "boost", - "score": 0.023194342851638794 + "score": -0.004712421912699938 } } } } } } - }, - "else": { + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.007662678137421608 + }, + "else": { + "operation": "boost", + "score": 0.0022291792556643486 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 143.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsDeprecated", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.09253742545843124 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 366.0, + "then": { + "operation": "boost", + "score": 0.13852377235889435 + }, + "else": { + "operation": "boost", + "score": 0.1504603773355484 + } + }, + "else": { + "operation": "boost", + "score": 0.017679976299405098 + } }, "else": { "operation": "boost", - "score": -0.03454064577817917 + "score": 0.0004018302424810827 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13537.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13877.0, + "threshold": 21689.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 24308.0, "then": { "operation": "boost", - "score": 0.008983309380710125 + "score": 0.013747102580964565 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04407130181789398 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.038030777126550674 + "score": 0.12216737866401672 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, - "then": { - "operation": "boost", - "score": 0.12502464652061462 - }, - "else": { - "operation": "boost", - "score": -0.15635094046592712 - } - }, - "else": { - "operation": "boost", - "score": 0.065132737159729 - } + "operation": "boost", + "score": 0.09761015325784683 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06774649769067764 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.08505445718765259 - }, - "else": { - "operation": "boost", - "score": 0.1136656254529953 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0408230721950531 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.09166666865348816, "then": { "operation": "boost", - "score": 0.03017689287662506 + "score": 0.02380344085395336 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.08017916977405548 + "score": 0.13274243474006653 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.13074807822704315 - }, - "else": { - "operation": "boost", - "score": 0.03861706703901291 - } + "operation": "boost", + "score": 0.09116168320178986 } } + }, + "else": { + "operation": "boost", + "score": -0.09778054803609848 } } - }, - "else": { - "operation": "boost", - "score": 0.015102673321962357 } }, "else": { - "operation": "boost", - "score": 0.005003007128834724 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09673146158456802 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1560927927494049 + }, + "else": { + "operation": "boost", + "score": 0.03121931478381157 + } + }, + "else": { + "operation": "boost", + "score": 0.02049807645380497 + } + } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20296.0, "then": { "operation": "boost", - "score": -0.0945759192109108 + "score": -0.06066863238811493 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20253.5, "then": { - "operation": "boost", - "score": -0.06005248799920082 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10877031087875366 + }, + "else": { + "operation": "boost", + "score": 0.062258388847112656 + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20150.0, "then": { "operation": "boost", - "score": -3.4201126098632812 + "score": -0.23891590535640717 }, "else": { "operation": "boost", - "score": -0.6281301975250244 + "score": 0.008292204700410366 } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.024745650589466095 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13468.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12465257197618484 - }, - "else": { - "operation": "boost", - "score": 0.5940304398536682 - } + "operation": "boost", + "score": -0.06608335673809052 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11159.0, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11605.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { + "operation": "boost", + "score": 0.00471850298345089 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03253640979528427 - }, - "else": { - "operation": "boost", - "score": 0.11537913978099823 - } + "operation": "boost", + "score": -0.11236737668514252 }, "else": { "operation": "boost", - "score": -0.01638045161962509 + "score": 0.18059031665325165 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, "then": { "operation": "boost", - "score": 0.12655223906040192 + "score": 0.123537078499794 }, "else": { "operation": "boost", - "score": 0.0557527132332325 + "score": 0.04545416682958603 } } }, "else": { "operation": "boost", - "score": -0.15022780001163483 + "score": -0.013286944478750229 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.024762321263551712 }, "else": { "operation": "boost", - "score": 0.060859404504299164 + "score": 0.006236442364752293 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.17142857611179352, "then": { "operation": "boost", - "score": -0.14717379212379456 + "score": 0.23571592569351196 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03958865627646446 + "score": 0.11377774924039841 }, "else": { "operation": "boost", - "score": 0.12941499054431915 + "score": 0.0004342622123658657 } } }, "else": { + "operation": "boost", + "score": -0.12980826199054718 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11437.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.06898877769708633 - }, - "else": { - "operation": "boost", - "score": 0.15597553551197052 - } + "operation": "boost", + "score": -0.05231255665421486 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.5331239104270935 - }, - "else": { - "operation": "boost", - "score": 0.03647181764245033 - } + "operation": "boost", + "score": 0.07834428548812866 } + }, + "else": { + "operation": "boost", + "score": -0.048718564212322235 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.14158053696155548 - }, - "else": { - "operation": "boost", - "score": -0.15825772285461426 - } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13226.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10301752388477325 - }, - "else": { - "operation": "boost", - "score": 0.15262165665626526 - } - }, - "else": { - "operation": "boost", - "score": 0.16997748613357544 - } + "operation": "boost", + "score": -0.02048558183014393 }, "else": { - "operation": "boost", - "score": 0.027373382821679115 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0003530648536980152 - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04222463443875313 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224557.0, - "then": { - "operation": "boost", - "score": -0.002746619749814272 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.1113298311829567 - }, - "else": { - "operation": "boost", - "score": -0.5529073476791382 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11766822636127472 - }, - "else": { - "operation": "boost", - "score": 0.06933560222387314 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.003227023873478174 - }, - "else": { - "operation": "boost", - "score": 0.09070569276809692 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10316935926675797 - }, - "else": { - "operation": "boost", - "score": 0.019750505685806274 - } - }, - "else": { - "operation": "boost", - "score": -0.11593499034643173 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Type" + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], "then": { - "operation": "boost", - "score": -0.009243992157280445 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.03889278694987297 + "score": 0.004039331804960966 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Expression", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": -0.12391205877065659 + }, + "else": { + "operation": "boost", + "score": 0.02058020420372486 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.11227397620677948 + "score": 0.015947308391332626 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.03115501068532467 + }, + "else": { + "operation": "boost", + "score": 0.21738301217556 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.03718357905745506 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { "operation": "boost", - "score": -0.04645251855254173 + "score": -0.7489467263221741 }, "else": { "operation": "boost", - "score": 0.06268712133169174 + "score": 0.002957037417218089 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08451537042856216 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { "operation": "boost", - "score": 0.03510133922100067 + "score": -0.10831350833177567 }, "else": { - "operation": "boost", - "score": -0.032761987298727036 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.05443519353866577 + }, + "else": { + "operation": "boost", + "score": -0.02920595183968544 + } } } } }, "else": { - "operation": "boost", - "score": 0.03519134223461151 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.033183977007865906 + }, + "else": { + "operation": "boost", + "score": 0.10355139523744583 + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, "then": { "operation": "boost", - "score": 0.0026674089021980762 + "score": 0.11862979829311371 }, "else": { "operation": "boost", - "score": 0.07225016504526138 + "score": -0.039351195096969604 } - }, - "else": { - "operation": "boost", - "score": 0.02375917322933674 } - }, - "else": { - "operation": "boost", - "score": 0.012735835276544094 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.019487470388412476 + "score": 0.04428980126976967 }, "else": { - "operation": "boost", - "score": 0.11020254343748093 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.045583661645650864 + "score": 0.005200193263590336 }, "else": { "operation": "boost", - "score": 0.04354771971702576 + "score": 0.11671609431505203 } - }, - "else": { - "operation": "boost", - "score": -0.08944382518529892 } - } - }, - "else": { - "operation": "boost", - "score": -0.030463313683867455 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.01729894056916237 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.026133818551898003 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12153015285730362 - }, - "else": { - "operation": "boost", - "score": 0.09556830674409866 - } - }, - "else": { - "operation": "boost", - "score": 0.05920964851975441 - } + "operation": "boost", + "score": 0.004109319765120745 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09679107367992401 - }, - "else": { - "operation": "boost", - "score": -0.10440681874752045 - } + "operation": "boost", + "score": -0.017383024096488953 } } - }, - "else": { - "operation": "boost", - "score": -0.036580875515937805 - } - } - }, - "else": { - "operation": "boost", - "score": -0.12443739175796509 - } - }, - "else": { - "operation": "boost", - "score": 0.048270221799612045 - } - } - }, - "else": { - "operation": "boost", - "score": 0.010814950801432133 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32342.0, - "then": { - "operation": "boost", - "score": -0.0344228558242321 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30750.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31239.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05515073984861374 - }, - "else": { - "operation": "boost", - "score": -1.4077237844467163 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.02902170456945896 + "score": -0.01265617273747921 }, "else": { "operation": "boost", - "score": -0.46173715591430664 + "score": -0.21304729580879211 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, - "then": { - "operation": "boost", - "score": 0.09525726735591888 - }, - "else": { - "operation": "boost", - "score": 0.0417034849524498 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.10184139013290405 - }, - "else": { - "operation": "boost", - "score": 0.10460945218801498 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.07245594263076782 - }, - "else": { - "operation": "boost", - "score": -0.1861540526151657 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 590.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5231.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, - "then": { - "operation": "boost", - "score": 0.024140872061252594 - }, - "else": { - "operation": "boost", - "score": 0.08638621866703033 - } - }, - "else": { - "operation": "boost", - "score": -0.01822534017264843 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 544.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.08153201639652252 - }, - "else": { - "operation": "boost", - "score": 0.12708903849124908 - } - }, - "else": { - "operation": "boost", - "score": -0.1187727078795433 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.058073677122592926 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.425989031791687 + "score": 0.12047511339187622 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11338625848293304 - }, - "else": { - "operation": "boost", - "score": 0.019812554121017456 - } + "operation": "boost", + "score": -0.025379842147231102 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 181.5, - "then": { - "operation": "boost", - "score": -0.025285862386226654 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 178.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.11763054877519608 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "boost", - "score": 0.04733744636178017 + "score": 0.11262232810258865 }, "else": { + "operation": "boost", + "score": -0.002517029643058777 + } + }, + "else": { + "operation": "boost", + "score": 0.10504040122032166 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.002391108078882098 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 106.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.0831298977136612 - }, - "else": { - "operation": "boost", - "score": 0.1297009438276291 - } + "operation": "boost", + "score": -0.05318252742290497 }, "else": { "operation": "boost", - "score": -0.23861224949359894 + "score": 0.10331213474273682 } + }, + "else": { + "operation": "boost", + "score": 0.049957748502492905 } - }, - "else": { - "operation": "boost", - "score": 0.7316809296607971 } } } + }, + "else": { + "operation": "boost", + "score": -0.10730710625648499 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.2606065571308136 - }, - "else": { - "operation": "boost", - "score": 0.12137364596128464 - } - }, - "else": { - "operation": "boost", - "score": 0.04588180407881737 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11949.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12368.0, - "then": { - "operation": "boost", - "score": 0.02109580673277378 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.1148308590054512 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.19632868468761444 + "score": -0.2303236573934555 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.024513965472579002 - }, - "else": { - "operation": "boost", - "score": 0.08938179165124893 - } + "operation": "boost", + "score": 0.0054090130142867565 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10625.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "Function" ], "then": { - "operation": "boost", - "score": 0.10306137055158615 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10940.5, + "feature": "FractionNameInContext", + "threshold": 0.75, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11550.0, - "then": { - "operation": "boost", - "score": 0.09184953570365906 - }, - "else": { - "operation": "boost", - "score": -0.028220558539032936 - } + "operation": "boost", + "score": 0.1147279143333435 }, "else": { - "operation": "boost", - "score": 0.17834828794002533 - } - }, - "else": { - "operation": "boost", - "score": -0.0867738127708435 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8266.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9195.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9948.0, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.05448167398571968, "then": { "operation": "boost", - "score": 0.15762723982334137 + "score": 0.08509765565395355 }, "else": { - "operation": "boost", - "score": 0.045531656593084335 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.06880068778991699 + "score": 0.05857612565159798 }, "else": { "operation": "boost", - "score": 0.10013143718242645 + "score": -0.22504429519176483 } - }, - "else": { - "operation": "boost", - "score": -0.12100031226873398 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9064.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.3665043115615845 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.11505317687988281 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10898370295763016 - }, - "else": { - "operation": "boost", - "score": -0.10488434135913849 - } - } - } + "operation": "boost", + "score": 0.017649006098508835 }, "else": { "operation": "boost", - "score": 0.05122557654976845 + "score": -0.15300437808036804 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8890.0, - "then": { - "operation": "boost", - "score": 0.1156013011932373 - }, - "else": { - "operation": "boost", - "score": -0.03420699015259743 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8668.0, - "then": { - "operation": "boost", - "score": -0.004447044339030981 - }, - "else": { - "operation": "boost", - "score": 0.21268320083618164 - } - } + "operation": "boost", + "score": -0.044720426201820374 } } }, "else": { "operation": "boost", - "score": -0.0008195267291739583 + "score": 0.0037050058599561453 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3191.5, - "then": { - "operation": "boost", - "score": -0.12841428816318512 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3146.5, - "then": { - "operation": "boost", - "score": 0.136430561542511 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 270.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.009635488502681255 + "score": 0.0010362752946093678 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.03835746645927429 - }, - "else": { - "operation": "boost", - "score": 0.13215848803520203 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1950.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.08047593384981155 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.027484215795993805 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.00554429879412055 + }, + "else": { + "operation": "boost", + "score": -0.08167380094528198 + } + } }, "else": { - "operation": "boost", - "score": 0.02808588370680809 - } + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.011218525469303131 + }, + "else": { + "operation": "boost", + "score": -0.003770761890336871 + } + }, + "else": { + "operation": "boost", + "score": 0.005748257972300053 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.04880952462553978, + "then": { + "operation": "boost", + "score": -0.031342294067144394 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.00885771494358778 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.4306332468986511 + }, + "else": { + "operation": "boost", + "score": 0.08183860033750534 + } + } + }, + "else": { + "operation": "boost", + "score": -0.028326673433184624 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.039141733199357986 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.09765610843896866 + }, + "else": { + "operation": "boost", + "score": -0.03922317922115326 + } + }, + "else": { + "operation": "boost", + "score": -0.0986628457903862 + } + } + } + } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 264.0, - "then": { - "operation": "boost", - "score": 0.1266922652721405 - }, - "else": { - "operation": "boost", - "score": 0.0697777047753334 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 359.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.07616231590509415 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.027735400944948196 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.003858044045045972 + }, + "else": { + "operation": "boost", + "score": 0.09469389915466309 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.014627712778747082 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09197455644607544 + }, + "else": { + "operation": "boost", + "score": 0.1658807396888733 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.07276316732168198 + }, + "else": { + "operation": "boost", + "score": 0.014979771338403225 + } + } + }, + "else": { + "operation": "boost", + "score": -0.034781619906425476 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009112276136875153 + } }, "else": { "operation": "boost", - "score": -0.11540663987398148 + "score": -0.021843209862709045 } - }, - "else": { - "operation": "boost", - "score": -0.6057464480400085 } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.005198133643716574 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.005524586886167526 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03203364089131355 - }, - "else": { - "operation": "boost", - "score": 0.08782549947500229 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2057.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03364371508359909 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.014563643373548985 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.019481852650642395 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.08261258155107498 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7455.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.11663330346345901 + "score": 0.019261864945292473 }, "else": { - "operation": "boost", - "score": 0.07488538324832916 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10714627057313919 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11526324599981308 + }, + "else": { + "operation": "boost", + "score": -0.11177810281515121 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.04483933374285698 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6067.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.008547231554985046 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.1033235415816307 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19344.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.0982092022895813 + "score": -0.011520959436893463 }, "else": { - "operation": "boost", - "score": 0.114744171500206 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09290006011724472 + }, + "else": { + "operation": "boost", + "score": 0.00897774938493967 + } } + }, + "else": { + "operation": "boost", + "score": 0.002085469663143158 } - }, - "else": { - "operation": "boost", - "score": -0.11299063265323639 } }, "else": { "operation": "boost", - "score": 0.06829703599214554 + "score": -0.10700166970491409 } }, "else": { "operation": "boost", - "score": 0.07007061690092087 + "score": -0.0914255902171135 } } } } + }, + "else": { + "operation": "boost", + "score": -0.0005744961090385914 } }, "else": { - "operation": "boost", - "score": 0.0021876723039895296 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0008905512513592839 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.020704131573438644 + }, + "else": { + "operation": "boost", + "score": -0.07614192366600037 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.0032853102311491966 } - }, - "else": { - "operation": "boost", - "score": -0.006247959099709988 } } - }, - "else": { - "operation": "boost", - "score": -0.0031729235779494047 } } } @@ -197872,1282 +192276,736 @@ }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11093.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06903892755508423 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.18876557052135468 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97095.5, + "threshold": 375.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 114340.0, + "threshold": 387.0, "then": { - "operation": "boost", - "score": 0.007074224296957254 + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.19327495992183685 + }, + "else": { + "operation": "boost", + "score": 0.027518780902028084 + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.041073575615882874 + "score": 0.14140792191028595 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111169.5, + "operation": "boost", + "score": 0.11907932907342911 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.08233904838562012 - }, - "else": { - "operation": "boost", - "score": -0.139047309756279 - } + "operation": "boost", + "score": -0.03998662903904915 }, "else": { + "operation": "boost", + "score": -0.1258513182401657 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.026984985917806625 + "score": -0.011606038548052311 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, + "operation": "boost", + "score": -0.2191244661808014 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.10303653031587601 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.07695050537586212 + "score": 0.11718155443668365 }, "else": { "operation": "boost", - "score": 0.04967108368873596 + "score": 0.06479702889919281 } + }, + "else": { + "operation": "boost", + "score": -0.024944700300693512 } + }, + "else": { + "operation": "boost", + "score": 0.019519178196787834 } - }, - "else": { - "operation": "boost", - "score": 0.008729354478418827 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105661.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.1589706838130951 + "score": -0.22390438616275787 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.005302328150719404 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { + "operation": "boost", + "score": -0.039260413497686386 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.03125, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.09187452495098114 - }, - "else": { - "operation": "boost", - "score": 0.029218781739473343 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0322609581053257 - }, - "else": { - "operation": "boost", - "score": -0.24127815663814545 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09762097895145416 - }, - "else": { - "operation": "boost", - "score": 0.10884034633636475 - } - } - } + "operation": "boost", + "score": 0.1144624650478363 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.1216403916478157 - }, - "else": { - "operation": "boost", - "score": 0.06421153247356415 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10646592080593109 - }, - "else": { - "operation": "boost", - "score": 0.05464210733771324 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.3644765019416809 - }, - "else": { - "operation": "boost", - "score": 0.10095103830099106 - } - }, - "else": { - "operation": "boost", - "score": 0.09218906611204147 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04168613627552986 - } - } - }, - "else": { - "operation": "boost", - "score": -0.043991684913635254 - } + "operation": "boost", + "score": 0.09660680592060089 } + } + }, + "else": { + "operation": "boost", + "score": 0.02982574701309204 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.2442377358675003 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": 0.05437062308192253 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.048279404640197754 - }, - "else": { - "operation": "boost", - "score": 0.11976298689842224 - } - }, - "else": { - "operation": "boost", - "score": 0.09361385554075241 - } + "operation": "boost", + "score": 0.10171560198068619 }, "else": { "operation": "boost", - "score": 0.017162306234240532 + "score": -0.1263628453016281 } + }, + "else": { + "operation": "boost", + "score": -0.025182468816637993 } } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07290966063737869 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.12914535403251648 - }, - "else": { - "operation": "boost", - "score": 0.09782148897647858 - } - }, - "else": { - "operation": "boost", - "score": -0.11953405290842056 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75472.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 32.5, "then": { "operation": "boost", - "score": 0.14275334775447845 + "score": -1.1635589599609375 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76763.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.0038416674360632896 - }, - "else": { - "operation": "boost", - "score": 0.11198437958955765 - } + "operation": "boost", + "score": 0.10637155920267105 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 351.5, "then": { - "operation": "boost", - "score": 0.04445425793528557 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 353.5, + "then": { + "operation": "boost", + "score": -0.07604531943798065 + }, + "else": { + "operation": "boost", + "score": -2.3250505924224854 + } }, "else": { "operation": "boost", - "score": 0.10675735771656036 + "score": 0.0006879388820379972 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.0964057520031929 - }, - "else": { - "operation": "boost", - "score": 0.06339897215366364 - } + "operation": "boost", + "score": 0.02164728380739689 } } } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.10851065814495087 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.039101045578718185 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.01330705638974905 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.011266784742474556 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23530.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25758.5, - "then": { - "operation": "boost", - "score": 0.04137743264436722 - }, - "else": { - "operation": "boost", - "score": 0.11605305224657059 - } - }, - "else": { - "operation": "boost", - "score": 0.07377095520496368 - } + "operation": "boost", + "score": 0.04557691514492035 }, "else": { "operation": "boost", - "score": 0.020768875256180763 + "score": -0.03421202674508095 } - }, - "else": { - "operation": "boost", - "score": -0.06581731885671616 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 8.564466406824067e-05 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47907.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.01082985382527113 + }, + "else": { + "operation": "boost", + "score": -0.49768930673599243 + } + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.057795967906713486 + "score": 0.22587206959724426 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { - "operation": "boost", - "score": 0.039082106202840805 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.0730074793100357 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "boost", + "score": 0.07912294566631317 + }, + "else": { + "operation": "boost", + "score": 0.15605005621910095 + } + } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.06350294500589371 + "score": -0.11053638160228729 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.12430181354284286 + "score": 0.12218141555786133 }, "else": { "operation": "boost", - "score": 0.13060881197452545 + "score": 0.05419934540987015 } } } } - }, - "else": { - "operation": "boost", - "score": -0.017346076667308807 } }, "else": { + "operation": "boost", + "score": 0.12106246501207352 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30903.0, + "threshold": 713.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.003912226762622595 + }, + "else": { + "operation": "boost", + "score": -0.3724445700645447 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33949.0, + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 529.0, "then": { "operation": "boost", - "score": 0.10769519954919815 + "score": 0.12119866162538528 }, "else": { + "operation": "boost", + "score": -0.011137607507407665 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.02424033172428608 + "score": -0.13489627838134766 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": 0.1532379537820816 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "boost", - "score": 0.07269041985273361 + "score": -0.007829384878277779 }, "else": { - "operation": "boost", - "score": -0.14504830539226532 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33449.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.030467551201581955 - }, - "else": { - "operation": "boost", - "score": 0.1252879798412323 - } - }, - "else": { - "operation": "boost", - "score": -0.1825108379125595 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32083.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12173178791999817 - }, - "else": { - "operation": "boost", - "score": -0.11280437558889389 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "boost", - "score": 0.11750476807355881 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.07500000298023224, "then": { "operation": "boost", - "score": -2.308276653289795 + "score": 0.13543486595153809 }, "else": { - "operation": "boost", - "score": 0.1424623727798462 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05960221216082573 - }, - "else": { - "operation": "boost", - "score": 0.09861582517623901 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.027537629008293152 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52893.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 58608.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.17324738204479218 + "score": 0.13237453997135162 }, "else": { "operation": "boost", - "score": -0.1048726961016655 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.05110177397727966 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11837410181760788 - }, - "else": { - "operation": "boost", - "score": 0.06558860838413239 - } - }, - "else": { - "operation": "boost", - "score": -0.20771870017051697 - } + "score": 0.11059262603521347 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50371.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.15104737877845764 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1373268961906433 - }, - "else": { - "operation": "boost", - "score": 0.2883203327655792 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.1325872540473938 - }, - "else": { - "operation": "boost", - "score": -0.07956624031066895 - } - }, - "else": { - "operation": "boost", - "score": 0.9243380427360535 - } - } + "operation": "boost", + "score": 0.05686461552977562 } - }, - "else": { - "operation": "boost", - "score": 0.12632593512535095 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.09219199419021606 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.0005300117773003876 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.28892722725868225 - }, - "else": { - "operation": "boost", - "score": 0.1197829470038414 - } - } - } + "operation": "boost", + "score": 0.018850700929760933 } } - }, - "else": { - "operation": "boost", - "score": -0.03083989769220352 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.002413001609966159 }, "else": { "operation": "boost", - "score": 0.12975221872329712 + "score": -0.008060585707426071 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59476.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61155.5, + "threshold": 21.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 60.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.03454019874334335 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.039364833384752274 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72713.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.004941573832184076 - }, - "else": { - "operation": "boost", - "score": 0.11543654650449753 - } - }, - "else": { - "operation": "boost", - "score": 0.11383714526891708 - } - } - } + "operation": "boost", + "score": 0.06289072334766388 }, "else": { "operation": "boost", - "score": -0.09829973429441452 + "score": -0.3092290461063385 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.026070652529597282 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.13526079058647156 - }, - "else": { - "operation": "boost", - "score": -0.3058127760887146 - } - } + "operation": "boost", + "score": 0.10499934107065201 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", - "score": 0.11406990885734558 + "score": -0.8331498503684998 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.0718991756439209 - }, - "else": { - "operation": "boost", - "score": 0.008656633086502552 - } - }, - "else": { - "operation": "boost", - "score": -0.37834998965263367 - } - }, - "else": { - "operation": "boost", - "score": -0.236115962266922 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.21484880149364471 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.8781079053878784 - }, - "else": { - "operation": "boost", - "score": -0.10765403509140015 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11156712472438812 - } - } + "operation": "boost", + "score": -0.20780743658542633 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.12782278656959534 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -1.5556249618530273 - }, - "else": { - "operation": "boost", - "score": -0.28015032410621643 - } - } + "operation": "boost", + "score": -0.047034647315740585 } } - }, - "else": { - "operation": "boost", - "score": -0.0018909018253907561 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.035088662058115005 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11710.5, - "then": { - "operation": "boost", - "score": 0.012894229032099247 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11590.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.13254745304584503 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.17482715845108032 - }, - "else": { - "operation": "boost", - "score": 0.12576517462730408 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.11344866454601288 - }, - "else": { - "operation": "boost", - "score": -0.22518007457256317 } } }, "else": { - "operation": "boost", - "score": 0.14005374908447266 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11159.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.12650705873966217 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.036832522600889206 - }, - "else": { - "operation": "boost", - "score": 0.12529347836971283 - } - } - }, - "else": { - "operation": "boost", - "score": -0.025454536080360413 - } + "operation": "boost", + "score": 0.059705376625061035 }, "else": { - "operation": "boost", - "score": 0.09848613291978836 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11567.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.22135178744792938 + "score": 0.09132546186447144 }, "else": { - "operation": "boost", - "score": 0.2195654958486557 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": -0.028110170736908913 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.23361150920391083 + }, + "else": { + "operation": "boost", + "score": 0.0433497354388237 + } + }, + "else": { + "operation": "boost", + "score": 0.07546158879995346 + } + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10049070417881012 + "score": -0.11782119423151016 }, "else": { "operation": "boost", - "score": 0.5644444227218628 + "score": 0.02086947113275528 } } }, "else": { "operation": "boost", - "score": 0.21226470172405243 + "score": 0.005205557215958834 } - }, - "else": { - "operation": "boost", - "score": -0.0504334457218647 } } } @@ -199155,1679 +193013,2333 @@ } }, "else": { - "operation": "boost", - "score": -0.0003422457375563681 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11522.0, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00686180405318737 - }, - "else": { - "operation": "boost", - "score": -0.03167520463466644 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11710.5, + "threshold": 26.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11825.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13537.0, + "operation": "boost", + "score": 0.012463361956179142 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 288840.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0065261004492640495 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39142.0, - "then": { - "operation": "boost", - "score": -0.17278237640857697 - }, - "else": { - "operation": "boost", - "score": -0.050526831299066544 - } - } + "operation": "boost", + "score": 0.07737422734498978 }, "else": { + "operation": "boost", + "score": -0.09085630625486374 + } + }, + "else": { + "operation": "boost", + "score": 0.02898760698735714 + } + }, + "else": { + "operation": "boost", + "score": 0.0026517438236624002 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.12204079329967499 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.02965729683637619 + }, + "else": { + "operation": "boost", + "score": 0.06992881745100021 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.006715776864439249 + "score": 0.04107140749692917 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220112.0, + "threshold": 17.5, "then": { - "operation": "boost", - "score": -0.009778168052434921 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.06893700361251831 + "score": -0.070843905210495 }, "else": { "operation": "boost", - "score": 0.008154316805303097 + "score": 0.09791503101587296 } + }, + "else": { + "operation": "boost", + "score": -0.15968668460845947 } } - }, - "else": { - "operation": "boost", - "score": 0.005724979564547539 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.14159312844276428 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": -0.043492481112480164 + "score": 0.13615930080413818 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220112.0, - "then": { - "operation": "boost", - "score": -0.10950817912817001 - }, - "else": { - "operation": "boost", - "score": 0.09112371504306793 - } + "operation": "boost", + "score": 0.052236009389162064 } + }, + "else": { + "operation": "boost", + "score": 0.03252272680401802 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.11832188069820404 + "score": 0.019402096047997475 }, "else": { "operation": "boost", - "score": 0.017004378139972687 + "score": -0.0016749135684221983 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.1059688925743103 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { + "operation": "boost", + "score": -0.06762527674436569 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30110.0, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { - "operation": "boost", - "score": 0.03785169869661331 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24900.5, - "then": { - "operation": "boost", - "score": 0.11557430028915405 - }, - "else": { - "operation": "boost", - "score": 0.11121047288179398 - } + "operation": "boost", + "score": 0.17693574726581573 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21064.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.01732534170150757 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, + "then": { + "operation": "boost", + "score": 0.0825815424323082 + }, + "else": { + "operation": "boost", + "score": -0.07617483288049698 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { "operation": "boost", - "score": 0.1754007190465927 + "score": -0.23308321833610535 }, "else": { "operation": "boost", - "score": 0.07520441710948944 + "score": 0.05411040782928467 } } } + }, + "else": { + "operation": "boost", + "score": -0.028206706047058105 } - }, - "else": { - "operation": "boost", - "score": -0.17375685274600983 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "boost", + "score": -0.03554273024201393 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04851605370640755 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.01354444120079279 + }, + "else": { + "operation": "boost", + "score": 0.00028308844775892794 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0018960082670673728 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04133536294102669 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.015318037010729313 + }, + "else": { + "operation": "boost", + "score": -0.07059430330991745 + } + }, + "else": { + "operation": "boost", + "score": -0.04200071841478348 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, + "feature": "FractionNameInContext", + "threshold": 0.3452380895614624, "then": { + "operation": "boost", + "score": 0.04456363990902901 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78205.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1184781864285469 + "score": -0.23156195878982544 }, "else": { "operation": "boost", - "score": 0.11815992742776871 + "score": 0.08310915529727936 } - }, - "else": { - "operation": "boost", - "score": -0.1427246481180191 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39657.0, + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.06445584446191788 - }, - "else": { - "operation": "boost", - "score": 0.1104530617594719 - } - }, - "else": { - "operation": "boost", - "score": -1.5054376125335693 - } + "operation": "boost", + "score": 0.07290057092905045 }, "else": { "operation": "boost", - "score": 0.015466378070414066 + "score": 0.007316057104617357 } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08657484501600266 + }, + "else": { + "operation": "boost", + "score": 0.03044774942100048 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.21682295203208923 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24577.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, - "then": { - "operation": "boost", - "score": -2.127861499786377 - }, - "else": { - "operation": "boost", - "score": 0.06082385033369064 - } - }, - "else": { - "operation": "boost", - "score": 0.1021115779876709 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.08266358822584152 - }, - "else": { - "operation": "boost", - "score": 0.11144907772541046 - } - } - }, - "else": { - "operation": "boost", - "score": 0.001503068022429943 - } + "operation": "boost", + "score": 0.14236512780189514 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185218.0, + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011266162618994713 - }, - "else": { - "operation": "boost", - "score": -0.2327219545841217 - } + "operation": "boost", + "score": 0.0029452084563672543 }, "else": { "operation": "boost", - "score": 0.05479435622692108 + "score": 0.020027635619044304 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62576.5, - "then": { - "operation": "boost", - "score": -0.16406622529029846 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, - "then": { - "operation": "boost", - "score": 0.21603921055793762 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.07467158883810043 - }, - "else": { - "operation": "boost", - "score": 0.12912549078464508 - } - }, - "else": { - "operation": "boost", - "score": 0.1411653757095337 - } - } - }, - "else": { + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.000618130317889154 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0795307382941246 + }, + "else": { + "operation": "boost", + "score": -0.001810825546272099 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03266708925366402 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0009327465668320656 + }, + "else": { + "operation": "boost", + "score": 0.1312214434146881 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, + "then": { + "operation": "boost", + "score": -0.17447154223918915 + }, + "else": { + "operation": "boost", + "score": 0.1253359615802765 + } + }, + "else": { + "operation": "boost", + "score": -0.20898273587226868 + } + }, + "else": { + "operation": "boost", + "score": 0.0064253732562065125 + } + }, + "else": { + "operation": "boost", + "score": 0.002406321233138442 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.010589491575956345 + }, + "else": { + "operation": "boost", + "score": -0.03444811329245567 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55854.0, + "then": { + "operation": "boost", + "score": -0.030573207885026932 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.13581161201000214 + }, + "else": { + "operation": "boost", + "score": -0.1807805597782135 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13327.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13390.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04660148173570633 + "score": -0.04429379850625992 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 22628.5, + "threshold": 28548.0, "then": { + "operation": "boost", + "score": -0.12419701367616653 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23488.0, + "threshold": 27669.0, "then": { - "operation": "boost", - "score": -0.10935736447572708 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.227375328540802 + }, + "else": { + "operation": "boost", + "score": 0.13805517554283142 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 18526.5, "then": { "operation": "boost", - "score": -0.38257917761802673 + "score": 0.05788595229387283 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 18305.0, "then": { - "operation": "boost", - "score": 0.09626752883195877 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.10646718740463257 + }, + "else": { + "operation": "boost", + "score": 0.15834835171699524 + } }, "else": { "operation": "boost", - "score": 0.10711049288511276 + "score": 0.07219183444976807 } } } - }, - "else": { - "operation": "boost", - "score": -0.2443690150976181 } } + }, + "else": { + "operation": "boost", + "score": 0.293490469455719 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05604084953665733 + "score": -0.01297700684517622 }, "else": { - "operation": "boost", - "score": 0.13464674353599548 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.026375558227300644 + }, + "else": { + "operation": "boost", + "score": 0.0847490057349205 + } + }, + "else": { + "operation": "boost", + "score": -0.09269993752241135 + } } - }, - "else": { - "operation": "boost", - "score": 0.02231159433722496 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10437928885221481 - }, - "else": { - "operation": "boost", - "score": 0.0225723497569561 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44699.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 703998.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 44693.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.10684089362621307 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48070.0, + "then": { + "operation": "boost", + "score": -0.008573790080845356 + }, + "else": { + "operation": "boost", + "score": 0.0870227962732315 + } }, "else": { "operation": "boost", - "score": -0.5246198773384094 + "score": -0.1229916512966156 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.07484252005815506 - }, - "else": { - "operation": "boost", - "score": -0.008401167578995228 - } + "operation": "boost", + "score": -0.001574713154695928 } - }, - "else": { - "operation": "boost", - "score": -0.014123070053756237 } }, "else": { "operation": "boost", - "score": -0.12636719644069672 + "score": -0.048676829785108566 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37670.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13660046458244324 - }, - "else": { - "operation": "boost", - "score": 0.12710343301296234 - } - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.11328831315040588 + "score": 0.12214494496583939 }, "else": { "operation": "boost", - "score": -0.0269465409219265 + "score": -0.1037021353840828 } + }, + "else": { + "operation": "boost", + "score": -0.04056360945105553 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.029516682028770447 + "score": -0.15023371577262878 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18894.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.07364392280578613 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27428.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.009506402537226677 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { - "operation": "boost", - "score": 0.005186347756534815 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], "then": { + "operation": "boost", + "score": 0.055521395057439804 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91513.5, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { "operation": "boost", - "score": 0.01738252490758896 + "score": -0.025570079684257507 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "boost", - "score": 0.10477609187364578 + "score": 0.06092042848467827 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56346.5, - "then": { - "operation": "boost", - "score": -0.5226970911026001 - }, - "else": { - "operation": "boost", - "score": 0.06916764378547668 - } + "operation": "boost", + "score": -0.029181823134422302 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": 0.07947777956724167 + }, + "else": { + "operation": "boost", + "score": 0.08994629979133606 + } }, "else": { "operation": "boost", - "score": -0.03373350575566292 + "score": 0.05075100436806679 } } - }, - "else": { - "operation": "boost", - "score": -0.4745120108127594 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16301.5, - "then": { - "operation": "boost", - "score": 0.11142422258853912 - }, - "else": { - "operation": "boost", - "score": -0.2845477759838104 } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.016619164496660233 - }, - "else": { - "operation": "boost", - "score": 0.04415377601981163 - } + "operation": "boost", + "score": -0.07185915112495422 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 121.5, "then": { "operation": "boost", - "score": 0.024331659078598022 + "score": 0.0533621683716774 }, "else": { + "operation": "boost", + "score": -0.0014711321564391255 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46240.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.1160333901643753 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53585.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { + "operation": "boost", + "score": -0.6834306716918945 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, - "then": { - "operation": "boost", - "score": -0.7462210059165955 - }, - "else": { - "operation": "boost", - "score": 0.03500404208898544 - } + "operation": "boost", + "score": -0.051403388381004333 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { - "operation": "boost", - "score": -0.24135588109493256 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.11522802710533142 + }, + "else": { + "operation": "boost", + "score": 0.0700298324227333 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.07978886365890503 + "score": 0.06973990797996521 }, "else": { "operation": "boost", - "score": 0.010487895458936691 + "score": -0.018311945721507072 } } } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01993720419704914 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8540.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10859.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.36258992552757263 }, "else": { "operation": "boost", - "score": 0.08547365665435791 + "score": 0.00906816590577364 } }, "else": { "operation": "boost", - "score": -0.7054423093795776 + "score": 0.05254797264933586 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91513.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97784.5, + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.02332879975438118 - }, - "else": { - "operation": "boost", - "score": -0.05812723934650421 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "boost", - "score": 0.0129838977009058 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 222060.0, + "threshold": 7434.5, "then": { + "operation": "boost", + "score": -0.08782931417226791 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 318692.5, + "threshold": 5686.0, "then": { - "operation": "boost", - "score": -0.11083336919546127 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 5775.0, "then": { - "operation": "boost", - "score": 0.07187602669000626 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.030194517225027084 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 286067.5, + "threshold": 5984.5, "then": { "operation": "boost", - "score": 0.09744373708963394 + "score": 0.09978839755058289 }, "else": { "operation": "boost", - "score": 0.08198820799589157 + "score": 0.1178746223449707 } + }, + "else": { + "operation": "boost", + "score": 0.025234615430235863 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.19874288141727448 + }, + "else": { + "operation": "boost", + "score": 0.07394558191299438 } } + }, + "else": { + "operation": "boost", + "score": 0.023061631247401237 } + } + }, + "else": { + "operation": "boost", + "score": -0.06070975586771965 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.020129607990384102 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 586.5, + "then": { + "operation": "boost", + "score": -0.037844061851501465 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 168251.5, + "threshold": 559.0, "then": { "operation": "boost", - "score": -0.06443629413843155 + "score": 0.13602204620838165 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120524.0, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.12222506105899811 + "score": 0.10234995931386948 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.06256169825792313 - }, - "else": { - "operation": "boost", - "score": -0.13183839619159698 - } + "operation": "boost", + "score": -0.04330899193882942 } } } } + } + }, + "else": { + "operation": "boost", + "score": -0.05301975831389427 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.01611350290477276 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.13334432244300842 }, "else": { "operation": "boost", - "score": -0.06834609806537628 + "score": -0.12033907324075699 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": -0.04478370398283005 }, "else": { "operation": "boost", - "score": -0.5459851622581482 + "score": 0.0034690052270889282 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.0075022270902991295 + "score": 0.11786990612745285 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 27963.5, "then": { "operation": "boost", - "score": 0.11587534099817276 + "score": 0.05131985992193222 }, "else": { "operation": "boost", - "score": 0.028117720037698746 + "score": -0.01769796386361122 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58696.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.04995829984545708 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 85554.5, "then": { "operation": "boost", - "score": 0.06406964361667633 + "score": -0.26024141907691956 }, "else": { "operation": "boost", - "score": -0.2368883639574051 + "score": 0.0228851530700922 } + }, + "else": { + "operation": "boost", + "score": -0.00726274074986577 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11467.0, + "then": { + "operation": "boost", + "score": -0.13189347088336945 + }, + "else": { + "operation": "boost", + "score": -0.08146468549966812 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263421.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, + "then": { + "operation": "boost", + "score": 0.03683525323867798 + }, + "else": { + "operation": "boost", + "score": 0.07591350376605988 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08017046749591827 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16539.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.010978915728628635 + "score": 0.014701871201395988 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16301.5, + "threshold": 30877.0, "then": { - "operation": "boost", - "score": 0.1325244903564453 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11244361102581024 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.017412761226296425 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.06858232617378235 + }, + "else": { + "operation": "boost", + "score": 0.10910484939813614 + } + } + } }, "else": { - "operation": "boost", - "score": -0.00014906292199157178 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6067.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10529.5, + "then": { + "operation": "boost", + "score": 0.0756959542632103 + }, + "else": { + "operation": "boost", + "score": 0.1205582395195961 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { + "operation": "boost", + "score": -0.1905510127544403 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.029379069805145264 + }, + "else": { + "operation": "boost", + "score": -0.05824361369013786 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00017395502072758973 + } } } } } + }, + "else": { + "operation": "boost", + "score": -0.007080084644258022 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13468.5, - "then": { - "operation": "boost", - "score": 0.24134628474712372 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12435.0, - "then": { - "operation": "boost", - "score": 0.02345559373497963 - }, - "else": { - "operation": "boost", - "score": 0.08723106235265732 - } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06580660492181778 - }, - "else": { - "operation": "boost", - "score": 0.05743874981999397 - } + "operation": "boost", + "score": -0.04216315969824791 } } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.007638061419129372 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -1.3018455505371094 + "score": -0.0033902886789292097 }, "else": { "operation": "boost", - "score": -0.19868747889995575 + "score": 0.013279748149216175 } }, "else": { - "operation": "boost", - "score": -0.24158278107643127 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.09640413522720337 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.1557273268699646 - }, - "else": { - "operation": "boost", - "score": 0.1282983422279358 - } - } + "operation": "boost", + "score": 0.010543291456997395 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11605.0, - "then": { - "operation": "boost", - "score": -0.14485470950603485 - }, - "else": { - "operation": "boost", - "score": 0.12345612794160843 - } + "operation": "boost", + "score": -0.03187592327594757 } - }, - "else": { - "operation": "boost", - "score": 0.13419046998023987 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.0012880584690719843 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.2184760570526123 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.011228806339204311 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.09284064173698425 + }, + "else": { + "operation": "boost", + "score": 0.10964417457580566 + } + }, + "else": { + "operation": "boost", + "score": -0.08027882128953934 + } + }, + "else": { + "operation": "boost", + "score": 0.0034490302205085754 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "boost", + "score": -0.024945441633462906 + }, + "else": { + "operation": "boost", + "score": -0.14458364248275757 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.11311852931976318 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3375000059604645, + "then": { + "operation": "boost", + "score": 0.11175564676523209 + }, + "else": { + "operation": "boost", + "score": -0.19676955044269562 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 102.5, + "then": { + "operation": "boost", + "score": -0.30609211325645447 + }, + "else": { + "operation": "boost", + "score": 0.04373729228973389 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01842416450381279 + }, + "else": { + "operation": "boost", + "score": 0.010416402481496334 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0014686771901324391 + }, + "else": { + "operation": "boost", + "score": -0.06901273131370544 + } + } + } + } }, "else": { - "operation": "boost", - "score": 0.22432604432106018 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1585739105939865 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 187.5, + "then": { + "operation": "boost", + "score": -0.3750849962234497 + }, + "else": { + "operation": "boost", + "score": 0.10313858091831207 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004256966523826122 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "boost", + "score": 0.049354929476976395 + }, + "else": { + "operation": "boost", + "score": 0.027401555329561234 + } + } } }, "else": { "operation": "boost", - "score": 0.12656909227371216 + "score": -0.004194421228021383 } - }, - "else": { - "operation": "boost", - "score": 0.11172674596309662 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11507.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.25343114137649536 - }, - "else": { - "operation": "boost", - "score": -0.23202653229236603 - } }, "else": { "operation": "boost", - "score": -0.0003330412437207997 + "score": -0.1005130484700203 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11093.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0024742460809648037 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11710.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.013344258069992065 + "score": -0.01884234882891178 }, "else": { + "operation": "boost", + "score": -0.0689462348818779 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11590.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.09092380106449127 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.1383165717124939 - }, - "else": { - "operation": "boost", - "score": 0.11470102518796921 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.11156976968050003 - }, - "else": { - "operation": "boost", - "score": -0.1437915861606598 - } - } + "operation": "boost", + "score": 0.006258454639464617 }, "else": { - "operation": "boost", - "score": 0.13050450384616852 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11159.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.0844343975186348 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03418388217687607 - }, - "else": { - "operation": "boost", - "score": 0.12216775119304657 - } - } - }, - "else": { - "operation": "boost", - "score": -0.029398512095212936 - } + "operation": "boost", + "score": 0.02987961657345295 }, "else": { "operation": "boost", - "score": 0.07862545549869537 + "score": -0.000732414482627064 } - }, - "else": { - "operation": "boost", - "score": 0.0009377501555718482 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.001269607339054346 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10499.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10838.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.003041925374418497 + "score": 0.044176895171403885 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11872357130050659 - }, - "else": { - "operation": "boost", - "score": 0.07901525497436523 - } + "operation": "boost", + "score": -0.052702728658914566 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.024280255660414696 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11079079657793045 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": -0.19599920511245728 + }, + "else": { + "operation": "boost", + "score": 0.04521150514483452 + } + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 154.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204.5, + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 970.5, - "then": { - "operation": "boost", - "score": -0.0840868428349495 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 564.0, - "then": { - "operation": "boost", - "score": 0.12427526712417603 - }, - "else": { - "operation": "boost", - "score": 0.08803922683000565 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09803783893585205 - }, - "else": { - "operation": "boost", - "score": 0.11402322351932526 - } - } + "operation": "boost", + "score": -0.06261385232210159 }, "else": { "operation": "boost", - "score": -0.02531658113002777 + "score": 0.12728698551654816 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, - "then": { - "operation": "boost", - "score": 0.1226508840918541 - }, - "else": { - "operation": "boost", - "score": 0.05956302583217621 - } + "operation": "boost", + "score": 0.0655474066734314 } }, "else": { + "operation": "boost", + "score": -0.03311637043952942 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6203.5, - "then": { - "operation": "boost", - "score": 0.18802718818187714 - }, - "else": { - "operation": "boost", - "score": 0.007561078295111656 - } + "operation": "boost", + "score": 0.06158499792218208 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 163.5, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 568.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 740.5, - "then": { - "operation": "boost", - "score": 0.04245030879974365 - }, - "else": { - "operation": "boost", - "score": 0.12673412263393402 - } + "operation": "boost", + "score": 0.11893906444311142 }, "else": { "operation": "boost", - "score": -0.013077364303171635 + "score": 0.05905424803495407 } }, "else": { - "operation": "boost", - "score": 0.11889012157917023 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 313.0, + "then": { + "operation": "boost", + "score": 0.1505288928747177 + }, + "else": { + "operation": "boost", + "score": -0.016573602333664894 + } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 178.5, - "then": { - "operation": "boost", - "score": 0.0447038859128952 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.0995500385761261 + "score": -0.15873828530311584 }, "else": { "operation": "boost", - "score": 0.13421562314033508 + "score": 0.06719682365655899 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 177.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12008485198020935 + "score": 0.05940373241901398 }, "else": { "operation": "boost", - "score": 0.09188767522573471 + "score": -0.17346659302711487 } } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": -0.11427459865808487 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6076923608779907, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6306818127632141, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, "then": { "operation": "boost", - "score": 0.06782951205968857 + "score": -0.042202338576316833 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, + "operation": "boost", + "score": 0.07524441182613373 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.1259302794933319 + "score": 0.11858433485031128 }, "else": { "operation": "boost", - "score": 0.10959312319755554 + "score": 0.19625794887542725 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.017307115718722343 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.5343223214149475 - }, - "else": { - "operation": "boost", - "score": 0.138191357254982 - } + "operation": "boost", + "score": 0.12304417788982391 }, "else": { "operation": "boost", - "score": 0.06541800498962402 + "score": 0.08037754148244858 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7071428298950195, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.13397227227687836 - }, - "else": { - "operation": "boost", - "score": 0.9363875985145569 - } + "operation": "boost", + "score": 0.3108110725879669 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.13584163784980774 - }, - "else": { - "operation": "boost", - "score": -0.19549110531806946 - } + "operation": "boost", + "score": 0.06397344917058945 } }, "else": { "operation": "boost", - "score": -0.19220420718193054 + "score": -0.0731213316321373 } } } @@ -200835,690 +195347,928 @@ }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.05096711590886116 + "score": 0.09925686568021774 }, "else": { - "operation": "boost", - "score": -0.005714272148907185 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.14039431512355804 + }, + "else": { + "operation": "boost", + "score": 0.08938037604093552 + } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { "operation": "boost", - "score": 0.015078745782375336 + "score": 0.1315193474292755 }, "else": { "operation": "boost", - "score": -0.019168823957443237 + "score": 0.05102038010954857 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "boost", - "score": -0.13109032809734344 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.11790043115615845 - }, - "else": { - "operation": "boost", - "score": -0.00386019516736269 - } - } + "operation": "boost", + "score": 0.03539048507809639 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08676311373710632 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, "then": { - "operation": "boost", - "score": 0.026985757052898407 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, "then": { - "operation": "boost", - "score": 0.03498181328177452 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.10426025837659836 + }, + "else": { + "operation": "boost", + "score": -0.15488237142562866 + } + }, + "else": { + "operation": "boost", + "score": 0.010482681915163994 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.12222080677747726 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.11227946728467941 + }, + "else": { + "operation": "boost", + "score": 0.14234095811843872 + } }, "else": { - "operation": "boost", - "score": 0.11644511669874191 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.0 + "score": 0.1548110991716385 }, "else": { "operation": "boost", - "score": 0.13766540586948395 + "score": -0.10508759319782257 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.143637016415596 }, "else": { "operation": "boost", - "score": -0.1681215912103653 + "score": -0.16116905212402344 } } }, "else": { - "operation": "boost", - "score": 0.08929223567247391 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.3005591928958893 + }, + "else": { + "operation": "boost", + "score": 0.0785675123333931 + } + }, + "else": { + "operation": "boost", + "score": -0.02601083368062973 + } } } + }, + "else": { + "operation": "boost", + "score": 0.006710313260555267 } }, "else": { - "operation": "boost", - "score": 0.003134980332106352 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, + "then": { + "operation": "boost", + "score": -0.14482198655605316 + }, + "else": { + "operation": "boost", + "score": 0.12601983547210693 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.04635564610362053 + }, + "else": { + "operation": "boost", + "score": 0.07092749327421188 + } + }, + "else": { + "operation": "boost", + "score": 0.006406267173588276 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06127467751502991 + } } } - }, - "else": { - "operation": "boost", - "score": -0.04557258263230324 } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Constructor", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10960734635591507 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10898584127426147 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.031099602580070496 - }, - "else": { - "operation": "boost", - "score": 0.10456226021051407 - } - } - } + "operation": "boost", + "score": 0.010978012345731258 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10320616513490677 - }, - "else": { - "operation": "boost", - "score": 0.033611960709095 - } + "operation": "boost", + "score": -0.02184257283806801 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.09307359158992767, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.012583635747432709 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.08509902656078339 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.008682827465236187 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "boost", + "score": -0.034711889922618866 + }, + "else": { + "operation": "boost", + "score": 0.09721492230892181 + } + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_ClassStructUnion", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.012438582256436348 + "score": 0.15485771000385284 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.875, "then": { "operation": "boost", - "score": -0.4671109616756439 + "score": 0.11246451735496521 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.16148824989795685 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.10629996657371521 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.4017857313156128, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.15423986315727234 - }, - "else": { - "operation": "boost", - "score": 0.12228699028491974 - } + "operation": "boost", + "score": 0.13436342775821686 }, "else": { "operation": "boost", - "score": 0.07249993830919266 + "score": 0.18815037608146667 } + }, + "else": { + "operation": "boost", + "score": 0.05755028501152992 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.44401416182518005 + }, + "else": { + "operation": "boost", + "score": 0.017465168610215187 } } } }, "else": { - "operation": "boost", - "score": -0.0038994878996163607 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": 0.12289970368146896 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": 0.12967509031295776 + }, + "else": { + "operation": "boost", + "score": 0.15663959085941315 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10571790486574173 + } } } }, "else": { "operation": "boost", - "score": 0.020829053595662117 + "score": 0.02076040767133236 } }, "else": { "operation": "boost", - "score": 0.003417085623368621 + "score": 0.02844737470149994 } } - }, - "else": { - "operation": "boost", - "score": -0.05252506583929062 } }, "else": { + "operation": "boost", + "score": 0.31625476479530334 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1911.5, "then": { + "operation": "boost", + "score": -0.12703926861286163 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression" + "Function", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.1142367497086525 + "score": 0.02211977355182171 }, "else": { - "operation": "boost", - "score": 0.11479201167821884 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "boost", + "score": 0.06254786998033524 + }, + "else": { + "operation": "boost", + "score": 0.16769254207611084 + } } }, "else": { "operation": "boost", - "score": 0.04999323561787605 + "score": 0.006418746896088123 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5220.0, + "then": { + "operation": "boost", + "score": 0.04958905279636383 + }, + "else": { + "operation": "boost", + "score": -0.0028249421156942844 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": 0.06582196801900864 + "score": -0.08436036854982376 }, "else": { "operation": "boost", - "score": 0.007744315080344677 + "score": -0.30879589915275574 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.0048340498469769955 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.008343472145497799 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 375.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 523.5, - "then": { - "operation": "boost", - "score": 0.009981204755604267 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 519.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.12258698791265488 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 504.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 509.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.11774814128875732 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.0211399607360363 + }, + "else": { + "operation": "boost", + "score": -0.6505182981491089 + } }, "else": { "operation": "boost", - "score": 0.10811144858598709 + "score": -0.1615784615278244 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": 0.0029683923348784447 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { - "operation": "boost", - "score": 0.08533699065446854 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 381.5, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { "operation": "boost", - "score": 0.05274845287203789 + "score": 0.014286871068179607 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.13742434978485107 - }, - "else": { - "operation": "boost", - "score": 0.08631989359855652 - } + "operation": "boost", + "score": -5.436509132385254 } + }, + "else": { + "operation": "boost", + "score": 0.11794918775558472 } + }, + "else": { + "operation": "boost", + "score": -0.2350432425737381 } } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2817460298538208, + "then": { + "operation": "boost", + "score": 0.012740939855575562 }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.008535105735063553 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.05118589848279953 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.014227651059627533 - }, - "else": { - "operation": "boost", - "score": -0.14970561861991882 - } - } - } + "operation": "boost", + "score": -0.010031374171376228 }, "else": { "operation": "boost", - "score": 0.01690100133419037 + "score": 0.06904774159193039 } }, "else": { + "operation": "boost", + "score": -0.007882929407060146 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12285906076431274 + }, + "else": { + "operation": "boost", + "score": 0.0292589720338583 + } + }, + "else": { + "operation": "boost", + "score": -0.022729087620973587 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2808.5, + "then": { + "operation": "boost", + "score": 0.12154007703065872 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.03050564043223858 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.0005071241757832468 + }, + "else": { + "operation": "boost", + "score": -0.018626980483531952 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.026877202093601227 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101593.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.006124514155089855 + }, + "else": { + "operation": "boost", + "score": -0.029995478689670563 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06227174401283264 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { + "operation": "boost", + "score": 0.03290465101599693 + }, + "else": { + "operation": "boost", + "score": 0.0882512629032135 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94712.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.258483350276947 + }, + "else": { + "operation": "boost", + "score": -0.14219799637794495 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06446468085050583 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.001465342123992741 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 572.5, + "then": { + "operation": "boost", + "score": 0.010104534216225147 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1269710659980774 - }, - "else": { - "operation": "boost", - "score": 0.0878247618675232 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10391316562891006 - }, - "else": { - "operation": "boost", - "score": 0.024049928411841393 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.04305731877684593 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06326833367347717 - }, - "else": { - "operation": "boost", - "score": -0.07269974052906036 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.046047888696193695 - }, - "else": { - "operation": "boost", - "score": 0.023332640528678894 - } - } + "operation": "boost", + "score": 0.07055094093084335 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06932412832975388 - }, - "else": { - "operation": "boost", - "score": -0.01312321051955223 - } + "operation": "boost", + "score": 0.006079592276364565 } }, "else": { @@ -201526,2879 +196276,1667 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.041254691779613495 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.10988786816596985 - }, - "else": { - "operation": "boost", - "score": 0.1214442104101181 - } - }, - "else": { - "operation": "boost", - "score": -0.1332639455795288 - } - } + "operation": "boost", + "score": 0.13924053311347961 }, "else": { "operation": "boost", - "score": 0.023978229612112045 + "score": 0.02262958325445652 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.004517955239862204 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { "operation": "boost", - "score": 0.0536654032766819 + "score": -0.026966288685798645 }, "else": { "operation": "boost", - "score": -0.024260535836219788 + "score": 0.0029286008793860674 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0038625579327344894 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Function" + "ClassScope", + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07238683849573135 - }, - "else": { - "operation": "boost", - "score": 0.08791683614253998 - } + "operation": "boost", + "score": -0.012899668887257576 }, "else": { "operation": "boost", - "score": 0.017789077013731003 + "score": -0.046108145266771317 } } } } + }, + "else": { + "operation": "boost", + "score": -0.00023076735669746995 } } } } - }, - "else": { - "operation": "boost", - "score": -0.005552796181291342 } } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.0020418744534254074 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.07525356858968735 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91957.5, - "then": { - "operation": "boost", - "score": 0.12205256521701813 - }, - "else": { - "operation": "boost", - "score": 0.04392160102725029 - } - } + "operation": "boost", + "score": 0.21912941336631775 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": -0.10019040107727051 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 90.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.32880133390426636 - }, - "else": { - "operation": "boost", - "score": 0.11619853973388672 - } + "operation": "boost", + "score": 0.026808157563209534 }, "else": { "operation": "boost", - "score": 0.23249773681163788 + "score": 0.12341978400945663 } }, "else": { "operation": "boost", - "score": -0.01749468222260475 + "score": -0.08843503147363663 } }, "else": { - "operation": "boost", - "score": 0.05863901227712631 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1059.5, "then": { - "operation": "boost", - "score": -0.04348129406571388 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.06141047179698944 + }, + "else": { + "operation": "boost", + "score": -0.33091920614242554 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 70036.5, + "threshold": 151.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 157.5, "then": { - "operation": "boost", - "score": -0.019044851884245872 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190.5, + "then": { + "operation": "boost", + "score": 0.07610651850700378 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 184.5, + "then": { + "operation": "boost", + "score": 0.1370556801557541 + }, + "else": { + "operation": "boost", + "score": 0.06053773686289787 + } + } + }, + "else": { + "operation": "boost", + "score": -0.5400559306144714 + } }, "else": { + "operation": "boost", + "score": 0.18691031634807587 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 137.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 143.5, "then": { "operation": "boost", - "score": 0.0786212906241417 + "score": -0.18139711022377014 + }, + "else": { + "operation": "boost", + "score": -0.21225276589393616 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { + "operation": "boost", + "score": 0.05140113830566406 + }, + "else": { + "operation": "boost", + "score": 0.14594367146492004 + } + }, + "else": { + "operation": "boost", + "score": -0.019171638414263725 + } }, "else": { "operation": "boost", - "score": 0.09844758361577988 + "score": 0.06049615517258644 } } - }, - "else": { - "operation": "boost", - "score": -0.0016305531607940793 } } + } + }, + "else": { + "operation": "boost", + "score": 0.0038251630030572414 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16415943205356598 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.0432048961520195 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.11363176256418228 + }, + "else": { + "operation": "boost", + "score": 0.01816469058394432 + } }, "else": { "operation": "boost", - "score": -0.11403415352106094 + "score": 0.04187074303627014 } } }, "else": { + "operation": "boost", + "score": -0.07540217787027359 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { + "operation": "boost", + "score": 0.11970344185829163 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Symbol" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71608.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { + "operation": "boost", + "score": -0.24180491268634796 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98559.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "boost", - "score": -1.833134651184082 + "score": 0.03747221454977989 }, "else": { - "operation": "boost", - "score": 0.14096508920192719 - } - }, - "else": { - "operation": "boost", - "score": -0.16978394985198975 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62267.0, - "then": { - "operation": "boost", - "score": -0.06057348847389221 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10611958801746368 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10794047266244888 - }, - "else": { - "operation": "boost", - "score": 0.1132163479924202 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71608.5, - "then": { - "operation": "boost", - "score": 1.1408016681671143 - }, - "else": { - "operation": "boost", - "score": 0.17940424382686615 - } - } + "operation": "boost", + "score": 0.12752953171730042 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04237862676382065 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.02703837864100933 - }, - "else": { - "operation": "boost", - "score": 0.12613674998283386 - } - } + "operation": "boost", + "score": 0.08745478838682175 }, "else": { "operation": "boost", - "score": 0.030245177447795868 + "score": 0.19493316113948822 } } - }, - "else": { - "operation": "boost", - "score": -0.013157675042748451 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.09207066893577576 }, "else": { "operation": "boost", - "score": -0.15974360704421997 + "score": -0.03264419361948967 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.004162628669291735 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71306.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.044267598539590836 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.11656423658132553 - }, - "else": { - "operation": "boost", - "score": 0.05907810851931572 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.06971310824155807 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.013711209408938885 - }, - "else": { - "operation": "boost", - "score": 0.10757867991924286 - } - }, - "else": { - "operation": "boost", - "score": 0.05532050132751465 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.08756411820650101 - } + "operation": "boost", + "score": 0.04769042879343033 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03294890746474266 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06961002945899963 + }, + "else": { + "operation": "boost", + "score": 0.008291048929095268 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.036165982484817505 + }, + "else": { + "operation": "boost", + "score": -0.011043772101402283 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.008894701488316059 + }, + "else": { + "operation": "boost", + "score": -0.14243075251579285 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -3.138275623321533 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76763.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08150537312030792 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.07902860641479492 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.18036283552646637 - }, - "else": { - "operation": "boost", - "score": 0.089818574488163 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.10406672209501266 - }, - "else": { - "operation": "boost", - "score": 0.07588789612054825 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, - "then": { - "operation": "boost", - "score": -0.0013569432776421309 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99740.5, - "then": { - "operation": "boost", - "score": 0.0876091942191124 - }, - "else": { - "operation": "boost", - "score": 0.10207060724496841 - } - }, - "else": { - "operation": "boost", - "score": 0.0710136741399765 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0031390362419188023 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120524.0, - "then": { - "operation": "boost", - "score": 0.04233735054731369 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.1597493290901184 - }, - "else": { - "operation": "boost", - "score": 0.09167060256004333 - } - }, - "else": { - "operation": "boost", - "score": 0.0969560518860817 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.003769572591409087 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0012449530186131597 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01087587233632803 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82306.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102876.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": -0.030094144865870476 - }, - "else": { - "operation": "boost", - "score": 0.08946111053228378 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.06010096147656441 - }, - "else": { - "operation": "boost", - "score": -0.011030280031263828 - } - }, - "else": { - "operation": "boost", - "score": -0.43004199862480164 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.1461525708436966 - }, - "else": { - "operation": "boost", - "score": -0.29967087507247925 - } - }, - "else": { - "operation": "boost", - "score": 0.1206127405166626 - } - }, - "else": { - "operation": "boost", - "score": 0.02356593869626522 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.29032522439956665 - }, - "else": { - "operation": "boost", - "score": 0.04575599357485771 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.48529571294784546 - }, - "else": { - "operation": "boost", - "score": 0.013615940697491169 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.4606752097606659 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.4485947787761688 - }, - "else": { - "operation": "boost", - "score": 0.0876610204577446 - } - }, - "else": { - "operation": "boost", - "score": 0.11337333172559738 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.06514474749565125 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87637.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.2661004364490509 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05972333997488022 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07833459228277206 - }, - "else": { - "operation": "boost", - "score": 0.11314805597066879 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.21039976179599762 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.12801839411258698 - }, - "else": { - "operation": "boost", - "score": -0.38584017753601074 - } - }, - "else": { - "operation": "boost", - "score": 0.07270923256874084 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.08404125273227692 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.014267508871853352 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": -0.02631865069270134 - }, - "else": { - "operation": "boost", - "score": 0.08025246858596802 - } - }, - "else": { - "operation": "boost", - "score": 0.08150310814380646 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.057274747639894485 - }, - "else": { - "operation": "boost", - "score": -0.3264982998371124 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.008733956143260002 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.44664159417152405 - }, - "else": { - "operation": "boost", - "score": 0.09299493581056595 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.011329744942486286 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.08339157700538635 - }, - "else": { - "operation": "boost", - "score": -0.19009266793727875 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.6243160367012024 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.07977654784917831 - }, - "else": { - "operation": "boost", - "score": 0.11703670024871826 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.015934649854898453 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12703253328800201 - }, - "else": { - "operation": "boost", - "score": 0.07442689687013626 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04326950013637543 - } - } - } - } - } + "operation": "boost", + "score": 0.033732011914253235 } }, + "else": { + "operation": "boost", + "score": 0.13278372585773468 + } + } + }, + "else": { + "operation": "boost", + "score": 0.029886361211538315 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.09625297039747238 + }, + "else": { + "operation": "boost", + "score": 0.09525588899850845 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.007970111444592476 + }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { + "operation": "boost", + "score": 0.051561035215854645 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49850.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1645406186580658 - }, - "else": { - "operation": "boost", - "score": 0.10836706310510635 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.06429648399353027 - }, - "else": { - "operation": "boost", - "score": -0.39328038692474365 - } - } + "operation": "boost", + "score": 0.1082855612039566 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10886294394731522 - }, - "else": { - "operation": "boost", - "score": 0.0411396287381649 - } - }, - "else": { - "operation": "boost", - "score": -0.09177832305431366 - } + "operation": "boost", + "score": -0.03169717267155647 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62487.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.4237585663795471 + "score": 0.03181585296988487 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01616464927792549 - }, - "else": { - "operation": "boost", - "score": 0.10824767500162125 - } + "operation": "boost", + "score": -0.014491213485598564 }, "else": { "operation": "boost", - "score": 0.011665822938084602 + "score": 0.020460963249206543 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57901.0, - "then": { - "operation": "boost", - "score": -0.07635632157325745 - }, - "else": { - "operation": "boost", - "score": 0.023216376081109047 - } } } - } - }, - "else": { - "operation": "boost", - "score": 0.005798644851893187 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.09972691535949707 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { - "operation": "boost", - "score": 0.08430939167737961 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.11023303866386414 + "score": 0.00444413349032402 }, "else": { "operation": "boost", - "score": 0.0941065177321434 + "score": 0.08218427747488022 } + }, + "else": { + "operation": "boost", + "score": -0.04262319207191467 } } + } + }, + "else": { + "operation": "boost", + "score": -0.0019975751638412476 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11355728656053543 + }, + "else": { + "operation": "boost", + "score": -0.1044415682554245 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44616.0, + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.09606412798166275 + "score": -1.019425392150879 }, "else": { "operation": "boost", - "score": -0.40740928053855896 + "score": 0.01414478663355112 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1393503099679947 - }, - "else": { - "operation": "boost", - "score": -0.05168524757027626 - } + "operation": "boost", + "score": -0.015201829373836517 } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0025398179423063993 - } - }, - "else": { - "operation": "boost", - "score": -0.0002466138103045523 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71610.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.13049975037574768 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.2506224811077118 - }, - "else": { - "operation": "boost", - "score": 0.13139721751213074 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62267.0, + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.05592012777924538 + "score": 0.14180408418178558 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.09678038954734802 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10088600218296051 + }, + "else": { + "operation": "boost", + "score": 0.009092549793422222 + } + }, + "else": { + "operation": "boost", + "score": 0.08082938194274902 + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10335340350866318 + "score": -0.2038363367319107 }, "else": { - "operation": "boost", - "score": 0.10632473975419998 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.06547930836677551 + }, + "else": { + "operation": "boost", + "score": 0.09676535427570343 + } + }, + "else": { + "operation": "boost", + "score": 0.18496745824813843 + } } } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.16518326103687286 + "score": 0.0092519735917449 }, "else": { - "operation": "boost", - "score": -0.18194009363651276 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.0921274796128273 + }, + "else": { + "operation": "boost", + "score": 0.05620286613702774 + } + }, + "else": { + "operation": "boost", + "score": -0.08592511713504791 + } } } - }, - "else": { - "operation": "boost", - "score": 0.02217736281454563 } } - }, - "else": { - "operation": "boost", - "score": -0.06113900989294052 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.00731664290651679 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": -0.024494143202900887 + }, + "else": { + "operation": "boost", + "score": 0.09627258777618408 + } + }, + "else": { + "operation": "boost", + "score": -0.01911839284002781 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 316302.0, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "boost", - "score": -0.11393717676401138 + "score": 0.04779177904129028 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91957.5, - "then": { - "operation": "boost", - "score": 0.12031954526901245 - }, - "else": { - "operation": "boost", - "score": 0.040771484375 - } + "operation": "boost", + "score": 0.0232494305819273 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273295.0, + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, "then": { "operation": "boost", - "score": 0.01530306227505207 + "score": 0.03768543154001236 }, "else": { "operation": "boost", - "score": 0.09522832185029984 + "score": 0.09190256893634796 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.12497060745954514 + "score": 0.0025529307313263416 }, "else": { - "operation": "boost", - "score": 0.10590899735689163 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": -0.04530204087495804 + }, + "else": { + "operation": "boost", + "score": -0.010121136903762817 + } } } }, "else": { "operation": "boost", - "score": -0.03399860858917236 + "score": 0.0028861030004918575 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.012191697023808956 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.10003933310508728 + "score": -0.03164438530802727 }, "else": { - "operation": "boost", - "score": 0.09028798341751099 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.08963460475206375 + }, + "else": { + "operation": "boost", + "score": 0.04480474069714546 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.0, + "then": { + "operation": "boost", + "score": -0.04642820730805397 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.13978974521160126 + }, + "else": { + "operation": "boost", + "score": 0.05959423631429672 + } + } + } } + }, + "else": { + "operation": "boost", + "score": -0.07622195780277252 } } } } - }, - "else": { - "operation": "boost", - "score": -0.0023497026413679123 } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 35.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.5, - "then": { - "operation": "boost", - "score": 0.21868695318698883 - }, - "else": { - "operation": "boost", - "score": -0.022785449400544167 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.03712747246026993 - }, - "else": { - "operation": "boost", - "score": 0.05667217820882797 - } - } - }, - "else": { - "operation": "boost", - "score": -0.08063758909702301 - } + "operation": "boost", + "score": 0.013085946440696716 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], + "operation": "boost", + "score": 0.0033554963301867247 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.04653679579496384, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 10.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.06702594459056854 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 425.0, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { "operation": "boost", - "score": 0.1029631569981575 + "score": 0.058875977993011475 }, "else": { "operation": "boost", - "score": -0.13364830613136292 + "score": 0.12495635449886322 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.12181181460618973 - }, - "else": { - "operation": "boost", - "score": 0.16301122307777405 - } - } - }, - "else": { - "operation": "boost", - "score": -0.028274888172745705 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11146.5, - "then": { - "operation": "boost", - "score": -0.08292075991630554 }, "else": { "operation": "boost", - "score": -0.005429810844361782 + "score": -0.02160157822072506 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.21410049498081207 - }, - "else": { - "operation": "boost", - "score": 0.11420705914497375 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "boost", - "score": 0.014787736348807812 + "score": 0.027910621836781502 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10180168598890305 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.0, - "then": { - "operation": "boost", - "score": 0.2255645990371704 - }, - "else": { - "operation": "boost", - "score": -0.2043817788362503 - } - }, - "else": { - "operation": "boost", - "score": 0.10126297920942307 - } - } + "operation": "boost", + "score": 0.013510202057659626 } }, "else": { - "operation": "boost", - "score": 0.13397173583507538 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { + "operation": "boost", + "score": 0.08150480687618256 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0034657653886824846 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.027923094108700752 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11002780497074127 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.12981484830379486 - }, - "else": { - "operation": "boost", - "score": 0.026731250807642937 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.04627035930752754 - }, - "else": { - "operation": "boost", - "score": 0.11753223091363907 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0870530977845192 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.06590747833251953 - } - } + "operation": "boost", + "score": 0.0048583876341581345 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { "operation": "boost", - "score": -0.23501840233802795 + "score": -0.00851268321275711 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07524333149194717 - }, - "else": { - "operation": "boost", - "score": 0.12189557403326035 - } + "operation": "boost", + "score": 0.012916956096887589 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.13845902681350708 - }, - "else": { - "operation": "boost", - "score": -0.03434215486049652 - } + "operation": "boost", + "score": -0.013644049875438213 } - }, - "else": { - "operation": "boost", - "score": 0.669197142124176 } }, "else": { - "operation": "boost", - "score": -0.006706829182803631 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.14537672698497772 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04588301479816437 - }, - "else": { - "operation": "boost", - "score": 0.12506750226020813 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.1428592950105667 - }, - "else": { - "operation": "boost", - "score": 0.03832906112074852 - } - } + "operation": "boost", + "score": 0.07388443499803543 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.662981390953064 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10039737820625305 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.2494651824235916 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12606583535671234 - }, - "else": { - "operation": "boost", - "score": 0.0293938796967268 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.034492671489715576 - }, - "else": { - "operation": "boost", - "score": 0.06018225476145744 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07566077262163162 - } + "operation": "boost", + "score": -0.10143958777189255 } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.04868816211819649 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": -0.1265937238931656 - }, - "else": { - "operation": "boost", - "score": 0.09935779124498367 - } }, "else": { "operation": "boost", - "score": -0.16202597320079803 + "score": 0.03433609381318092 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 727.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.17165932059288025 }, "else": { "operation": "boost", - "score": -0.29857102036476135 + "score": 0.0010733278468251228 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.3675500452518463 - }, - "else": { - "operation": "boost", - "score": -0.059553228318691254 - } - }, - "else": { - "operation": "boost", - "score": 0.03855625540018082 - } + "operation": "boost", + "score": 0.08371944725513458 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_UnionTag", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", "CCC_Other", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "boost", + "score": 0.0015165304066613317 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.0102829085662961 + "score": -0.09884420037269592 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.020116442814469337 + "score": -0.15104852616786957 }, "else": { "operation": "boost", - "score": 0.22639475762844086 + "score": -0.0856037363409996 } } - }, - "else": { - "operation": "boost", - "score": -0.024419859051704407 } - }, - "else": { - "operation": "boost", - "score": 0.019410336390137672 } }, - "else": { - "operation": "boost", - "score": -0.15608975291252136 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41526.0, - "then": { - "operation": "boost", - "score": -0.5362163186073303 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0002953008806798607 + "score": -0.03970372676849365 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 591.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": 0.0182834193110466 + }, + "else": { + "operation": "boost", + "score": 0.004376998636871576 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1398.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5312.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, - "then": { - "operation": "boost", - "score": 0.034789856523275375 - }, - "else": { - "operation": "boost", - "score": 0.07702048122882843 - } - }, - "else": { - "operation": "boost", - "score": 0.0175852719694376 - } + "operation": "boost", + "score": 0.10342270880937576 }, "else": { "operation": "boost", - "score": 0.0013766457559540868 + "score": 0.05964742973446846 } }, "else": { "operation": "boost", - "score": -0.03488094359636307 + "score": -0.049109719693660736 } }, "else": { "operation": "boost", - "score": 0.11253779381513596 + "score": -0.0022951303981244564 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 581.0, + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.11537221819162369 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.0019559585489332676 + }, + "else": { + "operation": "boost", + "score": -0.17431491613388062 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 544.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.08267518877983093 - }, - "else": { - "operation": "boost", - "score": 0.1262802928686142 - } - }, - "else": { - "operation": "boost", - "score": -0.11500470340251923 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 237.5, - "then": { - "operation": "boost", - "score": 0.008286927826702595 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 231.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10400954633951187 - }, - "else": { - "operation": "boost", - "score": 0.11289763450622559 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.00534998020157218 - }, - "else": { - "operation": "boost", - "score": 0.08049249649047852 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.015061372891068459 - } + "operation": "boost", + "score": -0.17513158917427063 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.009978316724300385 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, - "then": { - "operation": "boost", - "score": 0.046097803860902786 - }, - "else": { - "operation": "boost", - "score": 0.1500425636768341 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 270.5, - "then": { - "operation": "boost", - "score": 0.08627977967262268 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 256.5, - "then": { - "operation": "boost", - "score": 0.133170023560524 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 182.5, - "then": { - "operation": "boost", - "score": -0.08285011351108551 - }, - "else": { - "operation": "boost", - "score": 0.1685699224472046 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233.5, - "then": { - "operation": "boost", - "score": 0.5642324686050415 - }, - "else": { - "operation": "boost", - "score": 0.13999754190444946 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06099971383810043 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.10167069733142853 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12174694985151291 - }, - "else": { - "operation": "boost", - "score": 0.12254425883293152 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10540393739938736 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 359.0, - "then": { - "operation": "boost", - "score": 0.08212631940841675 - }, - "else": { - "operation": "boost", - "score": -0.30163875222206116 - } - } - }, - "else": { - "operation": "boost", - "score": 0.019671443849802017 - } - } + "operation": "boost", + "score": 0.0808163434267044 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.15205015242099762 - }, - "else": { - "operation": "boost", - "score": 0.04592522978782654 - } + "operation": "boost", + "score": -0.04412682726979256 } } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.005214035976678133 + }, + "else": { + "operation": "boost", + "score": -0.0026326023507863283 + } } - }, - "else": { - "operation": "boost", - "score": 0.009544510394334793 } } } - }, - "else": { - "operation": "boost", - "score": -0.00035648667835630476 } + }, + "else": { + "operation": "boost", + "score": -0.001000265241600573 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInstanceMember", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02679959312081337 + }, + "else": { + "operation": "boost", + "score": 0.05676625669002533 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25461.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 31804.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 44616.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 47253.0, "then": { - "operation": "boost", - "score": 0.060640085488557816 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 256926.0, "then": { "operation": "boost", - "score": 0.07728581875562668 + "score": -0.32495638728141785 }, "else": { - "operation": "boost", - "score": 0.1155630424618721 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { + "operation": "boost", + "score": 0.05219210684299469 + }, + "else": { + "operation": "boost", + "score": -0.03778917342424393 + } } + }, + "else": { + "operation": "boost", + "score": 0.07379161566495895 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 32947.0, "then": { "operation": "boost", - "score": -0.1565522700548172 + "score": -0.06831853836774826 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.125675767660141 - }, - "else": { - "operation": "boost", - "score": -0.12422781437635422 - } + "operation": "boost", + "score": 0.03497028723359108 } } }, "else": { "operation": "boost", - "score": -0.014871638268232346 + "score": 0.07966428250074387 } }, "else": { - "operation": "boost", - "score": 0.0037341422867029905 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { "operation": "if_member", "feature": "Scope", "set": [ - "FileScope" + "ClassScope", + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 316302.0, - "then": { - "operation": "boost", - "score": -0.11152750253677368 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91957.5, - "then": { - "operation": "boost", - "score": 0.12022635340690613 - }, - "else": { - "operation": "boost", - "score": 0.03675520047545433 - } - } + "operation": "boost", + "score": 0.010101201012730598 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273295.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.046050723642110825 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1196797713637352 - }, - "else": { - "operation": "boost", - "score": 0.10522084683179855 - } - } - }, - "else": { - "operation": "boost", - "score": -0.026148980483412743 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.006803792901337147 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, "then": { "operation": "boost", - "score": 0.39794811606407166 + "score": -0.043151579797267914 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.10616392642259598 + "score": 0.1583748161792755 }, "else": { "operation": "boost", - "score": -0.09565455466508865 + "score": 0.06843973696231842 } } + }, + "else": { + "operation": "boost", + "score": -0.0062326532788574696 } }, "else": { - "operation": "boost", - "score": -0.10507729649543762 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10008.5, "then": { + "operation": "boost", + "score": -0.037455908954143524 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 6360.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6406.0, "then": { - "operation": "boost", - "score": 0.11129435151815414 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 8266.0, "then": { - "operation": "boost", - "score": 0.15936517715454102 - }, - "else": { - "operation": "boost", - "score": 0.06969098001718521 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8956.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9519.0, + "then": { + "operation": "boost", + "score": 0.05104856565594673 + }, + "else": { + "operation": "boost", + "score": -0.09768746048212051 + } + }, + "else": { + "operation": "boost", + "score": 0.09438508749008179 + } + }, + "else": { + "operation": "boost", + "score": -0.06443855911493301 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08482969552278519 }, "else": { - "operation": "boost", - "score": 0.11283876746892929 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.13591791689395905 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.1078253909945488 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6388.5, + "then": { + "operation": "boost", + "score": 0.1048721969127655 + }, + "else": { + "operation": "boost", + "score": 0.10834860801696777 + } + } }, "else": { "operation": "boost", - "score": 0.14696596562862396 + "score": 0.1096448227763176 } - }, - "else": { - "operation": "boost", - "score": -0.10352936387062073 } }, "else": { - "operation": "boost", - "score": 0.00028218867373652756 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.14073175191879272 + "score": -0.02181182987987995 }, "else": { "operation": "boost", - "score": 0.0995340347290039 + "score": -0.25150495767593384 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.08291737735271454 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0949515551328659 - }, - "else": { - "operation": "boost", - "score": 0.10732122510671616 - } - }, - "else": { - "operation": "boost", - "score": -0.2117002159357071 - } - } + "operation": "boost", + "score": 0.005793331656605005 } - }, - "else": { - "operation": "boost", - "score": 0.07559758424758911 } - }, - "else": { - "operation": "boost", - "score": -0.07453048229217529 } } } @@ -204406,1312 +197944,1347 @@ } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.14092890918254852 - }, - "else": { - "operation": "boost", - "score": 0.13168329000473022 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { "operation": "boost", - "score": 0.06670085340738297 + "score": 0.0013905902160331607 }, "else": { "operation": "boost", - "score": 0.09758303314447403 + "score": 0.04705152288079262 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.1320899873971939 - }, - "else": { - "operation": "boost", - "score": 0.15957963466644287 - } + "operation": "boost", + "score": 0.013315213844180107 } + }, + "else": { + "operation": "boost", + "score": -0.03504322096705437 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.041754961013793945 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, "then": { "operation": "boost", - "score": -0.24830248951911926 + "score": -0.06402675062417984 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10527220368385315 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.10019761323928833 + }, + "else": { + "operation": "boost", + "score": -0.1435384303331375 + } + }, + "else": { + "operation": "boost", + "score": -0.013438774272799492 + } }, "else": { "operation": "boost", - "score": 0.0632675513625145 + "score": -0.0017210900550708175 } } - }, - "else": { - "operation": "boost", - "score": -0.1249488815665245 } } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, + "feature": "FractionNameInContext", + "threshold": 0.4868420958518982, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.5, - "then": { - "operation": "boost", - "score": 0.049172673374414444 - }, - "else": { - "operation": "boost", - "score": 0.11412722617387772 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 590.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1783.5, - "then": { - "operation": "boost", - "score": 0.029046611860394478 - }, - "else": { - "operation": "boost", - "score": -0.0357481949031353 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 523.5, + "feature": "FractionNameInContext", + "threshold": 0.7071428298950195, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 573.5, - "then": { - "operation": "boost", - "score": 0.11523929238319397 - }, - "else": { - "operation": "boost", - "score": 0.11340136080980301 - } + "operation": "boost", + "score": 0.12383914738893509 }, "else": { - "operation": "boost", - "score": 0.06649437546730042 - } - }, - "else": { - "operation": "boost", - "score": 0.0503925085067749 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11514.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11550.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32342.0, - "then": { - "operation": "boost", - "score": -0.04007498547434807 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30750.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31239.0, + "feature": "FractionNameInContext", + "threshold": 0.7638888955116272, "then": { "operation": "boost", - "score": 0.010025760158896446 + "score": 0.00411083921790123 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, - "then": { - "operation": "boost", - "score": 0.09235578030347824 - }, - "else": { - "operation": "boost", - "score": 0.0359366312623024 - } + "operation": "boost", + "score": 0.1665639728307724 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.0998983308672905 - }, - "else": { - "operation": "boost", - "score": 0.1020844429731369 - } + "operation": "boost", + "score": 0.1373838186264038 } }, "else": { "operation": "boost", - "score": 0.06755555421113968 + "score": 0.06356314569711685 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6306818127632141, + "then": { + "operation": "boost", + "score": -0.27337750792503357 + }, + "else": { + "operation": "boost", + "score": 0.1475527137517929 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.6076923608779907, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11900.0, - "then": { - "operation": "boost", - "score": 0.047123853117227554 - }, - "else": { - "operation": "boost", - "score": 0.09643016010522842 - } + "operation": "boost", + "score": -0.10822359472513199 }, "else": { "operation": "boost", - "score": -0.014664932154119015 + "score": 0.5364012122154236 } }, "else": { "operation": "boost", - "score": 0.03673463687300682 + "score": -0.08905252814292908 } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1034049242734909 - }, - "else": { - "operation": "boost", - "score": -0.10132777690887451 - } + "operation": "boost", + "score": 0.029705043882131577 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10625.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10189437866210938 - }, - "else": { - "operation": "boost", - "score": -0.07916168123483658 - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8516.0, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9195.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07787971943616867 + }, + "else": { + "operation": "boost", + "score": 0.12134808301925659 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9552.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { "operation": "boost", - "score": 0.06599582731723785 + "score": 0.10693827271461487 }, "else": { "operation": "boost", - "score": 0.10570195317268372 + "score": 0.10257194936275482 } }, "else": { "operation": "boost", - "score": -0.14155493676662445 + "score": -0.05489085242152214 } }, "else": { "operation": "boost", - "score": -0.023343805223703384 + "score": -0.012935427017509937 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.13052232563495636 + }, + "else": { + "operation": "boost", + "score": 0.03591202199459076 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.875, "then": { + "operation": "boost", + "score": -0.16712616384029388 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.21953436732292175 + "score": 0.07082173973321915 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8890.0, + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.11612428724765778 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "FileProximityDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.1104261726140976 + "score": 0.08313687145709991 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.10822564363479614 + "score": 0.31703823804855347 }, "else": { "operation": "boost", - "score": 0.10065958648920059 + "score": 0.13670116662979126 } } - }, - "else": { - "operation": "boost", - "score": 0.02687697298824787 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9017.5, - "then": { - "operation": "boost", - "score": -0.19620737433433533 - }, - "else": { - "operation": "boost", - "score": 0.1065385565161705 - } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.23898175358772278 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9064.5, - "then": { - "operation": "boost", - "score": 0.1055828258395195 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8668.0, - "then": { - "operation": "boost", - "score": -0.01106054987758398 - }, - "else": { - "operation": "boost", - "score": 0.457334041595459 - } - } + "operation": "boost", + "score": -0.012517422437667847 } } - }, - "else": { - "operation": "boost", - "score": -0.0023063188418745995 } + }, + "else": { + "operation": "boost", + "score": -0.0126012172549963 } } + }, + "else": { + "operation": "boost", + "score": 0.006261396687477827 } }, + "else": { + "operation": "boost", + "score": 0.004863560199737549 + } + }, + "else": { + "operation": "boost", + "score": 0.0021573270205408335 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.09213710576295853 + }, + "else": { + "operation": "boost", + "score": 0.006797345355153084 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": -0.0013197107473388314 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3191.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.06070902198553085 + }, + "else": { + "operation": "boost", + "score": 0.15326933562755585 + } + }, + "else": { + "operation": "boost", + "score": 0.028319839388132095 + } + }, + "else": { "operation": "boost", - "score": -0.14273548126220703 + "score": -0.004281728062778711 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2417.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5453.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.017551440745592117 + }, + "else": { + "operation": "boost", + "score": -0.0009132958948612213 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3146.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.13060933351516724 + "score": 0.0810413509607315 }, "else": { + "operation": "boost", + "score": -0.04850275442004204 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4138.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 4149.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 270.5, + "threshold": 5294.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5346.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1130.5, + "operation": "boost", + "score": 0.04840794578194618 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.009687227196991444 + "score": 0.12714016437530518 }, "else": { "operation": "boost", - "score": 0.10957051068544388 + "score": 0.09633695334196091 } }, "else": { - "operation": "boost", - "score": 0.009109788574278355 - } - }, - "else": { - "operation": "boost", - "score": 0.007894850336015224 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 262.0, - "then": { - "operation": "boost", - "score": 0.12782835960388184 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 217.5, + "threshold": 5335.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 229.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.0, "then": { "operation": "boost", - "score": -0.03068721666932106 + "score": -0.10030588507652283 }, "else": { "operation": "boost", - "score": 0.2850021421909332 + "score": 0.13567768037319183 } }, "else": { "operation": "boost", - "score": -0.01736493781208992 + "score": -0.11706365644931793 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5035.0, + "then": { + "operation": "boost", + "score": -0.025919411331415176 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5025.0, + "then": { + "operation": "boost", + "score": 0.5713917016983032 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.1174682080745697 - }, - "else": { - "operation": "boost", - "score": 0.12376704812049866 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.05547690391540527 - }, - "else": { - "operation": "boost", - "score": 0.11218487471342087 - } + "operation": "boost", + "score": 0.3826945126056671 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.04819168522953987 - }, - "else": { - "operation": "boost", - "score": -0.8191495537757874 - } + "operation": "boost", + "score": -0.10087522119283676 } }, "else": { + "operation": "boost", + "score": -0.008629785850644112 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4174.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 160.5, + "threshold": 4403.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 179.0, + "threshold": 4409.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.22701486945152283 - }, - "else": { - "operation": "boost", - "score": 0.429644376039505 - } - }, - "else": { - "operation": "boost", - "score": -0.11897827684879303 - } + "operation": "boost", + "score": 0.09168330579996109 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.15880326926708221 - }, - "else": { - "operation": "boost", - "score": 0.35478803515434265 - } + "operation": "boost", + "score": 0.23081611096858978 } }, "else": { "operation": "boost", - "score": 0.06388977915048599 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11476746201515198 - }, - "else": { - "operation": "boost", - "score": 0.11153396219015121 + "score": -0.12146233767271042 } }, "else": { "operation": "boost", - "score": 0.16988669335842133 + "score": 0.12582279741764069 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 4288.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.5, - "then": { - "operation": "boost", - "score": -9.67420482635498 - }, - "else": { - "operation": "boost", - "score": -0.2255367487668991 - } - }, - "else": { - "operation": "boost", - "score": 0.041440825909376144 - } + "operation": "boost", + "score": 0.07355893403291702 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 4286.0, "then": { + "operation": "boost", + "score": 0.14192205667495728 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 155.5, + "threshold": 4260.5, "then": { "operation": "boost", - "score": -0.023576010018587112 + "score": 0.14415371417999268 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120.0, - "then": { - "operation": "boost", - "score": 0.10753943026065826 - }, - "else": { - "operation": "boost", - "score": -0.3423037528991699 - } - }, - "else": { - "operation": "boost", - "score": 0.11340004205703735 - } - }, - "else": { - "operation": "boost", - "score": 0.06717349588871002 - } + "operation": "boost", + "score": -0.019754594191908836 } - }, - "else": { - "operation": "boost", - "score": -0.1465958058834076 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11366263031959534 - }, - "else": { - "operation": "boost", - "score": -0.5171283483505249 - } + "operation": "boost", + "score": 0.06922157108783722 } + }, + "else": { + "operation": "boost", + "score": -0.0921175479888916 } } } } }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.16990762948989868 + }, + "else": { + "operation": "boost", + "score": 0.13482347130775452 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 747.0, + "threshold": 2535.5, "then": { - "operation": "boost", - "score": 0.11908582597970963 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.027855057269334793 + }, + "else": { + "operation": "boost", + "score": 0.21827292442321777 + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2481.0, "then": { "operation": "boost", - "score": -0.12191333621740341 + "score": 0.13940057158470154 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.0486636608839035 - }, - "else": { - "operation": "boost", - "score": 0.11004521697759628 - } + "operation": "boost", + "score": -0.1004374623298645 } } + }, + "else": { + "operation": "boost", + "score": 0.01458230335265398 } } + }, + "else": { + "operation": "boost", + "score": -0.007869117893278599 } } }, "else": { - "operation": "boost", - "score": 0.0048524923622608185 - } - }, - "else": { - "operation": "boost", - "score": -0.004485865589231253 - } - }, - "else": { - "operation": "boost", - "score": -0.0007213916978798807 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.05605529993772507 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07343246787786484 + "score": -0.004349765367805958 }, "else": { - "operation": "boost", - "score": 0.11371967941522598 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18769.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19795.0, + "then": { + "operation": "boost", + "score": 0.016637912020087242 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.11296894401311874 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19203.5, + "then": { + "operation": "boost", + "score": 0.14359325170516968 + }, + "else": { + "operation": "boost", + "score": 0.09126196801662445 + } + }, + "else": { + "operation": "boost", + "score": -0.1112200990319252 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.006123276427388191 + } } + }, + "else": { + "operation": "boost", + "score": 0.028466634452342987 } }, "else": { + "operation": "boost", + "score": -0.08871682733297348 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 30.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1303885132074356 + "score": -0.00607148976996541 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.12131460011005402 + "score": 0.0036683068610727787 }, "else": { - "operation": "boost", - "score": -0.10549645870923996 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006620696280151606 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.01093329954892397 + }, + "else": { + "operation": "boost", + "score": -0.006406429223716259 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.014515137299895287 + }, + "else": { + "operation": "boost", + "score": 0.002811406273394823 + } + }, + "else": { + "operation": "boost", + "score": -0.003777633188292384 + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.04613441228866577 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.05877375230193138 + "score": -0.006262804381549358 }, "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0011056270450353622 + }, + "else": { + "operation": "boost", + "score": 0.12792585790157318 + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1990634649991989 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.17390114068984985 + }, + "else": { + "operation": "boost", + "score": -0.06969372928142548 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09872683137655258 + } + }, + "else": { "operation": "boost", - "score": 0.10838191211223602 + "score": -0.4615822732448578 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.030873432755470276 + }, + "else": { + "operation": "boost", + "score": 0.010000930167734623 + } }, "else": { "operation": "boost", - "score": -0.13186492025852203 + "score": 0.0056824227795004845 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Other", + "CCC_ClassStructUnion", + "CCC_EnumTag", "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ClassStructUnion", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "boost", + "score": 0.010858174413442612 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71608.5, + "operation": "boost", + "score": -0.03602274879813194 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.12660744786262512 + "score": 0.006707730703055859 }, "else": { + "operation": "boost", + "score": -0.06789752840995789 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09115869551897049 + "score": -0.0230389516800642 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.09953678399324417 + "score": 0.049674250185489655 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54332.5, - "then": { - "operation": "boost", - "score": 0.08765970915555954 - }, - "else": { - "operation": "boost", - "score": 0.1058088093996048 - } + "operation": "boost", + "score": -0.8532565832138062 } } }, "else": { "operation": "boost", - "score": 0.16049005091190338 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2321503460407257 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71608.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.1370803713798523 - }, - "else": { - "operation": "boost", - "score": -0.9287749528884888 + "score": 0.010528373531997204 } }, - "else": { - "operation": "boost", - "score": -0.10194127261638641 - } - }, - "else": { - "operation": "boost", - "score": 0.01775720715522766 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005172187928110361 - }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0367644764482975 - }, - "else": { - "operation": "boost", - "score": 0.16130264103412628 - } - }, - "else": { - "operation": "boost", - "score": 0.056041620671749115 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50371.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.14539562165737152 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.13613878190517426 - }, - "else": { - "operation": "boost", - "score": 0.14212879538536072 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.022077884525060654 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11027330160140991 - }, - "else": { - "operation": "boost", - "score": 0.1356617957353592 - } - }, - "else": { - "operation": "boost", - "score": -0.06246822699904442 - } - }, - "else": { - "operation": "boost", - "score": 0.48464643955230713 - } - } - } - } + "operation": "boost", + "score": 0.1286287158727646 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155294.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185218.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08084075897932053 - }, - "else": { - "operation": "boost", - "score": 0.04394553229212761 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.12458755820989609 - }, - "else": { - "operation": "boost", - "score": 0.11000601947307587 - } - }, - "else": { - "operation": "boost", - "score": 0.12753896415233612 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11726737767457962 - } - }, - "else": { - "operation": "boost", - "score": 0.07960161566734314 - } + "operation": "boost", + "score": -0.09517481923103333 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { "operation": "boost", - "score": 0.04667208343744278 + "score": 0.07929416745901108 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55310.5, - "then": { - "operation": "boost", - "score": 0.050623174756765366 - }, - "else": { - "operation": "boost", - "score": -0.21182781457901 - } - }, - "else": { - "operation": "boost", - "score": -0.02111104689538479 - } + "operation": "boost", + "score": -0.12865674495697021 } } } @@ -205720,1819 +199293,1823 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46971.0, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { + "operation": "boost", + "score": 0.13028587400913239 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.12423336505889893 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "boost", - "score": -0.023202046751976013 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { "operation": "boost", - "score": -0.02439514547586441 + "score": -0.0005216404679231346 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, "then": { "operation": "boost", - "score": 0.10025563091039658 + "score": 0.0358511283993721 }, "else": { "operation": "boost", - "score": 0.056283701211214066 + "score": -0.016851868480443954 } } }, "else": { - "operation": "boost", - "score": 0.01744440756738186 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 371693.0, - "then": { - "operation": "boost", - "score": 0.1027289405465126 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 327227.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "boost", + "score": 0.03428886830806732 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": 0.08852341026067734 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": 0.07733814418315887 + }, + "else": { + "operation": "boost", + "score": 0.08946053683757782 + } }, "else": { "operation": "boost", - "score": 0.08794160187244415 + "score": 0.04841115325689316 } - }, - "else": { - "operation": "boost", - "score": -0.1770310401916504 } - }, - "else": { - "operation": "boost", - "score": 0.03412887454032898 } + }, + "else": { + "operation": "boost", + "score": -0.08949687331914902 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "boost", - "score": -0.1551159918308258 }, "else": { - "operation": "boost", - "score": -0.009331176057457924 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, "then": { + "operation": "boost", + "score": -0.15352505445480347 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.10128668695688248 + "score": 0.0004421839548740536 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1515369713306427 + "score": 0.10716832429170609 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11004387587308884 - }, - "else": { - "operation": "boost", - "score": 0.11902197450399399 - } + "operation": "boost", + "score": 0.006853026803582907 } } - }, - "else": { - "operation": "boost", - "score": -0.13074061274528503 } - }, - "else": { - "operation": "boost", - "score": -0.011363357305526733 } - }, - "else": { - "operation": "boost", - "score": -0.0008479044190607965 } } }, "else": { - "operation": "boost", - "score": -0.010187320411205292 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.25123146176338196 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": 0.027172677218914032 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.06491433084011078 + }, + "else": { + "operation": "boost", + "score": -0.0011592177907004952 + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09505123645067215 + "score": 0.042368434369564056 }, "else": { "operation": "boost", - "score": 0.10504747182130814 + "score": -0.02784167416393757 } } } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006049427669495344 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.016787046566605568 + }, + "else": { + "operation": "boost", + "score": -0.0001210196569445543 + } + }, + "else": { + "operation": "boost", + "score": -0.071306973695755 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0413864366710186, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": -0.041189126670360565 + }, + "else": { + "operation": "boost", + "score": 0.03648601472377777 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.03731456771492958 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.07693253457546234 }, "else": { "operation": "boost", - "score": 0.09460052847862244 + "score": -0.030413903295993805 } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" + "CCC_ParenthesizedExpression" ], "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.45518791675567627 + }, + "else": { + "operation": "boost", + "score": 0.045659612864255905 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 49850.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 58696.0, + "threshold": 5187.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.018706249073147774 - }, - "else": { - "operation": "boost", - "score": -0.08408860862255096 - } + "operation": "boost", + "score": 0.06844186037778854 }, "else": { + "operation": "boost", + "score": -0.021764885634183884 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.09621669352054596 + "score": 0.016973011195659637 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.3485051095485687 - }, - "else": { - "operation": "boost", - "score": 0.11139226704835892 - } + "operation": "boost", + "score": 0.08355496823787689 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53585.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.17019052803516388 - }, - "else": { - "operation": "boost", - "score": -0.2684008479118347 - } - }, - "else": { - "operation": "boost", - "score": 0.006161458790302277 - } + "operation": "boost", + "score": 0.06620695441961288 } - } - }, - "else": { - "operation": "boost", - "score": -0.08756352216005325 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55801.5, - "then": { - "operation": "boost", - "score": -0.05448490008711815 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_UnionTag", - "CCC_Other" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { "operation": "boost", - "score": 0.1500311940908432 + "score": -0.0002584746398497373 }, "else": { "operation": "boost", - "score": 1.125430941581726 + "score": 0.13859061896800995 } }, "else": { "operation": "boost", - "score": -0.14045003056526184 + "score": 0.02066691406071186 } - }, - "else": { - "operation": "boost", - "score": -0.10004037618637085 } } } } }, "else": { - "operation": "boost", - "score": -0.024833472445607185 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 316302.0, + "threshold": 69.5, "then": { - "operation": "boost", - "score": -0.10935194045305252 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91957.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11844085901975632 + "score": 0.05644087493419647 }, "else": { "operation": "boost", - "score": 0.03326878324151039 + "score": -0.38768503069877625 } + }, + "else": { + "operation": "boost", + "score": 0.001744244946166873 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0052124266512691975 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 273295.0, + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.043866127729415894 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.11829813569784164 + "score": 0.009738091379404068 }, "else": { "operation": "boost", - "score": 0.10714258253574371 + "score": -0.029594814404845238 } + }, + "else": { + "operation": "boost", + "score": 0.023729827255010605 } }, "else": { - "operation": "boost", - "score": -0.02571433037519455 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace" - ], - "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.03070748597383499 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 22.0, "then": { "operation": "boost", - "score": -0.07450464367866516 + "score": 0.13117322325706482 }, "else": { + "operation": "boost", + "score": 0.061329495161771774 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.03440320864319801 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.07936758548021317 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07089179009199142 + "score": -0.4019031524658203 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.105417400598526 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": -0.11108992248773575 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.09702349454164505 - }, - "else": { - "operation": "boost", - "score": 0.0722116082906723 - } - } - } + "operation": "boost", + "score": 0.06092006713151932 } + }, + "else": { + "operation": "boost", + "score": 0.02897232584655285 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.6839396953582764 + "score": -2.305982828140259 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105656.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.6847094297409058 + "score": 0.016926012933254242 }, "else": { "operation": "boost", - "score": -0.10126176476478577 + "score": -0.04277658089995384 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.217604398727417 - }, - "else": { - "operation": "boost", - "score": 0.006587551441043615 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0030648394022136927 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10690782964229584 - }, - "else": { - "operation": "boost", - "score": 0.13704219460487366 + }, + "else": { + "operation": "boost", + "score": -0.0554649755358696 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11069901287555695 - }, - "else": { - "operation": "boost", - "score": 0.08068310469388962 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "boost", - "score": 0.0846400260925293 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.10552281886339188 - }, - "else": { - "operation": "boost", - "score": 0.2285834699869156 - } + "score": 0.03374820575118065 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": -0.13364152610301971 - }, - "else": { - "operation": "boost", - "score": 0.13543006777763367 - } - }, - "else": { - "operation": "boost", - "score": -0.10316653549671173 - } + "operation": "boost", + "score": 0.0012983463238924742 }, "else": { - "operation": "boost", - "score": -0.00013348473294172436 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1368870586156845 - }, - "else": { - "operation": "boost", - "score": 0.09606359153985977 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.07818008959293365 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { "operation": "boost", - "score": 0.0932375118136406 + "score": -0.14158515632152557 }, "else": { "operation": "boost", - "score": 0.10669231414794922 + "score": 0.04197140783071518 } }, "else": { "operation": "boost", - "score": -0.20277540385723114 + "score": -0.01416418794542551 } + }, + "else": { + "operation": "boost", + "score": -0.12062415480613708 } - } - }, - "else": { - "operation": "boost", - "score": 0.06187255680561066 - } - }, - "else": { - "operation": "boost", - "score": -0.06440415233373642 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13593502342700958 - }, - "else": { - "operation": "boost", - "score": 0.12702690064907074 - } - }, - "else": { - "operation": "boost", - "score": -0.27594301104545593 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00025012739934027195 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62267.0, - "then": { - "operation": "boost", - "score": -0.1508825719356537 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09044199436903 - }, - "else": { - "operation": "boost", - "score": 0.10208284109830856 - } - }, - "else": { - "operation": "boost", - "score": 0.2515125572681427 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71608.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.12884235382080078 - }, - "else": { - "operation": "boost", - "score": -0.2142113447189331 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62267.0, - "then": { - "operation": "boost", - "score": 0.03284170851111412 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54332.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "operation": "boost", + "score": 0.05574364587664604 + }, + "else": { + "operation": "boost", + "score": -0.00836645346134901 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.0186707004904747 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.15447892248630524 + "score": 0.001456090365536511 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": -0.3601115643978119 + }, + "else": { + "operation": "boost", + "score": -0.6233419179916382 + } + }, + "else": { + "operation": "boost", + "score": -0.00956329982727766 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08716340363025665 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05914948508143425 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.25857576727867126 + }, + "else": { + "operation": "boost", + "score": -0.7838250398635864 + } + } + }, + "else": { + "operation": "boost", + "score": -0.022232338786125183 + } + } }, "else": { "operation": "boost", - "score": -0.10043317079544067 + "score": -0.04750727489590645 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "boost", + "score": 0.12744635343551636 }, "else": { "operation": "boost", - "score": 0.13977912068367004 + "score": -0.009246227331459522 } }, "else": { "operation": "boost", - "score": -0.10998150706291199 + "score": -0.1367419809103012 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.22798466682434082 + "score": -0.07858976721763611 }, "else": { "operation": "boost", - "score": 0.12378638982772827 + "score": 0.00307001662440598 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "boost", + "score": 0.0743539109826088 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": -0.06551635265350342 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.11448933184146881 + "score": 0.12174052745103836 }, "else": { + "operation": "boost", + "score": 0.031673628836870193 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.20228897035121918 + "score": -0.014792616479098797 }, "else": { - "operation": "boost", - "score": 2.5033936500549316 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.044225599616765976 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.023274097591638565 + }, + "else": { + "operation": "boost", + "score": 0.019351603463292122 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": -0.014511732384562492 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.2090713381767273 + }, + "else": { + "operation": "boost", + "score": -0.2445608228445053 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12607605755329132 + }, + "else": { + "operation": "boost", + "score": 0.026778094470500946 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.025927264243364334 + }, + "else": { + "operation": "boost", + "score": -0.02987137995660305 + } + }, + "else": { + "operation": "boost", + "score": -0.037788160145282745 + } } } } } - }, - "else": { - "operation": "boost", - "score": -0.11102160066366196 } } } - }, - "else": { + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": 0.024061866104602814 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], + "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { + "operation": "boost", + "score": -0.016789229586720467 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04400691017508507 + "score": 0.12800541520118713 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.7207792401313782, "then": { "operation": "boost", - "score": 0.08135147392749786 + "score": 0.1375766545534134 }, "else": { "operation": "boost", - "score": 0.10769906640052795 + "score": 0.013885103166103363 } } }, "else": { - "operation": "boost", - "score": 0.06263185292482376 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.020499004051089287 + }, + "else": { + "operation": "boost", + "score": 0.12224147468805313 + } } }, "else": { - "operation": "boost", - "score": -0.017816107720136642 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8055555820465088, + "then": { + "operation": "boost", + "score": -0.13406065106391907 + }, + "else": { + "operation": "boost", + "score": 0.054487936198711395 + } } + } + }, + "else": { + "operation": "boost", + "score": 0.0085002975538373 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7638888955116272, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": 0.05643361061811447 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.13115251064300537 - }, - "else": { - "operation": "boost", - "score": -0.16220255196094513 - } + "operation": "boost", + "score": 0.12329122424125671 }, "else": { "operation": "boost", - "score": -0.012827778235077858 + "score": -0.09193436801433563 } } + }, + "else": { + "operation": "boost", + "score": -0.003060924122110009 } - }, - "else": { - "operation": "boost", - "score": 0.002682497026398778 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "boost", + "score": -0.000963354017585516 + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 316302.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": -0.10754139721393585 + "score": 0.0365595817565918 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91957.5, - "then": { - "operation": "boost", - "score": 0.11719610542058945 - }, - "else": { - "operation": "boost", - "score": 0.03030567616224289 - } + "operation": "boost", + "score": 0.0007020220509730279 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273295.0, + "operation": "boost", + "score": -0.019701818004250526 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03668474778532982 + "score": -0.11215700954198837 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.27619048953056335, "then": { "operation": "boost", - "score": 0.12067153304815292 + "score": 0.0467301644384861 }, "else": { "operation": "boost", - "score": 0.10566933453083038 + "score": 0.08245448023080826 } } }, "else": { - "operation": "boost", - "score": -0.023778943344950676 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.9285714626312256, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.01194804534316063 + "score": 0.1398364156484604 }, "else": { + "operation": "boost", + "score": -0.19752386212348938 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.029062995687127113 - }, - "else": { - "operation": "boost", - "score": -0.3286038935184479 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0334056131541729 - }, - "else": { - "operation": "boost", - "score": 0.07634784281253815 - } - } + "operation": "boost", + "score": -0.09871806204319 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { + "operation": "boost", + "score": -0.03230193629860878 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, "then": { "operation": "boost", - "score": 0.09069894999265671 + "score": 0.07420612871646881 }, "else": { - "operation": "boost", - "score": -0.5121796727180481 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.0774960145354271 - }, - "else": { - "operation": "boost", - "score": 0.09433512389659882 - } + "operation": "boost", + "score": 0.12900835275650024 }, "else": { - "operation": "boost", - "score": 0.23746903240680695 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105656.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FractionNameInContext", + "threshold": 0.43560606241226196, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.1309620440006256 - }, - "else": { - "operation": "boost", - "score": 0.12342649698257446 - } + "operation": "boost", + "score": -0.006994599010795355 }, "else": { "operation": "boost", - "score": 0.14287471771240234 + "score": 0.12114787846803665 } }, "else": { "operation": "boost", - "score": -0.10393980145454407 + "score": 0.029676493257284164 } - }, - "else": { - "operation": "boost", - "score": 0.1270899772644043 } } } } + }, + "else": { + "operation": "boost", + "score": -0.008408273570239544 } - }, - "else": { - "operation": "boost", - "score": -0.00953273568302393 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.010719179175794125 - }, - "else": { - "operation": "boost", - "score": -0.006185656879097223 } } }, + "else": { + "operation": "boost", + "score": 0.0074455211870372295 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.004527879413217306 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10352113097906113 - }, - "else": { - "operation": "boost", - "score": 0.1327793151140213 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11009014397859573 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.03303990513086319 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04315498098731041 - }, - "else": { - "operation": "boost", - "score": 0.11926999688148499 - } - } - } - } + "operation": "boost", + "score": -0.21872912347316742 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08082075417041779 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.09952772408723831 - }, - "else": { - "operation": "boost", - "score": 0.12263022363185883 - } - } + "operation": "boost", + "score": -0.04754770174622536 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": -0.13737067580223083 - }, - "else": { - "operation": "boost", - "score": 0.13284142315387726 - } - }, - "else": { - "operation": "boost", - "score": -0.1028519943356514 - } - }, - "else": { - "operation": "boost", - "score": 0.0004106148553546518 - } + "operation": "boost", + "score": 0.12719184160232544 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { + "operation": "boost", + "score": -0.0007734504761174321 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.01396672148257494 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 160.0, "then": { "operation": "boost", - "score": 0.13221046328544617 + "score": 0.11369326710700989 }, "else": { "operation": "boost", - "score": 0.09359004348516464 + "score": 0.07603171467781067 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 502.5, "then": { "operation": "boost", - "score": -0.3394598066806793 + "score": -1.574643850326538 }, "else": { "operation": "boost", - "score": 0.20007559657096863 + "score": 0.041958317160606384 } } - }, - "else": { - "operation": "boost", - "score": 0.07855578511953354 } - }, - "else": { - "operation": "boost", - "score": -0.1818886399269104 } }, "else": { "operation": "boost", - "score": -0.05264212563633919 + "score": -0.031520526856184006 } } } + }, + "else": { + "operation": "boost", + "score": -0.006881034933030605 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.12703688442707062 + }, + "else": { + "operation": "boost", + "score": 0.0213353019207716 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52191.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 56010.5, "then": { "operation": "boost", - "score": 0.13165569305419922 + "score": 0.019340068101882935 }, "else": { "operation": "boost", - "score": 0.1256527304649353 + "score": 0.08886577934026718 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 48488.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06409364193677902 - }, - "else": { - "operation": "boost", - "score": 0.09394945949316025 - } + "operation": "boost", + "score": -0.1268555223941803 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.12744611501693726 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 46801.5, "then": { "operation": "boost", - "score": -0.24026958644390106 + "score": 0.08428759127855301 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11068469285964966 - }, - "else": { - "operation": "boost", - "score": 0.16398753225803375 - } - }, - "else": { - "operation": "boost", - "score": 0.10778334736824036 - } + "operation": "boost", + "score": 5.087775207357481e-05 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2475464940071106 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09931368380784988 }, "else": { "operation": "boost", - "score": -0.231393963098526 + "score": -0.057503439486026764 } } - }, - "else": { - "operation": "boost", - "score": -0.11745338886976242 } } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, - "then": { - "operation": "boost", - "score": 0.9985569715499878 - }, - "else": { - "operation": "boost", - "score": -0.09274868667125702 - } + "operation": "boost", + "score": -0.0918494462966919 }, "else": { "operation": "boost", - "score": 0.01186918094754219 + "score": 0.008874772116541862 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.05174681171774864 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.08016026020050049 - }, - "else": { - "operation": "boost", - "score": 0.10477973520755768 - } - } - }, - "else": { - "operation": "boost", - "score": -0.017833227291703224 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.19547727704048157 + "score": 0.08264424651861191 }, "else": { "operation": "boost", - "score": 0.12365969270467758 + "score": 0.01099391933530569 } }, "else": { - "operation": "boost", - "score": 0.8949722647666931 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.0, - "then": { - "operation": "boost", - "score": 0.11118925362825394 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, "then": { "operation": "boost", - "score": -0.12795093655586243 + "score": 0.008841034956276417 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { + "operation": "boost", + "score": 0.13480369746685028 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.09040211886167526 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.036835748702287674 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09567059576511383 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.15521758794784546 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.09901244193315506 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.14597585797309875 + }, + "else": { + "operation": "boost", + "score": 0.14847853779792786 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05795374885201454 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.020010972395539284 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": 0.1032269299030304 + }, + "else": { + "operation": "boost", + "score": 0.1400085985660553 + } + } + } }, "else": { - "operation": "boost", - "score": 0.13082057237625122 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.20660525560379028 + }, + "else": { + "operation": "boost", + "score": -0.05370846763253212 + } + }, + "else": { + "operation": "boost", + "score": -0.011772498488426208 + } } - }, - "else": { - "operation": "boost", - "score": 0.014991995878517628 } } }, "else": { "operation": "boost", - "score": 0.020503757521510124 + "score": -0.018136993050575256 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.6515151262283325, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.13100561499595642 + "score": 0.08646457642316818 }, "else": { "operation": "boost", - "score": 0.09960895031690598 + "score": -0.13658902049064636 } }, "else": { - "operation": "boost", - "score": 0.10333004593849182 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08107002079486847 - }, - "else": { - "operation": "boost", - "score": 0.12399797141551971 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.017948836088180542 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.09798556566238403 - }, - "else": { - "operation": "boost", - "score": 0.07365286350250244 - } - } + "operation": "boost", + "score": -0.00932131428271532 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.045586906373500824 + "score": 0.16440436244010925 }, "else": { "operation": "boost", - "score": 0.1304980218410492 + "score": 0.09529896825551987 } } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005756421014666557 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04273701459169388 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.12740308046340942 }, "else": { "operation": "boost", - "score": 0.06703561544418335 + "score": 0.10922787338495255 } + }, + "else": { + "operation": "boost", + "score": 0.019424540922045708 } + }, + "else": { + "operation": "boost", + "score": 0.0057124122977256775 } } } @@ -207540,709 +201117,1287 @@ }, "else": { "operation": "boost", - "score": -0.04014303535223007 + "score": 0.0005839176592417061 } }, "else": { "operation": "boost", - "score": -0.015338866040110588 + "score": 0.004122056066989899 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 40.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Namespace", + "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.09777884930372238 + }, + "else": { + "operation": "boost", + "score": 0.12114188075065613 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 837.5, + "then": { + "operation": "boost", + "score": 0.09827306866645813 + }, + "else": { + "operation": "boost", + "score": 0.02200702577829361 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008009660989046097 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.008927793242037296 + }, + "else": { + "operation": "boost", + "score": -0.04626351594924927 + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.016798783093690872 + "score": 0.004013698548078537 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 2072.0, "then": { "operation": "boost", - "score": 0.09193558990955353 + "score": -0.12897932529449463 }, "else": { - "operation": "boost", - "score": 0.06538809090852737 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 301.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 333.0, "then": { "operation": "boost", - "score": 0.16232967376708984 + "score": 0.13355639576911926 }, "else": { "operation": "boost", - "score": 0.1195414736866951 + "score": 0.2075267881155014 } }, "else": { - "operation": "boost", - "score": 0.09388482570648193 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.5, "then": { - "operation": "boost", - "score": 0.12657082080841064 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "boost", + "score": 0.132751002907753 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.21362696588039398 + }, + "else": { + "operation": "boost", + "score": 0.5213337540626526 + } + } }, "else": { "operation": "boost", - "score": 0.09902116656303406 + "score": 0.013352543115615845 } - }, - "else": { - "operation": "boost", - "score": 0.12077685445547104 } } + }, + "else": { + "operation": "boost", + "score": 0.0031758337281644344 } }, "else": { "operation": "boost", - "score": 0.10553133487701416 + "score": 0.0009514577104710042 } }, "else": { - "operation": "boost", - "score": 0.03472308814525604 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0024446938186883926 + }, + "else": { + "operation": "boost", + "score": -0.030420050024986267 + } + }, + "else": { + "operation": "boost", + "score": -0.043562449514865875 + } + }, + "else": { + "operation": "boost", + "score": 0.011916355229914188 + } } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.0034415507689118385 - }, - "else": { - "operation": "boost", - "score": -0.011253266595304012 - } } - }, - "else": { - "operation": "boost", - "score": -0.01609613187611103 } }, "else": { - "operation": "boost", - "score": -0.0004798454756382853 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62267.0, + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.16274045407772064 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.0881325826048851 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05282379686832428 + }, + "else": { + "operation": "boost", + "score": -0.0065872156992554665 + } }, "else": { - "operation": "boost", - "score": 0.10042594373226166 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.012587741948664188 + }, + "else": { + "operation": "boost", + "score": 0.024462776258587837 + } } }, "else": { "operation": "boost", - "score": 0.14312121272087097 + "score": -0.008742094971239567 } + }, + "else": { + "operation": "boost", + "score": -0.030446331948041916 } }, "else": { + "operation": "boost", + "score": 0.021218188107013702 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 71608.5, + "threshold": 34.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.1274159699678421 + "score": -0.008216533809900284 }, "else": { "operation": "boost", - "score": -0.20928296446800232 + "score": 0.1268429309129715 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06753375381231308 + }, + "else": { + "operation": "boost", + "score": -0.13901470601558685 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.005255431868135929 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62267.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.016164101660251617 + "score": -0.051099993288517 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54332.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.49783021211624146 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0020289719104766846 + }, + "else": { + "operation": "boost", + "score": 0.0410507395863533 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1336168497800827 - }, - "else": { - "operation": "boost", - "score": -0.23891080915927887 - } + "operation": "boost", + "score": -0.012003724463284016 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "boost", - "score": -0.1187557652592659 + "score": 0.14181208610534668 }, "else": { "operation": "boost", - "score": 0.1223011389374733 + "score": 0.12620006501674652 } } } }, "else": { "operation": "boost", - "score": 0.2430451214313507 + "score": -0.07082828879356384 } } }, "else": { - "operation": "boost", - "score": -0.10940603911876678 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.03112710826098919 + }, + "else": { + "operation": "boost", + "score": -0.08847583830356598 + } } } } - }, - "else": { - "operation": "boost", - "score": 0.018844373524188995 } }, "else": { - "operation": "boost", - "score": 0.0023343288339674473 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { - "operation": "boost", - "score": -0.20168662071228027 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression" + "Constructor", + "Destructor", + "Function", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.019058074802160263 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 34.5, "then": { "operation": "boost", - "score": 0.09092066437005997 + "score": -0.13830742239952087 + }, + "else": { + "operation": "boost", + "score": -1.882174728962127e-05 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.12901490926742554 + }, + "else": { + "operation": "boost", + "score": 0.18521656095981598 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.05432111769914627 + }, + "else": { + "operation": "boost", + "score": 0.1903916895389557 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.035609833896160126 + }, + "else": { + "operation": "boost", + "score": -0.01262547355145216 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06411807239055634 + } + }, + "else": { + "operation": "boost", + "score": 0.011856216937303543 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0065895067527890205 + } + }, + "else": { + "operation": "boost", + "score": 0.0031092825811356306 + } }, "else": { "operation": "boost", - "score": 0.10732952505350113 + "score": -0.03550126776099205 } } }, "else": { - "operation": "boost", - "score": -0.17303258180618286 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.12320201098918915 - }, - "else": { - "operation": "boost", - "score": 0.10499145835638046 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.002329412382096052 + }, + "else": { + "operation": "boost", + "score": -0.07690492272377014 + } } }, "else": { "operation": "boost", - "score": -0.09419550746679306 + "score": -0.004003587178885937 } } } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0064215101301670074 + }, + "else": { + "operation": "boost", + "score": -0.034982457756996155 + } + }, + "else": { + "operation": "boost", + "score": 0.008595187216997147 + } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Constructor", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 316302.0, - "then": { - "operation": "boost", - "score": -0.10628875344991684 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91957.5, - "then": { - "operation": "boost", - "score": 0.11751198768615723 - }, - "else": { - "operation": "boost", - "score": 0.035698052495718 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273295.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0332503616809845 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1189790740609169 + "score": -0.09491339325904846 }, "else": { - "operation": "boost", - "score": 0.1041397824883461 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10813795030117035 + }, + "else": { + "operation": "boost", + "score": 0.026994207873940468 + } } - } - }, - "else": { - "operation": "boost", - "score": -0.018964994698762894 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.011314528062939644 + "score": 0.01011747121810913 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.033390503376722336 + "score": 0.0005538416444323957 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.10966435074806213 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, "then": { "operation": "boost", - "score": 0.07351379841566086 + "score": 0.0005863608093932271 }, "else": { - "operation": "boost", - "score": -0.5008249878883362 - } - }, + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.061847835779190063 + }, + "else": { + "operation": "boost", + "score": -0.0025651874020695686 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.12924063205718994 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09761904925107956, + "then": { + "operation": "boost", + "score": 0.005631542298942804 + }, "else": { + "operation": "boost", + "score": -2.6872670650482178 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09307359158992767, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148934.5, + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.01570088416337967 + }, + "else": { + "operation": "boost", + "score": -0.015437116846442223 + } + }, + "else": { + "operation": "boost", + "score": 0.01898655854165554 + } + }, + "else": { + "operation": "boost", + "score": 0.32477250695228577 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7250000238418579, + "then": { + "operation": "boost", + "score": 0.11916091293096542 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14032918214797974 + }, + "else": { + "operation": "boost", + "score": -0.009158443659543991 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07940539717674255 + "score": 0.03857787325978279 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, "then": { "operation": "boost", - "score": 0.09577043354511261 + "score": 0.01636551506817341 }, "else": { "operation": "boost", - "score": 0.0 + "score": -0.05272066965699196 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105656.5, + "operation": "boost", + "score": -0.006229140795767307 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": 0.12349649518728256 + "score": 0.15868164598941803 }, "else": { "operation": "boost", - "score": 0.13912397623062134 + "score": 0.10172897577285767 } }, "else": { "operation": "boost", - "score": 0.0 + "score": 0.07355272769927979 } - }, - "else": { - "operation": "boost", - "score": 0.10135680437088013 } } + }, + "else": { + "operation": "boost", + "score": -0.0571664460003376 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0267016664147377 + }, + "else": { + "operation": "boost", + "score": -0.24585478007793427 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.002672286471351981 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.039555929601192474 + }, + "else": { + "operation": "boost", + "score": -0.020484253764152527 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.005128685384988785 } - }, - "else": { - "operation": "boost", - "score": 0.0033234297297894955 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10037990659475327 - }, - "else": { - "operation": "boost", - "score": 0.12894058227539062 - } + "operation": "boost", + "score": 0.0940544381737709 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "boost", - "score": 0.10946178436279297 + "score": 0.010528039187192917 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.18465909361839294, "then": { "operation": "boost", - "score": 0.025314325466752052 + "score": -0.0652126595377922 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.040051091462373734 - }, - "else": { - "operation": "boost", - "score": 0.11150822043418884 - } + "operation": "boost", + "score": 0.015664078295230865 } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.07723810523748398 + "score": 0.03290357440710068 }, "else": { "operation": "boost", - "score": 0.10103418678045273 + "score": 0.010914502665400505 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.022186055779457092 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47903.5, + "threshold": 887.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": -0.13883115351200104 + "score": 0.03917231410741806 }, "else": { - "operation": "boost", - "score": 0.12415961921215057 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.058195728808641434 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.039940156042575836 + }, + "else": { + "operation": "boost", + "score": -0.3641900420188904 + } + } } }, "else": { "operation": "boost", - "score": -0.10254976898431778 + "score": -0.004128517583012581 } - }, - "else": { - "operation": "boost", - "score": -0.00040324649307876825 } } }, "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.12377656251192093 + }, + "else": { + "operation": "boost", + "score": -0.04499287158250809 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.06015588715672493 + "score": 0.10440531373023987 }, "else": { "operation": "boost", - "score": -0.046126969158649445 + "score": 0.03171736001968384 } }, "else": { @@ -208250,4286 +202405,4180 @@ "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.3897840082645416 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.12795376777648926 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.13100728392601013 + }, + "else": { + "operation": "boost", + "score": 0.060327012091875076 + } }, "else": { "operation": "boost", - "score": 0.12433496862649918 + "score": 0.062735415995121 } - }, - "else": { - "operation": "boost", - "score": -0.20463190972805023 } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07974942028522491 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.005647244863212109 + "score": -0.0850663036108017 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03940891847014427 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.008580495603382587 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.08794562518596649 - }, - "else": { - "operation": "boost", - "score": 0.05314498022198677 - } - } - } + "operation": "boost", + "score": 0.00992329977452755 } }, "else": { "operation": "boost", - "score": -3.719814048963599e-05 + "score": -0.15461452305316925 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 52351.0, "then": { "operation": "boost", - "score": 0.03288702294230461 + "score": -0.6597424745559692 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.0, - "then": { - "operation": "boost", - "score": 0.20651844143867493 - }, - "else": { - "operation": "boost", - "score": -2.6478335857391357 - } - }, - "else": { - "operation": "boost", - "score": 0.12805384397506714 - } + "operation": "boost", + "score": 0.01077981572598219 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "operation": "boost", + "score": 0.12463614344596863 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.025660112500190735 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { - "operation": "boost", - "score": 0.013092193752527237 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { + "operation": "boost", + "score": 0.10081978887319565 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.12805835902690887 + "score": 0.11380842328071594 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.13288861513137817 - }, - "else": { - "operation": "boost", - "score": 0.04366994649171829 - } + "operation": "boost", + "score": -0.13839398324489594 } - }, - "else": { - "operation": "boost", - "score": 0.09276270866394043 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.066182941198349 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.1206170991063118 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.06745105236768723 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14032702147960663 - }, - "else": { - "operation": "boost", - "score": 0.0857173278927803 - } + "operation": "boost", + "score": -0.206013485789299 } }, "else": { - "operation": "boost", - "score": -0.05315345525741577 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 22180.5, + "threshold": 15.5, "then": { - "operation": "boost", - "score": -0.044921230524778366 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10390.0, + "threshold": 24.0, "then": { + "operation": "boost", + "score": 0.0221323873847723 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.24189405143260956 + "score": -0.559484601020813 }, "else": { "operation": "boost", - "score": 0.06091473251581192 + "score": 0.12837131321430206 } - }, - "else": { - "operation": "boost", - "score": -0.0020370245911180973 } - } - }, - "else": { - "operation": "boost", - "score": 0.027580074965953827 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.24955326318740845 + "score": -0.01940220594406128 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12620045244693756 - }, - "else": { - "operation": "boost", - "score": 0.34839242696762085 - } + "operation": "boost", + "score": 0.03256663680076599 }, "else": { "operation": "boost", - "score": -0.12101536244153976 + "score": 0.16076846420764923 } }, "else": { - "operation": "boost", - "score": 0.0 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.06815636903047562 + }, + "else": { + "operation": "boost", + "score": -0.036614853888750076 + } } } - }, - "else": { - "operation": "boost", - "score": -0.012812281027436256 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.25326457619667053 - }, - "else": { - "operation": "boost", - "score": -0.09978090971708298 } } } }, "else": { + "operation": "boost", + "score": -0.002473875181749463 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 12.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { + "operation": "boost", + "score": -0.02513645775616169 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.0, + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.1237628310918808 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.03783364221453667 + }, + "else": { + "operation": "boost", + "score": 0.14749839901924133 + } + }, + "else": { + "operation": "boost", + "score": 0.08088060468435287 + } }, "else": { "operation": "boost", - "score": 0.10654263198375702 + "score": 0.031987566500902176 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.016499163582921028 }, "else": { "operation": "boost", - "score": 0.032445866614580154 + "score": -0.141658216714859 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.32207271456718445 - }, - "else": { - "operation": "boost", - "score": -0.17041528224945068 - } + "operation": "boost", + "score": 0.12808865308761597 }, "else": { "operation": "boost", - "score": -0.029235245659947395 + "score": 0.06643149256706238 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0032935324124991894 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.024259373545646667 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.14455963671207428 - }, - "else": { - "operation": "boost", - "score": 0.0992405116558075 - } + "operation": "boost", + "score": -0.1287812441587448 }, "else": { "operation": "boost", - "score": -0.18437212705612183 + "score": 0.10050387680530548 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Type", - "Namespace" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.1866438090801239 - }, - "else": { - "operation": "boost", - "score": -0.10193604230880737 - } - }, - "else": { - "operation": "boost", - "score": -0.12990885972976685 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.01655616983771324 + "score": -0.012123527005314827 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.14040258526802063 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.28213658928871155 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04486040771007538 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": -0.3319551646709442 + }, + "else": { + "operation": "boost", + "score": 0.07380317151546478 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.04367274045944214 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "boost", + "score": 0.08225174248218536 + }, + "else": { + "operation": "boost", + "score": 0.17605917155742645 + } + }, + "else": { + "operation": "boost", + "score": 0.04888812452554703 + } + } + } }, "else": { "operation": "boost", - "score": -0.14770376682281494 + "score": 0.014315054751932621 } + }, + "else": { + "operation": "boost", + "score": 0.02112584002315998 } } + }, + "else": { + "operation": "boost", + "score": -0.018056031316518784 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109494.0, + "then": { + "operation": "boost", + "score": -0.24777601659297943 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87592.0, + "then": { + "operation": "boost", + "score": 0.10736199468374252 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 62576.5, "then": { + "operation": "boost", + "score": -0.22593332827091217 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 20253.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.05142935737967491 + "score": 0.1065555214881897 }, "else": { "operation": "boost", - "score": -0.06499207764863968 + "score": 0.04063396528363228 } }, "else": { - "operation": "boost", - "score": -0.09465615451335907 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11149.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11809.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12311.5, + "then": { + "operation": "boost", + "score": -0.0797615647315979 + }, + "else": { + "operation": "boost", + "score": 0.15188761055469513 + } + }, + "else": { + "operation": "boost", + "score": -0.2769474983215332 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5210.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04635327309370041 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.12002640962600708 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 0.10610590130090714 + }, + "else": { + "operation": "boost", + "score": 0.20376785099506378 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.011896884068846703 + }, + "else": { + "operation": "boost", + "score": 0.10166192799806595 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0036856664810329676 + } + } } - }, - "else": { - "operation": "boost", - "score": -4.340443047112785e-05 } } } - }, - "else": { - "operation": "boost", - "score": 0.006776755675673485 } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0015772880287840962 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 572.5, + "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 296854.0, "then": { + "operation": "boost", + "score": 0.07263598591089249 + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.015897653996944427 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 246961.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.02363217994570732 + }, + "else": { + "operation": "boost", + "score": -0.071917325258255 + } + }, + "else": { + "operation": "boost", + "score": 0.008079431019723415 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.0015944025944918394 + "score": 0.031490202993154526 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.011974379420280457 + "score": 0.011347491294145584 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": -0.007285905536264181 - }, - "else": { - "operation": "boost", - "score": -0.18732307851314545 - } + "operation": "boost", + "score": -0.04013590142130852 } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.020459463819861412 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.06917224824428558 + }, + "else": { + "operation": "boost", + "score": 0.005467576440423727 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.2219202220439911 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.13472315669059753 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.022185808047652245 + }, + "else": { + "operation": "boost", + "score": -0.12204346805810928 + } + } + }, + "else": { + "operation": "boost", + "score": 0.002458833158016205 + } }, "else": { "operation": "boost", - "score": -0.1429622620344162 + "score": -0.09539466351270676 } } + }, + "else": { + "operation": "boost", + "score": -0.0003055269771721214 } } - }, - "else": { - "operation": "boost", - "score": -0.0006945895729586482 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 29.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.0031545383390039206 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09454914927482605 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.03035796992480755 + }, + "else": { + "operation": "boost", + "score": 0.009633165784180164 + } + }, + "else": { + "operation": "boost", + "score": 0.004449937026947737 + } }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.002606191672384739 + }, + "else": { + "operation": "boost", + "score": -0.004900412634015083 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { "operation": "boost", - "score": -0.22293923795223236 + "score": 0.051845256239175797 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.09503157436847687 + "score": 0.002453000284731388 }, "else": { "operation": "boost", - "score": -0.1883617341518402 + "score": -0.025082221254706383 } } }, "else": { "operation": "boost", - "score": -0.08964891731739044 + "score": 0.015986083075404167 } + }, + "else": { + "operation": "boost", + "score": -0.0002479067479725927 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 316302.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": -0.10531175881624222 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91957.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { - "operation": "boost", - "score": 0.1159091591835022 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.04296969622373581 + }, + "else": { + "operation": "boost", + "score": 0.1235916018486023 + } + }, + "else": { + "operation": "boost", + "score": 0.04188825190067291 + } }, "else": { - "operation": "boost", - "score": 0.03226948529481888 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.037706974893808365 + }, + "else": { + "operation": "boost", + "score": -0.024859096854925156 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273295.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, "then": { "operation": "boost", - "score": 0.033897727727890015 + "score": 0.08896146714687347 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.1174221932888031 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.46634531021118164 + }, + "else": { + "operation": "boost", + "score": 0.038066886365413666 + } }, "else": { "operation": "boost", - "score": 0.10274885594844818 + "score": 0.02565554343163967 } } - }, - "else": { - "operation": "boost", - "score": -0.01442734058946371 } + }, + "else": { + "operation": "boost", + "score": 0.002772195963189006 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": 0.005064033903181553 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.011289107613265514 + "score": 0.008555847220122814 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03104354627430439 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01555407140403986 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.07513988018035889 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.09342297166585922 - }, - "else": { - "operation": "boost", - "score": 0.0 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.12170030921697617 - }, - "else": { - "operation": "boost", - "score": 0.0 - } - }, - "else": { - "operation": "boost", - "score": 0.125162273645401 - } - }, - "else": { - "operation": "boost", - "score": 0.10318757593631744 - } - } - } - } + "operation": "boost", + "score": -0.025147275999188423 } }, "else": { "operation": "boost", - "score": -0.005359471309930086 + "score": 0.022710371762514114 } }, "else": { - "operation": "boost", - "score": 0.0029008383862674236 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.0, "then": { "operation": "boost", - "score": 0.12022096663713455 + "score": 0.13051019608974457 }, "else": { + "operation": "boost", + "score": 0.05741705372929573 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.108881376683712 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08374955505132675 - }, - "else": { - "operation": "boost", - "score": -0.19561852514743805 - } + "operation": "boost", + "score": 0.022789841517806053 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.037279192358255386 + "score": 0.01503789983689785 }, "else": { "operation": "boost", - "score": 0.10372310876846313 + "score": -0.047851212322711945 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07297434657812119 - }, - "else": { - "operation": "boost", - "score": 0.09756768494844437 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": -0.13113902509212494 }, "else": { "operation": "boost", - "score": 0.1205088347196579 + "score": -0.052601851522922516 } }, "else": { "operation": "boost", - "score": -0.1022966131567955 + "score": 0.031111836433410645 } - }, - "else": { - "operation": "boost", - "score": -0.001663518138229847 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "boost", - "score": 0.017159435898065567 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12473953515291214 - }, - "else": { - "operation": "boost", - "score": 0.12306822836399078 - } + "operation": "boost", + "score": 0.0011380879441276193 }, "else": { - "operation": "boost", - "score": -0.19531100988388062 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.047135915607213974 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.03234643489122391 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.06363322585821152 + }, + "else": { + "operation": "boost", + "score": 0.12223375588655472 + } + }, + "else": { + "operation": "boost", + "score": 0.048412300646305084 + } }, "else": { "operation": "boost", - "score": 0.12249360233545303 + "score": 0.022570235654711723 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.0829552710056305 + "score": -0.020854227244853973 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.038342319428920746 - }, - "else": { - "operation": "boost", - "score": 0.12206026911735535 - } + "operation": "boost", + "score": -0.21429283916950226 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, - "then": { - "operation": "boost", - "score": 0.0944921225309372 - }, - "else": { - "operation": "boost", - "score": 0.03977745771408081 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.006310765631496906 + "score": -0.01965940184891224 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.03198496252298355 + "score": -0.1381608545780182 }, "else": { "operation": "boost", - "score": 0.07586495578289032 + "score": -0.3585803508758545 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.0025968982372432947 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10703639686107635 - }, - "else": { - "operation": "boost", - "score": 0.0011765464441850781 - } - } + "operation": "boost", + "score": -0.0406004823744297 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.04854540154337883 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21677.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.10355474054813385 + "score": 0.1229785680770874 }, "else": { - "operation": "boost", - "score": -0.05543459951877594 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.5809617638587952 + "score": 0.034545864909887314 }, "else": { "operation": "boost", - "score": 0.15374144911766052 + "score": -0.1214531734585762 } - }, - "else": { - "operation": "boost", - "score": 0.048613373190164566 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10945279896259308 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.02725367806851864 }, "else": { - "operation": "boost", - "score": 0.010488833300769329 - } - }, - "else": { - "operation": "boost", - "score": 0.006134744267910719 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", "Constructor", - "Type", - "Namespace" + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5650.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07026783376932144 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.021032089367508888 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.14443641901016235 + }, + "else": { + "operation": "boost", + "score": 0.045029085129499435 + } + } }, "else": { "operation": "boost", - "score": -0.0006327289738692343 + "score": -0.013516178354620934 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.009333549998700619 + }, + "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10252390801906586 + "score": 0.04168562963604927 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.03209768235683441 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.046378243714571 + }, + "else": { + "operation": "boost", + "score": -0.1871601939201355 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.047766342759132385 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "FractionNameInContext", + "threshold": 0.04545454680919647, "then": { "operation": "boost", - "score": 0.11719324439764023 + "score": 0.11520858854055405 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.05894811823964119 - }, - "else": { - "operation": "boost", - "score": 0.09300994873046875 - } + "operation": "boost", + "score": 0.08105622231960297 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.013410795480012894 + "score": -0.12725485861301422 }, "else": { - "operation": "boost", - "score": 0.07334938645362854 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.06165379658341408 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.056433793157339096 + }, + "else": { + "operation": "boost", + "score": 0.15378226339817047 + } + } } }, "else": { "operation": "boost", - "score": -0.00638721976429224 + "score": -0.6308029890060425 } - }, - "else": { - "operation": "boost", - "score": 0.07035236805677414 } + }, + "else": { + "operation": "boost", + "score": 0.0013265142915770411 } } } - }, - "else": { - "operation": "boost", - "score": 0.04126027598977089 } } }, "else": { - "operation": "boost", - "score": -0.03326351195573807 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.0, - "then": { - "operation": "boost", - "score": 0.10107731074094772 - }, - "else": { - "operation": "boost", - "score": 0.05697586387395859 - } - }, - "else": { - "operation": "boost", - "score": 0.026075201109051704 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 670.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "boost", - "score": 0.05267363041639328 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": -0.013356195762753487 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19895318150520325 + }, + "else": { + "operation": "boost", + "score": -0.4459063708782196 + } + }, + "else": { + "operation": "boost", + "score": 0.0220626313239336 + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.10107562690973282 + "score": -0.03918236866593361 }, "else": { - "operation": "boost", - "score": 0.11560119688510895 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.10292435437440872 + }, + "else": { + "operation": "boost", + "score": -0.3755583167076111 + } + }, + "else": { + "operation": "boost", + "score": 0.11760992556810379 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.12198180705308914 + }, + "else": { + "operation": "boost", + "score": -0.007599124684929848 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06553646177053452 + }, + "else": { + "operation": "boost", + "score": -0.09695165604352951 + } + }, + "else": { + "operation": "boost", + "score": 0.01605342887341976 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.1844075471162796 + }, + "else": { + "operation": "boost", + "score": -0.025037214159965515 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.02221003547310829 + }, + "else": { + "operation": "boost", + "score": -0.23701885342597961 + } + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.016708068549633026 } - }, - "else": { - "operation": "boost", - "score": -0.021221095696091652 } } - }, - "else": { - "operation": "boost", - "score": -0.0030357306823134422 } - }, - "else": { - "operation": "boost", - "score": -0.009565899148583412 } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 267507.5, + "then": { + "operation": "boost", + "score": 0.021177267655730247 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11525487154722214 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.019839659333229065 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Operator" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 442.0, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10870172083377838 + "score": -0.015433134511113167 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.141237273812294 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "boost", + "score": 0.057098936289548874 + }, + "else": { + "operation": "boost", + "score": 0.13458660244941711 + } }, "else": { "operation": "boost", - "score": -0.3013767600059509 + "score": 0.032031506299972534 } }, "else": { - "operation": "boost", - "score": 0.12936969101428986 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10673413425683975 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.11087486892938614 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.11505729705095291 + }, + "else": { + "operation": "boost", + "score": 0.1181865930557251 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03371023014187813 + } + } } } }, "else": { "operation": "boost", - "score": 0.030460132285952568 + "score": -0.013447746634483337 } }, "else": { - "operation": "boost", - "score": 0.10298063606023788 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11560963839292526 - }, - "else": { - "operation": "boost", - "score": 0.06655792146921158 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], - "then": { - "operation": "boost", - "score": 0.08370360732078552 - }, - "else": { - "operation": "boost", - "score": 0.04224833846092224 - } - }, - "else": { - "operation": "boost", - "score": 0.11716597527265549 - } - }, - "else": { - "operation": "boost", - "score": 0.004474981222301722 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0436239130795002 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.1112457886338234 + "score": 0.06671057641506195 }, "else": { "operation": "boost", - "score": 0.10958313941955566 + "score": 0.09972955286502838 } }, "else": { "operation": "boost", - "score": -0.11123666912317276 + "score": 0.053308289498090744 } }, "else": { + "operation": "boost", + "score": 0.013218212872743607 + } + }, + "else": { + "operation": "boost", + "score": -0.016297662630677223 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.09602970629930496 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.0011273471172899008 + }, + "else": { + "operation": "boost", + "score": -0.03406034782528877 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.0227559395134449 + }, + "else": { + "operation": "boost", + "score": -0.0012823722790926695 + } + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.04772727191448212, + "then": { + "operation": "boost", + "score": 0.022869747132062912 + }, + "else": { + "operation": "boost", + "score": -0.006516226101666689 + } + }, + "else": { + "operation": "boost", + "score": -0.025938794016838074 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.02784261666238308 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03590983897447586 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.08109612762928009 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10342826694250107 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.014190574176609516 + }, + "else": { + "operation": "boost", + "score": 0.02636292576789856 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10501861572265625 + } + }, + "else": { + "operation": "boost", + "score": 0.005518535617738962 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.09173114597797394 + "score": -0.009848442859947681 }, "else": { "operation": "boost", - "score": 0.14995095133781433 + "score": -0.10039796680212021 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.07763063907623291 }, "else": { "operation": "boost", - "score": -0.05269352346658707 + "score": -0.027240298688411713 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" + "Constructor", + "Destructor", + "Function", + "Namespace", + "Operator" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.02954774908721447 + "score": 0.02485487423837185 }, "else": { "operation": "boost", - "score": 0.1146981343626976 + "score": -0.027851751074194908 } }, "else": { "operation": "boost", - "score": 0.03344998136162758 + "score": -0.029172630980610847 } } - } - }, - "else": { - "operation": "boost", - "score": 0.04360082000494003 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": -0.06275386363267899 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.014677859842777252 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12912.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.12177389860153198 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.03989306837320328 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "boost", - "score": 0.11080969870090485 + "score": -0.26500117778778076 }, "else": { "operation": "boost", - "score": 0.03318982198834419 + "score": 0.008597863838076591 } + } + }, + "else": { + "operation": "boost", + "score": -0.007710539735853672 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.030399303883314133 }, "else": { "operation": "boost", - "score": -0.053300607949495316 + "score": 0.13162052631378174 } }, "else": { "operation": "boost", - "score": -0.1342582106590271 + "score": 0.006812186446040869 } } + }, + "else": { + "operation": "boost", + "score": -0.014520823024213314 } } - }, - "else": { - "operation": "boost", - "score": -0.030044658109545708 } } + } + } + }, + "else": { + "operation": "boost", + "score": 5.004140257369727e-05 + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16228070855140686, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.037738487124443054 }, "else": { "operation": "boost", - "score": 2.6935053028864786e-05 + "score": 0.004752991255372763 } + }, + "else": { + "operation": "boost", + "score": 0.02928861975669861 } }, "else": { + "operation": "boost", + "score": 0.0019772143568843603 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], - "then": { - "operation": "boost", - "score": 0.017189793288707733 - }, - "else": { - "operation": "boost", - "score": -0.1015002653002739 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.09386338293552399 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.05188920348882675 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05347691848874092 + }, + "else": { + "operation": "boost", + "score": 0.0040854415856301785 + } + } }, "else": { "operation": "boost", - "score": 0.0970035046339035 + "score": -0.9593660831451416 } }, "else": { - "operation": "boost", - "score": -0.1012587621808052 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.3442424535751343 + }, + "else": { + "operation": "boost", + "score": 0.023692132905125618 + } } }, "else": { "operation": "boost", - "score": 0.0009624084923416376 + "score": -0.028362667188048363 } + }, + "else": { + "operation": "boost", + "score": -0.0025483083445578814 } }, "else": { - "operation": "boost", - "score": 0.0004899885389022529 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.03970065712928772 - }, - "else": { - "operation": "boost", - "score": 0.02327170968055725 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.07343307882547379 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0033046375028789043 + }, + "else": { + "operation": "boost", + "score": 0.06171811744570732 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006135544739663601 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 42.5, + "threshold": 18799.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97.5, + "threshold": 24339.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33610.5, "then": { "operation": "boost", - "score": 0.10972835123538971 + "score": 0.01418856531381607 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 33508.5, + "then": { + "operation": "boost", + "score": 0.1164681538939476 + }, + "else": { + "operation": "boost", + "score": 0.04317587614059448 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.11185857653617859 + }, + "else": { + "operation": "boost", + "score": -0.014510270208120346 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.04197731614112854 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.01902351714670658 + "score": 0.12091520428657532 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97230.0, + "operation": "boost", + "score": 0.09562017023563385 + } + }, + "else": { + "operation": "boost", + "score": 0.08716028183698654 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09958752989768982 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.1312047690153122 + }, + "else": { + "operation": "boost", + "score": 0.10122273862361908 + } + }, + "else": { + "operation": "boost", + "score": 0.10605553537607193 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23667.0, + "then": { + "operation": "boost", + "score": -0.13576450943946838 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20296.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.11540830880403519 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.12726934254169464 + }, + "else": { + "operation": "boost", + "score": 0.42342546582221985 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03499477356672287 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 254260.5, + "threshold": 21761.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21856.0, + "then": { + "operation": "boost", + "score": 0.007943528704345226 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21807.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15400809049606323 + }, + "else": { + "operation": "boost", + "score": 0.07883195579051971 + } + }, + "else": { + "operation": "boost", + "score": 0.047979287803173065 + } + } + }, + "else": { + "operation": "boost", + "score": -0.047116246074438095 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.01080297864973545 + "score": 0.05263441056013107 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.11428780108690262 + "score": 0.10506655275821686 }, "else": { - "operation": "boost", - "score": -0.044647835195064545 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.1746002435684204 + }, + "else": { + "operation": "boost", + "score": 0.09839775413274765 + } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20253.5, "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.11263154447078705 + }, + "else": { + "operation": "boost", + "score": -0.07422570139169693 + } + }, + "else": { + "operation": "boost", + "score": 0.06480859220027924 + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel" + "Constructor", + "Destructor", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3923184871673584 + }, + "else": { + "operation": "boost", + "score": 0.08823006600141525 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 112.5, + "threshold": 19474.5, "then": { + "operation": "boost", + "score": -0.13726498186588287 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 727.5, + "threshold": 19203.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4491.0, + "threshold": 19307.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8460.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13564.0, - "then": { - "operation": "boost", - "score": 0.045656781643629074 - }, - "else": { - "operation": "boost", - "score": 0.11143941432237625 - } - }, - "else": { - "operation": "boost", - "score": -0.22857792675495148 - } + "operation": "boost", + "score": -0.04975201189517975 }, "else": { "operation": "boost", - "score": -0.08520496636629105 + "score": 0.07425963878631592 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3012.5, - "then": { - "operation": "boost", - "score": 0.11960732936859131 - }, - "else": { - "operation": "boost", - "score": 0.005793809425085783 - } + "operation": "boost", + "score": 0.07482150942087173 }, "else": { "operation": "boost", - "score": 0.1093001589179039 + "score": 0.13790558278560638 } } }, "else": { "operation": "boost", - "score": -0.004090880509465933 + "score": 0.04579807072877884 } - }, - "else": { - "operation": "boost", - "score": 0.10942614823579788 } - }, - "else": { - "operation": "boost", - "score": -0.004566966090351343 } - }, - "else": { - "operation": "boost", - "score": -0.08135027438402176 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.5, - "then": { - "operation": "boost", - "score": -0.035972390323877335 - }, - "else": { - "operation": "boost", - "score": 0.08794429153203964 - } } } - }, - "else": { - "operation": "boost", - "score": 0.002676212228834629 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.037090964615345 - }, - "else": { - "operation": "boost", - "score": -0.06639596074819565 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16911.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.10964876413345337 + "score": 0.1577230840921402 }, "else": { "operation": "boost", - "score": -0.15709291398525238 + "score": -0.05254361778497696 } }, "else": { - "operation": "boost", - "score": -0.08325809985399246 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.005817900877445936 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11107.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 13650.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 246.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12469317018985748 - }, - "else": { - "operation": "boost", - "score": -0.1327662318944931 - } - }, - "else": { - "operation": "boost", - "score": 0.10432508587837219 - } - }, - "else": { - "operation": "boost", - "score": 0.026400092989206314 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, - "then": { - "operation": "boost", - "score": 0.11959139257669449 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, - "then": { - "operation": "boost", - "score": -0.007218184880912304 - }, - "else": { - "operation": "boost", - "score": 0.11843745410442352 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, - "then": { - "operation": "boost", - "score": -0.23411202430725098 - }, - "else": { - "operation": "boost", - "score": 0.11741072684526443 - } - } - }, - "else": { - "operation": "boost", - "score": 0.028565144166350365 - } + "operation": "boost", + "score": 0.221157044172287 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 183.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 773.5, - "then": { - "operation": "boost", - "score": 0.020068015903234482 - }, - "else": { - "operation": "boost", - "score": 0.15669429302215576 - } - }, - "else": { - "operation": "boost", - "score": 0.07612936943769455 - } - }, - "else": { - "operation": "boost", - "score": -0.11278913915157318 - } - }, - "else": { - "operation": "boost", - "score": 0.12749414145946503 - } - }, - "else": { - "operation": "boost", - "score": 0.04656168445944786 - } + "operation": "boost", + "score": -0.006250785663723946 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13627.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 161.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.10187754034996033 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 643.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08207377046346664 + "score": 0.11832745373249054 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 287.5, - "then": { - "operation": "boost", - "score": 0.11810969561338425 - }, - "else": { - "operation": "boost", - "score": 0.09165851771831512 - } + "operation": "boost", + "score": 0.22872474789619446 } - }, - "else": { - "operation": "boost", - "score": -0.045248109847307205 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6203.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.1824316680431366 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "boost", + "score": -0.012766459956765175 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13163.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, - "then": { - "operation": "boost", - "score": 0.18628893792629242 - }, - "else": { - "operation": "boost", - "score": -0.10312850028276443 - } + "operation": "boost", + "score": 0.03280264511704445 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07510969042778015 + "score": 0.1272001713514328 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10349442064762115 - }, - "else": { - "operation": "boost", - "score": 0.12052817642688751 - } + "operation": "boost", + "score": 0.06774517893791199 } } - }, - "else": { - "operation": "boost", - "score": -0.07398267835378647 } + }, + "else": { + "operation": "boost", + "score": 0.03445060923695564 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 9216.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 9283.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 137.5, - "then": { - "operation": "boost", - "score": 0.1157338097691536 - }, - "else": { - "operation": "boost", - "score": -0.00693654827773571 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "boost", - "score": 0.06697114557027817 - }, - "else": { - "operation": "boost", - "score": 0.1202511414885521 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13663209974765778 - } + "operation": "boost", + "score": -0.017081493511795998 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0963473841547966 + "score": -1.5594873428344727 }, "else": { - "operation": "boost", - "score": 0.07459478825330734 - } - } - }, - "else": { - "operation": "boost", - "score": -0.034014992415905 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.10914666950702667 - }, - "else": { - "operation": "boost", - "score": 0.11045747250318527 - } - }, - "else": { - "operation": "boost", - "score": 0.012793325819075108 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 746.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 807.0, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "boost", - "score": 0.045937616378068924 - }, - "else": { - "operation": "boost", - "score": 0.14461776614189148 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, - "then": { - "operation": "boost", - "score": 0.0440109483897686 - }, - "else": { - "operation": "boost", - "score": 0.11584790796041489 - } + "score": -0.33987849950790405 }, "else": { "operation": "boost", - "score": 0.044127609580755234 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.04206680878996849 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 317.5, - "then": { - "operation": "boost", - "score": 0.11111635714769363 - }, - "else": { - "operation": "boost", - "score": 0.0 - } + "score": -0.12806160748004913 } - }, - "else": { - "operation": "boost", - "score": -0.10962218046188354 } } }, "else": { - "operation": "boost", - "score": 0.0008465859573334455 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8884.0, + "then": { + "operation": "boost", + "score": 0.08143482357263565 + }, + "else": { + "operation": "boost", + "score": 0.007139839231967926 + } } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Macro", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.018694691359996796 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { - "operation": "boost", - "score": -0.17789560556411743 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.20815689861774445 + }, + "else": { + "operation": "boost", + "score": 0.1330629587173462 + } }, "else": { "operation": "boost", - "score": -0.0387607105076313 + "score": 0.025097331032156944 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11154.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 40317.0, "then": { + "operation": "boost", + "score": -0.05026332661509514 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.06851910054683685 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 200884.5, + "threshold": 1802.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.02389921434223652 + "score": -0.04757709056138992 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220112.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.11262167990207672 + "score": -2.2254202365875244 }, "else": { "operation": "boost", - "score": 0.09138374030590057 + "score": -0.11287709325551987 } } }, "else": { - "operation": "boost", - "score": -0.005477665923535824 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11467.0, - "then": { - "operation": "boost", - "score": 0.018748272210359573 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11209.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 224.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11245.0, + "threshold": 270.0, "then": { - "operation": "boost", - "score": 0.1268569678068161 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.057259451597929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.07560966908931732 + }, + "else": { + "operation": "boost", + "score": 0.13724294304847717 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.08210229873657227 + }, + "else": { + "operation": "boost", + "score": -0.11821195483207703 + } + } }, "else": { "operation": "boost", - "score": 0.1151450127363205 + "score": 0.13020797073841095 } }, "else": { "operation": "boost", - "score": -0.007905972190201283 + "score": 0.022673651576042175 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.04266232252120972 }, "else": { "operation": "boost", - "score": 0.08798421919345856 + "score": -0.0026395930908620358 } } } - }, - "else": { - "operation": "boost", - "score": -0.004487832076847553 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.0008389283902943134 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "boost", - "score": -0.031344082206487656 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": 0.1339673101902008 - }, - "else": { - "operation": "boost", - "score": -0.26631736755371094 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10136471688747406 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11660466343164444 - }, - "else": { - "operation": "boost", - "score": -0.11474771797657013 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.08561631292104721 - }, - "else": { - "operation": "boost", - "score": 0.07838335633277893 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.13825032114982605 + "score": 0.06778945028781891 }, "else": { "operation": "boost", - "score": 0.12054448574781418 + "score": -0.12437945604324341 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.09153880923986435 - }, - "else": { - "operation": "boost", - "score": 0.12235703319311142 - } - }, - "else": { - "operation": "boost", - "score": -0.13747380673885345 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.016344716772437096 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 31.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.21365796029567719 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.02087215706706047 + "score": -0.16282415390014648 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { "operation": "boost", - "score": -0.026018263772130013 + "score": 0.12076234072446823 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1508534699678421 - }, - "else": { - "operation": "boost", - "score": 0.13380439579486847 - } - }, - "else": { - "operation": "boost", - "score": 0.08317208290100098 - } + "operation": "boost", + "score": -0.14146800339221954 } }, "else": { "operation": "boost", - "score": 0.031708624213933945 + "score": 0.061968155205249786 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "FileScope" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "boost", - "score": 0.12550877034664154 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.22983244061470032 + }, + "else": { + "operation": "boost", + "score": -0.14643923938274384 + } }, "else": { "operation": "boost", - "score": 0.03123265691101551 + "score": 0.09279580414295197 } }, "else": { "operation": "boost", - "score": -0.04393041878938675 + "score": 0.005534606520086527 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007242790888994932 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12718980014324188 + }, + "else": { + "operation": "boost", + "score": -0.1756063997745514 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0936138704419136 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.050394196063280106 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.2167072743177414 + }, + "else": { + "operation": "boost", + "score": -0.027464965358376503 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020067773759365082 + } + } } }, "else": { "operation": "boost", - "score": 0.02136388048529625 + "score": -0.01027411688119173 } } }, "else": { + "operation": "boost", + "score": -0.0022849428933113813 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": -0.00707037840038538 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": -0.0022426170762628317 + "score": 0.03475483879446983 }, "else": { "operation": "boost", - "score": -0.0818609818816185 + "score": -0.08702253550291061 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", - "score": 0.0653560608625412 + "score": 0.20704591274261475 + }, + "else": { + "operation": "boost", + "score": -0.1599292904138565 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.1152137741446495 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.18540753424167633 + "score": -0.07577437907457352 }, "else": { "operation": "boost", - "score": -0.03769074007868767 + "score": -0.01304718665778637 } } - }, - "else": { - "operation": "boost", - "score": -0.04227060452103615 } - }, - "else": { - "operation": "boost", - "score": -0.15345723927021027 } } - }, - "else": { - "operation": "boost", - "score": -0.004953397437930107 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.04287434369325638 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.006226572673767805 - }, - "else": { - "operation": "boost", - "score": 0.10261143743991852 } }, "else": { - "operation": "boost", - "score": -0.0932597815990448 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0037867631763219833 - } - }, - "else": { - "operation": "boost", - "score": 0.00047555204946547747 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3080.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3082.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11710.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 381517.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06934218853712082 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.09512107074260712 - }, - "else": { - "operation": "boost", - "score": 0.10360893607139587 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11028121411800385 - } - }, - "else": { - "operation": "boost", - "score": 0.02750077284872532 - } + "operation": "boost", + "score": 0.049291614443063736 }, "else": { "operation": "boost", - "score": 0.05532413348555565 + "score": 0.026646971702575684 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": -0.00634567579254508 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Namespace", "CCC_Other", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.026620112359523773 - }, - "else": { - "operation": "boost", - "score": 0.09664493799209595 - } + "operation": "boost", + "score": 0.018381264060735703 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33378.0, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.10258661955595016 - }, - "else": { - "operation": "boost", - "score": 0.062263067811727524 - } + "operation": "boost", + "score": 0.2697595953941345 }, "else": { "operation": "boost", - "score": -0.13375689089298248 + "score": -0.33434394001960754 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "boost", - "score": -0.11088378727436066 + "score": -0.024822358042001724 }, "else": { - "operation": "boost", - "score": -0.31321507692337036 - } - } - } - }, - "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.09500553458929062 + }, + "else": { + "operation": "boost", + "score": -0.8377662301063538 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.033516477793455124 + }, + "else": { + "operation": "boost", + "score": 0.004234594292938709 + } + }, + "else": { + "operation": "boost", + "score": -0.016962097957730293 + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11106459051370621 + }, + "else": { + "operation": "boost", + "score": 0.032244209200143814 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25461.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26223.5, + "then": { + "operation": "boost", + "score": 0.026629513129591942 + }, + "else": { + "operation": "boost", + "score": 0.11018887907266617 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.009618686512112617 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.10286859422922134 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55833.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.02067425660789013 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26014.0, + "threshold": 148.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 193.5, "then": { "operation": "boost", - "score": 0.11966991424560547 + "score": 0.07623837888240814 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11570139974355698 - }, - "else": { - "operation": "boost", - "score": 0.06858273595571518 - } + "operation": "boost", + "score": 0.16123709082603455 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 138.5, "then": { + "operation": "boost", + "score": -0.16451895236968994 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.11144348233938217 + "score": 0.09047350287437439 }, "else": { "operation": "boost", - "score": 0.11387111991643906 + "score": -0.6680701971054077 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09281507879495621 + }, + "else": { + "operation": "boost", + "score": -0.06273282319307327 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.1369399130344391 }, "else": { "operation": "boost", - "score": 0.011700427159667015 + "score": 0.07447401434183121 } } } }, - "else": { - "operation": "boost", - "score": 0.023860769346356392 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.03238943591713905 - }, - "else": { - "operation": "boost", - "score": -0.06497051566839218 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11777.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11912.0, - "then": { - "operation": "boost", - "score": 0.018004335463047028 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.09341245144605637 + "score": 0.013490051031112671 }, "else": { - "operation": "boost", - "score": 0.18352870643138885 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.1394423544406891 + }, + "else": { + "operation": "boost", + "score": -0.04721715301275253 + } } }, "else": { - "operation": "boost", - "score": 0.4666461646556854 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "boost", + "score": -0.014375285245478153 + }, + "else": { + "operation": "boost", + "score": -0.3150927722454071 + } + }, + "else": { + "operation": "boost", + "score": 0.010144381783902645 + } } } }, - "else": { - "operation": "boost", - "score": -0.010238808579742908 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.04509396106004715 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.22847041487693787 + "score": 0.03751340135931969 }, "else": { - "operation": "boost", - "score": -0.3082372844219208 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": -0.16713227331638336 + }, + "else": { + "operation": "boost", + "score": 0.011783055029809475 + } } } - } - }, - "else": { - "operation": "boost", - "score": -0.25367799401283264 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11586.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11814957857131958 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08436774462461472 }, "else": { - "operation": "boost", - "score": 0.10840442776679993 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7584.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8250.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10008.5, "then": { + "operation": "boost", + "score": -0.045744504779577255 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumNameInContext", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9931.0, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0036094726528972387 + "score": -0.21608789265155792 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9044.0, - "then": { - "operation": "boost", - "score": 0.10756243020296097 - }, - "else": { - "operation": "boost", - "score": 0.025299636647105217 - } + "operation": "boost", + "score": 0.13627557456493378 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11245.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10266083478927612 - }, - "else": { - "operation": "boost", - "score": 0.09908277541399002 - } - }, - "else": { - "operation": "boost", - "score": -0.2985196113586426 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 6325.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 8266.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10339.5, - "then": { - "operation": "boost", - "score": 0.10603144764900208 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.02252291329205036 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.23696346580982208 - }, - "else": { - "operation": "boost", - "score": 0.09079837054014206 - } - } - } + "operation": "boost", + "score": 0.04829219728708267 }, "else": { "operation": "boost", - "score": 0.028363768011331558 + "score": -0.09054631739854813 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10801809281110764 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8464.5, + "threshold": 6388.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10549.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11116.0, - "then": { - "operation": "boost", - "score": -0.12831668555736542 - }, - "else": { - "operation": "boost", - "score": 0.10120561718940735 - } - }, - "else": { - "operation": "boost", - "score": -0.060341715812683105 - } + "operation": "boost", + "score": 0.10244882106781006 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12121927738189697 - }, - "else": { - "operation": "boost", - "score": -0.07569428533315659 - } + "operation": "boost", + "score": 0.1046668142080307 } - }, - "else": { - "operation": "boost", - "score": 0.12357891350984573 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1316.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9290.0, - "then": { - "operation": "boost", - "score": -0.037801165133714676 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.11199122667312622 - }, - "else": { - "operation": "boost", - "score": 0.11509793251752853 - } - } - }, - "else": { - "operation": "boost", - "score": -0.005525455344468355 - } + "operation": "boost", + "score": -0.07156732678413391 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9758.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.08861561864614487 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": -0.10855866223573685 - }, - "else": { - "operation": "boost", - "score": 0.12062319368124008 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09903501719236374 - } - }, - "else": { - "operation": "boost", - "score": -0.10182911157608032 - } - }, - "else": { - "operation": "boost", - "score": -0.12606512010097504 - } + "operation": "boost", + "score": 0.01151252444833517 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "NumReferences", + "threshold": 9969.5, "then": { "operation": "boost", - "score": -1.4897332191467285 + "score": 0.1359364241361618 }, "else": { "operation": "boost", - "score": 0.10098154097795486 + "score": 0.004720330238342285 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 3272.0, "then": { - "operation": "boost", - "score": 0.09551139920949936 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.03512046858668327 + }, + "else": { + "operation": "boost", + "score": -0.595031201839447 + } }, "else": { - "operation": "boost", - "score": 0.06565193831920624 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.14196394383907318 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 224.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 826.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 1482.5, "then": { "operation": "boost", - "score": -0.10886365920305252 + "score": 0.07698275148868561 }, "else": { "operation": "boost", - "score": 0.11360827088356018 + "score": -0.14827753603458405 } }, "else": { - "operation": "boost", - "score": -0.8354986310005188 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 369.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 396.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 492.5, + "then": { + "operation": "boost", + "score": 0.10859159380197525 + }, + "else": { + "operation": "boost", + "score": -0.07692187279462814 + } + }, + "else": { + "operation": "boost", + "score": 0.12564368546009064 + } + }, + "else": { + "operation": "boost", + "score": 0.08205527067184448 + } } }, "else": { "operation": "boost", - "score": -0.3284303843975067 + "score": 0.02199121192097664 } - }, - "else": { - "operation": "boost", - "score": -0.071821428835392 } } + }, + "else": { + "operation": "boost", + "score": -0.0031144279055297375 } - }, - "else": { - "operation": "boost", - "score": -0.0609855093061924 } - }, - "else": { - "operation": "boost", - "score": -0.14319537580013275 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15517.5, + "then": { + "operation": "boost", + "score": 0.2953280806541443 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, "then": { + "operation": "boost", + "score": 0.02366303652524948 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8150.0, - "then": { - "operation": "boost", - "score": 0.11981803178787231 - }, - "else": { - "operation": "boost", - "score": 0.11426880210638046 - } - }, - "else": { - "operation": "boost", - "score": -0.10444121062755585 - } - }, - "else": { - "operation": "boost", - "score": 0.11506211012601852 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7787.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8191.0, - "then": { - "operation": "boost", - "score": 0.10546834766864777 - }, - "else": { - "operation": "boost", - "score": 0.06379008293151855 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.11496860533952713 + "score": -0.3332878351211548 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7732.5, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { - "operation": "boost", - "score": 0.09963924437761307 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11078698188066483 + }, + "else": { + "operation": "boost", + "score": -0.08909390866756439 + } + }, + "else": { + "operation": "boost", + "score": 0.13866780698299408 + } }, "else": { "operation": "boost", - "score": 0.04716522619128227 + "score": 0.011763175018131733 } } + }, + "else": { + "operation": "boost", + "score": -0.012648673728108406 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7946.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7960.0, + "feature": "FractionNameInContext", + "threshold": 0.7071428298950195, "then": { - "operation": "boost", - "score": 0.056425873190164566 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11827903240919113 + "score": -0.11093154549598694 }, "else": { "operation": "boost", - "score": 0.1311112940311432 + "score": -0.5291914343833923 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7693.0, - "then": { - "operation": "boost", - "score": 0.001941765658557415 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7635.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.11966170370578766 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06155640631914139 + }, + "else": { + "operation": "boost", + "score": 0.11920171976089478 + } }, "else": { - "operation": "boost", - "score": 0.022330328822135925 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.026608886197209358 + }, + "else": { + "operation": "boost", + "score": 0.04271235316991806 + } } } - } - }, - "else": { - "operation": "boost", - "score": -0.017806779593229294 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7554.0, - "then": { - "operation": "boost", - "score": -0.6866514086723328 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": 0.11174500733613968 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3086.5, - "then": { - "operation": "boost", - "score": 0.013854891993105412 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10543319582939148 - }, - "else": { - "operation": "boost", - "score": -0.10212747752666473 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3136.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.05722620338201523 }, "else": { "operation": "boost", - "score": -0.11323612183332443 + "score": -0.05907009541988373 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3127.5, + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, "then": { - "operation": "boost", - "score": 0.10433100163936615 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.061807781457901 + }, + "else": { + "operation": "boost", + "score": -0.7038456201553345 + } }, "else": { "operation": "boost", - "score": 0.030377784743905067 + "score": 0.006268741562962532 } } } @@ -212538,481 +206587,1008 @@ } } } - }, - "else": { - "operation": "boost", - "score": -0.00041993072954937816 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11891598999500275 - }, - "else": { - "operation": "boost", - "score": -0.22765815258026123 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6495.0, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "boost", - "score": -0.034495119005441666 + "score": 0.07784746587276459 }, "else": { + "operation": "boost", + "score": -0.5111668109893799 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4712.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.14039760828018188 - }, - "else": { - "operation": "boost", - "score": 0.14039257168769836 - } - }, - "else": { - "operation": "boost", - "score": 0.1052354946732521 - } + "operation": "boost", + "score": -0.26589760184288025 }, "else": { "operation": "boost", - "score": -0.17279638350009918 + "score": -0.028245875611901283 } + }, + "else": { + "operation": "boost", + "score": -0.01054100226610899 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57410.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59248.5, - "then": { - "operation": "boost", - "score": 0.005842081271111965 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": 0.1359836906194687 - }, - "else": { - "operation": "boost", - "score": 0.1370670199394226 - } - } + "operation": "boost", + "score": 0.05457284301519394 }, "else": { "operation": "boost", - "score": -0.09486235678195953 + "score": 0.015150396153330803 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54992.0, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.00334366993047297 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.39589232206344604 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.03059319406747818 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1121358573436737 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": 0.06830496340990067 + }, + "else": { + "operation": "boost", + "score": -0.282495379447937 + } }, "else": { - "operation": "boost", - "score": 0.1425503045320511 - } - }, - "else": { - "operation": "boost", - "score": 0.2735494077205658 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": -0.03965217247605324 + }, + "else": { + "operation": "boost", + "score": -0.0025679138489067554 + } + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": -0.06715506315231323 }, "else": { "operation": "boost", - "score": 0.5705655217170715 + "score": -0.02094257064163685 } } }, "else": { + "operation": "boost", + "score": 0.0018068355275318027 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.017229577526450157 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.10297432541847229 + }, + "else": { + "operation": "boost", + "score": -0.11538241058588028 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2124060094356537, + "then": { + "operation": "boost", + "score": 0.0035498780198395252 + }, + "else": { + "operation": "boost", + "score": 0.0011650307569652796 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.006407003849744797 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.001470765215344727 + }, + "else": { + "operation": "boost", + "score": -0.05336328595876694 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": -0.050532061606645584 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.024316290393471718 + "score": 0.08771350234746933 }, "else": { "operation": "boost", - "score": 0.10048037022352219 + "score": 0.01651046611368656 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, "then": { + "operation": "boost", + "score": 0.02587289735674858 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "FileProximityDistanceCost", + "threshold": 26.5, "then": { "operation": "boost", - "score": -0.006457197014242411 + "score": 0.0625850260257721 }, "else": { + "operation": "boost", + "score": 0.14902038872241974 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.005664349067956209 + }, + "else": { + "operation": "boost", + "score": -0.27249160408973694 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": 0.027409752830863 + }, + "else": { + "operation": "boost", + "score": -0.42625102400779724 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.0021276185289025307 + }, + "else": { + "operation": "boost", + "score": 0.09303026646375656 + } + }, + "else": { + "operation": "boost", + "score": -0.16849231719970703 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.13335467875003815 + }, + "else": { + "operation": "boost", + "score": 0.10966759920120239 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11808928847312927 + }, + "else": { + "operation": "boost", + "score": -0.20584243535995483 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04719020426273346 + } + }, + "else": { + "operation": "boost", + "score": -0.036027874797582626 + } + }, + "else": { + "operation": "boost", + "score": -0.031206930056214333 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.1909608840942383 + }, + "else": { + "operation": "boost", + "score": -0.05532153695821762 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.00915819127112627 + }, + "else": { + "operation": "boost", + "score": 0.059771828353405 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.012507105246186256 + }, + "else": { + "operation": "boost", + "score": 0.10793500393629074 + } + }, + "else": { + "operation": "boost", + "score": 0.031989794224500656 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], "then": { "operation": "boost", - "score": -1.0256515741348267 + "score": 0.0984049141407013 }, "else": { "operation": "boost", - "score": -0.11254341900348663 + "score": 0.04138743877410889 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5270.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], + "operation": "boost", + "score": -0.2027616947889328 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "boost", - "score": 0.05838044360280037 + "score": -0.14279571175575256 }, "else": { "operation": "boost", - "score": 0.10314308851957321 + "score": 0.012897800654172897 + } + }, + "else": { + "operation": "boost", + "score": -0.1752908080816269 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.007446837145835161 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12200561910867691 + }, + "else": { + "operation": "boost", + "score": -0.17928457260131836 + } } }, "else": { "operation": "boost", - "score": 0.029332172125577927 + "score": 0.008509528823196888 } }, "else": { "operation": "boost", - "score": 0.05992607772350311 + "score": 0.03058682009577751 } - }, - "else": { - "operation": "boost", - "score": 0.009025966748595238 } } } + }, + "else": { + "operation": "boost", + "score": -0.001711043412797153 } } } - }, - "else": { - "operation": "boost", - "score": 0.010801627300679684 } + }, + "else": { + "operation": "boost", + "score": -0.0009238710044883192 } - }, - "else": { - "operation": "boost", - "score": -0.0004028862458653748 } }, { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "GlobalScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.01492831390351057 + "score": 0.02269108220934868 }, "else": { "operation": "boost", - "score": 0.0005229103844612837 + "score": 0.05330098047852516 } }, "else": { "operation": "boost", - "score": 0.007620596326887608 + "score": 0.009223620407283306 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.01232688594609499 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.0, + "operation": "boost", + "score": 0.03228059783577919 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { + "operation": "boost", + "score": 0.16584645211696625 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "boost", - "score": -0.19606713950634003 + "score": -0.07815969735383987 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "boost", - "score": 0.09871626645326614 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.14617490768432617 + }, + "else": { + "operation": "boost", + "score": 0.11525119841098785 + } }, "else": { "operation": "boost", - "score": 0.05786784365773201 + "score": 0.09175769984722137 } } - }, - "else": { - "operation": "boost", - "score": -0.19925455749034882 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": -0.019200734794139862 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.006282859481871128 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.008399776183068752 + }, + "else": { + "operation": "boost", + "score": -0.22223569452762604 + } + } }, "else": { + "operation": "boost", + "score": -0.27305006980895996 + } + }, + "else": { + "operation": "boost", + "score": 0.003269449109211564 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "boost", + "score": -0.01601843535900116 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83.0, - "then": { - "operation": "boost", - "score": -0.037118688225746155 - }, - "else": { - "operation": "boost", - "score": 0.10696009546518326 - } + "operation": "boost", + "score": 0.028043542057275772 }, "else": { "operation": "boost", - "score": -0.00044208765029907227 + "score": 0.09742885828018188 } }, "else": { + "operation": "boost", + "score": 0.07716909050941467 + } + }, + "else": { + "operation": "boost", + "score": 0.042028218507766724 + } + }, + "else": { + "operation": "boost", + "score": 0.03210273012518883 + } + }, + "else": { + "operation": "boost", + "score": 0.014597962610423565 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.010259544476866722 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.00830183457583189 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1734.5, + "then": { + "operation": "boost", + "score": -0.13975507020950317 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1426.5, + "then": { + "operation": "boost", + "score": 0.20718707144260406 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 40.5, + "threshold": 599.5, "then": { "operation": "boost", - "score": -0.17651353776454926 + "score": -0.24516814947128296 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34.5, + "threshold": 369.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.2142580896615982 + "score": 0.1229216605424881 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 37.0, + "threshold": 433.0, "then": { "operation": "boost", - "score": 0.09175761044025421 + "score": 0.11575203388929367 }, "else": { "operation": "boost", - "score": 0.12220916897058487 + "score": -0.24231795966625214 } } }, "else": { "operation": "boost", - "score": -0.028844423592090607 + "score": 0.0801914632320404 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.24198418855667114 }, "else": { "operation": "boost", - "score": -0.09521282464265823 + "score": 0.021735427901148796 } } } @@ -213020,6432 +207596,7348 @@ }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0278032124042511 - }, - "else": { - "operation": "boost", - "score": -0.01580287143588066 - } + "operation": "boost", + "score": 0.12083381414413452 }, "else": { "operation": "boost", - "score": -0.026937320828437805 + "score": -0.0030248481780290604 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.021851185709238052 - }, - "else": { - "operation": "boost", - "score": -0.06858737021684647 - } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 153.5, + "threshold": 277.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.11209701746702194 + "score": 0.0948072001338005 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 249.5, - "then": { - "operation": "boost", - "score": -0.355392187833786 - }, - "else": { - "operation": "boost", - "score": 0.08520627021789551 - } + "operation": "boost", + "score": 0.27383172512054443 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1579.5, "then": { + "operation": "boost", + "score": -0.009714770130813122 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 1502.0, "then": { + "operation": "boost", + "score": 0.11747866123914719 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 281.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.10822523385286331 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 187.0, + "threshold": 332.0, "then": { "operation": "boost", - "score": 0.030258744955062866 + "score": 0.016254311427474022 }, "else": { "operation": "boost", - "score": 0.10119996964931488 + "score": 0.13647425174713135 } - } - }, - "else": { - "operation": "boost", - "score": 0.008094200864434242 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 244.0, - "then": { - "operation": "boost", - "score": 0.11216230690479279 }, "else": { "operation": "boost", - "score": 0.4332926273345947 + "score": 0.04120105877518654 } }, "else": { "operation": "boost", - "score": 0.07459750026464462 + "score": 0.13338540494441986 } } - }, - "else": { - "operation": "boost", - "score": -0.09906313568353653 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 276.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.01437383983284235 - }, - "else": { - "operation": "boost", - "score": -0.032113172113895416 - } - }, - "else": { - "operation": "boost", - "score": -0.0588979534804821 - } + "operation": "boost", + "score": -0.4938565194606781 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.009356453083455563 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, "then": { + "operation": "boost", + "score": -0.10596578568220139 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.021754663437604904 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05822819471359253 + }, + "else": { + "operation": "boost", + "score": 0.1363849937915802 + } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.1371784508228302 - }, - "else": { - "operation": "boost", - "score": -0.055511459708213806 - } + "operation": "boost", + "score": 0.15734019875526428 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10717040300369263 - }, - "else": { - "operation": "boost", - "score": 0.11412031203508377 - } - }, - "else": { - "operation": "boost", - "score": 0.05319057032465935 - } - }, - "else": { - "operation": "boost", - "score": 0.10754420608282089 - } + "operation": "boost", + "score": 0.01691935397684574 } }, "else": { "operation": "boost", - "score": 0.022649414837360382 + "score": 0.0724511593580246 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.04157360643148422 + "score": -0.4160708487033844 }, "else": { - "operation": "boost", - "score": 0.005261542741209269 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03620489686727524 + }, + "else": { + "operation": "boost", + "score": 0.16063012182712555 + } } } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.009110266342759132 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 26.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.0866810604929924 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1210348904132843 - }, - "else": { - "operation": "boost", - "score": 0.37430113554000854 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.21557702124118805 - }, - "else": { - "operation": "boost", - "score": 0.2148398756980896 - } - } + "operation": "boost", + "score": 0.06944756209850311 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.18743331730365753 - }, - "else": { - "operation": "boost", - "score": -0.08107952028512955 - } + "operation": "boost", + "score": -0.7749258875846863 } + } + }, + "else": { + "operation": "boost", + "score": 0.09325874596834183 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.6920337677001953 + }, + "else": { + "operation": "boost", + "score": -0.0004918013582937419 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.378934383392334 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", - "score": 0.10637523978948593 + "score": 0.06651616096496582 }, "else": { - "operation": "boost", - "score": 0.09751445800065994 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": -0.6517001986503601 + }, + "else": { + "operation": "boost", + "score": -0.08216382563114166 + } } }, "else": { "operation": "boost", - "score": 0.04679303616285324 + "score": 0.04756613448262215 } }, "else": { "operation": "boost", - "score": -0.008002053014934063 + "score": -0.17708393931388855 } } - }, - "else": { - "operation": "boost", - "score": -0.021289797499775887 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.020858002826571465 + "score": -0.2508236765861511 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.03930584713816643 - }, - "else": { - "operation": "boost", - "score": -0.21512427926063538 - } - }, - "else": { - "operation": "boost", - "score": -0.06358297169208527 - } + "operation": "boost", + "score": 0.06089054420590401 } } } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { + "operation": "boost", + "score": 0.035050004720687866 + }, + "else": { + "operation": "boost", + "score": 0.013496862724423409 + } + }, + "else": { + "operation": "boost", + "score": -0.031116008758544922 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": -0.019468728452920914 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, + "then": { + "operation": "boost", + "score": 0.12419816106557846 + }, + "else": { + "operation": "boost", + "score": 0.020146287977695465 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.0929543673992157 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "boost", + "score": 0.04110053926706314 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "boost", + "score": -0.27916088700294495 + }, + "else": { + "operation": "boost", + "score": -0.03483160585165024 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.19822916388511658 + }, + "else": { + "operation": "boost", + "score": -0.03534110635519028 + } + }, + "else": { + "operation": "boost", + "score": -0.009154300205409527 + } + }, + "else": { + "operation": "boost", + "score": -0.0016710602212697268 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.001121508190408349 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 418.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.141806498169899 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54332.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, + "operation": "boost", + "score": 0.10971905291080475 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "boost", - "score": -0.02597920410335064 - }, - "else": { - "operation": "boost", - "score": 0.10631050914525986 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "threshold": 11532.5, "then": { - "operation": "boost", - "score": -0.0813262015581131 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { + "operation": "boost", + "score": -0.12022777646780014 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 14916.5, "then": { - "operation": "boost", - "score": 0.06085053086280823 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.14420653879642487 + }, + "else": { + "operation": "boost", + "score": -0.18557246029376984 + } }, "else": { "operation": "boost", - "score": 0.11085617542266846 + "score": 0.13568644225597382 } - }, - "else": { - "operation": "boost", - "score": 0.0706963911652565 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13047382235527039 }, "else": { "operation": "boost", - "score": 0.022328443825244904 + "score": -0.2274387776851654 } }, "else": { "operation": "boost", - "score": -0.1570449322462082 + "score": 0.040357351303100586 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.01354311965405941 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Namespace" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 54332.5, "then": { "operation": "boost", - "score": 0.125406414270401 + "score": -0.06253518909215927 }, "else": { - "operation": "boost", - "score": 0.01433639321476221 - } - }, - "else": { - "operation": "boost", - "score": -0.02251775749027729 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 41256.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1828266680240631 - }, - "else": { - "operation": "boost", - "score": -0.254813015460968 - } - }, - "else": { - "operation": "boost", - "score": 0.02226862497627735 - } + "operation": "boost", + "score": 0.09960704296827316 }, "else": { - "operation": "boost", - "score": 0.10657040774822235 - } - }, - "else": { - "operation": "boost", - "score": 0.06289055943489075 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 27170.0, "then": { "operation": "boost", - "score": 0.019251078367233276 + "score": -0.11589395254850388 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 5627.5, "then": { - "operation": "boost", - "score": 0.131268709897995 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19705.5, + "then": { + "operation": "boost", + "score": 0.11205075681209564 + }, + "else": { + "operation": "boost", + "score": 0.05314154177904129 + } }, "else": { - "operation": "boost", - "score": 0.07721754908561707 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.09712809324264526 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2170.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2569.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.11065590381622314 + }, + "else": { + "operation": "boost", + "score": 0.16971030831336975 + } + }, + "else": { + "operation": "boost", + "score": 0.12376464158296585 + } + }, + "else": { + "operation": "boost", + "score": 0.1035098284482956 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.00614231638610363 } - }, - "else": { - "operation": "boost", - "score": 0.009713796898722649 } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0020941407419741154 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0451197475194931 - }, - "else": { - "operation": "boost", - "score": -9.390151535626501e-05 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15918.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91957.5, - "then": { - "operation": "boost", - "score": 0.10576992481946945 - }, - "else": { - "operation": "boost", - "score": -0.036171600222587585 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "boost", - "score": 0.009553967043757439 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.038064323365688324 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28364.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53063.0, - "then": { - "operation": "boost", - "score": 0.10179830342531204 }, "else": { "operation": "boost", - "score": -0.3567308485507965 + "score": -0.0043238201178610325 } - }, - "else": { - "operation": "boost", - "score": 0.11994786560535431 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 20510.0, "then": { "operation": "boost", - "score": 0.12728118896484375 + "score": 0.011571364477276802 }, "else": { "operation": "boost", - "score": 0.11061973869800568 + "score": -0.04722010716795921 } } + }, + "else": { + "operation": "boost", + "score": -0.0009978251764550805 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0023051206953823566 - }, - "else": { - "operation": "boost", - "score": -0.004984728526324034 - } + "operation": "boost", + "score": -0.0019917774479836226 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.12792527675628662 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, - "then": { - "operation": "boost", - "score": 0.0868086889386177 - }, - "else": { - "operation": "boost", - "score": -0.1423855870962143 - } - } + "operation": "boost", + "score": 0.013154146261513233 }, "else": { + "operation": "boost", + "score": 0.04523777589201927 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3234.0, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.16302412748336792 - }, - "else": { - "operation": "boost", - "score": 0.10512089729309082 - } - }, - "else": { - "operation": "boost", - "score": -0.05631566420197487 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.012689637020230293 - }, - "else": { - "operation": "boost", - "score": -0.09826099127531052 - } - } + "operation": "boost", + "score": 0.1088394895195961 }, "else": { "operation": "boost", - "score": -0.09193561971187592 + "score": -0.15285564959049225 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 960.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1315.0, + "threshold": 3145.5, "then": { "operation": "boost", - "score": -0.03826082870364189 + "score": 0.12069647014141083 }, "else": { "operation": "boost", - "score": 0.102906234562397 + "score": -0.013988068327307701 } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 41.0, + "then": { + "operation": "boost", + "score": 0.0004998938529752195 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.019258705899119377 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.07822781056165695 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10160166770219803 + "score": -0.030654016882181168 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0662304237484932 + "score": -0.10799255967140198 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": 0.12241137772798538 - }, - "else": { - "operation": "boost", - "score": 0.0973496064543724 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10245022177696228 - }, - "else": { - "operation": "boost", - "score": -0.03228405863046646 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "boost", - "score": 0.07556340098381042 - }, - "else": { - "operation": "boost", - "score": 0.1316603124141693 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.24266070127487183 + "score": 0.16256065666675568 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Macro" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.09744738042354584 + "score": 0.11701265722513199 }, "else": { "operation": "boost", - "score": 0.11225274205207825 + "score": -0.14268441498279572 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": 0.09231309592723846 - }, - "else": { - "operation": "boost", - "score": 0.017433451488614082 - } + "operation": "boost", + "score": 0.040508121252059937 } } + }, + "else": { + "operation": "boost", + "score": 0.032139282673597336 } + }, + "else": { + "operation": "boost", + "score": 0.05175265669822693 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.004620173014700413 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.0047096204943954945 - }, - "else": { - "operation": "boost", - "score": -0.1203548014163971 - } + "operation": "boost", + "score": -0.021153125911951065 } + }, + "else": { + "operation": "boost", + "score": -0.017216481268405914 } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.01900039054453373 + }, + "else": { + "operation": "boost", + "score": -0.04712493345141411 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06428799778223038 + }, + "else": { + "operation": "boost", + "score": -0.0016682147979736328 } } } } } - }, - "else": { - "operation": "boost", - "score": -0.0013024130603298545 } }, { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": -0.0595644935965538 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07027756422758102 + }, + "else": { + "operation": "boost", + "score": 0.006299193482846022 + } }, "else": { + "operation": "boost", + "score": 0.0022606831043958664 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.009333179332315922 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.010369128547608852 + }, + "else": { + "operation": "boost", + "score": -0.030201684683561325 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 38.5, + "threshold": 55854.0, "then": { "operation": "boost", - "score": 0.04132305085659027 + "score": -0.027100956067442894 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 55483.0, "then": { - "operation": "boost", - "score": 0.009526156820356846 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.019066888839006424 + "score": 0.13246478140354156 }, "else": { "operation": "boost", - "score": 0.04515055939555168 + "score": -0.17302605509757996 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0037527878303080797 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0315253846347332 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": -0.10341797769069672 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.021947365254163742 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 13327.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 13390.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04131479188799858 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "NumReferences", + "threshold": 28548.0, "then": { "operation": "boost", - "score": 0.1513637751340866 + "score": -0.12184717506170273 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 27669.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.12005655467510223 - }, - "else": { - "operation": "boost", - "score": 0.11439261585474014 - } - }, - "else": { - "operation": "boost", - "score": -0.13837338984012604 - } + "operation": "boost", + "score": 0.18126371502876282 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 18526.5, "then": { + "operation": "boost", + "score": 0.05937838926911354 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 18305.0, "then": { - "operation": "boost", - "score": 0.08946966379880905 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.10007558763027191 - }, - "else": { - "operation": "boost", - "score": 0.11457303911447525 - } + "operation": "boost", + "score": 0.09267889708280563 }, "else": { "operation": "boost", - "score": -0.11171264946460724 + "score": 0.15651339292526245 } - } - }, - "else": { - "operation": "boost", - "score": 0.030912624672055244 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.07160607725381851 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.05549641326069832 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10575056076049805 }, "else": { "operation": "boost", - "score": 0.1022339016199112 + "score": 0.0657215416431427 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.06416063010692596 - }, - "else": { - "operation": "boost", - "score": 0.08385146409273148 - } } } } }, "else": { + "operation": "boost", + "score": 0.2127271294593811 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01737404242157936 + }, + "else": { + "operation": "boost", + "score": 0.0613262765109539 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005919380346313119 + } + }, + "else": { + "operation": "boost", + "score": -0.048116810619831085 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10496927052736282 + }, + "else": { + "operation": "boost", + "score": -0.10324253886938095 + } + }, + "else": { + "operation": "boost", + "score": -0.038834888488054276 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10073927789926529 + }, + "else": { + "operation": "boost", + "score": 0.059919573366642 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.01782984845340252 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.0204024501144886 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "boost", + "score": 0.024614909663796425 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.011300225742161274 + }, + "else": { + "operation": "boost", + "score": -1.4247578382492065 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.07092142105102539 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.029411764815449715, + "then": { + "operation": "boost", + "score": 0.024418644607067108 + }, + "else": { + "operation": "boost", + "score": -0.01160360500216484 + } + }, + "else": { + "operation": "boost", + "score": -0.07974626868963242 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.039677515625953674 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.0774620771408081 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.02328232303261757 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.02895928919315338 + }, + "else": { + "operation": "boost", + "score": 0.017403723672032356 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.03780077025294304 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38668.0, + "then": { + "operation": "boost", + "score": 0.023525036871433258 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.003453355748206377 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.014786962419748306 + }, + "else": { + "operation": "boost", + "score": -0.1107129231095314 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.015586654655635357 + }, + "else": { + "operation": "boost", + "score": 0.058495599776506424 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.01059426087886095 + }, + "else": { + "operation": "boost", + "score": -0.0097710145637393 + } + } + } + } + } + } + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0014783326769247651 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 5430.5, "then": { "operation": "boost", - "score": -0.1497783213853836 + "score": -0.010742568410933018 }, "else": { "operation": "boost", - "score": 0.09834721684455872 + "score": 0.03885957598686218 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.04731893911957741 }, "else": { "operation": "boost", - "score": 0.08466019481420517 + "score": -0.07264979183673859 } - }, - "else": { - "operation": "boost", - "score": 0.05188394710421562 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.0848488062620163 + "score": 0.0023176283575594425 }, "else": { - "operation": "boost", - "score": -0.12669797241687775 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.04662192612886429 + }, + "else": { + "operation": "boost", + "score": 0.04417034983634949 + } } - }, - "else": { - "operation": "boost", - "score": 0.06449299305677414 } + }, + "else": { + "operation": "boost", + "score": -0.11793400347232819 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.002079297322779894 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.06961935758590698 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0291027519851923 }, "else": { - "operation": "boost", - "score": -0.0336991585791111 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7094.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "boost", - "score": -0.013570165261626244 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.02021307870745659 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.22779594361782074 + }, + "else": { + "operation": "boost", + "score": 0.08281929045915604 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04026688262820244 + } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 67685.0, "then": { + "operation": "boost", + "score": 0.02745814435184002 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 46971.0, "then": { "operation": "boost", - "score": 0.09466294944286346 + "score": -0.04067988321185112 }, "else": { - "operation": "boost", - "score": 0.07548337429761887 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46241.5, + "then": { + "operation": "boost", + "score": 0.073260098695755 + }, + "else": { + "operation": "boost", + "score": 0.014521090313792229 + } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6816.5, + "then": { + "operation": "boost", + "score": -0.13123847544193268 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Other" + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.10588054358959198 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.020030977204442024 + }, + "else": { + "operation": "boost", + "score": -0.05952337756752968 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.020828744396567345 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120.0, + "then": { + "operation": "boost", + "score": 0.4864813983440399 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.029678992927074432 + }, + "else": { + "operation": "boost", + "score": 1.096040964126587 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07675370573997498 + } + } + } }, "else": { "operation": "boost", - "score": -0.3596497178077698 + "score": -0.07796660810709 } }, "else": { "operation": "boost", - "score": -0.05111731216311455 + "score": -0.01804637350142002 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.009639609605073929 + }, + "else": { + "operation": "boost", + "score": -0.004564268514513969 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.023363469168543816 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.28443872928619385 + }, + "else": { + "operation": "boost", + "score": -0.01589646376669407 + } + } + }, + "else": { + "operation": "boost", + "score": -0.016458973288536072 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.01536529790610075 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.01923431269824505 + }, + "else": { + "operation": "boost", + "score": 0.010369255207479 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0012308405712246895 + } + } } } } - }, - "else": { - "operation": "boost", - "score": -0.04491104185581207 } - }, - "else": { - "operation": "boost", - "score": -0.062421850860118866 } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.008352930657565594 - } - }, - "else": { - "operation": "boost", - "score": 0.007744935341179371 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04010125249624252 - }, - "else": { - "operation": "boost", - "score": -0.029203834012150764 - } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.03884974867105484 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.03819743171334267 + "score": -0.011557084508240223 }, "else": { - "operation": "boost", - "score": -0.0559052973985672 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08542213588953018 + }, + "else": { + "operation": "boost", + "score": 0.019376607611775398 + } + }, + "else": { + "operation": "boost", + "score": -0.018595224246382713 + } } + }, + "else": { + "operation": "boost", + "score": -0.08487731963396072 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown" + ], "then": { - "operation": "boost", - "score": 0.0329853892326355 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 147156.5, "then": { - "operation": "boost", - "score": -0.0015300634549930692 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 196353.5, + "then": { + "operation": "boost", + "score": 0.019609130918979645 + }, + "else": { + "operation": "boost", + "score": 0.07202785462141037 + } }, "else": { "operation": "boost", - "score": 0.05393138900399208 + "score": 0.007201476022601128 } + }, + "else": { + "operation": "boost", + "score": -0.008885440416634083 } } - }, - "else": { - "operation": "boost", - "score": 0.0034278465900570154 } - }, - "else": { - "operation": "boost", - "score": -0.10968296229839325 } } }, "else": { "operation": "boost", - "score": 0.0012373740319162607 + "score": 0.0055158804170787334 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.010343162342905998 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 190.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47907.0, - "then": { - "operation": "boost", - "score": 0.08036525547504425 - }, - "else": { - "operation": "boost", - "score": -0.030147533863782883 - } + "operation": "boost", + "score": -0.0037493810523301363 + }, + "else": { + "operation": "boost", + "score": 0.0123204430565238 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.01058058999478817 }, "else": { + "operation": "boost", + "score": -0.028071871027350426 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0011182877933606505 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.06439634412527084 + "score": -0.006581307854503393 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { + "operation": "boost", + "score": 0.08198849856853485 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.062453627586364746 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 425.0, + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.10765651613473892 + "score": -0.01275172084569931 }, "else": { "operation": "boost", - "score": 0.360183447599411 + "score": 0.16303503513336182 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1228419616818428 }, "else": { - "operation": "boost", - "score": -0.2038867324590683 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.15740245580673218 + }, + "else": { + "operation": "boost", + "score": -0.02484997920691967 + } + }, + "else": { + "operation": "boost", + "score": -0.344868540763855 + } } } }, "else": { - "operation": "boost", - "score": 0.04912089928984642 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "boost", + "score": -0.017289847135543823 + }, + "else": { + "operation": "boost", + "score": -0.13187934458255768 + } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.03858748450875282 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.01606440544128418 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11146.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10636299848556519 + "score": -0.014591047540307045 }, "else": { "operation": "boost", - "score": -0.452038437128067 + "score": 0.010827062651515007 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10393523424863815 + "score": -0.021580971777439117 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.04182086139917374 - }, - "else": { - "operation": "boost", - "score": 0.14473801851272583 - } + "operation": "boost", + "score": 0.08215714246034622 } }, "else": { "operation": "boost", - "score": 0.1241844892501831 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.05953291431069374 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.13399021327495575 - }, - "else": { - "operation": "boost", - "score": 0.07377547770738602 - } - }, - "else": { - "operation": "boost", - "score": -0.07795283943414688 - } - } - }, - "else": { - "operation": "boost", - "score": -0.005643406882882118 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.12269947677850723 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.2167055755853653 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05093660578131676 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1135520190000534 - }, - "else": { - "operation": "boost", - "score": -0.12278396636247635 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.26475438475608826 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11413145810365677 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12104490399360657 - }, - "else": { - "operation": "boost", - "score": 0.0014120611594989896 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.0775432363152504 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.056503135710954666 - }, - "else": { - "operation": "boost", - "score": 0.06519754976034164 - } - } - } - } - } + "score": -0.06288930773735046 } } } } }, "else": { - "operation": "boost", - "score": 0.011665952391922474 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101.5, - "then": { - "operation": "boost", - "score": 0.044459372758865356 - }, - "else": { - "operation": "boost", - "score": 0.10250526666641235 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.08763578534126282 - }, - "else": { - "operation": "boost", - "score": 0.16434264183044434 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.09535789489746094 - }, - "else": { - "operation": "boost", - "score": -0.0017786158714443445 - } - }, - "else": { - "operation": "boost", - "score": 0.12719812989234924 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.14542941749095917 - }, - "else": { - "operation": "boost", - "score": -0.13156843185424805 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.12156553566455841 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.20949016511440277 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11630908399820328 - }, - "else": { - "operation": "boost", - "score": 0.1107986643910408 - } - }, - "else": { - "operation": "boost", - "score": 0.07861961424350739 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0006411854410544038 - } + "operation": "boost", + "score": -0.0031068939715623856 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": -0.1449078619480133 + "score": 0.04558214917778969 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10510057955980301 - }, - "else": { - "operation": "boost", - "score": 0.036518123000860214 - } - }, - "else": { - "operation": "boost", - "score": 0.14212682843208313 - } + "operation": "boost", + "score": 0.0252196304500103 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.015327430330216885 + "score": -0.003577129216864705 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.0, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 238.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.11380459368228912 + "score": 0.4053155779838562 }, "else": { "operation": "boost", - "score": 0.12243986129760742 + "score": 0.21402689814567566 } }, "else": { "operation": "boost", - "score": 0.08316969126462936 + "score": -0.37612494826316833 } }, "else": { "operation": "boost", - "score": 0.024232368916273117 + "score": -0.022164637222886086 } } } } - }, - "else": { - "operation": "boost", - "score": 0.009754561819136143 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168.5, "then": { - "operation": "boost", - "score": 0.03179502859711647 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.14706678688526154 + }, + "else": { + "operation": "boost", + "score": 0.05910192430019379 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09827826917171478 + "score": 0.02144080214202404 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.11571458727121353 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.16400612890720367 - }, - "else": { - "operation": "boost", - "score": 0.15161176025867462 - } - }, - "else": { - "operation": "boost", - "score": 0.03045211173593998 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03477218374609947 - } + "operation": "boost", + "score": 0.0427560955286026 }, "else": { "operation": "boost", - "score": -0.11495233327150345 + "score": 0.002069602720439434 } } } } } - }, - "else": { - "operation": "boost", - "score": -0.004017665516585112 } } }, "else": { "operation": "boost", - "score": -0.01731361821293831 + "score": -0.09967417269945145 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1548.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.18095622956752777 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05569540336728096 + }, + "else": { + "operation": "boost", + "score": 0.00623029051348567 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.010374044068157673 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.00040866131894290447 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 505.5, + "then": { + "operation": "boost", + "score": 0.12747251987457275 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.0, + "then": { + "operation": "boost", + "score": 0.05834675207734108 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "boost", + "score": -0.3481118679046631 + }, + "else": { + "operation": "boost", + "score": -0.07041449099779129 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06400255858898163 + }, + "else": { + "operation": "boost", + "score": 0.12136049568653107 + } + }, + "else": { + "operation": "boost", + "score": 0.011680318973958492 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12830102443695068 + } + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1550.0, + "threshold": 298482.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 323356.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.04431630298495293 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.010438401252031326 + }, + "else": { + "operation": "boost", + "score": -0.05973733589053154 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.011744585819542408 + "score": -0.011501367203891277 }, "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.07861223071813583 + }, + "else": { + "operation": "boost", + "score": -0.4425405263900757 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07762499153614044 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02777777798473835, + "then": { + "operation": "boost", + "score": 0.004097227938473225 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199261.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.013491182588040829 + "score": 0.0728551372885704 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.11657792329788208 + } + }, + "else": { + "operation": "boost", + "score": 0.07241406291723251 + } + }, + "else": { + "operation": "boost", + "score": 0.05584844574332237 + } + }, + "else": { + "operation": "boost", + "score": 0.023807864636182785 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 288840.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05127359926700592 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "boost", + "score": -0.12290338426828384 + }, + "else": { + "operation": "boost", + "score": -0.004233391024172306 + } + } + }, + "else": { + "operation": "boost", + "score": -0.4677855372428894 + } + }, + "else": { + "operation": "boost", + "score": 0.040179044008255005 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.049297481775283813 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.09925256669521332 + }, + "else": { + "operation": "boost", + "score": -0.6126480102539062 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 212125.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234371.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10898908972740173 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.04894235357642174 + }, + "else": { + "operation": "boost", + "score": 0.00706545589491725 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.08303964138031006 + }, + "else": { + "operation": "boost", + "score": -0.055788129568099976 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.9263914227485657 + }, + "else": { + "operation": "boost", + "score": -0.18643558025360107 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.025747383013367653 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "boost", + "score": -2.9813332557678223 + }, + "else": { + "operation": "boost", + "score": -0.14915108680725098 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 167779.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174936.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11248033493757248 - }, - "else": { - "operation": "boost", - "score": 0.08278429508209229 - } + "operation": "boost", + "score": 0.15678027272224426 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.08625992387533188 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10021056979894638 - }, - "else": { - "operation": "boost", - "score": -0.13504257798194885 - } - } + "operation": "boost", + "score": 0.21214967966079712 } }, "else": { "operation": "boost", - "score": -0.11275064200162888 + "score": 0.12414222955703735 } + }, + "else": { + "operation": "boost", + "score": -0.15658767521381378 } }, "else": { + "operation": "boost", + "score": -0.16265924274921417 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.06537684798240662 + }, + "else": { + "operation": "boost", + "score": 0.0284457728266716 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 154962.0, + "then": { + "operation": "boost", + "score": -0.1794997602701187 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { + "operation": "boost", + "score": 0.0020165604073554277 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16206.0, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.015186401084065437 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3077.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3241.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1224.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7547.0, + "threshold": 1364.5, "then": { + "operation": "boost", + "score": 0.013017409481108189 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8723.5, + "threshold": 1336.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15623.0, + "threshold": 1339.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.06744208186864853 - }, - "else": { - "operation": "boost", - "score": 0.09837590903043747 - } + "operation": "boost", + "score": 0.059716127812862396 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12655.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.09536238759756088 - }, - "else": { - "operation": "boost", - "score": 0.11772077530622482 - } - }, - "else": { - "operation": "boost", - "score": 0.0725005716085434 - } - }, - "else": { - "operation": "boost", - "score": 0.00909400638192892 - } - }, - "else": { - "operation": "boost", - "score": -0.456790030002594 - } + "operation": "boost", + "score": 0.14516830444335938 } }, "else": { + "operation": "boost", + "score": 0.12174196541309357 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9411.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10351.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11081.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12315937131643295 - }, - "else": { - "operation": "boost", - "score": 0.0365569181740284 - } - }, - "else": { - "operation": "boost", - "score": 0.12419524043798447 - } + "operation": "boost", + "score": 0.10175497829914093 }, "else": { "operation": "boost", - "score": -0.21692651510238647 + "score": 0.32659679651260376 } }, "else": { "operation": "boost", - "score": 0.21156983077526093 + "score": 0.039183177053928375 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10027.0, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { - "operation": "boost", - "score": -0.013140657916665077 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": -0.0010570194572210312 + }, + "else": { + "operation": "boost", + "score": 0.12507176399230957 + } }, "else": { - "operation": "boost", - "score": 0.12608960270881653 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1288.5, + "then": { + "operation": "boost", + "score": -0.10358240455389023 + }, + "else": { + "operation": "boost", + "score": 0.08781860023736954 + } } } + }, + "else": { + "operation": "boost", + "score": -0.03257418051362038 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8573.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { "operation": "boost", - "score": 0.12676191329956055 + "score": -0.08802974224090576 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10238771885633469 - }, - "else": { - "operation": "boost", - "score": 0.024583935737609863 - } + "operation": "boost", + "score": -0.00863630324602127 } + }, + "else": { + "operation": "boost", + "score": -0.06784844398498535 } }, + "else": { + "operation": "boost", + "score": 0.0062681264244019985 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, + "then": { + "operation": "boost", + "score": 0.012637274339795113 + }, + "else": { + "operation": "boost", + "score": -1.3456543684005737 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83772.5, + "then": { + "operation": "boost", + "score": 0.06677619367837906 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01570790633559227 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11159.0, + "then": { + "operation": "boost", + "score": -0.06605308502912521 + }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 11000.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.49200573563575745 - }, - "else": { - "operation": "boost", - "score": 0.08858934789896011 - } + "operation": "boost", + "score": 0.1230374276638031 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 10549.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5179.0, + "threshold": 10721.5, "then": { "operation": "boost", - "score": 0.10608009248971939 + "score": -0.04559123516082764 }, "else": { "operation": "boost", - "score": -0.0396004393696785 + "score": 0.20249083638191223 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.0878758355975151 - }, - "else": { - "operation": "boost", - "score": -0.32799896597862244 - } + "operation": "boost", + "score": -0.013822401873767376 } } } - }, - "else": { - "operation": "boost", - "score": -0.12173125147819519 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.006111096125096083 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { - "operation": "boost", - "score": -0.0005644728662446141 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.06946773827075958 + }, + "else": { + "operation": "boost", + "score": -0.11717040091753006 + } }, "else": { "operation": "boost", - "score": 0.110181525349617 + "score": -0.018566399812698364 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1924.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.08519161492586136 - }, - "else": { - "operation": "boost", - "score": -0.4578133225440979 - } - }, - "else": { - "operation": "boost", - "score": -0.0020619460847228765 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.023433450609445572 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97230.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297854.5, - "then": { - "operation": "boost", - "score": 0.009944423101842403 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.11291659623384476 - }, - "else": { - "operation": "boost", - "score": -0.003990662284195423 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3307.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.22123268246650696 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8460.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15079.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "boost", - "score": -0.08583353459835052 + "score": 0.026064207777380943 }, "else": { - "operation": "boost", - "score": 0.10599585622549057 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.15917040407657623 + }, + "else": { + "operation": "boost", + "score": 0.0928230732679367 + } } }, "else": { "operation": "boost", - "score": 0.10744485259056091 + "score": -0.277998149394989 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": -0.1377376914024353 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.09362412244081497 + }, + "else": { + "operation": "boost", + "score": 0.01554340124130249 + } + }, + "else": { + "operation": "boost", + "score": 0.050160326063632965 + } }, "else": { - "operation": "boost", - "score": 0.10093948245048523 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.3171694874763489 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.06073678657412529 + }, + "else": { + "operation": "boost", + "score": 0.17793823778629303 + } + } } } }, "else": { - "operation": "boost", - "score": -0.12418938428163528 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.03395109251141548 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": -0.006013157777488232 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.0771440863609314 + }, + "else": { + "operation": "boost", + "score": 0.13262681663036346 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.09401166439056396 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.13829660415649414 + }, + "else": { + "operation": "boost", + "score": -0.17314067482948303 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.07054900377988815 + }, + "else": { + "operation": "boost", + "score": -0.26061660051345825 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3679274618625641 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.050757091492414474 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.380952388048172, + "then": { + "operation": "boost", + "score": 0.12536020576953888 + }, + "else": { + "operation": "boost", + "score": 0.06086626648902893 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "boost", + "score": -0.12488644570112228 + }, + "else": { + "operation": "boost", + "score": -0.0019431646214798093 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.026861920952796936 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.25796881318092346 + }, + "else": { + "operation": "boost", + "score": 0.14007917046546936 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.033066824078559875 + }, + "else": { + "operation": "boost", + "score": -0.07738576084375381 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.09093592315912247 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.08745656907558441 + }, + "else": { + "operation": "boost", + "score": 0.009476685896515846 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.022766586393117905 + }, + "else": { + "operation": "boost", + "score": -0.17430199682712555 + } + } + }, + "else": { + "operation": "boost", + "score": -0.26415854692459106 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019531385973095894 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": -0.07001537084579468 + }, + "else": { + "operation": "boost", + "score": 0.0038421000353991985 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.06479347497224808 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.010693583637475967 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10651059448719025 + }, + "else": { + "operation": "boost", + "score": -0.03686126321554184 + } + } + }, + "else": { + "operation": "boost", + "score": -0.026678450405597687 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00222615129314363 + } } - }, - "else": { - "operation": "boost", - "score": -0.03129902482032776 } } + } + }, + "else": { + "operation": "boost", + "score": -0.0009195612510666251 + } + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.09286915510892868 }, "else": { "operation": "boost", - "score": -0.36273595690727234 + "score": 0.027495920658111572 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3012.5, + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10072321444749832 - }, - "else": { - "operation": "boost", - "score": 0.11206661909818649 - } + "operation": "boost", + "score": -0.09614996612071991 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.02224471978843212 - }, - "else": { - "operation": "boost", - "score": 0.09872609376907349 - } - }, - "else": { - "operation": "boost", - "score": -0.28760671615600586 - } + "operation": "boost", + "score": 0.000481467111967504 } } + }, + "else": { + "operation": "boost", + "score": 0.023681387305259705 } + }, + "else": { + "operation": "boost", + "score": 0.008009188808500767 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": 0.008648165501654148 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7096.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0075153508223593235 + "score": 0.020054398104548454 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6621.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6689.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04141784831881523 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12381886690855026 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08189953118562698 - }, - "else": { - "operation": "boost", - "score": 0.156267449259758 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11177241802215576 - } - }, - "else": { - "operation": "boost", - "score": -0.22629715502262115 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.2537690997123718 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08836069703102112 - }, - "else": { - "operation": "boost", - "score": 0.11417999863624573 - } - }, - "else": { - "operation": "boost", - "score": 0.0992313027381897 - } - } - } + "operation": "boost", + "score": -0.0816180482506752 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1910.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09768825769424438 - }, - "else": { - "operation": "boost", - "score": -0.07947573065757751 - } - }, - "else": { - "operation": "boost", - "score": 0.09178287535905838 - } - }, - "else": { - "operation": "boost", - "score": -0.010136459954082966 - } + "operation": "boost", + "score": -0.3995767831802368 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6320.5, - "then": { - "operation": "boost", - "score": -0.17485187947750092 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6177.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6281.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.12248887866735458 - }, - "else": { - "operation": "boost", - "score": -0.2586263120174408 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.14443339407444 - }, - "else": { - "operation": "boost", - "score": 0.11928705126047134 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05872621387243271 - }, - "else": { - "operation": "boost", - "score": -0.011604161001741886 - } - } - } + "operation": "boost", + "score": -0.18157629668712616 } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.01694960705935955 + "score": 0.1310470849275589 }, "else": { "operation": "boost", - "score": -0.1018514633178711 + "score": 0.07232290506362915 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19542.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22160.0, - "then": { - "operation": "boost", - "score": 0.02631274238228798 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21951.5, - "then": { - "operation": "boost", - "score": 0.11058309674263 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.08095669001340866 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1263469159603119 - }, - "else": { - "operation": "boost", - "score": 0.13274185359477997 - } - } - } - } + "operation": "boost", + "score": 0.040696825832128525 }, "else": { "operation": "boost", - "score": -0.03630350902676582 + "score": -0.06604741513729095 } } } + }, + "else": { + "operation": "boost", + "score": -0.017664430662989616 } - }, - "else": { - "operation": "boost", - "score": -0.0008764003869146109 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { + "operation": "boost", + "score": 0.0008352893637493253 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.16526784002780914 + "score": -0.032982807606458664 }, "else": { - "operation": "boost", - "score": -0.10025670379400253 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11328276991844177 + }, + "else": { + "operation": "boost", + "score": -0.11357630789279938 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.007845213636755943 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": -0.008875560015439987 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0030543310567736626 + }, + "else": { + "operation": "boost", + "score": 0.139981210231781 + } + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.05979115515947342 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.021171920001506805 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.04074990004301071 + }, + "else": { + "operation": "boost", + "score": 0.1827218383550644 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11154.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.05268778279423714 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.5868790149688721 + "score": 0.07657919079065323 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, "then": { + "operation": "boost", + "score": 0.006924634333699942 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32501.5, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59115.0, - "then": { - "operation": "boost", - "score": 0.054706476628780365 - }, - "else": { - "operation": "boost", - "score": 0.419765442609787 - } + "operation": "boost", + "score": 0.16306638717651367 }, "else": { "operation": "boost", - "score": -0.11830008774995804 + "score": 0.1575450450181961 } - }, - "else": { - "operation": "boost", - "score": -0.24613913893699646 } } - }, - "else": { - "operation": "boost", - "score": -0.03697730600833893 } }, "else": { "operation": "boost", - "score": 0.004319565370678902 + "score": 0.041928380727767944 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11467.0, + "operation": "boost", + "score": 0.010201769880950451 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 246961.5, + "feature": "FractionNameInContext", + "threshold": 0.02500000037252903, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "boost", - "score": -0.0015927581116557121 - }, - "else": { - "operation": "boost", - "score": -0.13022339344024658 - } + "operation": "boost", + "score": 0.02520165592432022 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11313435435295105 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "boost", - "score": 0.0888710767030716 - }, - "else": { - "operation": "boost", - "score": 0.0 - } - } + "operation": "boost", + "score": 0.07499300688505173 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_DotMemberAccess" ], "then": { + "operation": "boost", + "score": 0.09862474352121353 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08853618055582047 + "score": -0.06531242281198502 }, "else": { "operation": "boost", - "score": 0.01515953429043293 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35026.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49106.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.025004493072628975 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235506.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12144618481397629 - }, - "else": { - "operation": "boost", - "score": 0.047086089849472046 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68046.5, - "then": { - "operation": "boost", - "score": -0.054993342608213425 - }, - "else": { - "operation": "boost", - "score": 0.03089272603392601 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.060195621103048325 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1036667451262474 - }, - "else": { - "operation": "boost", - "score": -0.13745594024658203 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09394057840108871 - }, - "else": { - "operation": "boost", - "score": 0.04558630287647247 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35805.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.05410582199692726 - }, - "else": { - "operation": "boost", - "score": -0.015808967873454094 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.4619182050228119 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.10941547155380249 - }, - "else": { - "operation": "boost", - "score": -0.1744695007801056 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20345.0, - "then": { - "operation": "boost", - "score": -0.009794823825359344 - }, - "else": { - "operation": "boost", - "score": 0.047662053257226944 - } + "score": 0.00828090775758028 } } } }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007469095289707184 + }, + "else": { + "operation": "boost", + "score": -0.01963634043931961 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.001845017890445888 + }, + "else": { + "operation": "boost", + "score": 0.07878232002258301 + } + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11209.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.0029712512623518705 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11245.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12224394083023071 + "score": -0.024681296199560165 }, "else": { "operation": "boost", - "score": 0.11205390095710754 + "score": -0.05898601561784744 } - }, - "else": { - "operation": "boost", - "score": -0.018852047622203827 } }, "else": { "operation": "boost", - "score": 0.07511236518621445 + "score": -0.006331433542072773 } } } - }, - "else": { - "operation": "boost", - "score": -0.008900318294763565 } } } }, "else": { - "operation": "boost", - "score": -0.00042821592069230974 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, "then": { "operation": "boost", - "score": 0.0031968236435204744 + "score": -0.030434058979153633 }, "else": { + "operation": "boost", + "score": 0.004290095996111631 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.11576737463474274 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.23750607669353485 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "boost", - "score": 0.11682170629501343 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 25182.5, "then": { "operation": "boost", - "score": 0.06189655140042305 + "score": -0.14148543775081635 }, "else": { - "operation": "boost", - "score": 0.09105941653251648 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24136.5, + "then": { + "operation": "boost", + "score": 0.10371380299329758 + }, + "else": { + "operation": "boost", + "score": 0.1022026389837265 + } } }, "else": { "operation": "boost", - "score": 0.07927939295768738 + "score": 0.013897761702537537 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0031387328635901213 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 316302.0, - "then": { - "operation": "boost", - "score": -0.10430265963077545 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91957.5, - "then": { - "operation": "boost", - "score": 0.11172571778297424 - }, - "else": { - "operation": "boost", - "score": 0.03660909831523895 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273295.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.029148252680897713 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11582732945680618 - }, - "else": { - "operation": "boost", - "score": 0.10153960436582565 - } - } - }, - "else": { - "operation": "boost", - "score": -0.011194456368684769 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.006998536642640829 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.02870822139084339 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.012672771699726582 + "score": 0.014270873740315437 }, "else": { + "operation": "boost", + "score": -0.002702693920582533 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148934.5, + "threshold": 57.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { "operation": "boost", - "score": 0.07635706663131714 + "score": 0.3645973801612854 }, "else": { "operation": "boost", - "score": 0.0882735624909401 + "score": -0.005081541370600462 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 56.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105656.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "boost", + "score": -0.1339842826128006 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.11586550623178482 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.17227940261363983 + }, + "else": { + "operation": "boost", + "score": 0.50511234998703 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.25701844692230225 + }, + "else": { + "operation": "boost", + "score": -0.10041157901287079 + } + } + }, + "else": { + "operation": "boost", + "score": 0.2852506935596466 + } + }, + "else": { + "operation": "boost", + "score": -0.028586482629179955 + } }, "else": { "operation": "boost", - "score": 0.11813091486692429 + "score": -0.10066299140453339 } - }, - "else": { - "operation": "boost", - "score": 0.12185724079608917 } }, "else": { "operation": "boost", - "score": 0.0 + "score": -0.10443184524774551 } }, "else": { "operation": "boost", - "score": 0.10252529382705688 + "score": 0.028022460639476776 } } + }, + "else": { + "operation": "boost", + "score": -0.03764724358916283 } } } }, "else": { "operation": "boost", - "score": -0.005846128799021244 + "score": 0.045905593782663345 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.016254259273409843 + }, + "else": { + "operation": "boost", + "score": 0.005370166152715683 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.24085503816604614 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12479384988546371 + }, + "else": { + "operation": "boost", + "score": 0.009173772297799587 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 64139.5, + "threshold": 55.5, + "then": { + "operation": "boost", + "score": -0.01786581613123417 + }, + "else": { + "operation": "boost", + "score": 0.06565792113542557 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 10.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06214151531457901 + }, + "else": { + "operation": "boost", + "score": -0.2430875599384308 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.03207132965326309 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.005190331023186445 + }, + "else": { + "operation": "boost", + "score": -0.15600553154945374 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0023001430090516806 + }, + "else": { + "operation": "boost", + "score": -0.023341331630945206 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06265182793140411 + }, + "else": { + "operation": "boost", + "score": 0.009522300213575363 + } + }, + "else": { + "operation": "boost", + "score": -0.017819661647081375 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03679153323173523 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 357084.0, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.026201358065009117 - }, - "else": { - "operation": "boost", - "score": 0.12890005111694336 - } + "operation": "boost", + "score": 0.08574125915765762 }, "else": { "operation": "boost", - "score": 0.05674722418189049 + "score": 0.021164949983358383 } }, "else": { "operation": "boost", - "score": -0.5708135366439819 + "score": -0.05994950979948044 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": -0.08644241839647293 + }, + "else": { + "operation": "boost", + "score": -0.05428055673837662 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "boost", - "score": 0.021760890260338783 + "score": 0.04010468348860741 }, "else": { + "operation": "boost", + "score": 0.08430734276771545 + } + }, + "else": { + "operation": "boost", + "score": 0.002899224404245615 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92148.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Statement", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": -0.0025724219158291817 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84493.0, + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.09958138316869736 - }, - "else": { - "operation": "boost", - "score": 0.10573632270097733 - } + "operation": "boost", + "score": -0.07187952846288681 }, "else": { "operation": "boost", - "score": -0.33176189661026 + "score": 0.011164703406393528 } + }, + "else": { + "operation": "boost", + "score": -0.00015802263806108385 } }, "else": { + "operation": "boost", + "score": -0.0016282513970509171 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0994798019528389 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91274.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.06207078695297241 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.3373187482357025 + }, + "else": { + "operation": "boost", + "score": 0.13854220509529114 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89308.5, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.12952488660812378 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.19773127138614655 + "score": 0.15374647080898285 }, "else": { "operation": "boost", - "score": -1.339017629623413 + "score": -0.12238463759422302 } - }, - "else": { - "operation": "boost", - "score": -0.15928514301776886 } } }, "else": { "operation": "boost", - "score": 0.08706644177436829 + "score": -0.1703130006790161 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "boost", + "score": 0.13117073476314545 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.16313962638378143 + }, + "else": { + "operation": "boost", + "score": 0.13418011367321014 + } + }, + "else": { + "operation": "boost", + "score": 0.05015811324119568 + } } } + }, + "else": { + "operation": "boost", + "score": -0.0024607849773019552 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.13961675763130188 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10793226957321167 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0513157919049263, + "then": { + "operation": "boost", + "score": 0.005401114467531443 + }, + "else": { + "operation": "boost", + "score": 0.08615967631340027 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12917102873325348 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08937536925077438 + }, + "else": { + "operation": "boost", + "score": -0.10623679310083389 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.043639909476041794 + }, + "else": { + "operation": "boost", + "score": 0.04368405044078827 + } + } }, "else": { "operation": "boost", - "score": 0.09354698657989502 + "score": 0.002396391471847892 } } + }, + "else": { + "operation": "boost", + "score": -0.024708887562155724 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55801.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "Function" ], - "then": { - "operation": "boost", - "score": -0.03007247857749462 - }, - "else": { - "operation": "boost", - "score": -1.0026590824127197 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.1161576509475708 - }, - "else": { - "operation": "boost", - "score": 0.0 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57410.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61155.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0008691111579537392 + }, + "else": { + "operation": "boost", + "score": 0.0887235477566719 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.5373157858848572 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": -0.043419815599918365 + }, + "else": { + "operation": "boost", + "score": 0.0038577918894588947 + } }, "else": { "operation": "boost", - "score": 0.07214666903018951 + "score": 0.033499203622341156 } }, "else": { "operation": "boost", - "score": -0.4123569130897522 + "score": 0.0011332364520058036 } - }, - "else": { - "operation": "boost", - "score": 0.0726114958524704 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": 0.00030285396496765316 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.09505528956651688 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.09085296839475632 + "score": 0.08449176698923111 }, "else": { "operation": "boost", - "score": 0.1108631044626236 + "score": -0.09203261882066727 } } - }, - "else": { - "operation": "boost", - "score": -0.14248675107955933 } - }, - "else": { - "operation": "boost", - "score": 0.10256428271532059 } } } }, "else": { "operation": "boost", - "score": 0.0011298932367935777 + "score": -0.0012676608748733997 } } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06323254108428955 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.009641560725867748 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.11703091859817505 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10824736952781677 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.030671533197164536 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04234400764107704 - }, - "else": { - "operation": "boost", - "score": 0.09311568737030029 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07041828334331512 - }, - "else": { - "operation": "boost", - "score": 0.08833277225494385 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47422.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.12724235653877258 - }, - "else": { - "operation": "boost", - "score": 0.10345248132944107 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.1290939301252365 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09878960996866226 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.11850730329751968 - }, - "else": { - "operation": "boost", - "score": 0.037374939769506454 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.08017653971910477 - } - } + "operation": "boost", + "score": -0.008171170018613338 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44315.0, + "threshold": 25461.0, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05206736922264099 - }, - "else": { - "operation": "boost", - "score": -0.04419560357928276 - } + "operation": "boost", + "score": 0.03282593935728073 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12249067425727844 - }, - "else": { - "operation": "boost", - "score": 0.11985214054584503 - } - }, - "else": { - "operation": "boost", - "score": -0.18622277677059174 - } + "operation": "boost", + "score": 0.005121679976582527 } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Operator", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.1044497862458229 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07870595902204514 - }, - "else": { - "operation": "boost", - "score": 0.08924318850040436 - } + "operation": "boost", + "score": 0.03520376607775688 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011937323957681656 - }, - "else": { - "operation": "boost", - "score": 0.0865081176161766 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -1.6316407918930054 - }, - "else": { - "operation": "boost", - "score": 0.015731364488601685 - } - } + "operation": "boost", + "score": 0.01252059917896986 } + }, + "else": { + "operation": "boost", + "score": -0.029805628582835197 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.08435622602701187 + "score": 0.039825793355703354 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { "operation": "boost", - "score": -0.20288318395614624 + "score": -0.02583404816687107 }, "else": { "operation": "boost", - "score": -0.11149334907531738 + "score": -0.0030483293812721968 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 298482.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 323356.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], + "operation": "boost", + "score": 0.012525311671197414 + }, + "else": { + "operation": "boost", + "score": -0.06752876192331314 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02777777798473835, "then": { + "operation": "boost", + "score": 0.0055870171636343 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.06758453696966171 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11679252237081528 - }, - "else": { - "operation": "boost", - "score": 0.07112911343574524 - } - }, - "else": { - "operation": "boost", - "score": 0.11729738116264343 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, - "then": { - "operation": "boost", - "score": 0.09245216101408005 - }, - "else": { - "operation": "boost", - "score": 0.05354776233434677 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005395282059907913 - }, - "else": { - "operation": "boost", - "score": 0.0669500082731247 - } - }, - "else": { - "operation": "boost", - "score": 0.029916971921920776 - } - } - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.010637683793902397 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10687302052974701 - }, - "else": { - "operation": "boost", - "score": -0.10210158675909042 - } - }, - "else": { - "operation": "boost", - "score": 0.0393209308385849 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.036748722195625305 + "score": 0.08800080418586731 }, "else": { "operation": "boost", - "score": 0.01648963987827301 + "score": 0.05600713565945625 } }, "else": { "operation": "boost", - "score": -0.006059628911316395 + "score": -0.3918980062007904 } }, "else": { "operation": "boost", - "score": -0.007189216557890177 + "score": 0.019029825925827026 } } }, "else": { + "operation": "boost", + "score": 0.008649935945868492 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.045755449682474136 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03216706961393356 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.11061164736747742 - }, - "else": { - "operation": "boost", - "score": 0.10858672857284546 - } - }, - "else": { - "operation": "boost", - "score": -0.11412868648767471 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.5043507218360901 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.28366467356681824 - }, - "else": { - "operation": "boost", - "score": 0.1412803828716278 - } - } - }, - "else": { - "operation": "boost", - "score": -0.051740024238824844 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.0388321653008461 - }, - "else": { - "operation": "boost", - "score": 0.11596714705228806 - } - }, - "else": { - "operation": "boost", - "score": 0.03850877657532692 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 310.5, - "then": { - "operation": "boost", - "score": -0.353045254945755 - }, - "else": { - "operation": "boost", - "score": 0.09848051518201828 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 542.0, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09602746367454529 - }, - "else": { - "operation": "boost", - "score": 0.036706626415252686 - } - }, - "else": { - "operation": "boost", - "score": -0.02724814973771572 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.028499925509095192 - } + "operation": "boost", + "score": -0.062454935163259506 }, "else": { "operation": "boost", - "score": -0.03353520855307579 + "score": 0.014387715607881546 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.004695481155067682 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.04848827049136162 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": -0.020928962156176567 + "score": 0.09567258507013321 }, "else": { "operation": "boost", - "score": -0.05109015852212906 + "score": -0.2281925529241562 } - }, - "else": { - "operation": "boost", - "score": 0.012342794798314571 } + }, + "else": { + "operation": "boost", + "score": -0.014199627563357353 } } - } - }, - "else": { - "operation": "boost", - "score": 0.0016324652824550867 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10826964676380157 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1218.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1281.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220295.0, + "threshold": 176731.0, "then": { "operation": "boost", - "score": -0.008704951964318752 + "score": -0.14830505847930908 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 199261.5, + "threshold": 167779.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.011301929131150246 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174936.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11028194427490234 - }, - "else": { - "operation": "boost", - "score": 0.07602708786725998 - } + "operation": "boost", + "score": 0.1854521781206131 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.01177476067095995 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.08857351541519165 - }, - "else": { - "operation": "boost", - "score": -0.10935313999652863 - } - } + "operation": "boost", + "score": 0.11996787786483765 } }, "else": { "operation": "boost", - "score": -0.11168895661830902 + "score": -0.15699340403079987 } + }, + "else": { + "operation": "boost", + "score": -0.15334628522396088 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.10989998281002045 + "score": 0.062156956642866135 }, "else": { "operation": "boost", - "score": -0.4644733667373657 + "score": 0.026721222326159477 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 154962.0, "then": { + "operation": "boost", + "score": -0.17112767696380615 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3276.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16206.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.016122203320264816 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.009192013181746006 + }, + "else": { + "operation": "boost", + "score": -0.027843095362186432 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7547.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8864.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15623.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09323175996541977 - }, - "else": { - "operation": "boost", - "score": -0.04582453891634941 - } - }, - "else": { - "operation": "boost", - "score": 0.1492459923028946 - } + "operation": "boost", + "score": 0.005708801560103893 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14426.0, - "then": { - "operation": "boost", - "score": 0.10967276990413666 - }, - "else": { - "operation": "boost", - "score": -0.09741710871458054 - } - }, - "else": { - "operation": "boost", - "score": 0.10972487926483154 - } - }, - "else": { - "operation": "boost", - "score": 0.017655562609434128 - } + "operation": "boost", + "score": 0.09980862587690353 }, "else": { - "operation": "boost", - "score": -0.32626086473464966 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.06665255129337311 + "score": 0.012668165378272533 }, "else": { - "operation": "boost", - "score": 0.11762493848800659 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10335.0, + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11081.5, - "then": { - "operation": "boost", - "score": 0.07960418611764908 - }, - "else": { - "operation": "boost", - "score": 0.11455902457237244 - } + "operation": "boost", + "score": 0.14625266194343567 }, "else": { "operation": "boost", - "score": -0.13755103945732117 + "score": -0.10804992914199829 } - }, - "else": { - "operation": "boost", - "score": -0.1986933946609497 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.04892431199550629 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8541.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8751.0, - "then": { - "operation": "boost", - "score": 0.19068880379199982 - }, - "else": { - "operation": "boost", - "score": 0.11930481344461441 - } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.10545933246612549 + "score": -8.06388197815977e-05 }, "else": { "operation": "boost", - "score": -0.10463829338550568 + "score": -0.12631574273109436 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5179.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11690125614404678 - }, - "else": { - "operation": "boost", - "score": -0.33211246132850647 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.07057030498981476 - }, - "else": { - "operation": "boost", - "score": -0.34772634506225586 - } - } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.08768144994974136 + "score": -0.009838273748755455 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 79.5, "then": { "operation": "boost", - "score": 0.07646144926548004 + "score": 0.09892338514328003 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Namespace" ], "then": { "operation": "boost", - "score": 0.13132257759571075 + "score": 0.08900832384824753 }, "else": { "operation": "boost", - "score": -0.2293570637702942 + "score": 0.025739239528775215 } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118314.0, - "then": { - "operation": "boost", - "score": -0.3870544731616974 - }, - "else": { - "operation": "boost", - "score": 0.09298044443130493 - } - }, - "else": { - "operation": "boost", - "score": 0.10423695296049118 - } - }, - "else": { - "operation": "boost", - "score": 0.016751401126384735 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6323.5, - "then": { - "operation": "boost", - "score": -0.045857418328523636 - }, - "else": { - "operation": "boost", - "score": 0.11701828241348267 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3190.5, - "then": { - "operation": "boost", - "score": 0.11573760211467743 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.054252319037914276 }, "else": { - "operation": "boost", - "score": 0.10734126716852188 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1412.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.10070933401584625 - }, - "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2650.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.09080558270215988 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": -0.051836807280778885 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": 0.03613264113664627 + }, + "else": { + "operation": "boost", + "score": 0.07986775785684586 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.03503278270363808 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.10757601261138916 + }, + "else": { + "operation": "boost", + "score": 0.0169691052287817 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "boost", + "score": -0.3838501572608948 + }, + "else": { + "operation": "boost", + "score": -0.030836978927254677 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.03592551127076149 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.12966497242450714 + }, + "else": { + "operation": "boost", + "score": 0.1274782419204712 + } + } + }, + "else": { + "operation": "boost", + "score": 0.028455030173063278 + } + }, + "else": { + "operation": "boost", + "score": 0.0037569531705230474 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.875, + "then": { + "operation": "boost", + "score": -1.1428340673446655 + }, + "else": { + "operation": "boost", + "score": 0.023978471755981445 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.003662084462121129 + }, + "else": { + "operation": "boost", + "score": 0.013937020674347878 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.011647670529782772 + }, + "else": { + "operation": "boost", + "score": -0.008839498274028301 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0999378189444542 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.1935093104839325 + }, + "else": { + "operation": "boost", + "score": 0.004922173451632261 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 585.0, + "then": { + "operation": "boost", + "score": -0.05425964668393135 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.036123186349868774 + }, + "else": { + "operation": "boost", + "score": 0.0033825356513261795 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0367475263774395 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1552.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "boost", + "score": 0.03078865446150303 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.008712214417755604 + }, + "else": { + "operation": "boost", + "score": 0.011979651637375355 + } + }, + "else": { "operation": "boost", - "score": 0.09222908318042755 + "score": -0.03879965469241142 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.03866586461663246 + }, + "else": { + "operation": "boost", + "score": 0.21009798347949982 + } }, "else": { "operation": "boost", - "score": -0.4852878749370575 + "score": 0.0920775905251503 } }, "else": { "operation": "boost", - "score": 0.08948439359664917 + "score": 0.2428063303232193 } + }, + "else": { + "operation": "boost", + "score": -0.015272408723831177 } } }, "else": { - "operation": "boost", - "score": -0.14003242552280426 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.013968360610306263 - }, - "else": { - "operation": "boost", - "score": 0.13165409862995148 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.019037822261452675 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15033.0, + "then": { + "operation": "boost", + "score": -0.3102653920650482 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 824.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 925.5, + "then": { + "operation": "boost", + "score": 0.09754913300275803 + }, + "else": { + "operation": "boost", + "score": 0.11485476791858673 + } + }, + "else": { + "operation": "boost", + "score": 0.09894561022520065 + } + } + }, + "else": { + "operation": "boost", + "score": -0.004776382818818092 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03008529543876648 + } + }, + "else": { + "operation": "boost", + "score": -0.016756586730480194 + } + }, + "else": { + "operation": "boost", + "score": -0.029727621003985405 + } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27418.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09775163233280182 - }, - "else": { - "operation": "boost", - "score": -0.006122308317571878 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.5915963053703308 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6676.0, "then": { + "operation": "boost", + "score": -0.046208929270505905 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 43.5, "then": { "operation": "boost", - "score": -0.1828291118144989 + "score": 0.021248159930109978 }, "else": { - "operation": "boost", - "score": 0.06978033483028412 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": -0.029695043340325356 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.039023395627737045 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.06486136466264725 + }, + "else": { + "operation": "boost", + "score": 0.008362199179828167 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.11808965355157852 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "boost", + "score": -0.34527185559272766 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.17559465765953064 + }, + "else": { + "operation": "boost", + "score": 0.049269113689661026 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012102169916033745 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0062373545952141285 + } + } } - }, - "else": { - "operation": "boost", - "score": -0.10918290913105011 } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1262.0, - "then": { - "operation": "boost", - "score": 0.11337955296039581 - }, - "else": { - "operation": "boost", - "score": -0.007321703247725964 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15389.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16186.5, - "then": { - "operation": "boost", - "score": 0.007990623824298382 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11422690749168396 - }, - "else": { - "operation": "boost", - "score": -0.17053577303886414 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15147.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10875902324914932 - }, - "else": { - "operation": "boost", - "score": -0.47266438603401184 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5568.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7038.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 189.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9380.5, + "threshold": 54764.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14492.5, - "then": { - "operation": "boost", - "score": 0.2626827359199524 - }, - "else": { - "operation": "boost", - "score": -0.0109843909740448 - } + "operation": "boost", + "score": -0.047405071556568146 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8213.5, + "threshold": 43319.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8463.0, + "threshold": 45000.0, "then": { + "operation": "boost", + "score": 0.02398291788995266 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { - "operation": "boost", - "score": 0.11061551421880722 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.147505521774292 + }, + "else": { + "operation": "boost", + "score": 0.10074900835752487 + } }, "else": { "operation": "boost", - "score": 0.04608540236949921 + "score": 0.09507540613412857 } - }, - "else": { - "operation": "boost", - "score": 0.12284234166145325 } }, "else": { "operation": "boost", - "score": 0.008043241687119007 + "score": -0.003674954641610384 } } }, "else": { - "operation": "boost", - "score": 0.1343103051185608 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10848.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 96602.0, "then": { - "operation": "boost", - "score": -0.06191421300172806 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11514.0, + "threshold": 99880.5, "then": { - "operation": "boost", - "score": 0.02796105109155178 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassStructUnion", "CCC_Statement" ], "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.41116416454315186 + }, + "else": { + "operation": "boost", + "score": 0.10943222045898438 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.10387858748435974 + }, + "else": { + "operation": "boost", + "score": -0.0863095372915268 + } + } + }, + "else": { "operation": "boost", - "score": 0.11661145091056824 + "score": 0.004510982893407345 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98110.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.05871541053056717 + }, + "else": { + "operation": "boost", + "score": 0.11790791153907776 + } }, "else": { "operation": "boost", - "score": 0.0534478984773159 + "score": 0.05048010125756264 } } - } - }, - "else": { - "operation": "boost", - "score": -0.10813019424676895 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6621.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1207791268825531 }, "else": { - "operation": "boost", - "score": 0.01408098079264164 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.010923215188086033 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], "then": { "operation": "boost", - "score": -0.3721252679824829 + "score": 0.17252491414546967 }, "else": { "operation": "boost", - "score": 0.12863479554653168 + "score": -0.009450162760913372 } - }, - "else": { - "operation": "boost", - "score": 0.11108825355768204 } - }, - "else": { - "operation": "boost", - "score": 0.0926036536693573 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6302.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.09849909693002701 + "score": 0.0010435703443363309 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6177.0, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.09374995529651642 - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.1379217803478241 + "score": 0.005231150425970554 }, "else": { "operation": "boost", - "score": 0.1278751939535141 + "score": -0.031976114958524704 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.027932848781347275 + "score": 0.0029480610974133015 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5582.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "boost", + "score": 0.04318183660507202 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": -0.02970573492348194 + "score": 0.08605500310659409 }, "else": { "operation": "boost", - "score": 0.09860433638095856 + "score": 0.018394984304904938 } - }, - "else": { - "operation": "boost", - "score": 0.12342137843370438 } } - }, - "else": { - "operation": "boost", - "score": -0.3841574788093567 } + }, + "else": { + "operation": "boost", + "score": -0.0036205248907208443 } } } } + } + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10620300471782684, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.009012590162456036 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.07578504830598831 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2801.5, - "then": { - "operation": "boost", - "score": -0.10161072760820389 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.027173152193427086 - }, - "else": { - "operation": "boost", - "score": 0.08242220431566238 - } - } - }, - "else": { - "operation": "boost", - "score": 0.004004596266895533 - } + "operation": "boost", + "score": 0.16641996800899506 } + }, + "else": { + "operation": "boost", + "score": 0.03728919476270676 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.16228070855140686, "then": { + "operation": "boost", + "score": 0.00473210122436285 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.015766194090247154 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.051270533353090286 + }, + "else": { + "operation": "boost", + "score": 0.03306911513209343 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1523.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.08928769081830978 + "score": 0.028130805119872093 }, "else": { - "operation": "boost", - "score": 0.4993419945240021 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0648089051246643 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.10035045444965363 + }, + "else": { + "operation": "boost", + "score": -0.3617297410964966 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.0055969152599573135 } } - } - }, - "else": { - "operation": "boost", - "score": -0.0008257136796601117 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.020519327372312546 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1229.0, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11154.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11627.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 200884.5, + "threshold": 191.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220112.0, + "threshold": 1083.0, "then": { "operation": "boost", - "score": -0.03218185901641846 + "score": -0.10600259900093079 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.0629882737994194 - }, - "else": { - "operation": "boost", - "score": 0.017192553728818893 - } - }, - "else": { - "operation": "boost", - "score": 0.08766001462936401 - } + "operation": "boost", + "score": 0.11972405761480331 } }, "else": { - "operation": "boost", - "score": -0.008167708292603493 - } - }, - "else": { - "operation": "boost", - "score": 0.014748482033610344 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.1428690403699875 + "score": -0.14173394441604614 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11437.5, + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.14027822017669678 + "score": -0.019295549020171165 }, "else": { "operation": "boost", - "score": 0.11547777056694031 + "score": 0.08350656181573868 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07201504707336426 - }, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.09122568368911743 + }, + "else": { + "operation": "boost", + "score": 0.030140165239572525 + } + }, + "else": { + "operation": "boost", + "score": 0.040103986859321594 + } + }, "else": { "operation": "boost", - "score": 0.11942022293806076 + "score": 0.018124481663107872 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.01051932293921709 + }, + "else": { + "operation": "boost", + "score": -0.08909133076667786 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1009778380393982 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.004479991737753153 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.054407548159360886 + "score": 0.009989823214709759 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.125668004155159 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": 0.04886525496840477 + }, + "else": { + "operation": "boost", + "score": 0.10923245549201965 + } }, "else": { "operation": "boost", - "score": -0.10242967307567596 + "score": 0.024154115468263626 } } } - }, - "else": { - "operation": "boost", - "score": 0.059664372354745865 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0640927329659462 - }, - "else": { - "operation": "boost", - "score": -0.007081388961523771 - } + "operation": "boost", + "score": -0.014968397095799446 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.2691657841205597 - }, - "else": { - "operation": "boost", - "score": 0.11860248446464539 - } + "operation": "boost", + "score": 0.001687230309471488 }, "else": { "operation": "boost", - "score": -0.006162066012620926 + "score": -0.28885239362716675 } } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], "then": { "operation": "boost", - "score": -0.27344807982444763 + "score": 0.01669999025762081 }, "else": { "operation": "boost", - "score": -0.03851437568664551 + "score": 0.011055567301809788 } } - } - }, - "else": { - "operation": "boost", - "score": -0.00042195606511086226 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1218.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" + "Constructor", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1412.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1097826138138771 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": -0.010568870231509209 + "score": -0.024325914680957794 }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.06748930364847183 + }, + "else": { + "operation": "boost", + "score": 0.01676822267472744 + } + }, + "else": { + "operation": "boost", + "score": 0.0685146227478981 + } + } + }, + "else": { + "operation": "boost", + "score": 0.011465790681540966 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0015367245068773627 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1224.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.005571965128183365 + }, + "else": { + "operation": "boost", + "score": 0.01648169942200184 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.0534038320183754 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 199261.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.010368632152676582 + "score": 0.1231025978922844 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10320820659399033 - }, - "else": { - "operation": "boost", - "score": 0.06999590247869492 - } - }, - "else": { - "operation": "boost", - "score": 0.07081490755081177 - } + "operation": "boost", + "score": -0.2500298321247101 }, "else": { "operation": "boost", - "score": -0.10998524725437164 + "score": 0.1041010394692421 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "boost", + "score": -0.03203093260526657 + } + }, + "else": { + "operation": "boost", + "score": -0.05250578746199608 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00014682057371828705 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11829.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12172.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.002054353477433324 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13650.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18485.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18526.5, + "then": { + "operation": "boost", + "score": 0.011814051307737827 + }, + "else": { + "operation": "boost", + "score": 0.11481445282697678 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.19343028962612152 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16911.5, "then": { + "operation": "boost", + "score": -0.07780119776725769 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16206.0, + "threshold": 14800.5, "then": { - "operation": "boost", - "score": 0.014122436754405499 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3077.0, + "threshold": 14962.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15358.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3245.5, + "threshold": 15450.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8573.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8751.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.067222461104393 - }, - "else": { - "operation": "boost", - "score": -0.6365578174591064 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.018619831651449203 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10039.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10335.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13972.0, - "then": { - "operation": "boost", - "score": 0.09913081675767899 - }, - "else": { - "operation": "boost", - "score": 0.11273717880249023 - } - }, - "else": { - "operation": "boost", - "score": 0.1667923629283905 - } - }, - "else": { - "operation": "boost", - "score": -0.015171959064900875 - } - }, - "else": { - "operation": "boost", - "score": 0.03591826558113098 - } - }, - "else": { - "operation": "boost", - "score": 0.15832959115505219 - } - }, - "else": { - "operation": "boost", - "score": 0.003369174199178815 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.12076948583126068 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08747586607933044 - }, - "else": { - "operation": "boost", - "score": -0.023540180176496506 - } - } + "operation": "boost", + "score": 0.03510923311114311 }, "else": { "operation": "boost", - "score": 0.10839946568012238 + "score": -0.13568419218063354 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5179.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15623.0, - "then": { - "operation": "boost", - "score": 0.09016694128513336 - }, - "else": { - "operation": "boost", - "score": 0.03660636022686958 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11081.5, - "then": { - "operation": "boost", - "score": 0.07388412952423096 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11368335038423538 - }, - "else": { - "operation": "boost", - "score": 0.11084918677806854 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4666.0, - "then": { - "operation": "boost", - "score": -0.18155404925346375 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.2758767902851105 - }, - "else": { - "operation": "boost", - "score": 0.10225287824869156 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09038937091827393 - }, - "else": { - "operation": "boost", - "score": -0.5527371764183044 - } - } + "operation": "boost", + "score": 0.08142557740211487 }, "else": { "operation": "boost", - "score": -0.26939353346824646 + "score": -0.27325403690338135 } } }, "else": { - "operation": "boost", - "score": -0.05693595111370087 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.20131392776966095 + }, + "else": { + "operation": "boost", + "score": 0.08810246735811234 + } } + }, + "else": { + "operation": "boost", + "score": -0.0720902755856514 } - }, - "else": { - "operation": "boost", - "score": -0.0178214143961668 } } } @@ -219453,3853 +214945,3920 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97230.0, + "threshold": 13630.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297854.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.009290046989917755 + "score": 0.016085416078567505 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10966179519891739 - }, - "else": { - "operation": "boost", - "score": 0.015091688372194767 - } + "operation": "boost", + "score": 0.2521989643573761 } }, + "else": { + "operation": "boost", + "score": 0.04938134551048279 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.12934063374996185 + }, + "else": { + "operation": "boost", + "score": 0.041772305965423584 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11376088857650757 + }, + "else": { + "operation": "boost", + "score": 0.025636153295636177 + } + }, + "else": { + "operation": "boost", + "score": -0.061221491545438766 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.13488057255744934 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3339.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04006079211831093 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28364.0, - "then": { - "operation": "boost", - "score": 0.11385613679885864 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13596.5, - "then": { - "operation": "boost", - "score": -0.08245706558227539 - }, - "else": { - "operation": "boost", - "score": 0.0924210399389267 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.03489059954881668 - }, - "else": { - "operation": "boost", - "score": -0.3764229118824005 - } - } + "operation": "boost", + "score": 0.12738056480884552 }, "else": { "operation": "boost", - "score": -0.044675879180431366 + "score": -0.10187295824289322 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3012.5, - "then": { - "operation": "boost", - "score": 0.11164921522140503 - }, - "else": { - "operation": "boost", - "score": -0.051036734133958817 - } + "operation": "boost", + "score": 0.28247615694999695 } }, "else": { "operation": "boost", - "score": -0.09845943003892899 + "score": 0.14037269353866577 } } + }, + "else": { + "operation": "boost", + "score": -0.07808146625757217 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "boost", - "score": 0.10087142884731293 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1241.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "boost", + "score": -0.10222488641738892 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.04386083409190178 + "score": -0.15014860033988953 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.13199765980243683 - }, - "else": { - "operation": "boost", - "score": 0.05986804515123367 - } + "operation": "boost", + "score": 0.3932572305202484 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.1575687974691391 }, "else": { "operation": "boost", - "score": -0.5676220655441284 + "score": 0.0875566229224205 } } } }, "else": { + "operation": "boost", + "score": 0.0906510278582573 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10512.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15389.0, + "threshold": 11245.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15677.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16048.5, + "threshold": 11730.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16186.5, - "then": { - "operation": "boost", - "score": 0.0067606340162456036 - }, - "else": { - "operation": "boost", - "score": -0.5501658320426941 - } + "operation": "boost", + "score": -0.2786402106285095 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11572.0, "then": { - "operation": "boost", - "score": 0.14526315033435822 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11605.0, + "then": { + "operation": "boost", + "score": 0.07665982842445374 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.185525044798851 + }, + "else": { + "operation": "boost", + "score": 0.11998668313026428 + } + } }, "else": { "operation": "boost", - "score": 0.10530756413936615 + "score": 0.08909127116203308 } } }, "else": { - "operation": "boost", - "score": -0.12980377674102783 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15147.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 11627.5, "then": { + "operation": "boost", + "score": -0.14138123393058777 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11605.0, "then": { - "operation": "boost", - "score": 0.11995341628789902 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15252.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13531288504600525 + "score": 0.12827938795089722 }, "else": { "operation": "boost", - "score": 0.10243038088083267 + "score": -0.13515648245811462 } }, "else": { "operation": "boost", - "score": 0.0552336685359478 + "score": 0.13916945457458496 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.11323276162147522 + }, + "else": { + "operation": "boost", + "score": 0.0600319504737854 } } - }, - "else": { - "operation": "boost", - "score": -0.42250627279281616 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5568.0, + } + }, + "else": { + "operation": "boost", + "score": -0.008823790587484837 + } + }, + "else": { + "operation": "boost", + "score": -0.07144328206777573 + } + }, + "else": { + "operation": "boost", + "score": -0.08307166397571564 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2396.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2397.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7038.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6508.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 6676.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 7834.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9362.5, + "threshold": 7846.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.0805388018488884 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 8476.5, "then": { "operation": "boost", - "score": -0.13663876056671143 + "score": -0.07034026831388474 }, "else": { "operation": "boost", - "score": 0.11420410871505737 + "score": 0.15283505618572235 } }, "else": { - "operation": "boost", - "score": -0.2381414771080017 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8213.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8463.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.10750889778137207 + "score": -0.2825421392917633 }, "else": { "operation": "boost", - "score": 0.1130535900592804 + "score": 0.10333261638879776 } - }, - "else": { - "operation": "boost", - "score": 0.12007655948400497 } }, "else": { "operation": "boost", - "score": 0.036398403346538544 + "score": -0.024335039779543877 } + }, + "else": { + "operation": "boost", + "score": 0.1718910187482834 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12942.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09332545846700668 - }, - "else": { - "operation": "boost", - "score": 0.15868628025054932 - } + "operation": "boost", + "score": -0.1551261693239212 }, "else": { "operation": "boost", - "score": -0.0849306508898735 + "score": 0.028165610507130623 } } }, "else": { - "operation": "boost", - "score": -0.051854945719242096 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6635.5, + "then": { + "operation": "boost", + "score": 0.12045002728700638 + }, + "else": { + "operation": "boost", + "score": 0.08733866363763809 + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10848.5, + "threshold": 3189.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12625.5, - "then": { - "operation": "boost", - "score": -0.15186850726604462 - }, - "else": { - "operation": "boost", - "score": 0.1317007690668106 - } - }, - "else": { - "operation": "boost", - "score": -0.1275799721479416 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11514.0, + "threshold": 4141.5, "then": { "operation": "boost", - "score": 0.028243685141205788 + "score": 0.009899797849357128 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.11591194570064545 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4090.5, + "then": { + "operation": "boost", + "score": -0.7415831685066223 + }, + "else": { + "operation": "boost", + "score": -0.038219280540943146 + } }, "else": { "operation": "boost", - "score": 0.07089252024888992 + "score": -0.809259831905365 } } - } - }, - "else": { - "operation": "boost", - "score": -0.08801257610321045 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6621.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11828591674566269 - }, - "else": { - "operation": "boost", - "score": 0.012713182717561722 + }, + "else": { + "operation": "boost", + "score": 0.11855712532997131 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.23517397046089172 - }, - "else": { - "operation": "boost", - "score": 0.12789957225322723 - } - }, - "else": { - "operation": "boost", - "score": 0.11044429987668991 - } - }, - "else": { "operation": "boost", - "score": 0.08991661667823792 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6302.5, - "then": { - "operation": "boost", - "score": -0.07761339098215103 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6177.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09033427387475967 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.13722360134124756 - }, - "else": { - "operation": "boost", - "score": 0.1212383508682251 - } - } + "score": 0.00896071270108223 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5840.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.12434811145067215 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 2951.0, "then": { - "operation": "boost", - "score": 0.07736137509346008 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 2990.5, "then": { "operation": "boost", - "score": 0.11415122449398041 + "score": 0.18474960327148438 }, "else": { "operation": "boost", - "score": -0.017926031723618507 + "score": 0.11825201660394669 } + }, + "else": { + "operation": "boost", + "score": -0.028056994080543518 } + }, + "else": { + "operation": "boost", + "score": 0.06445629894733429 } } } } + }, + "else": { + "operation": "boost", + "score": 0.0132911941036582 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2801.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": -0.06340841948986053 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.10431721806526184 + "score": 0.13567376136779785 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 3505.0, "then": { "operation": "boost", - "score": 0.06437664479017258 + "score": -0.08502474427223206 }, "else": { "operation": "boost", - "score": -0.15359866619110107 + "score": 0.09739246964454651 } } + }, + "else": { + "operation": "boost", + "score": 0.02186526358127594 } }, "else": { "operation": "boost", - "score": 0.0035999994724988937 + "score": -0.028517000377178192 } } + }, + "else": { + "operation": "boost", + "score": -0.018801579251885414 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19126.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20562.0, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.01754256710410118 + "score": 0.16272012889385223 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.05572693794965744 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.12623336911201477 - }, - "else": { - "operation": "boost", - "score": 0.22298505902290344 - } - } + "operation": "boost", + "score": 0.09806791692972183 } - }, - "else": { - "operation": "boost", - "score": -0.03098749928176403 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0004321168817114085 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1220.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 7253.5, "then": { "operation": "boost", - "score": 0.0182010717689991 + "score": 0.07483997195959091 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6509.0, + "threshold": 5489.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9416.5, - "then": { - "operation": "boost", - "score": 0.030808184295892715 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6801.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8791.5, - "then": { - "operation": "boost", - "score": 0.1142587810754776 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11348212510347366 - }, - "else": { - "operation": "boost", - "score": 0.053836554288864136 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6955.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7447.5, - "then": { - "operation": "boost", - "score": 0.12353023141622543 - }, - "else": { - "operation": "boost", - "score": 0.14488574862480164 - } - }, - "else": { - "operation": "boost", - "score": -0.13919131457805634 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10202479362487793 - } - }, - "else": { - "operation": "boost", - "score": -0.07669851928949356 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06546502560377121 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.21894051134586334 - }, - "else": { - "operation": "boost", - "score": 0.10661926865577698 - } - } - } - } + "operation": "boost", + "score": -0.15188157558441162 }, "else": { "operation": "boost", - "score": 0.0155702019110322 + "score": 0.08883367478847504 } } - }, - "else": { - "operation": "boost", - "score": 0.00865729060024023 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.28740614652633667 - }, - "else": { - "operation": "boost", - "score": 0.10977301001548767 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.15687480568885803 - }, - "else": { - "operation": "boost", - "score": -0.044229377061128616 - } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13788878917694092 }, "else": { "operation": "boost", - "score": 0.010432755574584007 + "score": -0.0009379096445627511 } } } - }, - "else": { - "operation": "boost", - "score": -0.0004324068140704185 } }, { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" + "FunctionScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Function" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": -0.02714647725224495 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { - "operation": "boost", - "score": 0.06199165806174278 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { - "operation": "boost", - "score": 0.10187771916389465 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.093626469373703 + }, + "else": { + "operation": "boost", + "score": 0.028280165046453476 + } }, "else": { - "operation": "boost", - "score": 0.06210935115814209 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "boost", + "score": -0.08184418827295303 + }, + "else": { + "operation": "boost", + "score": -0.00216707494109869 + } } + }, + "else": { + "operation": "boost", + "score": 0.022379331290721893 } + }, + "else": { + "operation": "boost", + "score": 0.007241897284984589 } }, "else": { "operation": "boost", - "score": -0.03131107985973358 + "score": 0.008146225474774837 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.17711803317070007 + "score": 0.017873259261250496 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.13818764686584473 + "score": -0.07795758545398712 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10429204255342484 - }, - "else": { - "operation": "boost", - "score": -0.10709366202354431 - } + "operation": "boost", + "score": -0.21537581086158752 } } }, "else": { - "operation": "boost", - "score": -0.1524353176355362 - } - }, - "else": { - "operation": "boost", - "score": 0.05192564055323601 - } - } - }, - "else": { - "operation": "boost", - "score": 0.033103097230196 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.0013483952498063445 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Function" ], "then": { "operation": "boost", - "score": 0.0580025352537632 + "score": 0.12594151496887207 }, "else": { "operation": "boost", - "score": 0.03967678174376488 + "score": 0.05854054167866707 } }, "else": { - "operation": "boost", - "score": 0.03253020718693733 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.037353310734033585 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "boost", + "score": -0.3627298176288605 + }, + "else": { + "operation": "boost", + "score": -0.014377137646079063 + } + } } } }, "else": { "operation": "boost", - "score": -0.02659694291651249 + "score": -0.01556497160345316 } - }, - "else": { - "operation": "boost", - "score": -0.0037373239174485207 } }, "else": { - "operation": "boost", - "score": -0.03770482540130615 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", + "Keyword", + "Macro", "Operator", - "Unknown", - "Constructor", "Type", - "Namespace" + "Unknown", + "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "boost", + "score": -0.08049625903367996 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12274346500635147 - }, - "else": { - "operation": "boost", - "score": -0.007449039723724127 - } + "operation": "boost", + "score": 0.03618570417165756 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.14170248806476593 - }, - "else": { - "operation": "boost", - "score": 0.14193764328956604 - } - }, - "else": { - "operation": "boost", - "score": -0.02269809879362583 - } + "operation": "boost", + "score": -0.1150633916258812 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09780614078044891 - }, - "else": { - "operation": "boost", - "score": -0.10650908946990967 - } + "operation": "boost", + "score": 0.012298489920794964 } } }, "else": { - "operation": "boost", - "score": -0.06240458786487579 - } - }, - "else": { - "operation": "boost", - "score": 0.04550231248140335 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.021712908521294594 + "score": 0.008346511982381344 }, "else": { "operation": "boost", - "score": -0.042126815766096115 + "score": 0.01676233857870102 } - }, - "else": { - "operation": "boost", - "score": -0.1045341044664383 } - }, - "else": { - "operation": "boost", - "score": -0.0053535206243395805 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.013839613646268845 }, "else": { "operation": "boost", - "score": -0.5430564880371094 + "score": -0.001152299577370286 } + }, + "else": { + "operation": "boost", + "score": -0.035753872245550156 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.02430972270667553 + "score": 0.08456120640039444 }, "else": { - "operation": "boost", - "score": -0.05106306076049805 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "boost", + "score": -0.08859608322381973 + }, + "else": { + "operation": "boost", + "score": 0.006587623618543148 + } } }, "else": { "operation": "boost", - "score": -0.048281989991664886 + "score": -0.019357632845640182 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.04298819601535797 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_TopLevel", + "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09695927798748016 - }, - "else": { - "operation": "boost", - "score": 0.038582365959882736 - } + "operation": "boost", + "score": 0.05007888376712799 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "boost", + "score": 0.009852803312242031 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006353740114718676 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.09170985221862793 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.0021697371266782284 + }, + "else": { + "operation": "boost", + "score": 0.07546260952949524 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.0018510966328904033 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05527101457118988 - }, - "else": { - "operation": "boost", - "score": 0.06801344454288483 - } + "operation": "boost", + "score": -0.022814467549324036 }, "else": { "operation": "boost", - "score": 0.037394240498542786 + "score": -0.05351943522691727 } - }, - "else": { - "operation": "boost", - "score": 0.012754312716424465 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.03558293730020523 - }, - "else": { - "operation": "boost", - "score": 0.004017225932329893 - } + "operation": "boost", + "score": -0.005978669039905071 } } } - }, - "else": { - "operation": "boost", - "score": 0.003925848752260208 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "boost", - "score": 0.004229987505823374 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.13226400315761566 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.4277738332748413 + }, + "else": { + "operation": "boost", + "score": 0.11070432513952255 + } + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.8541666269302368, "then": { + "operation": "boost", + "score": -0.1619635969400406 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 622.0, + "threshold": 201.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 782.5, - "then": { - "operation": "boost", - "score": -0.06373970955610275 - }, - "else": { - "operation": "boost", - "score": 0.12241753935813904 - } + "operation": "boost", + "score": -0.9693260192871094 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.0, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { - "operation": "boost", - "score": -0.29995301365852356 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "boost", - "score": 0.02650938555598259 - }, - "else": { - "operation": "boost", - "score": 0.11305049806833267 - } + "operation": "boost", + "score": 0.00035260836011730134 }, "else": { + "operation": "boost", + "score": 0.1250338852405548 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, "then": { - "operation": "boost", - "score": -0.02062896639108658 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.154471293091774 + "score": -0.12318069487810135 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.05306583270430565 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.5982142686843872, "then": { "operation": "boost", - "score": 0.11639788001775742 + "score": 0.06824865192174911 }, "else": { "operation": "boost", - "score": 0.3180559277534485 + "score": 0.11145889759063721 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.09481877833604813 - }, - "else": { - "operation": "boost", - "score": -0.031767942011356354 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.04496808350086212 - }, - "else": { - "operation": "boost", - "score": -0.16289936006069183 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13079454004764557 - }, - "else": { - "operation": "boost", - "score": 0.10486283153295517 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08086498826742172 }, "else": { "operation": "boost", - "score": -0.03308602049946785 + "score": -0.004493872169405222 } } }, "else": { "operation": "boost", - "score": -0.03252769261598587 + "score": 0.14262089133262634 } }, "else": { "operation": "boost", - "score": -0.04328471049666405 + "score": 0.010132948867976665 } + }, + "else": { + "operation": "boost", + "score": 0.1474395990371704 } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16525180637836456 + }, + "else": { + "operation": "boost", + "score": 0.08581510931253433 + } + }, + "else": { + "operation": "boost", + "score": -0.36563900113105774 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05182238668203354 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.24157482385635376 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08117610216140747 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09976619482040405 + }, + "else": { + "operation": "boost", + "score": 0.12871095538139343 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07663854956626892 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03676852956414223 + } + }, + "else": { + "operation": "boost", + "score": -0.01979777216911316 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11374147981405258 + }, + "else": { + "operation": "boost", + "score": 0.05615615099668503 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.13151676952838898 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" ], + "then": { + "operation": "boost", + "score": 0.053425226360559464 + }, + "else": { + "operation": "boost", + "score": -0.0641317218542099 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02911890670657158 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_PreprocessorExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.380952388048172, + "then": { + "operation": "boost", + "score": 0.14470094442367554 + }, + "else": { + "operation": "boost", + "score": 0.021554289385676384 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 980.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1017.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.02060674875974655 + "score": -0.031040946021676064 }, "else": { - "operation": "boost", - "score": 0.09202103316783905 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.19048035144805908 + }, + "else": { + "operation": "boost", + "score": 0.30108898878097534 + } } }, "else": { "operation": "boost", - "score": -0.016303544864058495 + "score": -0.39861780405044556 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.061624880880117416 + "score": 0.14975062012672424 }, "else": { "operation": "boost", - "score": -0.0961180031299591 + "score": 0.041704609990119934 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.759615421295166, + "then": { + "operation": "boost", + "score": 0.01793220080435276 + }, + "else": { + "operation": "boost", + "score": 0.15009905397891998 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.024139923974871635 + }, + "else": { + "operation": "boost", + "score": -0.08773264288902283 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.009726238436996937 + "score": 0.04993785172700882 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" + "CCC_ArrowMemberAccess" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.0, - "then": { - "operation": "boost", - "score": -0.28097325563430786 - }, - "else": { - "operation": "boost", - "score": 0.05481754243373871 - } + "operation": "boost", + "score": 0.09051977843046188 }, "else": { "operation": "boost", - "score": -0.021741805598139763 + "score": 0.0009720955858938396 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { - "operation": "boost", - "score": -0.02554154023528099 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.03767605498433113 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.20130555331707 + }, + "else": { + "operation": "boost", + "score": 0.0405302494764328 + } }, "else": { "operation": "boost", - "score": -0.06359204649925232 + "score": -0.1066398173570633 } + }, + "else": { + "operation": "boost", + "score": 0.013242166489362717 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08027110248804092 + "score": -0.08424089848995209 }, "else": { - "operation": "boost", - "score": -0.14270538091659546 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "boost", + "score": 0.005720091983675957 + }, + "else": { + "operation": "boost", + "score": 0.025738254189491272 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07779430598020554 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "boost", - "score": 0.12735214829444885 + "score": 0.09166688472032547 }, "else": { "operation": "boost", - "score": -0.4140154719352722 + "score": 0.11753039062023163 } }, "else": { "operation": "boost", - "score": -0.1256183534860611 + "score": -0.5832440257072449 } - } - }, - "else": { - "operation": "boost", - "score": 0.03505042940378189 - } - }, - "else": { - "operation": "boost", - "score": 0.004156079608947039 - } - }, - "else": { - "operation": "boost", - "score": -0.014969026669859886 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.02060595713555813 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.030759651213884354 - }, - "else": { - "operation": "boost", - "score": -0.11567794531583786 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 373.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 554.0, - "then": { - "operation": "boost", - "score": -0.005828175228089094 - }, - "else": { - "operation": "boost", - "score": 0.11316639930009842 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "boost", - "score": -0.0010545147815719247 }, "else": { "operation": "boost", - "score": 0.1060086190700531 + "score": 0.02776613086462021 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.0, - "then": { - "operation": "boost", - "score": -0.10974128544330597 - }, - "else": { - "operation": "boost", - "score": 0.11389646679162979 - } + "operation": "boost", + "score": -0.23137183487415314 }, "else": { "operation": "boost", - "score": -0.31735458970069885 + "score": -0.021756792441010475 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.0345071405172348 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.059216830879449844 + "score": 0.07945450395345688 }, "else": { "operation": "boost", - "score": 0.10121805965900421 + "score": -0.028893083333969116 } - }, - "else": { - "operation": "boost", - "score": 0.06431355327367783 } } } - }, - "else": { - "operation": "boost", - "score": -0.0047311075031757355 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.12271413952112198 + }, + "else": { + "operation": "boost", + "score": -0.14297640323638916 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234.5, + "then": { + "operation": "boost", + "score": 0.02707427553832531 + }, + "else": { + "operation": "boost", + "score": 0.002292707795277238 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0003334670327603817 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.15001502633094788 + }, + "else": { + "operation": "boost", + "score": 0.008839649148285389 + } + }, + "else": { + "operation": "boost", + "score": -0.017111506313085556 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.06043237820267677 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.05340857803821564 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11465109139680862 - }, - "else": { - "operation": "boost", - "score": -0.1055285707116127 - } - }, - "else": { - "operation": "boost", - "score": 0.0494859404861927 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": -0.011133690364658833 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.4962131083011627 + "score": 0.1661195009946823 }, "else": { "operation": "boost", - "score": 0.15628010034561157 - } - }, - "else": { - "operation": "boost", - "score": 0.0245357658714056 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.12522980570793152 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.1414703130722046 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.14498865604400635 - }, - "else": { - "operation": "boost", - "score": 0.06587189435958862 - } - } + "score": 0.2365456223487854 } }, "else": { "operation": "boost", - "score": 0.0950574204325676 + "score": 0.25364044308662415 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.06370863318443298 - }, - "else": { - "operation": "boost", - "score": -0.058670736849308014 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06122894212603569 }, "else": { "operation": "boost", - "score": 0.00424455339089036 + "score": -0.10036366432905197 } }, "else": { "operation": "boost", - "score": 0.0023724378552287817 + "score": 0.2620154321193695 } + }, + "else": { + "operation": "boost", + "score": -0.026346305385231972 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.23429518938064575 + }, + "else": { + "operation": "boost", + "score": -0.10045656561851501 + } + } + }, + "else": { + "operation": "boost", + "score": 0.20050984621047974 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.6688527464866638 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.2688146233558655 + }, + "else": { + "operation": "boost", + "score": 0.4417293667793274 } } + }, + "else": { + "operation": "boost", + "score": 0.0005499468534253538 } } } }, "else": { "operation": "boost", - "score": 0.0023666981142014265 + "score": -0.02891518548130989 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Unknown", - "Function", - "Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 329.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 621.5, - "then": { - "operation": "boost", - "score": 0.03895523026585579 - }, - "else": { - "operation": "boost", - "score": 0.12190929055213928 - } + "operation": "boost", + "score": 0.07914672791957855 }, "else": { "operation": "boost", - "score": -0.03760452941060066 + "score": 0.1205822229385376 } }, "else": { "operation": "boost", - "score": 0.008942605927586555 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.020790396258234978 - }, - "else": { - "operation": "boost", - "score": -0.04370567202568054 + "score": -0.008967039175331593 } } - }, - "else": { - "operation": "boost", - "score": -0.004192250315099955 } + }, + "else": { + "operation": "boost", + "score": -0.0007129230070859194 } } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1218.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.021289465948939323 + }, + "else": { + "operation": "boost", + "score": 0.04813183471560478 + } + }, + "else": { + "operation": "boost", + "score": 0.008722607977688313 + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1412.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.006528749596327543 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 199261.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 7.5, "then": { + "operation": "boost", + "score": 0.03196931257843971 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": -0.0388345830142498 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "boost", - "score": -0.25610747933387756 + "score": 0.1403297632932663 }, "else": { - "operation": "boost", - "score": 0.10702486336231232 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.10058129578828812 + }, + "else": { + "operation": "boost", + "score": 0.1507526934146881 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.08725111931562424 - }, - "else": { - "operation": "boost", - "score": -0.14250092208385468 - } + "operation": "boost", + "score": 0.08814200013875961 } - }, - "else": { - "operation": "boost", - "score": 0.0529196672141552 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10557828843593597 - }, - "else": { - "operation": "boost", - "score": -0.3479765057563782 } } }, + "else": { + "operation": "boost", + "score": -0.00463229650631547 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "boost", + "score": -0.013011770322918892 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.03736163675785065 + }, + "else": { + "operation": "boost", + "score": 0.012584757059812546 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.009693634696304798 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { + "operation": "boost", + "score": 0.007768656127154827 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 3266.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "boost", + "score": -0.21597322821617126 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 194.5, "then": { + "operation": "boost", + "score": 0.06333497166633606 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16206.0, + "threshold": 168.0, "then": { "operation": "boost", - "score": 0.012018291279673576 + "score": -0.2686040699481964 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8573.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8751.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.07387468218803406 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10039.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12129.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.04592811316251755 - }, - "else": { - "operation": "boost", - "score": 0.1281440705060959 - } - }, - "else": { - "operation": "boost", - "score": -0.0027218740433454514 - } - }, - "else": { - "operation": "boost", - "score": 0.05524455010890961 - } - }, - "else": { - "operation": "boost", - "score": 0.1517568677663803 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11876238137483597 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.0945972353219986 - }, - "else": { - "operation": "boost", - "score": -0.028418220579624176 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07768522202968597 - }, - "else": { - "operation": "boost", - "score": 0.1310722529888153 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.01829935796558857 - }, - "else": { - "operation": "boost", - "score": -0.5198633670806885 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2807.0, - "then": { - "operation": "boost", - "score": 0.1095999926328659 - }, - "else": { - "operation": "boost", - "score": -0.38486552238464355 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15623.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.009838038124144077 - }, - "else": { - "operation": "boost", - "score": 0.08982706069946289 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3093.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5179.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9510.0, - "then": { - "operation": "boost", - "score": 0.04041055589914322 - }, - "else": { - "operation": "boost", - "score": 0.09773404151201248 - } - }, - "else": { - "operation": "boost", - "score": -0.04919910430908203 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11081.5, - "then": { - "operation": "boost", - "score": 0.08309243619441986 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11266250908374786 - }, - "else": { - "operation": "boost", - "score": 0.1070595532655716 - } - } - }, - "else": { - "operation": "boost", - "score": 0.020240984857082367 - } - }, - "else": { - "operation": "boost", - "score": 0.04976513609290123 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4758.5, - "then": { - "operation": "boost", - "score": -0.6781949400901794 - }, - "else": { - "operation": "boost", - "score": 0.10155452787876129 - } - }, - "else": { - "operation": "boost", - "score": -0.09748886525630951 - } - } - }, - "else": { - "operation": "boost", - "score": -0.17893622815608978 - } - }, - "else": { - "operation": "boost", - "score": -0.08379437029361725 - } - } - } + "operation": "boost", + "score": 0.020858528092503548 } - }, - "else": { - "operation": "boost", - "score": -0.0017814846942201257 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.06201834976673126 - }, - "else": { - "operation": "boost", - "score": 0.11201635003089905 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.02147933468222618 - }, - "else": { - "operation": "boost", - "score": -0.305184930562973 - } } + }, + "else": { + "operation": "boost", + "score": -0.002870124764740467 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.02305787429213524 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.09807323664426804 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1241.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "boost", - "score": 0.030823878943920135 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1260046809911728 + "score": 0.10299888998270035 }, "else": { "operation": "boost", - "score": -0.005565082188695669 + "score": -0.07501830905675888 } + }, + "else": { + "operation": "boost", + "score": 0.011696655303239822 } }, "else": { "operation": "boost", - "score": -0.3819788992404938 + "score": -0.012627852149307728 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07909845560789108 + }, + "else": { + "operation": "boost", + "score": 0.007701096590608358 } } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04717300087213516 + }, + "else": { + "operation": "boost", + "score": 0.016364237293601036 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": -0.029769698157906532 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03574002534151077 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, "then": { + "operation": "boost", + "score": -0.03720804676413536 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15389.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { - "operation": "boost", - "score": 0.007722513750195503 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.10032157599925995 - }, - "else": { - "operation": "boost", - "score": -0.033537041395902634 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1339297741651535 - }, - "else": { - "operation": "boost", - "score": -0.021110879257321358 - } - } + "operation": "boost", + "score": 0.09676289558410645 }, "else": { "operation": "boost", - "score": 0.10260389000177383 + "score": -0.12819336354732513 } + }, + "else": { + "operation": "boost", + "score": -0.012826674617826939 } }, "else": { + "operation": "boost", + "score": -0.0016799484146758914 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.007233025971800089 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15147.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15252.5, + "feature": "FractionNameInContext", + "threshold": 0.04653679579496384, "then": { "operation": "boost", - "score": 0.12072135508060455 + "score": 0.0021035431418567896 }, "else": { "operation": "boost", - "score": 0.112594373524189 + "score": 0.36885330080986023 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.1716519296169281 - }, - "else": { - "operation": "boost", - "score": 0.09789305925369263 - } + "operation": "boost", + "score": -0.00250615063123405 }, "else": { "operation": "boost", - "score": -0.22561956942081451 + "score": 0.019408751279115677 } } }, "else": { + "operation": "boost", + "score": 0.00034316390519961715 + } + }, + "else": { + "operation": "boost", + "score": -0.14194801449775696 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9642857313156128, + "then": { + "operation": "boost", + "score": 0.029889285564422607 + }, + "else": { + "operation": "boost", + "score": -0.004219105001538992 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7841.5, - "then": { - "operation": "boost", - "score": -0.5244418978691101 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.08089829236268997 - }, - "else": { - "operation": "boost", - "score": -0.18802794814109802 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.09206704795360565 - }, - "else": { - "operation": "boost", - "score": 0.10229643434286118 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.14186608791351318 - }, - "else": { - "operation": "boost", - "score": 0.0766717866063118 - } - } - } + "operation": "boost", + "score": 0.027407174929976463 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5568.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7038.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.030550338327884674 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9384.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.021813731640577316 + "score": 0.08387797325849533 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12942.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { + "operation": "boost", + "score": -0.18990787863731384 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, "then": { "operation": "boost", - "score": 0.08960411697626114 + "score": -0.09325748682022095 }, "else": { "operation": "boost", - "score": 0.1479395180940628 + "score": 0.11865591257810593 } - }, - "else": { - "operation": "boost", - "score": -0.2058699131011963 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8213.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8463.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.04514555633068085 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10961298644542694 + "score": -0.5995609164237976 }, "else": { "operation": "boost", - "score": 0.035338789224624634 + "score": -0.005585966631770134 } - }, - "else": { - "operation": "boost", - "score": 0.11733847111463547 } }, "else": { "operation": "boost", - "score": 0.020895708352327347 + "score": 0.06471025198698044 } } }, "else": { "operation": "boost", - "score": -0.07194482535123825 + "score": -0.01606784760951996 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10848.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.055442873388528824 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11514.0, - "then": { - "operation": "boost", - "score": 0.02014463022351265 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1136445552110672 - }, - "else": { - "operation": "boost", - "score": 0.07100917398929596 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.08047475665807724 - } + "operation": "boost", + "score": 0.043267473578453064 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 2.9682785680051893e-05 }, "else": { + "operation": "boost", + "score": -0.021694660186767578 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0011096142698079348 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6621.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11222612857818604 - }, - "else": { - "operation": "boost", - "score": 0.007233570329844952 - } + "operation": "boost", + "score": 0.1809931993484497 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.22443923354148865 - }, - "else": { - "operation": "boost", - "score": 0.12671752274036407 - } - }, - "else": { - "operation": "boost", - "score": 0.10941614210605621 - } - }, - "else": { - "operation": "boost", - "score": 0.05212504789233208 - } + "operation": "boost", + "score": 0.37391752004623413 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6302.5, - "then": { - "operation": "boost", - "score": -0.08466551452875137 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6177.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08348888903856277 - }, - "else": { - "operation": "boost", - "score": 0.13193760812282562 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.016552340239286423 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5582.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02817070297896862 - }, - "else": { - "operation": "boost", - "score": 0.1046830341219902 - } - }, - "else": { - "operation": "boost", - "score": -0.04869219660758972 - } - }, - "else": { - "operation": "boost", - "score": 0.11960204690694809 - } - } - }, - "else": { - "operation": "boost", - "score": -0.33357948064804077 - } - } - } + "operation": "boost", + "score": 0.012132161296904087 } + }, + "else": { + "operation": "boost", + "score": 0.002250427845865488 } }, "else": { "operation": "boost", - "score": 0.0035280198790133 + "score": 0.012916183099150658 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.015340548008680344 - }, - "else": { - "operation": "boost", - "score": -0.07136791199445724 - } - }, - "else": { - "operation": "boost", - "score": 0.005071137100458145 - } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.009542862884700298 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1258.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "FractionNameInContext", + "threshold": 0.6076923608779907, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.09801582992076874 - }, - "else": { - "operation": "boost", - "score": -0.12207383662462234 - } + "operation": "boost", + "score": 0.08849387615919113 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 137180.0, - "then": { - "operation": "boost", - "score": 0.04715603590011597 - }, - "else": { - "operation": "boost", - "score": 0.011047939769923687 - } + "operation": "boost", + "score": 0.6290426254272461 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1254.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.12059363722801208 + "score": 0.011594762094318867 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.06929069757461548 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.08957874029874802 + }, + "else": { + "operation": "boost", + "score": 0.1128256618976593 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.10016674548387527 + "score": 0.11992846429347992 }, "else": { "operation": "boost", - "score": 0.13513655960559845 + "score": -0.151677206158638 } } }, "else": { "operation": "boost", - "score": -0.04872008040547371 + "score": 0.04608972743153572 } } } }, "else": { - "operation": "boost", - "score": -0.027019822970032692 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.011845405213534832 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.00047763067414052784 + }, + "else": { + "operation": "boost", + "score": -0.09927154332399368 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009030444547533989 + } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6320.0, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "boost", + "score": -0.05664996802806854 + }, + "else": { + "operation": "boost", + "score": 0.06459620594978333 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7417.5, + "threshold": 189.5, "then": { - "operation": "boost", - "score": 0.0688985213637352 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 276.0, "then": { "operation": "boost", - "score": 0.09808985888957977 + "score": -6.421474972739816e-05 }, "else": { "operation": "boost", - "score": 0.229728564620018 + "score": 0.1295892894268036 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.18944041430950165 + }, + "else": { + "operation": "boost", + "score": 0.10885797441005707 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.021705687046051025 + }, + "else": { + "operation": "boost", + "score": -0.04971541464328766 + } } } }, "else": { "operation": "boost", - "score": -0.009103828109800816 + "score": 0.00564919039607048 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "boost", + "score": 0.13497887551784515 + }, + "else": { + "operation": "boost", + "score": 0.20541535317897797 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3230.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.08509714156389236 + "score": -0.14630739390850067 }, "else": { - "operation": "boost", - "score": 0.154270201921463 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10031972825527191 + }, + "else": { + "operation": "boost", + "score": 0.025934861972928047 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.05843352526426315 + }, + "else": { + "operation": "boost", + "score": 0.002735552843660116 + } + } + }, + "else": { + "operation": "boost", + "score": -0.013043341226875782 + } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1260.5, + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { - "operation": "boost", - "score": 0.004527705255895853 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009635462425649166 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "boost", + "score": 0.06777402758598328 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.04564666375517845 + }, + "else": { + "operation": "boost", + "score": 0.029902903363108635 + } + } + } }, "else": { - "operation": "boost", - "score": 0.14553865790367126 - } - } + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12425476312637329 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.37651821970939636, + "then": { + "operation": "boost", + "score": -0.09118859469890594 + }, + "else": { + "operation": "boost", + "score": -0.00478961830958724 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2863636612892151, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.015540018677711487 + }, + "else": { + "operation": "boost", + "score": 0.22765497863292694 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22252747416496277, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1307.5, + "then": { + "operation": "boost", + "score": 0.0878395214676857 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 956.5, + "then": { + "operation": "boost", + "score": -0.3074185848236084 + }, + "else": { + "operation": "boost", + "score": -0.02478114701807499 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3545428216457367 + }, + "else": { + "operation": "boost", + "score": 0.045554932206869125 + } + }, + "else": { + "operation": "boost", + "score": -0.09909647703170776 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.10001669824123383 + }, + "else": { + "operation": "boost", + "score": -0.09095434099435806 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.004216144327074289 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0002822509268298745 + }, + "else": { + "operation": "boost", + "score": 0.13845087587833405 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.07011692970991135 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.1149551123380661 + }, + "else": { + "operation": "boost", + "score": 0.11281303316354752 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04590274766087532 + } + }, + "else": { + "operation": "boost", + "score": 0.03929777815937996 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01634824089705944 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.010414487682282925 + }, + "else": { + "operation": "boost", + "score": -0.0128306420519948 + } + }, + "else": { + "operation": "boost", + "score": 0.0012367627350613475 + } + } + } + } + } + } + } } }, "else": { - "operation": "boost", - "score": -0.009994464926421642 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.04446640610694885, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.008504435420036316 + }, + "else": { + "operation": "boost", + "score": -0.003987138159573078 + } + }, + "else": { + "operation": "boost", + "score": -0.00401657959446311 + } + }, + "else": { + "operation": "boost", + "score": 0.0976591408252716 + } } } }, "else": { + "operation": "boost", + "score": -0.0008327829418703914 + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006493689492344856 + }, + "else": { + "operation": "boost", + "score": 0.0015812547644600272 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 143.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1220.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01957901194691658 - }, - "else": { - "operation": "boost", - "score": 0.008435063064098358 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 366.0, "then": { "operation": "boost", - "score": -0.27793610095977783 + "score": 0.13011257350444794 }, "else": { "operation": "boost", - "score": 0.10723116248846054 + "score": 0.1423938274383545 } }, "else": { "operation": "boost", - "score": -0.06901135295629501 + "score": 0.023511674255132675 } + }, + "else": { + "operation": "boost", + "score": 0.0002622609317768365 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13437886536121368 + "score": -0.1617567241191864 }, "else": { "operation": "boost", - "score": 0.009931406937539577 + "score": 0.009257437661290169 } } - } - }, - "else": { - "operation": "boost", - "score": -0.0004284012538846582 - } - }, - { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06676482409238815 - }, - "else": { - "operation": "boost", - "score": 0.11400895565748215 - } + "operation": "boost", + "score": -0.10071814060211182 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, "then": { + "operation": "boost", + "score": 0.16139113903045654 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05261502042412758 + "score": -0.06313807517290115 }, "else": { "operation": "boost", - "score": -0.005377460271120071 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.067581407725811 - }, - "else": { - "operation": "boost", - "score": 0.03834790736436844 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.03701213374733925 - }, - "else": { - "operation": "boost", - "score": 0.03092808648943901 - } + "score": 0.0379500538110733 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.04902089387178421 + "score": -0.0163123719394207 }, "else": { "operation": "boost", - "score": -0.026930220425128937 + "score": -0.16078294813632965 } } } }, "else": { - "operation": "boost", - "score": 0.00044729726505465806 - } - }, - "else": { - "operation": "boost", - "score": -0.03579888865351677 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Constructor", - "Type" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.17864735424518585 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 141.5, "then": { - "operation": "boost", - "score": 1.7750731706619263 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.05684657394886017 + }, + "else": { + "operation": "boost", + "score": -0.1857578605413437 + } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.0012079450534656644 + } + }, + "else": { + "operation": "boost", + "score": -0.11026198416948318 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009758652187883854 + }, + "else": { + "operation": "boost", + "score": -0.03513643518090248 + } + }, + "else": { + "operation": "boost", + "score": 0.00817959662526846 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.021007856354117393 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { "operation": "boost", - "score": 0.12757360935211182 + "score": 0.0012846138561144471 }, "else": { "operation": "boost", - "score": 0.13713344931602478 + "score": 0.025247899815440178 } }, "else": { "operation": "boost", - "score": -0.057509586215019226 + "score": 0.023792706429958344 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.012947232462465763 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.027929259464144707 + }, + "else": { + "operation": "boost", + "score": -0.028111878782510757 } }, "else": { "operation": "boost", - "score": 0.0926205962896347 + "score": 0.11219681799411774 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": 0.1142905205488205 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "boost", - "score": 0.10083439201116562 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": -0.07304318249225616 + }, + "else": { + "operation": "boost", + "score": -0.7323216199874878 + } }, "else": { "operation": "boost", - "score": -0.25926846265792847 + "score": -0.029716484248638153 } } }, "else": { - "operation": "boost", - "score": 0.07554734498262405 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.04278147965669632 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.007514358032494783 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.15295076370239258 + }, + "else": { + "operation": "boost", + "score": 0.058344610035419464 + } + } + } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.07013558596372604 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.016191918402910233 + "score": 0.004197319038212299 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], "then": { "operation": "boost", - "score": -0.12342067807912827 + "score": 0.004172727465629578 }, "else": { "operation": "boost", - "score": -1.2744790315628052 + "score": -0.013509847223758698 } } } @@ -223307,1690 +218866,2313 @@ }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": -0.009997456334531307 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": 0.08313433825969696 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.039726730436086655 - }, - "else": { - "operation": "boost", - "score": -0.0013940136414021254 - } - }, - "else": { - "operation": "boost", - "score": -0.015231399796903133 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0008748568361625075 - }, - "else": { - "operation": "boost", - "score": 0.05321327596902847 - } - } + "operation": "boost", + "score": -0.15989114344120026 }, "else": { "operation": "boost", - "score": -0.044373657554388046 + "score": -0.32528579235076904 } - }, - "else": { - "operation": "boost", - "score": -0.1042218953371048 } - }, - "else": { - "operation": "boost", - "score": -0.008450713939964771 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02450203150510788 - }, - "else": { - "operation": "boost", - "score": -0.04375883564352989 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.047294218093156815 - }, - "else": { - "operation": "boost", - "score": -0.04774585738778114 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.09190960228443146 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.2801021635532379 + "score": -0.016218550503253937 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.2167663425207138 + "score": -0.011225437745451927 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.18054044246673584 + "score": 0.012678139843046665 }, "else": { - "operation": "boost", - "score": 0.23535653948783875 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.01102792751044035 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.06731051206588745 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131.0, + "then": { + "operation": "boost", + "score": 0.20604580640792847 + }, + "else": { + "operation": "boost", + "score": 0.23384127020835876 + } + }, + "else": { + "operation": "boost", + "score": -0.11767412722110748 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 128.5, + "then": { + "operation": "boost", + "score": -0.057466521859169006 + }, + "else": { + "operation": "boost", + "score": 0.10215329378843307 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.030609123408794403 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.028927866369485855 + }, + "else": { + "operation": "boost", + "score": -0.06072014570236206 + } + } + } + } } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0950751006603241 - }, - "else": { - "operation": "boost", - "score": 0.04766146466135979 - } + "operation": "boost", + "score": -0.006768969818949699 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05639800429344177 - }, - "else": { - "operation": "boost", - "score": 0.03406454250216484 - } + "operation": "boost", + "score": -0.04034961387515068 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.03112015873193741 + "score": -0.05518792197108269 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03148886561393738 - }, - "else": { - "operation": "boost", - "score": 0.02590988390147686 - } + "operation": "boost", + "score": -0.05539511516690254 } } } }, "else": { - "operation": "boost", - "score": 0.018827568739652634 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.01272203866392374 - }, - "else": { - "operation": "boost", - "score": -0.0009023207239806652 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Unknown", - "Constructor", - "Namespace" + "Function", + "Macro", + "Namespace", + "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Type" + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04402310773730278 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.17413829267024994 - }, - "else": { - "operation": "boost", - "score": 0.041024889796972275 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011318779550492764 - } - }, - "else": { - "operation": "boost", - "score": -0.02278924360871315 - } - }, - "else": { - "operation": "boost", - "score": -0.00663197273388505 - } - } - }, - "else": { - "operation": "boost", - "score": 0.009870425797998905 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.004092436749488115 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 156.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 902.0, - "then": { - "operation": "boost", - "score": 0.0948435366153717 - }, - "else": { - "operation": "boost", - "score": -0.02595614828169346 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 482.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 506.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 768.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.24395059049129486 + "score": 0.12793363630771637 }, "else": { "operation": "boost", - "score": 0.1101708859205246 + "score": -0.017926055938005447 } }, "else": { - "operation": "boost", - "score": 0.02181173674762249 - } - }, - "else": { - "operation": "boost", - "score": 0.10271558165550232 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 238.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 374.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 383.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.02814631722867489 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.09289288520812988 + }, + "else": { + "operation": "boost", + "score": -0.06846068054437637 + } }, "else": { - "operation": "boost", - "score": 0.11416599154472351 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.0983048677444458 + }, + "else": { + "operation": "boost", + "score": 0.00023891753517091274 + } } }, "else": { - "operation": "boost", - "score": 0.03265971317887306 - } - }, - "else": { - "operation": "boost", - "score": 0.11525218188762665 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193.5, - "then": { - "operation": "boost", - "score": -0.08890291303396225 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 183.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "boost", - "score": 0.0626181960105896 + "score": 0.05462288111448288 }, "else": { "operation": "boost", - "score": 0.11177628487348557 + "score": 0.13155803084373474 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.00428219698369503 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 169.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "boost", - "score": -0.38010719418525696 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.0, + "then": { + "operation": "boost", + "score": -0.03920314833521843 + }, + "else": { + "operation": "boost", + "score": 0.09884340316057205 + } }, "else": { "operation": "boost", - "score": 0.08933373540639877 + "score": 0.04947160184383392 } } } } }, "else": { - "operation": "boost", - "score": -0.03774216026067734 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188.5, - "then": { - "operation": "boost", - "score": 0.058130908757448196 - }, - "else": { - "operation": "boost", - "score": 0.10250142961740494 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": -6.965250492095947 + }, + "else": { + "operation": "boost", + "score": -0.06201751530170441 + } } }, "else": { - "operation": "boost", - "score": -0.026180844753980637 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13706214725971222 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10720726102590561 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.017583953216671944 - }, - "else": { - "operation": "boost", - "score": -0.10101044923067093 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.018942512571811676 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -1.0379657745361328 + "score": 0.011007539927959442 }, "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1219949722290039 + }, + "else": { + "operation": "boost", + "score": -0.03880688175559044 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Type" + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": 0.11485811322927475 + }, + "else": { + "operation": "boost", + "score": 0.07221674174070358 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { "operation": "boost", - "score": 0.07777409255504608 + "score": -0.02663453482091427 }, "else": { "operation": "boost", - "score": 0.09396517276763916 + "score": 0.04934520274400711 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.03696814924478531 }, "else": { "operation": "boost", - "score": 0.031456876546144485 + "score": -0.22175000607967377 } } } }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.042391013354063034 - }, - "else": { - "operation": "boost", - "score": -0.3884260952472687 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05721529573202133 - }, "else": { "operation": "boost", - "score": 0.12383829802274704 + "score": 0.0031228982843458652 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Symbol" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.04738541319966316 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { - "operation": "boost", - "score": -0.14417725801467896 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.1376953125 + }, + "else": { + "operation": "boost", + "score": 0.182562917470932 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.180008664727211 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.13560718297958374 + }, + "else": { + "operation": "boost", + "score": 0.1330985426902771 + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.12594284117221832 + "score": 0.07254991680383682 }, "else": { "operation": "boost", - "score": 0.04924427345395088 + "score": -0.26436570286750793 } } - }, - "else": { - "operation": "boost", - "score": -0.1653822362422943 } }, "else": { "operation": "boost", - "score": 0.09238564223051071 + "score": 0.015702946111559868 } }, "else": { "operation": "boost", - "score": 0.010263306088745594 + "score": -0.0022044179495424032 } }, "else": { - "operation": "boost", - "score": -0.015104933641850948 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.01714707724750042 - }, - "else": { - "operation": "boost", - "score": -0.04801463708281517 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.006021272391080856 - }, - "else": { - "operation": "boost", - "score": -0.04775255545973778 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type" - ], - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type", - "Namespace" + "Macro", + "Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.09872197359800339 + "score": 0.0052872877568006516 }, "else": { - "operation": "boost", - "score": 0.06602504849433899 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0011330160778015852 + }, + "else": { + "operation": "boost", + "score": -0.12039345502853394 + } } }, "else": { - "operation": "boost", - "score": 0.018521863967180252 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.12393631786108017 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.02153114043176174 + }, + "else": { + "operation": "boost", + "score": -0.03777686506509781 + } + }, + "else": { + "operation": "boost", + "score": 0.00037907843943685293 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.3075336217880249 + "score": 0.05244787409901619 }, "else": { "operation": "boost", - "score": 0.10980275273323059 + "score": -0.03489379957318306 } } }, "else": { - "operation": "boost", - "score": 0.05957324057817459 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0167599655687809 + }, + "else": { + "operation": "boost", + "score": -0.029007496312260628 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.03618680685758591 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.1010453924536705 + }, + "else": { + "operation": "boost", + "score": 0.018803153187036514 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.08096402883529663 + }, + "else": { + "operation": "boost", + "score": 0.013602769002318382 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04269365221261978 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.01869354583323002 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.021848097443580627 + }, + "else": { + "operation": "boost", + "score": 0.06903199851512909 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07583041489124298 + } + }, + "else": { + "operation": "boost", + "score": -0.10961497575044632 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.031046289950609207 } } - }, - "else": { - "operation": "boost", - "score": 0.008544860407710075 } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Unknown", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 329.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 621.5, - "then": { - "operation": "boost", - "score": 0.04391603171825409 }, "else": { "operation": "boost", - "score": 0.11973924189805984 + "score": -0.0008896253420971334 } }, "else": { - "operation": "boost", - "score": -0.03419913351535797 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.0005709349061362445 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.0024684264790266752 + "score": -0.018628571182489395 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Expression" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0028163925744593143 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.01885141059756279 - }, - "else": { - "operation": "boost", - "score": 0.054307710379362106 - } - }, - "else": { - "operation": "boost", - "score": 0.08640828728675842 - } - } + "operation": "boost", + "score": -0.07194487005472183 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.031813330948352814 + "score": -0.2638489007949829 }, "else": { "operation": "boost", - "score": -0.04832429811358452 + "score": 0.10925175994634628 } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 139.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.21323180198669434 + }, + "else": { + "operation": "boost", + "score": 0.05876857042312622 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.028884708881378174 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.004629898350685835 + "score": 0.015910757705569267 }, "else": { "operation": "boost", - "score": -0.03079165890812874 + "score": -0.006550749763846397 } } }, "else": { "operation": "boost", - "score": -0.04477576166391373 + "score": 0.0021744119003415108 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.018890736624598503 - }, - "else": { - "operation": "boost", - "score": -0.037307288497686386 - } } - }, - "else": { - "operation": "boost", - "score": -0.00421095872297883 } } } } }, { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope", - "FileScope" + "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.0012686201371252537 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05350995808839798 + "score": -0.17419840395450592 }, "else": { - "operation": "boost", - "score": -0.06162610277533531 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06320279091596603 + }, + "else": { + "operation": "boost", + "score": 0.0060021583922207355 + } } + }, + "else": { + "operation": "boost", + "score": 0.0018558921292424202 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 323356.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.04144292324781418 + }, + "else": { + "operation": "boost", + "score": -0.000800419831648469 + } + }, + "else": { + "operation": "boost", + "score": -0.06254804879426956 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.04144161567091942 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.054580021649599075 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.22081619501113892 + }, + "else": { + "operation": "boost", + "score": -0.08280866593122482 + } + } + }, + "else": { + "operation": "boost", + "score": 0.019331850111484528 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "boost", - "score": 0.009947014041244984 + "score": -0.042543381452560425 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 188273.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 212125.0, + "then": { + "operation": "boost", + "score": -0.004616320598870516 + }, + "else": { + "operation": "boost", + "score": 0.02188146486878395 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, "then": { + "operation": "boost", + "score": -0.1499992460012436 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 167779.0, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47907.0, - "then": { - "operation": "boost", - "score": 0.07231548428535461 - }, - "else": { - "operation": "boost", - "score": -0.022991620004177094 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.1548699587583542 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": -0.0606222003698349 + "score": 0.17889167368412018 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.05909845232963562 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 425.0, - "then": { - "operation": "boost", - "score": 0.10629928857088089 - }, - "else": { - "operation": "boost", - "score": 0.2618654668331146 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12012509256601334 - }, - "else": { - "operation": "boost", - "score": -0.20034876465797424 - } - } - }, - "else": { - "operation": "boost", - "score": 0.035212427377700806 - } + "operation": "boost", + "score": 0.11659363657236099 } + } + }, + "else": { + "operation": "boost", + "score": -0.14876192808151245 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.05720817670226097 + }, + "else": { + "operation": "boost", + "score": 0.025385640561580658 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 154962.0, + "then": { + "operation": "boost", + "score": -0.16323375701904297 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.057196229696273804 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, "then": { "operation": "boost", - "score": 0.07888396084308624 + "score": 0.056966252624988556 }, "else": { "operation": "boost", - "score": -0.1305377036333084 + "score": 0.15004171431064606 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 588.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 681.5, + "feature": "FractionNameInContext", + "threshold": 0.9027777910232544, "then": { "operation": "boost", - "score": -0.036379918456077576 + "score": -0.18732111155986786 }, "else": { - "operation": "boost", - "score": 0.10109417885541916 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.05373595654964447 + }, + "else": { + "operation": "boost", + "score": 0.13503971695899963 + } + }, + "else": { + "operation": "boost", + "score": 0.02247055061161518 + } + }, + "else": { + "operation": "boost", + "score": 0.022180788218975067 + } + }, + "else": { + "operation": "boost", + "score": 0.136910542845726 + } } }, "else": { - "operation": "boost", - "score": -0.08763673156499863 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.06152771785855293 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08117244392633438 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.058834925293922424 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "boost", + "score": -1.5612088441848755 + }, + "else": { + "operation": "boost", + "score": -0.13439875841140747 + } + } + } + } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 54.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 127.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.07770758867263794 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89.5, + "then": { + "operation": "boost", + "score": 0.11517967283725739 + }, + "else": { + "operation": "boost", + "score": 0.11340374499559402 + } }, "else": { "operation": "boost", - "score": 0.18528850376605988 + "score": 0.03386314958333969 } }, "else": { - "operation": "boost", - "score": 0.03735090792179108 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11146.5, - "then": { - "operation": "boost", - "score": 0.09022556990385056 - }, - "else": { - "operation": "boost", - "score": -0.23640279471874237 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.007313184905797243 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.12648224830627441 - }, - "else": { - "operation": "boost", - "score": 0.1378301978111267 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.12961634993553162 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4833333492279053, + "then": { + "operation": "boost", + "score": -0.10392909497022629 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.10372719168663025 + }, + "else": { + "operation": "boost", + "score": 0.03465738892555237 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -1.4701908826828003 + }, + "else": { + "operation": "boost", + "score": 0.012567562982439995 + } + } + } }, "else": { - "operation": "boost", - "score": 0.0008461074903607368 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.15491770207881927 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.051053356379270554 + }, + "else": { + "operation": "boost", + "score": -0.008471393026411533 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05147877708077431 + }, + "else": { + "operation": "boost", + "score": -0.49180540442466736 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.03830215707421303 + }, + "else": { + "operation": "boost", + "score": -0.47525709867477417 + } + }, + "else": { + "operation": "boost", + "score": -0.05973496660590172 + } + } } }, "else": { "operation": "boost", - "score": -0.10265633463859558 + "score": -0.02012339048087597 } - }, - "else": { - "operation": "boost", - "score": 0.1319207400083542 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.1909184753894806 + "score": 0.004640114028006792 }, "else": { "operation": "boost", - "score": 0.03708985075354576 + "score": -0.004080628044903278 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.04754271358251572 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.023411495611071587 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.039496440440416336 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09809743613004684 + }, + "else": { + "operation": "boost", + "score": 0.06178741529583931 + } + } + } }, "else": { "operation": "boost", - "score": 0.13431096076965332 + "score": 0.0018873723456636071 } }, "else": { + "operation": "boost", + "score": -0.013065896928310394 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.01118916179984808 - }, - "else": { - "operation": "boost", - "score": 0.06280030310153961 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1118987575173378 + "score": -0.00231960229575634 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 336.0, "then": { - "operation": "boost", - "score": 0.10900766402482986 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 338.5, "then": { - "operation": "boost", - "score": 0.13827726244926453 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.04624702408909798 + }, + "else": { + "operation": "boost", + "score": 0.12765023112297058 + } }, "else": { "operation": "boost", - "score": -0.10079415887594223 + "score": 0.1629762202501297 } + }, + "else": { + "operation": "boost", + "score": 0.05949005112051964 } } + }, + "else": { + "operation": "boost", + "score": 0.0015173029387369752 } }, "else": { "operation": "boost", - "score": -0.02177560329437256 + "score": 0.05010247975587845 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 105656.5, "then": { - "operation": "boost", - "score": 0.050565607845783234 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.9190685153007507 + "score": -0.3911207616329193 + }, + "else": { + "operation": "boost", + "score": 0.10520221292972565 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 126.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 140.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.10507892817258835 + }, + "else": { + "operation": "boost", + "score": 0.20703816413879395 + } + }, + "else": { + "operation": "boost", + "score": 0.3736547529697418 + } + }, + "else": { + "operation": "boost", + "score": 0.059659335762262344 + } + }, + "else": { + "operation": "boost", + "score": 0.038809869438409805 + } }, "else": { "operation": "boost", - "score": 0.11123771965503693 + "score": -0.003320480464026332 } } } }, "else": { "operation": "boost", - "score": 0.039020851254463196 + "score": 0.00153782544657588 } + }, + "else": { + "operation": "boost", + "score": -0.054987262934446335 } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.023003194481134415 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.07761967182159424 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.023908937349915504 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1998.0, - "then": { - "operation": "boost", - "score": 0.10908263921737671 - }, - "else": { - "operation": "boost", - "score": 0.015663666650652885 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11732762306928635 }, "else": { "operation": "boost", - "score": 0.024394726380705833 + "score": -0.0018115566344931722 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10.5, + "threshold": 4724.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10277747362852097 - }, - "else": { - "operation": "boost", - "score": 0.05657481402158737 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 4809.0, "then": { "operation": "boost", - "score": 0.13789300620555878 + "score": 0.009852765128016472 }, "else": { - "operation": "boost", - "score": 0.08209671080112457 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27.0, - "then": { - "operation": "boost", - "score": 0.08119107782840729 - }, - "else": { - "operation": "boost", - "score": 0.1255498081445694 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "threshold": 4777.0, "then": { - "operation": "boost", - "score": -0.03138618916273117 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.14969991147518158 + }, + "else": { + "operation": "boost", + "score": 0.06837885826826096 + } }, "else": { "operation": "boost", - "score": 0.11146789789199829 + "score": 0.07433426380157471 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 315.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.13658881187438965 + "score": 0.0027836300432682037 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 186.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -5.476819038391113 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.06237965449690819 + }, + "else": { + "operation": "boost", + "score": -0.6220019459724426 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12104736268520355 + }, + "else": { + "operation": "boost", + "score": 0.023423193022608757 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": 0.14159025251865387 + }, + "else": { + "operation": "boost", + "score": -0.1621713787317276 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012696435675024986 + } + }, + "else": { + "operation": "boost", + "score": -0.003472334938123822 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.07794781029224396 + }, + "else": { + "operation": "boost", + "score": -0.15954633057117462 + } + } }, "else": { - "operation": "boost", - "score": 0.11412452906370163 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3100961446762085, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.003309168154373765 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "boost", + "score": -0.34167471528053284 + }, + "else": { + "operation": "boost", + "score": 0.1183452233672142 + } + }, + "else": { + "operation": "boost", + "score": -0.04812595993280411 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": -0.046059537678956985 + }, + "else": { + "operation": "boost", + "score": -0.3691386580467224 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7071428298950195, + "then": { + "operation": "boost", + "score": 0.0649876669049263 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3741258978843689, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4833333492279053, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5192307829856873, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": 0.029227694496512413 + }, + "else": { + "operation": "boost", + "score": -0.08733619004487991 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.06513593345880508 + }, + "else": { + "operation": "boost", + "score": -0.056975219398736954 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4409722089767456, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10068166255950928 + }, + "else": { + "operation": "boost", + "score": -0.24691852927207947 + } + }, + "else": { + "operation": "boost", + "score": 0.013338809832930565 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1037105992436409 + }, + "else": { + "operation": "boost", + "score": 0.04939659684896469 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0036875875666737556 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.875, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1261850744485855 + }, + "else": { + "operation": "boost", + "score": 0.012605036608874798 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 813.0, + "then": { + "operation": "boost", + "score": 0.04042644053697586 + }, + "else": { + "operation": "boost", + "score": -0.00936864223331213 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009843421168625355 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_PreprocessorExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13525941967964172 + }, + "else": { + "operation": "boost", + "score": 0.01956038363277912 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3041.0, + "then": { + "operation": "boost", + "score": 0.12599650025367737 + }, + "else": { + "operation": "boost", + "score": 0.023389771580696106 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.09373614192008972 + }, + "else": { + "operation": "boost", + "score": 0.03519447520375252 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.017736777663230896 + }, + "else": { + "operation": "boost", + "score": -0.00872237142175436 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0010559739312157035 + } + } } }, "else": { "operation": "boost", - "score": 0.03156457841396332 + "score": -0.095174141228199 } } } @@ -224998,1774 +221180,2469 @@ } }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.6019424200057983 - }, - "else": { - "operation": "boost", - "score": 0.005340032745152712 - } + "operation": "boost", + "score": -0.09824693202972412 } + } + } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11238609254360199 + }, + "else": { + "operation": "boost", + "score": 0.020094478502869606 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07653362303972244 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.07166194170713425 }, "else": { + "operation": "boost", + "score": 0.02872108481824398 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.007089162245392799 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.007105841767042875 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.004017098806798458 + }, + "else": { + "operation": "boost", + "score": -0.01637124828994274 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.0018834793008863926 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 1280205.5, "then": { + "operation": "boost", + "score": -0.06825366616249084 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42922.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.04815775528550148 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.06319216638803482 + }, + "else": { + "operation": "boost", + "score": 0.09643866866827011 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62267.0, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { - "operation": "boost", - "score": -0.18932202458381653 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "boost", + "score": -0.07526816427707672 + }, + "else": { + "operation": "boost", + "score": -0.19727978110313416 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.08821801096200943 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { - "operation": "boost", - "score": 0.10145341604948044 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": -0.03338524326682091 + }, + "else": { + "operation": "boost", + "score": -1.1286765336990356 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": 0.12011604011058807 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.019141942262649536 + }, + "else": { + "operation": "boost", + "score": 0.13959041237831116 + } + } + } }, "else": { "operation": "boost", - "score": 0.10884398967027664 + "score": 0.04565109312534332 } + }, + "else": { + "operation": "boost", + "score": -0.0736427754163742 } }, "else": { "operation": "boost", - "score": 0.08791298419237137 + "score": -0.021803461015224457 } } }, + "else": { + "operation": "boost", + "score": 0.020942602306604385 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03802942484617233 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71608.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.12595131993293762 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2788461446762085, + "then": { + "operation": "boost", + "score": 0.12329541146755219 + }, + "else": { + "operation": "boost", + "score": -0.05501777306199074 + } }, "else": { "operation": "boost", - "score": 0.11284949630498886 + "score": 0.12181895226240158 } } }, "else": { "operation": "boost", - "score": 0.0012922517489641905 + "score": -0.019652515649795532 } }, "else": { "operation": "boost", - "score": -0.017303353175520897 + "score": 0.025652481243014336 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 13.5, "then": { + "operation": "boost", + "score": 0.01863601803779602 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10052713751792908 - }, - "else": { - "operation": "boost", - "score": 0.11872754991054535 - } + "operation": "boost", + "score": 0.004112062510102987 }, "else": { "operation": "boost", - "score": 0.10188861936330795 + "score": -0.0221867598593235 } - }, - "else": { - "operation": "boost", - "score": 0.03921220451593399 } } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.02831890434026718 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FractionNameInContext", + "threshold": 0.6076923608779907, "then": { - "operation": "boost", - "score": 0.09727713465690613 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.6794872283935547, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "boost", + "score": -0.009781556203961372 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.06805355101823807 + "score": 0.12936371564865112 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.12647703289985657 - }, - "else": { - "operation": "boost", - "score": 0.13901783525943756 - } + "operation": "boost", + "score": 0.034450046718120575 } - }, - "else": { - "operation": "boost", - "score": -0.027732787653803825 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "boost", - "score": -0.13340355455875397 + "score": -0.5113992691040039 }, "else": { "operation": "boost", - "score": -0.05889086797833443 + "score": 0.11033952236175537 } } + }, + "else": { + "operation": "boost", + "score": 0.0213338490575552 } + }, + "else": { + "operation": "boost", + "score": -0.0002539501874707639 } } }, "else": { - "operation": "boost", - "score": -0.0038831315468996763 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Unknown", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.343137264251709, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 58.5, + "then": { + "operation": "boost", + "score": 0.06378896534442902 + }, + "else": { + "operation": "boost", + "score": 0.11923610419034958 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { + "operation": "boost", + "score": 0.04035573825240135 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.11630687862634659 + "score": 0.09656748920679092 }, "else": { "operation": "boost", - "score": 0.09119097143411636 + "score": 0.12042906880378723 } - }, - "else": { - "operation": "boost", - "score": -0.11355426907539368 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07760409265756607 - }, - "else": { - "operation": "boost", - "score": 0.10681959986686707 - } + "operation": "boost", + "score": 0.017200559377670288 } }, "else": { - "operation": "boost", - "score": -0.035121552646160126 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07848037779331207 - }, - "else": { - "operation": "boost", - "score": -0.05097483471035957 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.010270551778376102 + "score": -0.015862487256526947 }, "else": { "operation": "boost", - "score": -0.15333999693393707 + "score": -0.08439627289772034 } - }, - "else": { - "operation": "boost", - "score": -0.0672571137547493 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04959861934185028 - }, - "else": { - "operation": "boost", - "score": 0.018593937158584595 - } + "operation": "boost", + "score": 0.020548637956380844 } } }, + "else": { + "operation": "boost", + "score": -0.03001166321337223 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.018463239073753357 + }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.014806232415139675 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 1.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Namespace" ], "then": { - "operation": "boost", - "score": 0.031207239255309105 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03109312243759632 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0357554629445076 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.008853365667164326 + }, + "else": { + "operation": "boost", + "score": 0.026072870939970016 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": 0.011427718214690685 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.011451204307377338 + }, + "else": { + "operation": "boost", + "score": -0.546181857585907 + } + }, + "else": { + "operation": "boost", + "score": -0.07365074008703232 + } + } + } + } + } }, "else": { "operation": "boost", - "score": -0.025657465681433678 + "score": 0.005529902875423431 } }, "else": { + "operation": "boost", + "score": 0.1260966658592224 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.01939358003437519 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { - "operation": "boost", - "score": 0.045209772884845734 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { + "operation": "boost", + "score": -0.08443521708250046 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.0093385623767972 + "score": 0.10568385571241379 }, "else": { "operation": "boost", - "score": -0.018689608201384544 + "score": 0.04364785924553871 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "boost", + "score": 0.024261794984340668 + }, + "else": { + "operation": "boost", + "score": -0.19520336389541626 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.004023315850645304 + }, + "else": { + "operation": "boost", + "score": 0.013336907140910625 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.009834044612944126 + }, + "else": { + "operation": "boost", + "score": -0.008008151315152645 + } + } } }, "else": { - "operation": "boost", - "score": -0.14808255434036255 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.006185967940837145 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5430.5, + "then": { + "operation": "boost", + "score": 0.0002369472204009071 + }, + "else": { + "operation": "boost", + "score": 0.03470873460173607 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.00899704173207283 + }, + "else": { + "operation": "boost", + "score": 0.010464057326316833 + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.004049049690365791 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 3158.0, "then": { + "operation": "boost", + "score": 0.042060788720846176 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.047558773308992386 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "boost", - "score": -0.47281041741371155 + "score": -0.03397883474826813 }, "else": { "operation": "boost", - "score": 0.0033310274593532085 + "score": 0.005434026475995779 } - }, - "else": { - "operation": "boost", - "score": 0.047527652233839035 } - }, - "else": { - "operation": "boost", - "score": 0.04153118655085564 } + }, + "else": { + "operation": "boost", + "score": -0.03906036168336868 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { + "operation": "boost", + "score": 0.0030620230827480555 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_DotMemberAccess", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 2405.5, "then": { "operation": "boost", - "score": 0.036701951175928116 + "score": 0.06455560773611069 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08193009346723557 - }, - "else": { - "operation": "boost", - "score": 0.025386113673448563 - } + "operation": "boost", + "score": -0.02400975488126278 }, "else": { "operation": "boost", - "score": -0.04975855350494385 + "score": 0.12228383123874664 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "boost", - "score": 0.058778636157512665 + "score": -0.04123006388545036 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.057635802775621414 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.7032470107078552 - }, - "else": { - "operation": "boost", - "score": 0.038002338260412216 - } - } + "operation": "boost", + "score": 0.02873258665204048 } } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.005093058105558157 + "score": 0.009252536110579967 }, "else": { - "operation": "boost", - "score": 0.04383694380521774 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 288840.5, + "then": { + "operation": "boost", + "score": -0.18867909908294678 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.01782154105603695 + }, + "else": { + "operation": "boost", + "score": 0.0062348204664886 + } + }, + "else": { + "operation": "boost", + "score": -0.02597801946103573 + } + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "boost", - "score": -0.004529738798737526 + "score": -0.06941306591033936 }, "else": { - "operation": "boost", - "score": -0.041089240461587906 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 413.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12414.0, + "then": { + "operation": "boost", + "score": 0.25358492136001587 + }, + "else": { + "operation": "boost", + "score": -0.47656476497650146 + } + }, + "else": { + "operation": "boost", + "score": 0.012638699263334274 + } } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.035437434911727905 - }, - "else": { - "operation": "boost", - "score": -0.024450181052088737 - } } } }, "else": { - "operation": "boost", - "score": -0.09694590419530869 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": -0.020321380347013474 - }, - "else": { - "operation": "boost", - "score": -0.06578267365694046 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.016309447586536407 + }, + "else": { + "operation": "boost", + "score": -0.05812457203865051 + } } } } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, "then": { + "operation": "boost", + "score": 0.03728695586323738 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { "operation": "boost", - "score": -0.07878474146127701 + "score": 0.1379023641347885 }, "else": { "operation": "boost", - "score": 0.007429932709783316 + "score": -0.05807052552700043 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08885827660560608 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.13233643770217896 - }, - "else": { - "operation": "boost", - "score": 0.10974359512329102 - } - }, - "else": { - "operation": "boost", - "score": 0.013807513751089573 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0800895020365715 - } + "operation": "boost", + "score": 0.11288735270500183 }, "else": { "operation": "boost", - "score": 0.02264370210468769 + "score": 0.053805604577064514 } } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0037990580312907696 - }, - "else": { - "operation": "boost", - "score": -0.006439375691115856 - } + "operation": "boost", + "score": -0.04062999039888382 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05875939875841141 - }, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.028144896030426025 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.010471196845173836 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09732396900653839 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.06484860181808472 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.004076449200510979 + }, + "else": { + "operation": "boost", + "score": 0.12681223452091217 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.014824877493083477 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.06274145841598511 + }, + "else": { + "operation": "boost", + "score": 0.014407742768526077 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.030505545437335968 + }, + "else": { + "operation": "boost", + "score": -0.026144856587052345 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "boost", + "score": 0.06274736672639847 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.12709949910640717 + }, + "else": { + "operation": "boost", + "score": 0.16336943209171295 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.012452660128474236 + }, + "else": { + "operation": "boost", + "score": 0.05746909976005554 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.035968415439128876 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014468175359070301 + }, + "else": { + "operation": "boost", + "score": -0.005608795676380396 + } + }, + "else": { + "operation": "boost", + "score": -0.024104272946715355 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0006382806459441781 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83772.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104000.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 143594.0, + "then": { + "operation": "boost", + "score": -0.06335800886154175 + }, + "else": { + "operation": "boost", + "score": -0.5737907886505127 + } + }, + "else": { + "operation": "boost", + "score": 0.03885587677359581 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "boost", + "score": 0.09810435026884079 + }, + "else": { + "operation": "boost", + "score": 0.07233943790197372 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09307359158992767, + "then": { + "operation": "boost", + "score": 0.0019470562692731619 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1566171646118164 + }, + "else": { + "operation": "boost", + "score": 0.045549388974905014 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06283995509147644 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.028703797608613968 + }, + "else": { + "operation": "boost", + "score": -0.08763261884450912 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06430355459451675 + }, "else": { "operation": "boost", - "score": -0.06419984251260757 + "score": -0.15241718292236328 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 13.0, "then": { + "operation": "boost", + "score": 0.019264815375208855 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10586483031511307 + "score": -0.17199723422527313 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.0839160829782486, "then": { "operation": "boost", - "score": 0.08756247907876968 + "score": 0.11879970878362656 }, "else": { "operation": "boost", - "score": -0.020969880744814873 + "score": 0.07015257328748703 } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06888286024332047 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08612290024757385 + }, + "else": { + "operation": "boost", + "score": 0.004121131729334593 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.004962845705449581 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "FileScope" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "boost", - "score": 0.051933448761701584 + "score": -0.08300302922725677 }, "else": { - "operation": "boost", - "score": 0.13685989379882812 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07737801223993301 + }, + "else": { + "operation": "boost", + "score": 0.12306094169616699 + } } }, "else": { - "operation": "boost", - "score": 0.6037192940711975 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07143149524927139 + }, + "else": { + "operation": "boost", + "score": -0.34893688559532166 + } } }, "else": { "operation": "boost", - "score": 0.045424070209264755 + "score": 0.029557837173342705 } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21.5, + "threshold": 212.0, "then": { + "operation": "boost", + "score": 0.13083603978157043 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.02042856626212597 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 254.0, + "threshold": 7.5, "then": { + "operation": "boost", + "score": -0.04864117503166199 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.11551117897033691 - }, - "else": { - "operation": "boost", - "score": -0.06630448251962662 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1017.0, + "feature": "FractionNameInContext", + "threshold": 0.0773809552192688, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1082.5, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { - "operation": "boost", - "score": -0.07761402428150177 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10356160998344421 + }, + "else": { + "operation": "boost", + "score": 0.005490880459547043 + } }, "else": { "operation": "boost", - "score": 0.1266629546880722 + "score": -0.08141852170228958 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 699.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.3797342777252197 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0010617828229442239 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.13769520819187164 + }, + "else": { + "operation": "boost", + "score": 0.14867845177650452 + } + } }, "else": { "operation": "boost", - "score": -0.04336072877049446 + "score": -0.11117088049650192 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1393737494945526 - }, - "else": { - "operation": "boost", - "score": 0.09195809066295624 - } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.15008200705051422 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 139.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.0, - "then": { - "operation": "boost", - "score": 0.06653214246034622 - }, - "else": { - "operation": "boost", - "score": 0.11969684809446335 - } + "operation": "boost", + "score": -0.14181700348854065 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005206044297665358 - }, - "else": { - "operation": "boost", - "score": 0.08830820024013519 - } + "operation": "boost", + "score": 0.062158603221178055 } + }, + "else": { + "operation": "boost", + "score": 0.0067311543971300125 } } } - }, - "else": { - "operation": "boost", - "score": -0.09014682471752167 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03760036826133728 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.11571376770734787 + "score": -0.018853511661291122 }, "else": { - "operation": "boost", - "score": -0.11810611933469772 - } - }, - "else": { - "operation": "boost", - "score": 0.11760580539703369 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.14699813723564148 - }, - "else": { - "operation": "boost", - "score": 0.1293865144252777 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10776451230049133 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.03881087154150009 - }, - "else": { - "operation": "boost", - "score": 0.10722175985574722 - } - } + "score": 0.12133433669805527 }, "else": { "operation": "boost", - "score": -0.0812382772564888 + "score": 0.06592462211847305 } } }, "else": { - "operation": "boost", - "score": -0.07007706165313721 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.105338454246521 + }, + "else": { + "operation": "boost", + "score": -0.01345216017216444 + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.03474530950188637 }, "else": { "operation": "boost", - "score": -0.1710437536239624 + "score": -0.011651336215436459 } - }, - "else": { - "operation": "boost", - "score": 0.024157943204045296 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.19143299758434296 - }, - "else": { - "operation": "boost", - "score": -0.05594972148537636 - } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { + "operation": "boost", + "score": -0.0036225328221917152 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27.5, + "threshold": 85.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 827.5, "then": { "operation": "boost", - "score": 0.05121050029993057 + "score": 0.01930350251495838 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "boost", + "score": -0.10742127895355225 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": -0.02200036309659481 + "score": 0.06096611171960831 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.02282494306564331 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10776790976524353 - }, - "else": { - "operation": "boost", - "score": -0.11203644424676895 - } - }, - "else": { - "operation": "boost", - "score": 0.13330884277820587 - } - } + "operation": "boost", + "score": 0.05055908486247063 } - } - }, - "else": { - "operation": "boost", - "score": -0.06873512268066406 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11822322010993958 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.06114513799548149 - }, - "else": { - "operation": "boost", - "score": -0.017653517425060272 - } - } + "operation": "boost", + "score": 0.009391154162585735 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.02033083513379097 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.105026014149189 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13474580645561218 - }, - "else": { - "operation": "boost", - "score": 0.09154242277145386 - } - }, - "else": { - "operation": "boost", - "score": 0.014656325802206993 - } - }, - "else": { - "operation": "boost", - "score": 0.0294413510710001 - } + "operation": "boost", + "score": 0.0031802672892808914 }, "else": { "operation": "boost", - "score": 0.0814627856016159 + "score": 0.1323307305574417 } - }, - "else": { - "operation": "boost", - "score": 0.03238701820373535 } }, "else": { "operation": "boost", - "score": 0.08295987546443939 + "score": 0.004829050973057747 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": 0.34812799096107483 + }, + "else": { + "operation": "boost", + "score": 0.06637561321258545 } } } }, "else": { "operation": "boost", - "score": 0.030076628550887108 + "score": -0.05471741408109665 } - }, - "else": { - "operation": "boost", - "score": -0.010180666111409664 } - }, - "else": { - "operation": "boost", - "score": 0.0021150424145162106 } } }, "else": { - "operation": "boost", - "score": 0.0009153832797892392 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 7394.5, "then": { "operation": "boost", - "score": -0.1339406669139862 + "score": 0.03306485712528229 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 5761.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12692837417125702 - }, - "else": { - "operation": "boost", - "score": 0.11250381171703339 - } + "operation": "boost", + "score": -1.0780378580093384 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03834899142384529 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11060649156570435 - }, - "else": { - "operation": "boost", - "score": 0.8624885082244873 - } - } + "operation": "boost", + "score": -0.55006343126297 } }, "else": { "operation": "boost", - "score": 0.15848729014396667 + "score": -0.058809760957956314 } } }, "else": { - "operation": "boost", - "score": 0.06319660693407059 - } - }, - "else": { - "operation": "boost", - "score": 0.00896972231566906 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": -0.08234378695487976 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.02276303619146347 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.01203928142786026 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11187689751386642 + "score": -0.02501862868666649 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1705411672592163 + "score": 0.06926180422306061 }, "else": { "operation": "boost", - "score": -0.15364687144756317 + "score": -0.002700967714190483 } } - }, - "else": { - "operation": "boost", - "score": 0.10895030945539474 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.008549611084163189 - }, - "else": { - "operation": "boost", - "score": 0.1096864640712738 - } - }, - "else": { - "operation": "boost", - "score": -0.10924886912107468 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.013668385334312916 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10412479192018509 - }, - "else": { - "operation": "boost", - "score": -0.14709466695785522 - } - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { + "operation": "boost", + "score": 0.0010315966792404652 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.047506291419267654 + "score": -0.1636299043893814 }, "else": { "operation": "boost", - "score": 0.13116107881069183 + "score": -0.36023908853530884 } }, "else": { "operation": "boost", - "score": -0.08969245105981827 + "score": -0.015244640409946442 } - }, - "else": { - "operation": "boost", - "score": 0.10088367015123367 } }, "else": { "operation": "boost", - "score": 0.033195942640304565 + "score": 0.005801152903586626 } }, - "else": { - "operation": "boost", - "score": -0.023763328790664673 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.14759968221187592 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "boost", - "score": -0.1561691164970398 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "boost", - "score": 0.09047278016805649 + "score": -0.022358234971761703 }, "else": { "operation": "boost", - "score": 0.12909498810768127 + "score": -0.11327558010816574 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.19641530513763428 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60738.0, + "then": { + "operation": "boost", + "score": 0.14883174002170563 + }, + "else": { + "operation": "boost", + "score": 0.03469937667250633 + } + }, + "else": { + "operation": "boost", + "score": 0.000803205359261483 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36980.0, + "then": { + "operation": "boost", + "score": 0.02139766700565815 + }, + "else": { + "operation": "boost", + "score": -0.059100281447172165 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.02726205810904503 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10075.0, + "then": { + "operation": "boost", + "score": -0.05798531323671341 + }, + "else": { + "operation": "boost", + "score": 0.12502330541610718 + } + }, + "else": { + "operation": "boost", + "score": 0.009737773798406124 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.0, + "then": { + "operation": "boost", + "score": -0.02569579891860485 + }, + "else": { + "operation": "boost", + "score": -0.10695858299732208 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.07410869747400284 + }, + "else": { + "operation": "boost", + "score": -0.3387572169303894 + } + } + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": -0.008710064925253391 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10.5, + "threshold": 84.5, "then": { - "operation": "boost", - "score": -0.035262394696474075 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 412.5, + "then": { + "operation": "boost", + "score": 0.006405914667993784 + }, + "else": { + "operation": "boost", + "score": -0.6995878219604492 + } }, "else": { "operation": "boost", - "score": 0.13816651701927185 + "score": -0.0913417637348175 } - }, - "else": { - "operation": "boost", - "score": -0.05149456858634949 } }, "else": { "operation": "boost", - "score": 0.03983277082443237 + "score": 0.013663643039762974 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71.5, + "then": { + "operation": "boost", + "score": -0.2796494662761688 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.10667972266674042 + }, + "else": { + "operation": "boost", + "score": 0.1328619122505188 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.029462816193699837 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.04475310444831848 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.0, + "then": { + "operation": "boost", + "score": 0.09675250947475433 + }, + "else": { + "operation": "boost", + "score": 0.18434949219226837 + } + } }, "else": { - "operation": "boost", - "score": -0.09019868820905685 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008199287578463554 + }, + "else": { + "operation": "boost", + "score": 0.0474553108215332 + } } } + }, + "else": { + "operation": "boost", + "score": 0.0035067100543528795 } } - }, - "else": { - "operation": "boost", - "score": 0.011549800634384155 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 359.0, + "feature": "FileProximityDistanceCost", + "threshold": 34.5, "then": { + "operation": "boost", + "score": -0.12839217483997345 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.09918895363807678 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.0019802870228886604 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 851.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { - "operation": "boost", - "score": 0.04426773637533188 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.03411813825368881 + }, + "else": { + "operation": "boost", + "score": -0.009473097510635853 + } }, "else": { "operation": "boost", - "score": 0.0714932307600975 + "score": 0.0019824530463665724 } - }, - "else": { - "operation": "boost", - "score": -0.03177884221076965 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17712457478046417 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": -0.025263819843530655 + "score": 0.12222307175397873 }, "else": { "operation": "boost", - "score": -0.1764257252216339 + "score": -0.14956089854240417 } } } @@ -226773,116 +223650,236 @@ } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4724.5, "then": { - "operation": "boost", - "score": -0.01951495371758938 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4809.0, + "then": { + "operation": "boost", + "score": 0.011661228723824024 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4777.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.17665530741214752 + }, + "else": { + "operation": "boost", + "score": 0.10395807772874832 + } + }, + "else": { + "operation": "boost", + "score": 0.07540139555931091 + } + } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.07733341306447983 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.030999984592199326 + }, + "else": { + "operation": "boost", + "score": -0.0008582552545703948 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.75, "then": { "operation": "boost", - "score": 0.051324497908353806 + "score": 0.13271848857402802 }, "else": { "operation": "boost", - "score": 0.0921962633728981 + "score": -0.023788336664438248 } } }, "else": { - "operation": "boost", - "score": 0.0062956134788692 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.012718942947685719 + }, + "else": { + "operation": "boost", + "score": -0.12230315804481506 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.06591590493917465 + }, + "else": { + "operation": "boost", + "score": 0.007218272890895605 + } + } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -2.25527286529541 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { "operation": "boost", - "score": -0.11129515618085861 + "score": 0.12837038934230804 }, "else": { - "operation": "boost", - "score": 0.08919243514537811 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3311.0, + "then": { + "operation": "boost", + "score": -0.22690457105636597 + }, + "else": { + "operation": "boost", + "score": 0.021114332601428032 + } } + }, + "else": { + "operation": "boost", + "score": 0.003324672346934676 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.02475498616695404 + "score": -0.0037011802196502686 }, "else": { "operation": "boost", - "score": -0.39417341351509094 + "score": -0.12366608530282974 } } } }, "else": { "operation": "boost", - "score": -0.11174436658620834 + "score": -0.0002226712240371853 } } } - }, - "else": { - "operation": "boost", - "score": -0.0004264278686605394 } }, { @@ -226893,2849 +223890,3377 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, + "then": { + "operation": "boost", + "score": -0.1632150262594223 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.10785268247127533 + }, + "else": { + "operation": "boost", + "score": -0.17915482819080353 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00519005861133337 + } + }, + "else": { + "operation": "boost", + "score": 0.001988952048122883 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.002987643238157034 + "score": -0.0001779713056748733 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.006763484328985214 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.1558704376220703, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": -0.13619622588157654 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.1110730841755867 - }, - "else": { - "operation": "boost", - "score": 0.06165629252791405 - } - } + "operation": "boost", + "score": 0.016888229176402092 + }, + "else": { + "operation": "boost", + "score": 0.008322419598698616 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.01993325725197792 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.10669496655464172 + "score": -0.22358287870883942 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.1117468997836113 - }, - "else": { - "operation": "boost", - "score": 0.11219148337841034 - } + "operation": "boost", + "score": 0.004166717641055584 } } - }, - "else": { - "operation": "boost", - "score": -0.03804606571793556 } - } - }, - "else": { - "operation": "boost", - "score": 0.0027840412221848965 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.13838237524032593 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24802.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.6865056753158569 + "score": 0.0019696007948368788 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.0, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { - "operation": "boost", - "score": 0.09326910972595215 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.15003082156181335 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.008471250534057617 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.10946565121412277 + }, + "else": { + "operation": "boost", + "score": 0.12108208984136581 + } + }, + "else": { + "operation": "boost", + "score": 0.04733788222074509 + } + } }, "else": { - "operation": "boost", - "score": 0.04653552547097206 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": -0.3117411434650421 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": 0.09031153470277786 + }, + "else": { + "operation": "boost", + "score": -0.2695808410644531 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7333333492279053, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.13307377696037292 + }, + "else": { + "operation": "boost", + "score": 0.05689319595694542 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.07672062516212463 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": -0.3267916440963745 + }, + "else": { + "operation": "boost", + "score": -0.03726831451058388 + } + } + } + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { + "operation": "boost", + "score": -0.1661318838596344 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 25.5, "then": { "operation": "boost", - "score": 0.08317594975233078 + "score": 0.13993531465530396 }, "else": { - "operation": "boost", - "score": 0.10634998977184296 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": -0.05990537256002426 + }, + "else": { + "operation": "boost", + "score": 0.06402098387479782 + } } - }, - "else": { - "operation": "boost", - "score": 0.04099518060684204 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -6.2094645500183105 + }, + "else": { + "operation": "boost", + "score": -0.017373323440551758 + } } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9005.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.04685872048139572 - }, - "else": { - "operation": "boost", - "score": 0.09120277315378189 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.0, - "then": { - "operation": "boost", - "score": 1.007369875907898 - }, - "else": { - "operation": "boost", - "score": 0.03170266002416611 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.003025685204192996 + "score": -0.01267552375793457 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.009104850701987743 + "score": 0.0334184467792511 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.029574759304523468 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.0594371072947979 - }, - "else": { - "operation": "boost", - "score": 0.024177711457014084 - } - } + "operation": "boost", + "score": -0.015059729106724262 } }, "else": { "operation": "boost", - "score": 0.023562509566545486 + "score": 0.0488244891166687 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "boost", - "score": 0.05333009734749794 + "score": -0.0921393409371376 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { - "operation": "boost", - "score": 0.10877250880002975 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 593702.0, + "then": { + "operation": "boost", + "score": -0.3295174837112427 + }, + "else": { + "operation": "boost", + "score": 0.02113582193851471 + } }, "else": { - "operation": "boost", - "score": 0.1570809930562973 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.013316758908331394 + }, + "else": { + "operation": "boost", + "score": -0.139473557472229 + } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.010212486609816551 }, "else": { "operation": "boost", - "score": -0.022285766899585724 + "score": -0.0007048065308481455 } - }, - "else": { - "operation": "boost", - "score": -0.04374217614531517 } - }, - "else": { - "operation": "boost", - "score": -0.04378262162208557 } + }, + "else": { + "operation": "boost", + "score": 0.11969831585884094 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9.5, + "threshold": 10916.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16.5, + "threshold": 17828.0, "then": { + "operation": "boost", + "score": 0.010050454176962376 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 17717.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.13802367448806763 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.15653443336486816 + }, + "else": { + "operation": "boost", + "score": 0.15544553101062775 + } + } + }, + "else": { + "operation": "boost", + "score": 0.15717773139476776 + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.013656419701874256 + "score": 0.08278954029083252 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "boost", + "score": 0.0016144493129104376 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006078989710658789 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.0, - "then": { - "operation": "boost", - "score": 0.03304498642683029 - }, - "else": { - "operation": "boost", - "score": 0.1147015169262886 - } + "operation": "boost", + "score": -0.021546095609664917 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": -0.05735696479678154 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.024547496810555458 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": -0.07914910465478897 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.0929967612028122 + }, + "else": { + "operation": "boost", + "score": 0.03879566863179207 + } + } + }, + "else": { + "operation": "boost", + "score": 0.003545230720192194 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": 0.06879006326198578 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.09389780461788177 + }, + "else": { + "operation": "boost", + "score": 0.011562252417206764 + } + } + } }, "else": { - "operation": "boost", - "score": 0.1147204115986824 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "boost", + "score": 0.01178657915443182 + }, + "else": { + "operation": "boost", + "score": -0.007153646554797888 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.039298128336668015 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00857981014996767 + }, + "else": { + "operation": "boost", + "score": 0.028658321127295494 + } }, "else": { - "operation": "boost", - "score": 0.1133953407406807 - } - } - }, - "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.05853233486413956 + }, + "else": { + "operation": "boost", + "score": -1.0194538831710815 + } + }, + "else": { + "operation": "boost", + "score": -0.005921339616179466 + } + }, + "else": { + "operation": "boost", + "score": 0.010399299673736095 + } + } + } + }, + "else": { "operation": "boost", - "score": -0.06926585733890533 + "score": -0.008765424601733685 } } }, + "else": { + "operation": "boost", + "score": -0.010986566543579102 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.0023805592209100723 + }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.031517427414655685 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 161.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0559065006673336 + "score": -0.006091568153351545 }, "else": { - "operation": "boost", - "score": 0.10646555572748184 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.0602777823805809 + }, + "else": { + "operation": "boost", + "score": 0.026097353547811508 + } } }, "else": { "operation": "boost", - "score": -0.2501525282859802 + "score": -0.06459184736013412 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.11528375744819641 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1937878131866455 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12524735927581787 + }, + "else": { + "operation": "boost", + "score": 0.022244293242692947 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.06629298627376556 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0028077003080397844 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.10162149369716644 + }, + "else": { + "operation": "boost", + "score": -0.014357154257595539 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09541778266429901 + } }, "else": { - "operation": "boost", - "score": 0.090629942715168 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2663.0, + "then": { + "operation": "boost", + "score": -0.12736015021800995 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2531.5, + "then": { + "operation": "boost", + "score": 0.13039375841617584 + }, + "else": { + "operation": "boost", + "score": 0.0047057741321623325 + } + } } } } + }, + "else": { + "operation": "boost", + "score": 0.022459451109170914 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.10084366053342819 - }, - "else": { - "operation": "boost", - "score": 0.119362473487854 - } + "operation": "boost", + "score": 0.013539246283471584 }, "else": { "operation": "boost", - "score": 0.09793730080127716 + "score": 0.09650299698114395 } }, "else": { "operation": "boost", - "score": -0.22381173074245453 + "score": -0.2147361785173416 } }, "else": { - "operation": "boost", - "score": 0.03401947021484375 - } - }, - "else": { - "operation": "boost", - "score": -0.09687678515911102 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { + "operation": "boost", + "score": -0.3263503313064575 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { "operation": "boost", - "score": 0.0744423121213913 + "score": 0.05967872962355614 }, "else": { "operation": "boost", - "score": 0.11707417666912079 + "score": -0.37373000383377075 } - }, - "else": { - "operation": "boost", - "score": -0.24271777272224426 } }, "else": { "operation": "boost", - "score": 0.10020679980516434 + "score": 0.05060591921210289 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "boost", - "score": 0.06281420588493347 - }, - "else": { - "operation": "boost", - "score": -0.25942549109458923 - } + "operation": "boost", + "score": -0.07721266895532608 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.18267704546451569 + "score": -0.040496814996004105 }, "else": { "operation": "boost", - "score": 0.10168681293725967 + "score": -0.0045267450623214245 } }, "else": { "operation": "boost", - "score": 0.09109578281641006 + "score": -0.030037201941013336 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 152.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 213.0, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { "operation": "boost", - "score": 0.004712610971182585 + "score": -0.0553273968398571 }, "else": { "operation": "boost", - "score": 0.12106175720691681 + "score": 0.01117137260735035 } - }, - "else": { - "operation": "boost", - "score": -0.11126815527677536 } } - }, - "else": { - "operation": "boost", - "score": -0.14751887321472168 } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.008206377737224102 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.0034218274522572756 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.011027421802282333 + }, + "else": { + "operation": "boost", + "score": -0.1546860933303833 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00018971998360939324 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 266152.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 272339.5, + "then": { + "operation": "boost", + "score": 0.017215432599186897 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.07005009800195694 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.10820269584655762 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.02151675894856453 + }, + "else": { + "operation": "boost", + "score": 0.03868945688009262 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 42.0, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09471195936203003 + "score": -0.01720256730914116 }, "else": { "operation": "boost", - "score": -0.137730211019516 + "score": 0.022854700684547424 } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.025057082995772362 }, "else": { "operation": "boost", - "score": -0.23374895751476288 + "score": -0.2068641632795334 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, + "feature": "FractionNameInContext", + "threshold": 0.09307359158992767, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0376536063849926 + "score": -0.003796959761530161 }, "else": { "operation": "boost", - "score": 0.11378654837608337 + "score": 0.0241637472063303 } }, "else": { "operation": "boost", - "score": -0.030824050307273865 + "score": 0.007984207011759281 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.012657398357987404 + }, + "else": { + "operation": "boost", + "score": -0.010409476235508919 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { + "operation": "boost", + "score": -0.035366930067539215 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 45.5, + "then": { + "operation": "boost", + "score": 0.028208432719111443 + }, + "else": { + "operation": "boost", + "score": -0.0006842185975983739 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.02041168138384819 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.04396749287843704 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.011721893213689327 - }, - "else": { - "operation": "boost", - "score": 0.1312233805656433 - } - } + "operation": "boost", + "score": -0.2217353731393814 }, "else": { "operation": "boost", - "score": -0.10436521470546722 + "score": 0.07504748553037643 } }, "else": { - "operation": "boost", - "score": -0.004364111460745335 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11178336292505264 - }, - "else": { - "operation": "boost", - "score": 0.008728859946131706 - } - }, - "else": { - "operation": "boost", - "score": 0.04012085869908333 - } + "operation": "boost", + "score": -0.03373274952173233 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.12160857766866684 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11192444711923599 - }, - "else": { - "operation": "boost", - "score": -0.10733252018690109 - } - } - }, - "else": { - "operation": "boost", - "score": -0.38739094138145447 - } + "operation": "boost", + "score": 0.03813846781849861 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "boost", + "score": -0.16652703285217285 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "boost", + "score": -0.07918111234903336 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0009959019953384995 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.019924568012356758 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.005444488488137722 + }, + "else": { + "operation": "boost", + "score": 0.001756542013026774 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.08740735054016113 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, "then": { "operation": "boost", - "score": 0.10606599599123001 + "score": -0.043348006904125214 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { - "operation": "boost", - "score": 0.09253909438848495 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { + "operation": "boost", + "score": -0.0034615076147019863 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 28.5, "then": { - "operation": "boost", - "score": -0.4336182177066803 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { - "operation": "boost", - "score": 0.16761745512485504 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.11726447194814682 + }, + "else": { + "operation": "boost", + "score": 0.08235105872154236 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.01476842351257801 - }, - "else": { - "operation": "boost", - "score": 0.10685862600803375 - } + "operation": "boost", + "score": -0.07420490682125092 }, "else": { "operation": "boost", - "score": -0.1524084061384201 + "score": 0.07687977701425552 } } + }, + "else": { + "operation": "boost", + "score": -0.046636223793029785 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.13762669265270233 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0019344831816852093 + }, + "else": { + "operation": "boost", + "score": 0.06850868463516235 + } + }, + "else": { + "operation": "boost", + "score": -0.08300977945327759 + } }, "else": { - "operation": "boost", - "score": 0.11249828338623047 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.08814404159784317 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16840165853500366 + }, + "else": { + "operation": "boost", + "score": -0.18201252818107605 + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.15808500349521637 } + }, + "else": { + "operation": "boost", + "score": 0.014446130953729153 } } }, "else": { - "operation": "boost", - "score": -0.00902304146438837 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71608.5, + "then": { + "operation": "boost", + "score": 0.19589857757091522 + }, + "else": { + "operation": "boost", + "score": -0.022291814908385277 + } } + }, + "else": { + "operation": "boost", + "score": -0.002566104056313634 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "boost", + "score": -0.04019346833229065 + } + }, + "else": { + "operation": "boost", + "score": -0.10584384948015213 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro" + ], "then": { - "operation": "boost", - "score": -0.09389390796422958 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.12231747061014175 + "score": 0.03520826995372772 }, "else": { "operation": "boost", - "score": -0.045735254883766174 + "score": -0.15463842451572418 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.1305980086326599 - }, - "else": { - "operation": "boost", - "score": -0.14541399478912354 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.03133971989154816 - }, - "else": { - "operation": "boost", - "score": 0.09995579719543457 - } - } + "operation": "boost", + "score": -0.04409629851579666 } + }, + "else": { + "operation": "boost", + "score": 0.008504044264554977 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 25537.5, "then": { - "operation": "boost", - "score": -0.24325628578662872 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 44699.0, "then": { + "operation": "boost", + "score": 0.0039511569775640965 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 42438.0, "then": { - "operation": "boost", - "score": -0.07802195101976395 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.08612003922462463 + "score": -0.0006312868208624423 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "boost", - "score": 0.0812181755900383 + "score": -0.11735007911920547 }, "else": { "operation": "boost", - "score": -0.12275335937738419 + "score": 0.12437921017408371 } } }, "else": { - "operation": "boost", - "score": 0.06289684772491455 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05500492453575134 + }, + "else": { + "operation": "boost", + "score": -0.19776439666748047 + } } + }, + "else": { + "operation": "boost", + "score": 0.016629885882139206 } - }, - "else": { - "operation": "boost", - "score": -0.1365058273077011 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.07452430576086044 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 24308.0, "then": { - "operation": "boost", - "score": 0.05051310360431671 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11692226678133011 + "score": -0.04825301840901375 }, "else": { "operation": "boost", - "score": 0.18690137565135956 + "score": -0.1438155472278595 } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11708724498748779 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.029470127075910568 - }, - "else": { - "operation": "boost", - "score": -0.1639707088470459 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.15861250460147858 }, "else": { - "operation": "boost", - "score": -0.15801195800304413 - } - }, - "else": { - "operation": "boost", - "score": -0.0700974240899086 - } - }, - "else": { - "operation": "boost", - "score": -0.00989763718098402 - } - } - }, - "else": { - "operation": "boost", - "score": 0.006539792753756046 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00017687772924546152 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.019651515409350395 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.21501679718494415 - }, - "else": { - "operation": "boost", - "score": -0.14077432453632355 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.000390149507438764 - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.01726151444017887 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12408822029829025 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": -0.2879208028316498 - }, - "else": { - "operation": "boost", - "score": -0.14223049581050873 - } - } - }, - "else": { - "operation": "boost", - "score": -0.07719717174768448 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 406.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10227082669734955 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07181569188833237 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1272.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.3873768448829651 - }, - "else": { - "operation": "boost", - "score": -0.11338190734386444 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 897.0, - "then": { - "operation": "boost", - "score": 0.19915200769901276 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 619.5, - "then": { - "operation": "boost", - "score": 0.883996307849884 - }, - "else": { - "operation": "boost", - "score": -0.13799281418323517 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.038484279066324234 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.5, - "then": { - "operation": "boost", - "score": -0.30951523780822754 - }, - "else": { - "operation": "boost", - "score": -0.6217468976974487 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.10750926285982132 - }, - "else": { - "operation": "boost", - "score": -0.19174383580684662 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10863.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.006687514949589968 - }, - "else": { - "operation": "boost", - "score": 0.1009020060300827 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 315.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 341.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.0279241930693388 - }, - "else": { - "operation": "boost", - "score": 0.1301061064004898 - } - }, - "else": { - "operation": "boost", - "score": 0.11971411854028702 - } - }, - "else": { - "operation": "boost", - "score": 0.12438186258077621 - } - }, - "else": { - "operation": "boost", - "score": 0.03291323035955429 - } - }, - "else": { - "operation": "boost", - "score": 0.02802639827132225 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.004218322690576315 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.11504139006137848 - }, - "else": { - "operation": "boost", - "score": 0.10456015169620514 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.039677694439888 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.4988269507884979 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.09000690281391144 - }, - "else": { - "operation": "boost", - "score": 0.09511766582727432 - } - } - }, - "else": { - "operation": "boost", - "score": -0.012766093946993351 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.023629801347851753 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "threshold": 15770.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10371610522270203 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.13465553522109985 - }, - "else": { - "operation": "boost", - "score": -0.15171626210212708 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08025682717561722 - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.008969453163444996 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2235.5, - "then": { - "operation": "boost", - "score": 0.10874247550964355 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.053244698792696 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.34021905064582825 - }, - "else": { - "operation": "boost", - "score": 0.09150953590869904 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.11584331095218658 - }, - "else": { - "operation": "boost", - "score": 0.10374537110328674 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0064772069454193115 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.0019318696577101946 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1839.5, - "then": { - "operation": "boost", - "score": 0.09561043977737427 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 501.5, - "then": { - "operation": "boost", - "score": -0.22753921151161194 - }, - "else": { - "operation": "boost", - "score": 0.006636401172727346 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1137448102235794 - }, - "else": { - "operation": "boost", - "score": 0.10199514776468277 - } - }, - "else": { - "operation": "boost", - "score": -0.002586424583569169 - } - }, - "else": { - "operation": "boost", - "score": -0.01205557119101286 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.6122277975082397 - }, - "else": { - "operation": "boost", - "score": 0.017175450921058655 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.012936791405081749 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.10962776839733124 - }, - "else": { - "operation": "boost", - "score": 0.08898285031318665 - } - }, - "else": { - "operation": "boost", - "score": -0.19346283376216888 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, + "threshold": 16299.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.04959540814161301 + "score": 0.2834759056568146 }, "else": { "operation": "boost", - "score": 0.13480810821056366 + "score": 0.018633026629686356 } }, "else": { - "operation": "boost", - "score": 0.21429535746574402 - } - }, - "else": { - "operation": "boost", - "score": 0.06543313711881638 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10427269339561462 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.021743157878518105 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 119.5, + "threshold": 16033.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "boost", - "score": 0.11796277016401291 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16141.5, + "then": { + "operation": "boost", + "score": 0.005021404474973679 + }, + "else": { + "operation": "boost", + "score": 0.1676546037197113 + } }, "else": { "operation": "boost", - "score": -0.23153725266456604 + "score": 0.024222994223237038 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 15964.5, "then": { - "operation": "boost", - "score": 0.12176613509654999 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0919816717505455, + "then": { + "operation": "boost", + "score": 0.12834876775741577 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.1358967274427414 + }, + "else": { + "operation": "boost", + "score": 0.12051026523113251 + } + } }, "else": { "operation": "boost", - "score": -0.14140069484710693 + "score": 0.05975617840886116 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.014791748486459255 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.5, + "threshold": 16250.0, "then": { - "operation": "boost", - "score": 0.06396222114562988 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.13321052491664886 + }, + "else": { + "operation": "boost", + "score": 0.02940535731613636 + } }, "else": { "operation": "boost", - "score": 0.12633544206619263 + "score": 0.03284329175949097 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 10.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.1118730753660202 - }, - "else": { - "operation": "boost", - "score": -0.14979925751686096 - } + "operation": "boost", + "score": 0.016056234017014503 }, "else": { "operation": "boost", - "score": 0.11442156136035919 + "score": -0.04516790062189102 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23.5, + "threshold": 15236.0, "then": { - "operation": "boost", - "score": 0.09233160316944122 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.071615070104599 + }, + "else": { + "operation": "boost", + "score": -0.14094847440719604 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 14638.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.04435697942972183 - }, - "else": { - "operation": "boost", - "score": 0.11969397962093353 - } + "operation": "boost", + "score": 0.09856541454792023 }, "else": { "operation": "boost", - "score": -0.07018359750509262 + "score": -0.01208017859607935 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.056790150701999664 - }, - "else": { - "operation": "boost", - "score": 0.11487466841936111 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234.0, - "then": { - "operation": "boost", - "score": 0.07874462008476257 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": -0.10469905287027359 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.02193715237081051 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.10846593230962753 + }, + "else": { + "operation": "boost", + "score": -0.22097456455230713 + } }, "else": { "operation": "boost", - "score": 0.10483294725418091 + "score": -0.04433957859873772 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.10098050534725189 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": -0.33082446455955505 + "score": 0.03499143198132515 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "boost", + "score": 0.009490189142525196 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.0026659034192562103 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.021214904263615608 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": 0.07245714962482452 + }, + "else": { + "operation": "boost", + "score": -0.14551423490047455 + } + }, + "else": { + "operation": "boost", + "score": 0.01395431999117136 + } + }, + "else": { + "operation": "boost", + "score": -0.016599353402853012 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": 0.01604459062218666 + }, + "else": { + "operation": "boost", + "score": 0.11436613649129868 + } + }, + "else": { + "operation": "boost", + "score": -0.03458452597260475 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "boost", + "score": 0.11122715473175049 + }, + "else": { + "operation": "boost", + "score": 0.022606998682022095 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.000875027384608984 + } + } + }, + "else": { + "operation": "boost", + "score": -0.019769325852394104 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.11832374334335327 + "score": 0.22298552095890045 }, "else": { "operation": "boost", - "score": -0.0015079390723258257 + "score": 0.14108020067214966 } + }, + "else": { + "operation": "boost", + "score": -0.025313127785921097 } }, "else": { "operation": "boost", - "score": 0.09583292156457901 + "score": 0.0007600862300023437 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004498590249568224 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.004134381655603647 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11812596768140793 + }, + "else": { + "operation": "boost", + "score": 0.062471531331539154 + } + }, + "else": { + "operation": "boost", + "score": -0.028822265565395355 + } + }, + "else": { + "operation": "boost", + "score": 0.07917038351297379 + } } }, "else": { "operation": "boost", - "score": -0.07243554294109344 + "score": -0.06641858071088791 } }, "else": { "operation": "boost", - "score": -0.6921550631523132 + "score": 0.01795278675854206 } } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 179.0, - "then": { - "operation": "boost", - "score": 0.0410318523645401 - }, - "else": { - "operation": "boost", - "score": 0.12125296145677567 - } - }, - "else": { - "operation": "boost", - "score": -0.03050893358886242 - } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": 0.08675692975521088 - }, - "else": { - "operation": "boost", - "score": -0.4498443007469177 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.049769822508096695 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0009496358688920736 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10405834019184113 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": -0.015490192919969559 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15358.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9.5, + "threshold": 23993.5, "then": { "operation": "boost", - "score": -0.11412575095891953 + "score": 0.08457411825656891 }, "else": { - "operation": "boost", - "score": 0.12279364466667175 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12179487943649292, + "then": { + "operation": "boost", + "score": -0.6336929798126221 + }, + "else": { + "operation": "boost", + "score": -0.05820425972342491 + } } }, "else": { - "operation": "boost", - "score": 0.020892083644866943 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 13388.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { + "operation": "boost", + "score": 0.11604379117488861 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 13716.0, "then": { "operation": "boost", - "score": 0.13900305330753326 + "score": -0.05614138022065163 }, "else": { "operation": "boost", - "score": 0.02532198466360569 + "score": 0.11895716935396194 } - }, - "else": { - "operation": "boost", - "score": -0.09464459121227264 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "boost", - "score": -0.027534935623407364 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.13500787317752838 + "score": 0.006640593055635691 }, "else": { - "operation": "boost", - "score": 0.09154918789863586 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.03073755092918873 + }, + "else": { + "operation": "boost", + "score": 0.019022397696971893 + } } }, "else": { "operation": "boost", - "score": -0.1349981725215912 + "score": 0.0016327921766787767 } + }, + "else": { + "operation": "boost", + "score": -0.10239163041114807 } } - }, - "else": { - "operation": "boost", - "score": -0.07286402583122253 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.1001436784863472 + "score": -0.16546322405338287 }, "else": { "operation": "boost", - "score": 0.028122689574956894 + "score": -0.08017508685588837 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword" + ], "then": { - "operation": "boost", - "score": -0.22737224400043488 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07441926747560501 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, + "then": { + "operation": "boost", + "score": 0.09868917614221573 + }, + "else": { + "operation": "boost", + "score": 0.011862474493682384 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0012939547887071967 + } }, "else": { "operation": "boost", - "score": -0.037410952150821686 + "score": -0.006534113083034754 } } } } - }, - "else": { - "operation": "boost", - "score": 0.02660672925412655 } + }, + "else": { + "operation": "boost", + "score": -0.036937493830919266 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.008501260541379452 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 96.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97.5, + "then": { + "operation": "boost", + "score": 0.05443872883915901 + }, + "else": { + "operation": "boost", + "score": 0.8495182394981384 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", "Constructor", - "Function", - "Type", - "Namespace" + "Destructor", + "Keyword", + "Macro", + "Operator" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.11162222921848297 - }, - "else": { - "operation": "boost", - "score": -0.1157151609659195 - } - }, - "else": { - "operation": "boost", - "score": -0.012974857352674007 - } - }, - "else": { - "operation": "boost", - "score": 0.023247646167874336 - } + "operation": "boost", + "score": 0.054626915603876114 }, "else": { "operation": "boost", - "score": -0.03270494565367699 + "score": 0.1375616043806076 } }, "else": { "operation": "boost", - "score": 0.01864231377840042 + "score": -0.03276602178812027 } }, "else": { - "operation": "boost", - "score": 0.00583090353757143 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.037675537168979645 + }, + "else": { + "operation": "boost", + "score": -0.12608793377876282 + } } }, "else": { "operation": "boost", - "score": -0.026421571150422096 + "score": -0.037347257137298584 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 189.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00452166423201561 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.011132658459246159 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 264.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], "then": { "operation": "boost", - "score": -0.4386032521724701 + "score": 0.16022180020809174 }, "else": { - "operation": "boost", - "score": 0.02225569635629654 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.011780048720538616 + }, + "else": { + "operation": "boost", + "score": -0.027941862121224403 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0009674333268776536 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.005245938431471586 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.022180335596203804 + }, + "else": { + "operation": "boost", + "score": -0.04304214194417 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.029067346826195717 + }, + "else": { + "operation": "boost", + "score": -0.001930848229676485 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.041929785162210464 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0796082392334938 + }, + "else": { + "operation": "boost", + "score": 0.017152559012174606 + } + } + } } + }, + "else": { + "operation": "boost", + "score": -0.003526815678924322 } } } } - }, - "else": { - "operation": "boost", - "score": -0.00020145418238826096 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1218.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.10620300471782684, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1412.0, + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.009950865991413593 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "boost", - "score": -0.008209028281271458 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.07092894613742828 + }, + "else": { + "operation": "boost", + "score": 0.16392378509044647 + } }, "else": { + "operation": "boost", + "score": 0.036103829741477966 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16228070855140686, + "then": { + "operation": "boost", + "score": 0.0038483545649796724 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199261.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "boost", + "score": 0.0520591102540493 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.18777012825012207 - }, - "else": { - "operation": "boost", - "score": 0.1050480306148529 - } + "operation": "boost", + "score": 0.025241145864129066 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.08403901010751724 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "boost", + "score": 0.20532527565956116 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.10253646969795227 + }, + "else": { + "operation": "boost", + "score": -0.009295891970396042 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11098535358905792 + } }, "else": { "operation": "boost", - "score": -0.09828488528728485 + "score": -1.1254489421844482 } } }, "else": { - "operation": "boost", - "score": 0.045570265501737595 + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.973320722579956 + }, + "else": { + "operation": "boost", + "score": 0.024201365187764168 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.011328881606459618 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": -0.058538321405649185 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.09351889044046402 + }, + "else": { + "operation": "boost", + "score": -0.2696499228477478 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": -0.014425798319280148 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.008698823861777782 + }, + "else": { + "operation": "boost", + "score": -0.25548338890075684 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.003631716826930642 + }, + "else": { + "operation": "boost", + "score": -0.030140511691570282 + } + }, + "else": { + "operation": "boost", + "score": 0.012242303229868412 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.061816196888685226 + }, + "else": { + "operation": "boost", + "score": -0.11166754364967346 + } + }, + "else": { + "operation": "boost", + "score": -0.007991892285645008 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.015327390283346176 + }, + "else": { + "operation": "boost", + "score": 0.011089012026786804 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0009606350213289261 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 418.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13531869649887085 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.018723422661423683 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.003692059777677059 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5344.0, + "then": { + "operation": "boost", + "score": -0.03213989734649658 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16206.0, + "threshold": 5163.5, "then": { "operation": "boost", - "score": 0.010128199122846127 + "score": 0.13784611225128174 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3077.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3241.5, + "operation": "boost", + "score": 0.015158567577600479 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 472.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7547.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8723.5, + "threshold": 2949.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 3962.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07232190668582916 - }, - "else": { - "operation": "boost", - "score": -0.5370262265205383 - } + "operation": "boost", + "score": -0.10560549050569534 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10039.0, - "then": { - "operation": "boost", - "score": 0.08054427057504654 - }, - "else": { - "operation": "boost", - "score": 0.1467849314212799 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10335.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11081.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15623.0, - "then": { - "operation": "boost", - "score": 0.0803866758942604 - }, - "else": { - "operation": "boost", - "score": 0.050343070179224014 - } - }, - "else": { - "operation": "boost", - "score": 0.10542873293161392 - } - }, - "else": { - "operation": "boost", - "score": -0.417422354221344 - } - }, - "else": { - "operation": "boost", - "score": -0.14199551939964294 - } - } + "operation": "boost", + "score": 0.4923761785030365 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8573.5, + "threshold": 1012.5, "then": { "operation": "boost", - "score": 0.11776309460401535 + "score": 0.04989210143685341 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 984.0, "then": { "operation": "boost", - "score": 0.09738503396511078 + "score": 0.26403024792671204 }, "else": { "operation": "boost", - "score": 0.008431429974734783 + "score": 0.12706151604652405 } } } }, "else": { "operation": "boost", - "score": 0.035415634512901306 + "score": -0.008911682292819023 } }, "else": { - "operation": "boost", - "score": -0.03212020918726921 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 448.5, + "then": { + "operation": "boost", + "score": 0.1855584681034088 + }, + "else": { + "operation": "boost", + "score": 0.12120308727025986 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.011139802634716034 - }, - "else": { - "operation": "boost", - "score": 0.1044839397072792 - } + "operation": "boost", + "score": -0.01601664163172245 } - }, - "else": { - "operation": "boost", - "score": -0.04012124612927437 } } - }, - "else": { - "operation": "boost", - "score": -0.018409358337521553 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.06512115895748138 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97230.0, + "threshold": 714.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 254260.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.052828311920166016 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2272.5, "then": { "operation": "boost", - "score": 0.10759350657463074 + "score": -0.07232446223497391 }, "else": { - "operation": "boost", - "score": 0.10688687115907669 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32098.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36980.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.1221500113606453 + "score": -0.25549817085266113 }, "else": { "operation": "boost", - "score": 0.1292692869901657 + "score": -0.4664923846721649 } - }, - "else": { - "operation": "boost", - "score": -0.14795707166194916 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5323.5, - "then": { - "operation": "boost", - "score": -0.12158460170030594 - }, - "else": { - "operation": "boost", - "score": 0.10443536937236786 - } + "operation": "boost", + "score": -0.03540891781449318 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3339.0, + "threshold": 712.5, "then": { "operation": "boost", - "score": 0.0296745877712965 + "score": 0.22311906516551971 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3012.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10995916277170181 + "score": -0.14523033797740936 }, "else": { "operation": "boost", - "score": -0.13639555871486664 + "score": 0.028459379449486732 } } - }, - "else": { - "operation": "boost", - "score": -0.039432596415281296 } } } @@ -229743,2998 +227268,2658 @@ }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 1074118.5, "then": { - "operation": "boost", - "score": 0.02347046323120594 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11988922208547592 + "score": -0.5589450001716614 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.08762840181589127 - }, - "else": { - "operation": "boost", - "score": -0.026724830269813538 - } + "operation": "boost", + "score": -0.05470995977520943 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.005694905761629343 - } - }, - "else": { - "operation": "boost", - "score": -0.0004777481372002512 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1220.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.018547028303146362 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11154.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220112.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.02447957918047905 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.06024080887436867 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.029858944937586784 - }, - "else": { - "operation": "boost", - "score": -0.028445135802030563 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08495788276195526 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0057794805616140366 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11467.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, - "then": { - "operation": "boost", - "score": -0.00776694668456912 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 35026.0, + "threshold": 4566.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49106.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 432212.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 749331.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], + "operation": "boost", + "score": -0.218390554189682 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11027498543262482 - }, - "else": { - "operation": "boost", - "score": 0.08389124274253845 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09797867387533188 - }, - "else": { - "operation": "boost", - "score": 0.047057077288627625 - } - } + "operation": "boost", + "score": 0.106528140604496 }, "else": { "operation": "boost", - "score": -0.09700322896242142 + "score": 0.12050960212945938 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5968.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102876.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10640688985586166 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.153601735830307 - }, - "else": { - "operation": "boost", - "score": -0.2784310281276703 - } - }, - "else": { - "operation": "boost", - "score": 0.12079114466905594 - } - }, - "else": { - "operation": "boost", - "score": 0.02078094333410263 - } - }, - "else": { - "operation": "boost", - "score": 0.03960325941443443 - } - } - }, - "else": { - "operation": "boost", - "score": -0.019955020397901535 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.455231249332428 - }, - "else": { - "operation": "boost", - "score": 0.053278449922800064 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.19299833476543427 - }, - "else": { - "operation": "boost", - "score": 0.09218146651983261 - } - }, - "else": { - "operation": "boost", - "score": 0.10909270495176315 - } - } - } + "operation": "boost", + "score": 0.049302082508802414 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 67917.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73487.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.1053927093744278 - }, - "else": { - "operation": "boost", - "score": -0.5529049038887024 - } - }, - "else": { - "operation": "boost", - "score": 0.09841644018888474 - } - }, - "else": { - "operation": "boost", - "score": -0.013782525435090065 - } + "operation": "boost", + "score": 0.08268754929304123 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 90101.0, + "threshold": 37723.5, "then": { "operation": "boost", - "score": -0.10174140334129333 + "score": -0.4245408773422241 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87637.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.2331061065196991 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.06170634552836418 - }, - "else": { - "operation": "boost", - "score": 0.102862149477005 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0323173888027668 - } + "operation": "boost", + "score": -0.0038731112144887447 } } } }, "else": { "operation": "boost", - "score": -0.0003562315250746906 - } - } - }, - "else": { - "operation": "boost", - "score": -0.020639510825276375 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.0560181550681591 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08891291171312332 - }, - "else": { - "operation": "boost", - "score": -0.13243485987186432 - } + "score": 0.0977618619799614 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5747.0, "then": { "operation": "boost", - "score": 0.08730768412351608 + "score": 0.13033324480056763 }, "else": { "operation": "boost", - "score": 0.034261107444763184 + "score": 0.0336347296833992 } } + } + }, + "else": { + "operation": "boost", + "score": 0.042792435735464096 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4480.5, + "then": { + "operation": "boost", + "score": -0.3491741418838501 + }, + "else": { + "operation": "boost", + "score": -0.00046464873594231904 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 886.0, + "then": { + "operation": "boost", + "score": 0.054309215396642685 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 873.5, + "then": { + "operation": "boost", + "score": 0.15045525133609772 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35805.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.05043250694870949 - }, - "else": { - "operation": "boost", - "score": -0.01702474057674408 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.3736220598220825 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.10567515343427658 - }, - "else": { - "operation": "boost", - "score": -0.1857873946428299 - } - } - } + "operation": "boost", + "score": 0.0926065668463707 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.03582831099629402 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 419.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { + "operation": "boost", + "score": -0.05580344796180725 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.0, "then": { "operation": "boost", - "score": 0.10454107075929642 + "score": 0.11708075553178787 }, "else": { - "operation": "boost", - "score": -0.23080971837043762 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": -0.01234421692788601 + }, + "else": { + "operation": "boost", + "score": 0.10396444797515869 + } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16817.5, + "threshold": 92429.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.040144845843315125 + "score": -0.21042916178703308 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.02561655268073082 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18593.5, - "then": { - "operation": "boost", - "score": 0.10414355993270874 - }, - "else": { - "operation": "boost", - "score": 0.10072766244411469 - } - } + "operation": "boost", + "score": 0.08145228773355484 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11952.5, - "then": { - "operation": "boost", - "score": -0.32512107491493225 - }, - "else": { - "operation": "boost", - "score": 0.025176016613841057 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "threshold": 74544.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20253.5, + "threshold": 76763.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26718.0, - "then": { - "operation": "boost", - "score": -0.059245895594358444 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24776.0, - "then": { - "operation": "boost", - "score": 0.10008124262094498 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.13219834864139557 - }, - "else": { - "operation": "boost", - "score": 0.012183521874248981 - } - } - } - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", + "Constructor", "Destructor", + "Keyword", + "Namespace", "Operator", "Unknown", - "Type" + "Variable" ], "then": { "operation": "boost", - "score": 0.09141042828559875 + "score": 0.219569131731987 }, "else": { "operation": "boost", - "score": -0.1429699808359146 + "score": -0.008979281410574913 } + }, + "else": { + "operation": "boost", + "score": 0.08110585063695908 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18474.5, + "threshold": 64139.5, "then": { "operation": "boost", - "score": -0.15522004663944244 + "score": -0.1585596352815628 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18215.0, - "then": { - "operation": "boost", - "score": 0.11307284235954285 - }, - "else": { - "operation": "boost", - "score": 0.021192342042922974 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.004418500699102879 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "threshold": 56010.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19823.0, + "threshold": 59248.5, "then": { - "operation": "boost", - "score": -0.2357441931962967 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 17950.5, + "threshold": 62087.0, "then": { "operation": "boost", - "score": 0.12705029547214508 + "score": 0.03146623075008392 }, "else": { "operation": "boost", - "score": 0.5013631582260132 + "score": -0.3315441906452179 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31400.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33342.0, + "threshold": 57673.0, "then": { "operation": "boost", - "score": -0.10554318875074387 + "score": 0.10328861325979233 }, "else": { - "operation": "boost", - "score": 0.15554344654083252 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.21607472002506256 + }, + "else": { + "operation": "boost", + "score": 0.07569319009780884 + } } - }, - "else": { - "operation": "boost", - "score": 0.009879023768007755 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16487.5, - "then": { - "operation": "boost", - "score": -0.017849059775471687 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16301.5, + "threshold": 51599.0, "then": { "operation": "boost", - "score": 0.1320531964302063 + "score": -0.151162788271904 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.07725005596876144 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11605.0, - "then": { - "operation": "boost", - "score": 0.03221386298537254 - }, - "else": { - "operation": "boost", - "score": 0.1212223470211029 - } - } + "operation": "boost", + "score": -0.004735884722322226 } } } } } + }, + "else": { + "operation": "boost", + "score": -0.03671186417341232 } } } + }, + "else": { + "operation": "boost", + "score": 0.11931760609149933 } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00877426564693451 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 41.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.013954345136880875 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11209.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.008962557651102543 + }, + "else": { + "operation": "boost", + "score": -0.019406959414482117 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.049842942506074905 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.12408193945884705 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11245.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.11250372976064682 + "score": 0.08235999196767807 }, "else": { "operation": "boost", - "score": 0.10692249983549118 + "score": -0.04567405954003334 } - }, - "else": { - "operation": "boost", - "score": -0.010620025917887688 } }, "else": { "operation": "boost", - "score": 0.05982687696814537 + "score": -0.07047723978757858 } } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0616728700697422 - }, - "else": { - "operation": "boost", - "score": -0.008237339556217194 - } + "operation": "boost", + "score": 0.002005181508138776 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13108253479003906 }, "else": { - "operation": "boost", - "score": -0.0028190561570227146 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00039998465217649937 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.03588753566145897 - }, - "else": { - "operation": "boost", - "score": 0.021323716267943382 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.0016231245826929808 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_SymbolOrNewName", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.01758459024131298 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.1127694621682167 + "score": 0.1021660640835762 }, "else": { "operation": "boost", - "score": -0.018887480720877647 + "score": 0.016454769298434258 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11154.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.00042260007467120886 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.01416569110006094 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11464841663837433 + }, + "else": { + "operation": "boost", + "score": 0.037828296422958374 + } + }, + "else": { + "operation": "boost", + "score": 0.03604292869567871 + } + }, + "else": { + "operation": "boost", + "score": 0.009303353726863861 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185218.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.005997000727802515 + "score": -0.15315760672092438 }, "else": { "operation": "boost", - "score": 0.028660131618380547 + "score": -0.011486164294183254 } } - }, - "else": { - "operation": "boost", - "score": -0.0044383700005710125 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { - "operation": "boost", - "score": -0.01755037158727646 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { + "operation": "boost", + "score": -0.015950394794344902 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.046952590346336365 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type" + ], "then": { - "operation": "boost", - "score": -0.10397972911596298 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10342592746019363 + }, + "else": { + "operation": "boost", + "score": 0.018988804891705513 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10223463177680969 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07672049105167389 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.1475246548652649 - }, - "else": { - "operation": "boost", - "score": 0.053795382380485535 - } - } + "operation": "boost", + "score": -0.10419133305549622 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.045181840658187866 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.2714061439037323 - }, - "else": { - "operation": "boost", - "score": 0.020914411172270775 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.012540485709905624 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": -1.0538171529769897 - }, - "else": { - "operation": "boost", - "score": 0.0342194028198719 - } - }, - "else": { - "operation": "boost", - "score": -0.5428057909011841 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10308396071195602 + "score": -0.014002813957631588 }, "else": { - "operation": "boost", - "score": 0.04624434933066368 - } - }, - "else": { - "operation": "boost", - "score": 0.00940269511193037 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.048008110374212265 - }, - "else": { - "operation": "boost", - "score": 0.1349056363105774 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.0529976412653923 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.11371657252311707 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10849402844905853 - }, - "else": { - "operation": "boost", - "score": -0.20037873089313507 - } + "operation": "boost", + "score": -0.11889081448316574 }, "else": { "operation": "boost", - "score": 0.11060479283332825 + "score": 0.12267619371414185 } + }, + "else": { + "operation": "boost", + "score": -0.3063596785068512 } - }, - "else": { - "operation": "boost", - "score": -0.004078893922269344 } + }, + "else": { + "operation": "boost", + "score": -0.11456941068172455 } - }, - "else": { - "operation": "boost", - "score": -0.14833028614521027 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, - "then": { - "operation": "boost", - "score": 0.055941883474588394 - }, - "else": { - "operation": "boost", - "score": -0.07362175732851028 - } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.5679478049278259 - }, - "else": { - "operation": "boost", - "score": 0.12235208600759506 - } - }, - "else": { - "operation": "boost", - "score": -0.13621680438518524 - } - }, - "else": { - "operation": "boost", - "score": -0.10102355480194092 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 31.5, - "then": { - "operation": "boost", - "score": 0.21046972274780273 - }, - "else": { - "operation": "boost", - "score": 0.05861881375312805 - } - } - }, - "else": { - "operation": "boost", - "score": 0.022002335637807846 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.12043686211109161 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1272381991147995 - }, - "else": { - "operation": "boost", - "score": -0.11110451072454453 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": -0.00032025668770074844 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10328947752714157 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16345159709453583 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": -0.17558403313159943 - }, - "else": { - "operation": "boost", - "score": 0.12458450347185135 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.06375293433666229 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.15031364560127258 - }, - "else": { - "operation": "boost", - "score": -0.2342892587184906 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2500877380371094 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10443127900362015 - }, - "else": { - "operation": "boost", - "score": -0.2485622763633728 - } - }, - "else": { - "operation": "boost", - "score": 0.1177116259932518 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11178689450025558 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03318597003817558 - } - } - }, - "else": { - "operation": "boost", - "score": 0.014409860596060753 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04380081221461296 + }, + "else": { + "operation": "boost", + "score": -0.045851461589336395 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.01045304536819458 }, "else": { "operation": "boost", - "score": -0.004130261018872261 + "score": -0.03211551159620285 } } }, "else": { - "operation": "boost", - "score": -0.050505734980106354 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14451591670513153 + }, + "else": { + "operation": "boost", + "score": -0.08114007860422134 + } + }, + "else": { + "operation": "boost", + "score": 0.10444305837154388 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.053195130079984665 + }, + "else": { + "operation": "boost", + "score": -0.0009731304016895592 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.0044548227451741695 } - }, - "else": { + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 30.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function", - "Type", - "Namespace" + "Namespace", + "Variable" ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.05783015489578247 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_Statement", + "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08709463477134705 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10264390707015991 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.024144019931554794 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.019449152052402496 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.08878441154956818 - }, - "else": { - "operation": "boost", - "score": 0.06581185013055801 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06565598398447037 - } - } - } + "operation": "boost", + "score": -0.37486693263053894 }, "else": { "operation": "boost", - "score": -0.0009428478660993278 + "score": -0.2785453200340271 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.06039436534047127 - }, - "else": { - "operation": "boost", - "score": -0.015247092582285404 - } + "operation": "boost", + "score": 0.02352317050099373 } }, "else": { "operation": "boost", - "score": 0.007452378980815411 + "score": 0.011475278995931149 + } + }, + "else": { + "operation": "boost", + "score": 0.005083155352622271 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006831742823123932 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01335116010159254 + }, + "else": { + "operation": "boost", + "score": -0.016818543896079063 } }, "else": { "operation": "boost", - "score": 0.005925206001847982 + "score": -0.01540613453835249 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.009078862145543098 }, "else": { "operation": "boost", - "score": -0.0008377032936550677 + "score": 0.0012664112728089094 } }, "else": { "operation": "boost", - "score": 0.0011095565278083086 + "score": -0.04560206085443497 } } }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.014115513302385807 + }, + "else": { + "operation": "boost", + "score": -0.0002471075567882508 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.005096385721117258 + }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 794.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 799.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": 0.014063028618693352 + }, + "else": { + "operation": "boost", + "score": 0.2597789764404297 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.043587297201156616 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06533707678318024 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.059776827692985535 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09633806347846985 - }, - "else": { - "operation": "boost", - "score": 0.09799212217330933 - } - } - } - } + "operation": "boost", + "score": 0.02035490982234478 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0010058965999633074 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.041232138872146606 - }, - "else": { - "operation": "boost", - "score": -0.02493251860141754 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.011491521261632442 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0609004870057106 - }, - "else": { - "operation": "boost", - "score": 0.014004012569785118 - } - } - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" + "Function" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.02280914969742298 - }, - "else": { - "operation": "boost", - "score": 0.024953462183475494 - } + "operation": "boost", + "score": 0.12440373748540878 }, "else": { "operation": "boost", - "score": 0.005347174126654863 + "score": 0.008239028044044971 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.028944911435246468 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.03034706600010395 - }, - "else": { - "operation": "boost", - "score": 0.1763128936290741 - } - } + "operation": "boost", + "score": -0.041289493441581726 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { + "operation": "boost", + "score": 0.05600515007972717 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.08133211731910706 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.044461000710725784 + }, + "else": { + "operation": "boost", + "score": -0.5904929041862488 + } + }, + "else": { + "operation": "boost", + "score": -0.043478239327669144 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.020408527925610542 + "score": 0.03946143016219139 }, "else": { "operation": "boost", - "score": 0.20060837268829346 + "score": -0.42645570635795593 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.022354256361722946 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 779.5, + "then": { + "operation": "boost", + "score": -0.5816779732704163 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "boost", + "score": -0.012753689661622047 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.00627591647207737 + "score": 0.019023992121219635 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "boost", - "score": 0.10639595240354538 + "score": -0.25303900241851807 }, "else": { - "operation": "boost", - "score": 0.10131648182868958 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07178269326686859 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11330850422382355 + }, + "else": { + "operation": "boost", + "score": 0.07774719595909119 + } + } } } }, "else": { + "operation": "boost", + "score": -0.025339974090456963 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03388389199972153 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.03676449507474899 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33.5, "then": { "operation": "boost", - "score": 0.10476826876401901 + "score": -0.04941777139902115 }, "else": { "operation": "boost", - "score": 0.10465893894433975 + "score": 0.1335337907075882 } + }, + "else": { + "operation": "boost", + "score": -0.05532904341816902 } }, "else": { "operation": "boost", - "score": -0.030497577041387558 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0005112877697683871 - }, - "else": { - "operation": "boost", - "score": -0.0665026530623436 + "score": -0.01710810698568821 } } } - }, - "else": { - "operation": "boost", - "score": 0.042406268417835236 } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.12442383170127869 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93.5, + "then": { + "operation": "boost", + "score": -0.6091328859329224 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.18927811086177826 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.07501308619976044 - }, - "else": { - "operation": "boost", - "score": -0.24257464706897736 - } - } + "operation": "boost", + "score": 0.049332983791828156 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.017545174807310104 + "score": -0.37986403703689575 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09777361154556274 - }, - "else": { - "operation": "boost", - "score": 0.08369125425815582 - } + "operation": "boost", + "score": -0.034514252096414566 } }, - "else": { - "operation": "boost", - "score": 0.0009673252352513373 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.051813311874866486 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, "then": { + "operation": "boost", + "score": 0.16199618577957153 + }, + "else": { "operation": "if_member", "feature": "Scope", "set": [ + "ClassScope", + "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.020458223298192024 - }, - "else": { - "operation": "boost", - "score": 0.08836674690246582 - } + "operation": "boost", + "score": -0.03087019920349121 }, "else": { "operation": "boost", - "score": 0.014299564994871616 + "score": 0.06058623641729355 } }, - "else": { - "operation": "boost", - "score": -0.0016596510540693998 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.007334784604609013 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { - "operation": "boost", - "score": 0.004041273146867752 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": -0.008707613684237003 + "score": 0.11885558068752289 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.28257009387016296 + }, + "else": { + "operation": "boost", + "score": 0.02442062832415104 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03095085918903351 + }, + "else": { + "operation": "boost", + "score": 0.11793742328882217 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_greater", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.01504200417548418 + "score": 0.09831125289201736 }, "else": { "operation": "boost", - "score": 0.0028684765566140413 + "score": -0.10104109346866608 } + }, + "else": { + "operation": "boost", + "score": -0.00831122137606144 } } } } } - }, - "else": { - "operation": "boost", - "score": -0.10859336704015732 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.06266451627016068 - } - }, - "else": { - "operation": "boost", - "score": -0.04628494381904602 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.0006794330547563732 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.02012431062757969 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 154.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.09093685448169708 + "score": -0.07988971471786499 }, "else": { - "operation": "boost", - "score": -0.02737201377749443 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, - "then": { - "operation": "boost", - "score": 0.11857152730226517 - }, - "else": { - "operation": "boost", - "score": 0.060268569737672806 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": 0.10154390335083008 + }, + "else": { + "operation": "boost", + "score": -0.11654406785964966 + } + }, + "else": { + "operation": "boost", + "score": 0.10059461742639542 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.05572273209691048 + }, + "else": { + "operation": "boost", + "score": -0.22007018327713013 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.053085628896951675 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.015040501020848751 + }, + "else": { + "operation": "boost", + "score": 0.10730528831481934 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.675000011920929, + "then": { + "operation": "boost", + "score": -2.001957654953003 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 226.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 267.5, + "then": { + "operation": "boost", + "score": -0.06488372385501862 + }, + "else": { + "operation": "boost", + "score": -0.8583166599273682 + } + }, + "else": { + "operation": "boost", + "score": 0.00980627816170454 + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.07162181288003922 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { + "operation": "boost", + "score": -0.00845332257449627 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6203.5, + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 1.8206694221589714e-05 + "score": 0.10117416828870773 }, "else": { - "operation": "boost", - "score": 0.19635146856307983 - } - }, - "else": { - "operation": "boost", - "score": 0.008025907911360264 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 163.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 560.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 740.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.05616992712020874 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.12158222496509552 + }, + "else": { + "operation": "boost", + "score": -0.0249750018119812 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03419656306505203 + }, + "else": { + "operation": "boost", + "score": -0.22046029567718506 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.3660590350627899 + }, + "else": { + "operation": "boost", + "score": 0.007608278188854456 + } + }, + "else": { + "operation": "boost", + "score": 0.07138483226299286 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.179730623960495 + }, + "else": { + "operation": "boost", + "score": 0.04639521241188049 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.09511703252792358 + }, + "else": { + "operation": "boost", + "score": -0.4319038987159729 + } + }, + "else": { + "operation": "boost", + "score": -0.024004295468330383 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.04975680261850357 + }, + "else": { + "operation": "boost", + "score": -0.045584939420223236 + } + } + } + } }, "else": { - "operation": "boost", - "score": 0.11792157590389252 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.01669752411544323 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": -0.13737940788269043 + }, + "else": { + "operation": "boost", + "score": -0.07398708164691925 + } + } } - }, - "else": { - "operation": "boost", - "score": -0.0023483445402234793 } }, "else": { "operation": "boost", - "score": 0.11215230077505112 + "score": -0.023781845346093178 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 178.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { - "operation": "boost", - "score": 0.03992035612463951 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 58.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { + "operation": "boost", + "score": 0.09169206768274307 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 173.5, + "threshold": 248.0, "then": { "operation": "boost", - "score": 0.13906234502792358 + "score": -0.2971140146255493 }, "else": { "operation": "boost", - "score": 0.06247392296791077 + "score": 0.17514605820178986 } - }, - "else": { - "operation": "boost", - "score": 0.10843773931264877 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.1150192841887474 - }, - "else": { - "operation": "boost", - "score": 0.10140737891197205 - } + "operation": "boost", + "score": 0.006001830101013184 }, "else": { "operation": "boost", - "score": 0.07817649841308594 + "score": -0.20188798010349274 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { - "operation": "boost", - "score": 0.06533866375684738 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { - "operation": "boost", - "score": 0.11944660544395447 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.4548207223415375 + }, + "else": { + "operation": "boost", + "score": 0.163358673453331 + } }, "else": { "operation": "boost", - "score": 0.0975392684340477 + "score": 0.1259842962026596 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.003934008534997702 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.1260836273431778 - }, - "else": { - "operation": "boost", - "score": -0.1428411900997162 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.3053768277168274 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.14189521968364716 - }, - "else": { - "operation": "boost", - "score": 0.12902504205703735 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10847223550081253 - } - }, - "else": { - "operation": "boost", - "score": -0.17531222105026245 - } + "operation": "boost", + "score": -0.07325667142868042 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.017420154064893723 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 29.5, "then": { "operation": "boost", - "score": 0.21195253729820251 + "score": -0.1509907990694046 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.13215123116970062 - }, - "else": { - "operation": "boost", - "score": 0.4137127697467804 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1317158043384552 - }, - "else": { - "operation": "boost", - "score": -0.1885397881269455 - } - } + "operation": "boost", + "score": 0.1495865136384964 } + }, + "else": { + "operation": "boost", + "score": -0.13153468072414398 } } }, "else": { "operation": "boost", - "score": -0.04101613909006119 + "score": -0.8278540968894958 } } } - }, - "else": { - "operation": "boost", - "score": 0.02726280875504017 } } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.023608556017279625 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "boost", + "score": 0.009818640537559986 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { - "operation": "boost", - "score": 0.022289326414465904 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.1724073737859726 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11743814498186111 + }, + "else": { + "operation": "boost", + "score": 0.04122631624341011 + } + } }, "else": { "operation": "boost", - "score": -0.2585180401802063 + "score": 0.024143394082784653 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1662.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { "operation": "boost", - "score": -0.097439706325531 + "score": -0.057646751403808594 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1451.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "boost", + "score": 0.12432879954576492 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.009708196856081486 + "score": 0.09494142234325409 }, "else": { "operation": "boost", - "score": 0.15329720079898834 + "score": -0.09379430115222931 } - }, - "else": { - "operation": "boost", - "score": -0.001935973996296525 } } + }, + "else": { + "operation": "boost", + "score": -0.0012465600157156587 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.013868873938918114 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": -0.2884851396083832 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.1249396875500679 + }, + "else": { + "operation": "boost", + "score": 0.11188214272260666 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "boost", + "score": 0.09141994267702103 + }, + "else": { + "operation": "boost", + "score": -0.25722968578338623 + } + }, + "else": { + "operation": "boost", + "score": -0.03951922804117203 + } + } }, "else": { - "operation": "boost", - "score": -0.12848542630672455 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": 0.01073241326957941 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07421110570430756 + }, + "else": { + "operation": "boost", + "score": 0.1106216087937355 + } + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.016505656763911247 - }, - "else": { - "operation": "boost", - "score": -0.0580422468483448 - } + "operation": "boost", + "score": -0.05862662196159363 } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.00299236667342484 + }, + "else": { + "operation": "boost", + "score": 0.00015007056936156005 + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.01076436135917902 + }, + "else": { + "operation": "boost", + "score": -0.09833000600337982 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "boost", + "score": 0.09579655528068542 + }, + "else": { + "operation": "boost", + "score": 0.02221059985458851 + } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Constructor", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], "then": { + "operation": "boost", + "score": 0.010236471891403198 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.08631224930286407 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.1090698167681694 + "score": 0.003953801468014717 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10911185294389725 + "score": -0.03209381178021431 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.09761904925107956, "then": { "operation": "boost", - "score": 0.04672197625041008 + "score": 0.008059795945882797 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.12432903051376343 + "score": -0.021894121542572975 }, "else": { "operation": "boost", - "score": -0.3063431680202484 + "score": -0.0912223681807518 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.7188640832901001 + "score": 0.008565192110836506 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08602803945541382 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.10952669382095337 - }, - "else": { - "operation": "boost", - "score": 0.4997074007987976 - } - }, - "else": { - "operation": "boost", - "score": 0.09650279581546783 - } - } + "operation": "boost", + "score": -0.02779024839401245 } } } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace", - "CCC_Type" + "Type" ], "then": { - "operation": "boost", - "score": 0.08884534239768982 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { "operation": "boost", - "score": 0.020744547247886658 + "score": 0.18159542977809906 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.39475440979003906 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.35313645005226135 - }, - "else": { - "operation": "boost", - "score": 0.143879234790802 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2285328060388565 - } - }, - "else": { - "operation": "boost", - "score": 0.03383219614624977 - } - }, - "else": { - "operation": "boost", - "score": 0.031950101256370544 - } + "operation": "boost", + "score": 0.060735929757356644 } + }, + "else": { + "operation": "boost", + "score": 0.027373531833291054 } + }, + "else": { + "operation": "boost", + "score": -0.19645927846431732 } }, + "else": { + "operation": "boost", + "score": -0.028918074443936348 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -4.0654085751157254e-05 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": -0.2195812463760376 + }, + "else": { + "operation": "boost", + "score": -0.019968319684267044 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.029956592246890068 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8541666269302368, + "then": { + "operation": "boost", + "score": -0.0025943215005099773 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 16.5, "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": -0.027464887127280235 + }, + "else": { + "operation": "boost", + "score": -0.6132172346115112 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Symbol", + "CCC_TopLevel" ], "then": { + "operation": "boost", + "score": 0.08655393868684769 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10557655245065689 - }, - "else": { - "operation": "boost", - "score": 0.11708196997642517 - } + "operation": "boost", + "score": 0.07902512699365616 }, "else": { "operation": "boost", - "score": -0.1421816200017929 + "score": -0.3070422112941742 } }, "else": { "operation": "boost", - "score": 0.09747406095266342 + "score": 0.10010156780481339 } - }, - "else": { - "operation": "boost", - "score": 0.00903636496514082 } - }, - "else": { - "operation": "boost", - "score": -0.050461702048778534 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11374961584806442 + "score": 0.07534182816743851 }, "else": { - "operation": "boost", - "score": 0.11447665840387344 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1102413460612297 + }, + "else": { + "operation": "boost", + "score": 0.1260194629430771 + } } }, "else": { "operation": "boost", - "score": 0.05068778991699219 + "score": 0.035387661308050156 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.34004315733909607 + "score": 0.1331464946269989 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1071612536907196 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3169642686843872 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10111589729785919 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07947064191102982 - }, - "else": { - "operation": "boost", - "score": 0.10248609632253647 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04696177691221237 - } + "operation": "boost", + "score": 0.0365845188498497 + } + }, + "else": { + "operation": "boost", + "score": -0.1838751882314682 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.13142816722393036 + } + }, + "else": { + "operation": "boost", + "score": 0.002737049711868167 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007134600542485714 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.006821207236498594 + }, + "else": { + "operation": "boost", + "score": 0.03197875991463661 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 19.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 782.5, + "then": { + "operation": "boost", + "score": 0.031760986894369125 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 498.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.05488942191004753 + }, + "else": { + "operation": "boost", + "score": 0.11636481434106827 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 384.5, + "then": { + "operation": "boost", + "score": -0.20037351548671722 + }, + "else": { + "operation": "boost", + "score": 0.07876419275999069 } } + } + }, + "else": { + "operation": "boost", + "score": 0.0012819173280149698 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.5, + "then": { + "operation": "boost", + "score": 0.0832405686378479 + }, + "else": { + "operation": "boost", + "score": 0.04949408769607544 + } }, "else": { "operation": "if_greater", @@ -232742,2752 +229927,3187 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.02896467037498951 + "score": 0.06915047019720078 }, "else": { "operation": "boost", - "score": 0.07223940640687943 + "score": 0.2850206196308136 } }, + "else": { + "operation": "boost", + "score": -0.10127148777246475 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.5, + "then": { + "operation": "boost", + "score": 0.005237955134361982 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.04128766059875488 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60.0, "then": { + "operation": "boost", + "score": 0.11337094753980637 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "boost", + "score": -0.16401000320911407 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.1351151466369629 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.027936367318034172 + }, + "else": { + "operation": "boost", + "score": 0.16258899867534637 + } + }, + "else": { + "operation": "boost", + "score": 0.08443348109722137 + } + }, + "else": { + "operation": "boost", + "score": -0.1868647187948227 + } }, "else": { "operation": "boost", - "score": 0.11166781187057495 + "score": -0.13686220347881317 } - }, - "else": { - "operation": "boost", - "score": -0.395682692527771 } - }, - "else": { - "operation": "boost", - "score": 0.017524270340800285 } }, "else": { + "operation": "boost", + "score": 0.04497115686535835 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2968.0, + "then": { + "operation": "boost", + "score": -0.14310809969902039 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 52.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" + "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.0, + "threshold": 56.5, "then": { - "operation": "boost", - "score": 0.1110948771238327 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04367154464125633 + "score": -0.13112877309322357 }, "else": { - "operation": "boost", - "score": 0.09851019829511642 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 225.0, + "then": { + "operation": "boost", + "score": 0.14297796785831451 + }, + "else": { + "operation": "boost", + "score": 0.23047441244125366 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.07929942011833191 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.09124476462602615 + }, + "else": { + "operation": "boost", + "score": 0.634691596031189 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.04410463571548462 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.015408394858241081 + }, + "else": { + "operation": "boost", + "score": 0.1480054408311844 + } + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.4811939001083374 } }, "else": { "operation": "boost", - "score": 0.010873881168663502 + "score": 0.037904396653175354 } }, "else": { "operation": "boost", - "score": -0.10086347907781601 + "score": 0.005799164529889822 } + }, + "else": { + "operation": "boost", + "score": 0.03498581796884537 } + }, + "else": { + "operation": "boost", + "score": 0.04789895564317703 } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.004529192578047514 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.007984789088368416 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 481.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 524.0, - "then": { - "operation": "boost", - "score": -0.06324490159749985 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 504.0, - "then": { - "operation": "boost", - "score": 0.11528678238391876 }, "else": { "operation": "boost", - "score": 0.09825824946165085 + "score": -0.028737422078847885 } - } - }, - "else": { - "operation": "boost", - "score": 0.002046664012596011 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.10949261486530304 }, "else": { - "operation": "boost", - "score": 0.014970039017498493 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.016612987965345383 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.12792706489562988 + "score": -0.005328363738954067 }, "else": { "operation": "boost", - "score": -0.05995502322912216 + "score": -0.031081613153219223 } - }, - "else": { - "operation": "boost", - "score": -0.05111478269100189 } }, + "else": { + "operation": "boost", + "score": -0.028838247060775757 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "boost", + "score": 0.017673524096608162 + }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": -0.004774325992912054 + "score": 0.001688548014499247 }, "else": { "operation": "boost", - "score": -0.13142244517803192 + "score": -0.05094258859753609 } } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.009709379635751247 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.13133011758327484 + }, + "else": { + "operation": "boost", + "score": 0.07795707881450653 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.03676087409257889 - }, - "else": { - "operation": "boost", - "score": 0.07265793532133102 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.05946781486272812 + "score": 0.005391839426010847 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.17824716866016388 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.007931957952678204 + }, + "else": { + "operation": "boost", + "score": 0.09900365769863129 + } + }, + "else": { + "operation": "boost", + "score": 0.03477173298597336 + } + }, + "else": { + "operation": "boost", + "score": -0.060533154755830765 + } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.0, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { "operation": "boost", - "score": 0.10967651754617691 + "score": -0.29210636019706726 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0019443468190729618 + "score": 0.059086065739393234 }, "else": { "operation": "boost", - "score": 0.09395311027765274 + "score": -0.06937258690595627 } } }, "else": { - "operation": "boost", - "score": 0.13369332253932953 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.024409782141447067 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.02687644027173519 + }, + "else": { + "operation": "boost", + "score": 0.014634215272963047 + } + } } } } }, "else": { "operation": "boost", - "score": 0.025435779243707657 + "score": 0.0031277555972337723 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.0014098044484853745 + }, + "else": { + "operation": "boost", + "score": 0.026159752160310745 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.03716893494129181 + }, + "else": { + "operation": "boost", + "score": -0.04551436007022858 + } } } }, "else": { - "operation": "boost", - "score": -0.03628062829375267 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0026747470255941153 + }, + "else": { + "operation": "boost", + "score": -0.0234467014670372 + } } - }, - "else": { - "operation": "boost", - "score": 0.020336216315627098 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.013042382895946503 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.002791696460917592 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "boost", + "score": -0.030013786628842354 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.09603410214185715 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.2863636612892151, "then": { "operation": "boost", - "score": 0.11825219541788101 + "score": -0.060994382947683334 }, "else": { "operation": "boost", - "score": -0.1441810429096222 + "score": -0.22634616494178772 } + }, + "else": { + "operation": "boost", + "score": -0.0035080364905297756 } }, "else": { - "operation": "boost", - "score": 0.019338048994541168 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.01955225132405758 + }, + "else": { + "operation": "boost", + "score": -0.0014797864714637399 + } } }, "else": { "operation": "boost", - "score": 0.0029984943103045225 + "score": -0.012230955064296722 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.09491557627916336 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": 0.004908669274300337 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.021755913272500038 + }, + "else": { + "operation": "boost", + "score": 0.031170634552836418 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0017866941634565592 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.04785984754562378 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "boost", - "score": 0.06706328690052032 + "score": 0.05046186223626137 }, "else": { - "operation": "boost", - "score": 0.08091114461421967 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.044440340250730515 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": 0.18690700829029083 + }, + "else": { + "operation": "boost", + "score": 0.1756085455417633 + } + }, + "else": { + "operation": "boost", + "score": -0.0197950080037117 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.01824582740664482 } + }, + "else": { + "operation": "boost", + "score": -0.017032604664564133 } } } } + }, + "else": { + "operation": "boost", + "score": -0.0011515496298670769 } } - }, - "else": { - "operation": "boost", - "score": -0.005014815367758274 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1535.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.001451138756237924 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16531166434288025 + }, + "else": { + "operation": "boost", + "score": 0.005306783597916365 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1538.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.01856742799282074 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.3100961446762085, "then": { - "operation": "boost", - "score": 0.1259223073720932 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10190045833587646 + }, + "else": { + "operation": "boost", + "score": 0.01806180737912655 + } + }, + "else": { + "operation": "boost", + "score": -0.011395012959837914 + } }, "else": { "operation": "boost", - "score": -0.10916101932525635 + "score": 0.013055004179477692 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11154.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.0012551081599667668 + "score": -0.00014085489965509623 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11467.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 417741.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "boost", - "score": 0.07144788652658463 - }, - "else": { - "operation": "boost", - "score": -0.01213014591485262 - } + "operation": "boost", + "score": 0.004750311374664307 }, "else": { - "operation": "boost", - "score": -0.023665713146328926 - } - }, - "else": { - "operation": "boost", - "score": 0.018479226157069206 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11209.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11245.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10750532895326614 + "score": 0.21437005698680878 }, "else": { - "operation": "boost", - "score": 0.10373962670564651 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.0749419555068016 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "boost", + "score": 0.07190883159637451 + }, + "else": { + "operation": "boost", + "score": 0.14917634427547455 + } + } + }, + "else": { + "operation": "boost", + "score": 0.047590356320142746 + } } - }, - "else": { - "operation": "boost", - "score": -0.01263643242418766 } }, "else": { "operation": "boost", - "score": 0.048261817544698715 + "score": -0.005023008678108454 } + }, + "else": { + "operation": "boost", + "score": 0.015307937748730183 } } - }, - "else": { - "operation": "boost", - "score": -0.008296347223222256 } + }, + "else": { + "operation": "boost", + "score": -0.1280938684940338 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 11829.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 12183.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20253.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20296.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.024809710681438446 - }, - "else": { - "operation": "boost", - "score": 0.06524316221475601 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 35.5, + "threshold": 21122.0, "then": { - "operation": "boost", - "score": 0.16276830434799194 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26.5, + "threshold": 33380.5, "then": { - "operation": "boost", - "score": -0.2716638445854187 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.03186918795108795 - }, - "else": { - "operation": "boost", - "score": 0.09052539616823196 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10536504536867142 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.5, - "then": { - "operation": "boost", - "score": -0.005784195382148027 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167.5, - "then": { - "operation": "boost", - "score": 0.11485189199447632 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0011606179177761078 - }, - "else": { - "operation": "boost", - "score": 0.04397662729024887 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.5, - "then": { - "operation": "boost", - "score": 0.026133034378290176 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.10159128159284592 - }, - "else": { - "operation": "boost", - "score": 0.1114489808678627 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, + "feature": "NumReferences", + "threshold": 34205.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 47253.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50.0, + "threshold": 59512.5, "then": { - "operation": "boost", - "score": 0.1138281300663948 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83997.5, + "then": { + "operation": "boost", + "score": -0.016912158578634262 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 81569.0, + "then": { + "operation": "boost", + "score": 0.0767359733581543 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10163382440805435 + }, + "else": { + "operation": "boost", + "score": -0.33047473430633545 + } + }, + "else": { + "operation": "boost", + "score": -0.037479110062122345 + } + } + } }, "else": { "operation": "boost", - "score": -0.10081258416175842 + "score": -0.08626097440719604 } }, "else": { - "operation": "boost", - "score": 0.14175692200660706 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 44693.0, "then": { - "operation": "boost", - "score": -0.10222800076007843 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.12122758477926254 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.14664864540100098 + }, + "else": { + "operation": "boost", + "score": 0.11607395112514496 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "boost", + "score": -0.016114776954054832 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09590760618448257 + }, + "else": { + "operation": "boost", + "score": -2.7026960849761963 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.1512058973312378 + }, + "else": { + "operation": "boost", + "score": 0.07629207521677017 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12097560614347458 + } + } + } }, "else": { "operation": "boost", - "score": 0.13123618066310883 + "score": -0.0677686408162117 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0669642835855484, + "then": { + "operation": "boost", + "score": 0.129476860165596 }, "else": { "operation": "boost", - "score": 0.03734009712934494 + "score": 0.09004462510347366 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.08901528269052505 + "score": -0.1516655832529068 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11474881321191788 + "score": 0.11448441445827484 }, "else": { "operation": "boost", - "score": 11.944103240966797 + "score": -0.07339950650930405 } } } }, "else": { - "operation": "boost", - "score": 0.033778201788663864 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.041745152324438095 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 708.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 780.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.00430723512545228 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20712.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.3456929326057434 + }, + "else": { + "operation": "boost", + "score": 0.11839532852172852 + } + }, + "else": { + "operation": "boost", + "score": -0.11119348555803299 + } + }, + "else": { + "operation": "boost", + "score": 0.22692404687404633 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 761.0, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "boost", - "score": 0.1033463329076767 + "score": 0.08845420181751251 }, "else": { "operation": "boost", - "score": 0.07833552360534668 + "score": -0.09131752699613571 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23047.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 347.0, + "threshold": 26280.0, "then": { - "operation": "boost", - "score": -0.08526018261909485 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 334.5, + "threshold": 1280205.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.19001387059688568 - }, - "else": { - "operation": "boost", - "score": -0.05326344445347786 - } + "operation": "boost", + "score": -0.07135505974292755 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 47131.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10.5, + "threshold": 47293.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 267507.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273152.0, "then": { "operation": "boost", - "score": 0.11328056454658508 + "score": 0.04366319999098778 }, "else": { - "operation": "boost", - "score": -0.02846226841211319 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.11583967506885529 - }, - "else": { - "operation": "boost", - "score": 0.04611942917108536 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.11490143835544586 + "score": 0.0846422091126442 }, "else": { "operation": "boost", - "score": -0.02469170093536377 + "score": 0.008725414983928204 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.13502250611782074 }, "else": { "operation": "boost", - "score": -0.1117861196398735 + "score": 0.005508963018655777 } + }, + "else": { + "operation": "boost", + "score": 0.08358746767044067 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.5, - "then": { - "operation": "boost", - "score": 0.04054916277527809 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11513686180114746 - }, - "else": { - "operation": "boost", - "score": -0.24956922233104706 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.0, - "then": { - "operation": "boost", - "score": -0.00044780559255741537 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.0, - "then": { - "operation": "boost", - "score": 0.1030270904302597 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1177186518907547 - }, - "else": { - "operation": "boost", - "score": -0.07855000346899033 - } - } - } - } + "operation": "boost", + "score": 0.015823611989617348 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.053572241216897964 + "score": 0.11254103481769562 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10792442411184311 - }, - "else": { - "operation": "boost", - "score": 0.03943028673529625 - } - } - }, - "else": { - "operation": "boost", - "score": -0.008798763155937195 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "boost", - "score": -0.2521098554134369 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.12796247005462646 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 128.0, - "then": { - "operation": "boost", - "score": -0.1760074645280838 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10067593306303024 - }, - "else": { - "operation": "boost", - "score": 0.16153451800346375 - } - }, - "else": { - "operation": "boost", - "score": -0.46585893630981445 - } - } - } + "score": 0.11580663919448853 } }, "else": { "operation": "boost", - "score": -0.0381096713244915 + "score": 0.07747294008731842 } - }, - "else": { - "operation": "boost", - "score": -0.44628235697746277 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.025287173688411713 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1321.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11546028405427933 - }, - "else": { - "operation": "boost", - "score": 0.03308621421456337 } }, "else": { "operation": "boost", - "score": -0.06653737276792526 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.12347500026226044 - }, - "else": { - "operation": "boost", - "score": -0.4544238746166229 + "score": -0.05006397143006325 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12455190718173981 - }, - "else": { - "operation": "boost", - "score": -0.1008075475692749 - } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Type" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 515.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.1245310828089714 + "score": 0.07341023534536362 }, "else": { + "operation": "boost", + "score": 0.13314154744148254 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24164.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 548.0, + "threshold": 24809.5, "then": { "operation": "boost", - "score": 0.11441385000944138 + "score": 0.06982459872961044 }, "else": { "operation": "boost", - "score": 0.12676286697387695 + "score": 0.09137316793203354 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 23685.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.13696950674057007 - }, - "else": { - "operation": "boost", - "score": 0.06491739302873611 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.5, - "then": { - "operation": "boost", - "score": 0.008575604297220707 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 106.0, - "then": { - "operation": "boost", - "score": 0.12584084272384644 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.5, - "then": { - "operation": "boost", - "score": 0.5394939184188843 - }, - "else": { - "operation": "boost", - "score": 0.1423364132642746 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0693102702498436 - } - } + "operation": "boost", + "score": -0.1427999883890152 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.0, "then": { "operation": "boost", - "score": -0.13511952757835388 + "score": 0.09652931988239288 }, "else": { "operation": "boost", - "score": 0.13175716996192932 + "score": 0.023211108520627022 } } - }, - "else": { - "operation": "boost", - "score": 0.07254110276699066 } } }, "else": { "operation": "boost", - "score": 0.03923127055168152 + "score": 0.0549769401550293 } } + }, + "else": { + "operation": "boost", + "score": -0.08724944293498993 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 52728.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": -0.037403371185064316 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 161.5, + "threshold": 458944.5, "then": { "operation": "boost", - "score": -0.07371591031551361 + "score": 0.04611114040017128 }, "else": { + "operation": "boost", + "score": -0.095041923224926 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.006179125979542732 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10754141211509705 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.134567990899086 - }, - "else": { - "operation": "boost", - "score": 0.05615997686982155 - } - } - }, - "else": { - "operation": "boost", - "score": -0.012850450351834297 - } - } - }, - "else": { - "operation": "boost", - "score": 0.007534489035606384 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "boost", - "score": 0.12080085277557373 - }, - "else": { - "operation": "boost", - "score": 0.06250199675559998 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03050844371318817 - } + "operation": "boost", + "score": 0.14457480609416962 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.038889214396476746 - }, - "else": { - "operation": "boost", - "score": 0.16744780540466309 - } - }, - "else": { - "operation": "boost", - "score": -0.09701814502477646 - } - }, - "else": { - "operation": "boost", - "score": -0.030086059123277664 - } + "operation": "boost", + "score": 0.15079280734062195 } + }, + "else": { + "operation": "boost", + "score": 0.09669787436723709 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44699.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.14496566355228424 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43319.0, "then": { - "operation": "boost", - "score": 0.019997214898467064 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "boost", + "score": -0.5131214261054993 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.0, "then": { "operation": "boost", - "score": -0.03855415806174278 + "score": 0.051908425986766815 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.1073240414261818 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 360.5, - "then": { - "operation": "boost", - "score": -0.13304877281188965 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 309.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 339.5, - "then": { - "operation": "boost", - "score": 0.10617270320653915 - }, - "else": { - "operation": "boost", - "score": 0.12579579651355743 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123.0, - "then": { - "operation": "boost", - "score": 0.07660534232854843 - }, - "else": { - "operation": "boost", - "score": 0.11398747563362122 - } - }, - "else": { - "operation": "boost", - "score": 0.02743026614189148 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11721235513687134 - }, - "else": { - "operation": "boost", - "score": -0.2231960892677307 - } - } + "operation": "boost", + "score": 0.12155592441558838 } }, "else": { "operation": "boost", - "score": -0.04931119084358215 + "score": 0.1332833170890808 } - }, - "else": { - "operation": "boost", - "score": -0.10647132247686386 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.41894280910491943 }, "else": { "operation": "boost", - "score": -0.10627700388431549 + "score": -0.011077930219471455 } } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.11087043583393097 + }, + "else": { + "operation": "boost", + "score": -0.021963873878121376 + } + }, + "else": { + "operation": "boost", + "score": 0.06511852890253067 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15228.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.22510245442390442 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.06731687486171722 }, "else": { "operation": "boost", - "score": 0.02703881449997425 + "score": -0.08852890878915787 } } }, "else": { "operation": "boost", - "score": -0.004086284898221493 + "score": -0.000953526294324547 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0026081139221787453 }, "else": { "operation": "boost", - "score": -0.04050224646925926 + "score": 0.015540807507932186 } } }, "else": { - "operation": "boost", - "score": -0.00010490298882359639 - } - }, - "else": { - "operation": "boost", - "score": 0.0031944899819791317 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11522.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName" + "CCC_Statement", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "boost", - "score": -0.09842358529567719 + "score": 0.12405309081077576 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.17518337070941925 + }, + "else": { + "operation": "boost", + "score": -0.12937533855438232 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25208.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.25018569827079773 - }, - "else": { - "operation": "boost", - "score": -0.16097374260425568 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22942.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.12072981148958206 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.12630848586559296 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16761.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 1.2999589443206787 + "score": 0.08311842381954193 }, "else": { "operation": "boost", - "score": -0.10312832146883011 + "score": 0.13164769113063812 } - } + }, + "else": { + "operation": "boost", + "score": -0.10148020833730698 + } + }, + "else": { + "operation": "boost", + "score": 0.27950823307037354 } + }, + "else": { + "operation": "boost", + "score": 0.14060282707214355 } }, "else": { + "operation": "boost", + "score": -0.07486861199140549 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.13660572469234467 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11956.0, + "then": { + "operation": "boost", + "score": 0.31309694051742554 + }, + "else": { + "operation": "boost", + "score": -0.04568734019994736 + } + }, + "else": { + "operation": "boost", + "score": 0.082343190908432 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0897490382194519 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10644.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": -0.11025380343198776 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11245.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50563.0, + "threshold": 11572.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 51599.0, + "threshold": 11627.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "boost", + "score": 0.015488316304981709 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.09974271059036255 + }, + "else": { + "operation": "boost", + "score": 0.18815183639526367 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07376116514205933 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07345432043075562 + }, + "else": { + "operation": "boost", + "score": -0.05428366735577583 + } + } + }, + "else": { + "operation": "boost", + "score": -0.016946271061897278 + } + }, + "else": { + "operation": "boost", + "score": -0.07793063670396805 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10586.5, + "then": { + "operation": "boost", + "score": 0.17575672268867493 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7917.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8615.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.06192508712410927 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.0908871591091156 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76938.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": 0.04894942790269852 + }, + "else": { + "operation": "boost", + "score": 0.17852069437503815 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.3721829652786255 + }, + "else": { + "operation": "boost", + "score": 0.010050983168184757 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8322.5, + "then": { + "operation": "boost", + "score": 0.1196984052658081 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.11275098472833633 + }, + "else": { + "operation": "boost", + "score": 0.14734730124473572 + } + }, + "else": { + "operation": "boost", + "score": 0.09831883758306503 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8355.5, + "then": { + "operation": "boost", + "score": 0.1443203240633011 + }, + "else": { + "operation": "boost", + "score": 0.06409318000078201 + } + }, + "else": { + "operation": "boost", + "score": -0.12314485758543015 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8054.0, + "then": { + "operation": "boost", + "score": 0.010783053003251553 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.05041343718767166 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.21349941194057465 + }, + "else": { + "operation": "boost", + "score": 0.08877543359994888 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1285262405872345 + } + }, + "else": { + "operation": "boost", + "score": 0.04202892258763313 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0003284394624643028 + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08972468227148056 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "boost", + "score": -0.008529760874807835 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07915378361940384 + }, + "else": { + "operation": "boost", + "score": 0.13386794924736023 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00512775219976902 + } + } + }, + "else": { + "operation": "boost", + "score": -0.17975138127803802 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.003437994746491313 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 250.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.09330088645219803 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22379.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": -0.1290968358516693 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.07447464764118195 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.12887944281101227 + "score": 0.051045410335063934 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0735643282532692 - }, - "else": { - "operation": "boost", - "score": -0.05222005769610405 - } - }, - "else": { - "operation": "boost", - "score": 0.0839545801281929 - } + "operation": "boost", + "score": -0.036215826869010925 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15370.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14816436171531677 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 17887.5, "then": { - "operation": "boost", - "score": 0.10120672732591629 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.11847910284996033 + }, + "else": { + "operation": "boost", + "score": -0.13405710458755493 + } }, "else": { - "operation": "boost", - "score": -0.029228227213025093 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.14959093928337097 + }, + "else": { + "operation": "boost", + "score": -0.12332458794116974 + } } } }, "else": { + "operation": "boost", + "score": 0.05329960957169533 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151424.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.021592946723103523 + }, + "else": { + "operation": "boost", + "score": -0.1509617567062378 + } + }, + "else": { + "operation": "boost", + "score": 0.0005735942395403981 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72536.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 95380.0, + "then": { + "operation": "boost", + "score": -0.09399720281362534 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.19879691302776337 + }, + "else": { + "operation": "boost", + "score": 0.07878267019987106 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04985562339425087 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0008619402069598436 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 252.5, + "then": { + "operation": "boost", + "score": 0.009084844961762428 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 251.5, + "then": { + "operation": "boost", + "score": 0.1560727059841156 + }, + "else": { + "operation": "boost", + "score": 0.1112370640039444 + } + }, + "else": { + "operation": "boost", + "score": 0.04921003058552742 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05687146633863449 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.004832659848034382 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.010647900402545929 + "score": -0.1042012870311737 }, "else": { + "operation": "boost", + "score": 0.14881858229637146 + } + }, + "else": { + "operation": "boost", + "score": 0.04624368995428085 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "operation": "boost", + "score": -0.030083253979682922 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 182.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.034804925322532654 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 221.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.20905743539333344 + }, + "else": { + "operation": "boost", + "score": 0.22138772904872894 + } + }, + "else": { + "operation": "boost", + "score": -0.05420220270752907 + } + }, + "else": { + "operation": "boost", + "score": 0.3712356686592102 + } }, "else": { "operation": "boost", - "score": 0.08582144230604172 + "score": 0.05525236204266548 } }, "else": { "operation": "boost", - "score": -0.10178247094154358 + "score": -0.1537436991930008 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { - "operation": "boost", - "score": 0.10409494489431381 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.026649825274944305 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.01681343838572502 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10335320979356766 + }, + "else": { + "operation": "boost", + "score": 0.24949371814727783 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09539907425642014 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.1461893618106842 + }, + "else": { + "operation": "boost", + "score": -0.10740084946155548 + } + } + } + } + } }, "else": { "operation": "boost", - "score": -0.11807815730571747 + "score": 0.3212369680404663 } }, "else": { "operation": "boost", - "score": -0.16514979302883148 + "score": 0.06161431223154068 } } }, + "else": { + "operation": "boost", + "score": 0.014390924945473671 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.007519048638641834 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.06999775767326355 + "score": -0.007949150167405605 }, "else": { "operation": "boost", - "score": 0.015657221898436546 + "score": -0.04713326320052147 } }, "else": { - "operation": "boost", - "score": 0.10438898205757141 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": 0.06279470771551132 + }, + "else": { + "operation": "boost", + "score": 0.03527294099330902 + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.010304376482963562 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89371.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.054563503712415695 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09224534034729004 - }, - "else": { - "operation": "boost", - "score": -0.10213882476091385 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 74638.5, + "threshold": 70.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { - "operation": "boost", - "score": 0.1119823157787323 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 71.5, "then": { - "operation": "boost", - "score": 0.08288905024528503 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.15410110354423523 + }, + "else": { + "operation": "boost", + "score": 0.07333848625421524 + } }, "else": { "operation": "boost", - "score": 0.044186972081661224 + "score": 0.4509213864803314 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59248.5, - "then": { - "operation": "boost", - "score": -0.14319808781147003 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57673.0, - "then": { - "operation": "boost", - "score": 0.12654830515384674 - }, - "else": { - "operation": "boost", - "score": 0.05136241018772125 - } + "operation": "boost", + "score": 0.02505251206457615 } + }, + "else": { + "operation": "boost", + "score": 0.002397926291450858 } }, "else": { "operation": "boost", - "score": -0.06489657610654831 + "score": 0.07563535124063492 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "boost", + "score": -0.024497443810105324 + }, + "else": { + "operation": "boost", + "score": 0.0011707685189321637 } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.013570532202720642 + }, + "else": { + "operation": "boost", + "score": -0.07522919774055481 + } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10956577956676483 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.11384521424770355 - }, - "else": { - "operation": "boost", - "score": 0.15047436952590942 - } + "operation": "boost", + "score": -0.03681168332695961 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.017432061955332756 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46240.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.19975335896015167 + "score": -0.0056699542328715324 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45617.0, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.21664725244045258 - }, - "else": { - "operation": "boost", - "score": 0.14975258708000183 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11067222058773041 - }, - "else": { - "operation": "boost", - "score": -0.22565187513828278 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10282562673091888 - }, - "else": { - "operation": "boost", - "score": 0.10989005118608475 - } - }, - "else": { - "operation": "boost", - "score": -0.04095492511987686 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.05309849604964256 + "score": -0.06169206276535988 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.013414968736469746 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 58.0, "then": { "operation": "boost", - "score": -0.6585590839385986 - }, - "else": { - "operation": "boost", - "score": -0.1202315017580986 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33508.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11902667582035065 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11351188272237778 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.10970498621463776 + "score": 0.11389990150928497 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "NumReferences", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.6075589656829834 + "score": -0.2741384506225586 }, "else": { - "operation": "boost", - "score": 0.5625491142272949 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28939.5, - "then": { - "operation": "boost", - "score": -0.05341102555394173 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27874.5, - "then": { - "operation": "boost", - "score": 0.2478528618812561 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25627.5, - "then": { - "operation": "boost", - "score": -0.11317810416221619 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25175.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.09905315190553665 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1346416473388672 + }, + "else": { + "operation": "boost", + "score": 0.12648239731788635 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12693.0, + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.01524352841079235 + "score": -0.09961184859275818 }, "else": { "operation": "boost", - "score": 0.22319211065769196 + "score": 0.13005435466766357 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10657127946615219 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24555.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.10054195672273636 + }, + "else": { + "operation": "boost", + "score": -0.07335028797388077 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.5210919380187988 + "score": 0.03664998337626457 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" + "Variable" ], "then": { "operation": "boost", - "score": 0.26558858156204224 + "score": 0.16467882692813873 }, "else": { "operation": "boost", - "score": -0.1729172021150589 + "score": 0.016153112053871155 } } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 202.5, + "then": { + "operation": "boost", + "score": -0.2870790958404541 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 179.0, + "then": { + "operation": "boost", + "score": 0.13276629149913788 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24308.0, + "threshold": 94.5, "then": { - "operation": "boost", - "score": 0.11500298231840134 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.2042207419872284 + }, + "else": { + "operation": "boost", + "score": -0.006716185715049505 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23004.5, + "threshold": 86.0, "then": { "operation": "boost", - "score": -0.09641029685735703 + "score": 0.1624913066625595 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22073.0, - "then": { - "operation": "boost", - "score": 0.1108826994895935 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13235.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13286.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13960.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10275254398584366 - }, - "else": { - "operation": "boost", - "score": -0.03975128382444382 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19650.0, - "then": { - "operation": "boost", - "score": -0.5698365569114685 - }, - "else": { - "operation": "boost", - "score": -0.08170758932828903 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16420.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18720.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19795.0, - "then": { - "operation": "boost", - "score": -0.1467662751674652 - }, - "else": { - "operation": "boost", - "score": 0.1227954775094986 - } - }, - "else": { - "operation": "boost", - "score": -0.11240619421005249 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15260.0, - "then": { - "operation": "boost", - "score": 0.22394679486751556 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15040.5, - "then": { - "operation": "boost", - "score": -0.11574903875589371 - }, - "else": { - "operation": "boost", - "score": 0.3076615631580353 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.16762232780456543 - } - }, - "else": { - "operation": "boost", - "score": 0.1203155517578125 - } - }, - "else": { - "operation": "boost", - "score": -0.07449270784854889 - } - }, - "else": { - "operation": "boost", - "score": 0.025874659419059753 - } - } + "operation": "boost", + "score": -0.06323353201150894 } } } - }, - "else": { - "operation": "boost", - "score": 0.09987791627645493 } + }, + "else": { + "operation": "boost", + "score": -0.08513475209474564 } }, "else": { "operation": "boost", - "score": 0.01931658573448658 + "score": 0.13791610300540924 } + }, + "else": { + "operation": "boost", + "score": -0.00912838988006115 } } } + }, + "else": { + "operation": "boost", + "score": -0.04243753105401993 + } + }, + "else": { + "operation": "boost", + "score": 0.0037117749452590942 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Expression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.055877286940813065 + }, + "else": { + "operation": "boost", + "score": 0.048605769872665405 + } + }, + "else": { + "operation": "boost", + "score": 0.013859341852366924 } + }, + "else": { + "operation": "boost", + "score": -0.002743548946455121 } } } } } - } - }, - "else": { - "operation": "boost", - "score": -0.04053103178739548 - } - }, - "else": { - "operation": "boost", - "score": 0.003878544317558408 - } - }, - "else": { - "operation": "boost", - "score": -0.026330361142754555 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11627.5, - "then": { - "operation": "boost", - "score": 0.011268979869782925 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11590.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.06331092119216919 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.12372563779354095 + "score": 0.1325547844171524 }, "else": { "operation": "boost", - "score": 0.11006079614162445 + "score": -0.09783690422773361 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11605.0, - "then": { - "operation": "boost", - "score": -0.1287040412425995 - }, - "else": { - "operation": "boost", - "score": 0.10023244470357895 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12013522535562515 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.22587457299232483 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": -0.093460813164711 - }, - "else": { - "operation": "boost", - "score": 0.5477854013442993 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06397614628076553 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11507.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.15559250116348267 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.18624594807624817 - }, - "else": { - "operation": "boost", - "score": -1.4612258672714233 - } - }, - "else": { - "operation": "boost", - "score": -0.11529000103473663 - } - } - }, - "else": { - "operation": "boost", - "score": -0.17097115516662598 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Operator", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10539832711219788 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.130430668592453 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.07146132737398148 + "score": 0.03816383332014084 }, "else": { "operation": "boost", - "score": -0.10008649528026581 + "score": -0.03927111253142357 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2445629984140396 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { "operation": "boost", - "score": -0.28687432408332825 + "score": 0.20600363612174988 }, "else": { "operation": "boost", - "score": 0.07794879376888275 + "score": 0.050842516124248505 } - }, - "else": { - "operation": "boost", - "score": -0.011257611215114594 } } } @@ -235496,1391 +233116,1502 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", + "CCC_DotMemberAccess", + "CCC_Expression", "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": -0.07686857879161835 + "score": 0.0004713015223387629 }, "else": { - "operation": "boost", - "score": -0.11716097593307495 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.030015137046575546 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_Namespace" + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8573.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8751.0, - "then": { - "operation": "boost", - "score": 0.10061737895011902 - }, - "else": { - "operation": "boost", - "score": 0.11481203883886337 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "Function" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.050147153437137604 + "score": -0.1894121915102005 }, "else": { - "operation": "boost", - "score": -0.2922656536102295 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.11211925745010376 + }, + "else": { + "operation": "boost", + "score": 0.07524897903203964 + } + }, + "else": { + "operation": "boost", + "score": 0.05851330980658531 + } } }, "else": { "operation": "boost", - "score": -0.13518324494361877 + "score": 0.010947824455797672 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { - "operation": "boost", - "score": 0.020134465768933296 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.14246726036071777 + }, + "else": { + "operation": "boost", + "score": 0.16297154128551483 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.18206118047237396 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "boost", - "score": 0.06873802840709686 + "score": 0.02260548807680607 }, "else": { "operation": "boost", - "score": 0.10393980145454407 + "score": 0.11966708302497864 } + }, + "else": { + "operation": "boost", + "score": 0.040466003119945526 } }, "else": { "operation": "boost", - "score": 0.032910484820604324 + "score": 0.01491264346987009 } } } + }, + "else": { + "operation": "boost", + "score": 0.007085234858095646 } }, "else": { - "operation": "boost", - "score": 0.01189308613538742 + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.057522233575582504 + }, + "else": { + "operation": "boost", + "score": 0.05477086082100868 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0016411170363426208 + }, + "else": { + "operation": "boost", + "score": 0.02644496224820614 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09449896961450577 + }, + "else": { + "operation": "boost", + "score": 0.0015419968403875828 + } + } + } } }, "else": { - "operation": "boost", - "score": -0.0233839713037014 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.03154264762997627 + }, + "else": { + "operation": "boost", + "score": 0.0013109466526657343 + } + }, + "else": { + "operation": "boost", + "score": -0.00782578531652689 + } } }, "else": { "operation": "boost", - "score": 0.018350915983319283 + "score": -0.0029236311092972755 } - }, - "else": { - "operation": "boost", - "score": 0.00462611997500062 } - }, - "else": { - "operation": "boost", - "score": -0.04779021814465523 } - }, - "else": { - "operation": "boost", - "score": 0.0010464375372976065 } } - }, - "else": { - "operation": "boost", - "score": -0.10718642175197601 } } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2963.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22368.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10885307192802429 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { "operation": "boost", - "score": 0.03377360850572586 + "score": 0.13414043188095093 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.009367668069899082 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35650.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45618.0, - "then": { - "operation": "boost", - "score": -0.04009340703487396 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.09745971858501434 - }, - "else": { - "operation": "boost", - "score": -0.52498859167099 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34894.5, - "then": { - "operation": "boost", - "score": 0.10999801754951477 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28526.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.058329880237579346 - }, - "else": { - "operation": "boost", - "score": 0.10420862585306168 - } - }, - "else": { - "operation": "boost", - "score": -0.4348093271255493 - } - }, - "else": { - "operation": "boost", - "score": -0.12098034471273422 - } - }, - "else": { - "operation": "boost", - "score": -0.19575124979019165 - } - } - } - } + "operation": "boost", + "score": 0.055777862668037415 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.000995972310192883 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19203.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.620192289352417, "then": { - "operation": "boost", - "score": 0.09605246037244797 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20414.5, + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20708.0, - "then": { - "operation": "boost", - "score": 0.043660640716552734 - }, - "else": { - "operation": "boost", - "score": 0.11916402727365494 - } + "operation": "boost", + "score": 0.0717591643333435 }, "else": { "operation": "boost", - "score": 0.042522333562374115 + "score": -0.1925618052482605 } + }, + "else": { + "operation": "boost", + "score": 0.01963602937757969 } }, "else": { - "operation": "boost", - "score": -0.10179968923330307 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21996.0, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.015028651803731918 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.008649052120745182 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.7071428298950195, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", - "score": -0.0015535200946033 + "score": 0.1211220771074295 }, "else": { - "operation": "boost", - "score": 0.11427240818738937 - } - }, - "else": { - "operation": "boost", - "score": -1.0578292608261108 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04896285757422447 - }, - "else": { - "operation": "boost", - "score": 0.20092681050300598 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19792.5, - "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11409372836351395 + "score": 0.10506977140903473 }, "else": { + "operation": "boost", + "score": -0.10283330082893372 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.5997214317321777 + "score": 0.03864600136876106 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10585367679595947 + "score": 0.211528941988945 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.14823468029499054 - }, - "else": { - "operation": "boost", - "score": -0.12753723561763763 - } + "operation": "boost", + "score": 0.20015385746955872 } } - } - }, - "else": { - "operation": "boost", - "score": 0.03057844564318657 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10175175964832306 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10182156413793564 }, "else": { "operation": "boost", - "score": 0.11025134474039078 + "score": 0.019004113972187042 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.12458661198616028 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.10539969801902771 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01672186143696308 + }, + "else": { + "operation": "boost", + "score": -0.5252321362495422 + } + } }, "else": { - "operation": "boost", - "score": -0.014535917900502682 - } + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.286262184381485 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.04533703252673149 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "boost", + "score": 0.12423200905323029 + }, + "else": { + "operation": "boost", + "score": 0.06955226510763168 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06567375361919403 + } + } + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.0, "then": { + "operation": "boost", + "score": 0.08550434559583664 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.5227401852607727 + "score": -0.01017773523926735 }, "else": { "operation": "boost", - "score": 0.1254224330186844 + "score": 0.08269830793142319 } }, "else": { "operation": "boost", - "score": -0.23271845281124115 + "score": -0.09507425874471664 } - }, - "else": { - "operation": "boost", - "score": 0.038890253752470016 } } }, "else": { "operation": "boost", - "score": -0.07194910943508148 + "score": 0.06335695832967758 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21823.0, - "then": { - "operation": "boost", - "score": -0.7859443426132202 - }, - "else": { - "operation": "boost", - "score": 0.0034780350979417562 - } + "operation": "boost", + "score": 0.025157608091831207 } - }, - "else": { - "operation": "boost", - "score": -0.08294659107923508 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19035.0, - "then": { - "operation": "boost", - "score": 0.12649011611938477 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18751.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.027439303696155548 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.00013063081132713705 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.11796627193689346 + "score": 0.12176647037267685 }, "else": { "operation": "boost", - "score": 0.15003293752670288 + "score": -0.31345614790916443 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3183.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4883.0, - "then": { - "operation": "boost", - "score": 0.06965842097997665 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3767958879470825 - }, - "else": { - "operation": "boost", - "score": 0.12324710190296173 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4586.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.03521665185689926 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.18348775804042816 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.030864005908370018 + }, + "else": { + "operation": "boost", + "score": 0.14026787877082825 + } + } }, "else": { - "operation": "boost", - "score": 0.10108499228954315 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6360.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8266.0, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9244.0, + "feature": "NumNameInContext", + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.018009142950177193 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06816904991865158 + }, + "else": { + "operation": "boost", + "score": 0.11417494714260101 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10433700680732727 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13648.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.08708252012729645 + "score": 0.13538815081119537 }, "else": { "operation": "boost", - "score": -0.046510327607393265 + "score": -0.046266455203294754 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { "operation": "boost", - "score": 0.014302845112979412 + "score": -0.22725126147270203 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10940.5, - "then": { - "operation": "boost", - "score": 0.06134341284632683 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11153776198625565 - }, - "else": { - "operation": "boost", - "score": 0.13788558542728424 - } - } + "operation": "boost", + "score": 0.013391800224781036 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8504.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.09855704009532928 + "score": -0.002691572764888406 }, "else": { "operation": "boost", - "score": 0.11253786087036133 + "score": 0.1253814995288849 } }, "else": { "operation": "boost", - "score": 0.10460109263658524 + "score": 0.07690365612506866 } } }, "else": { - "operation": "boost", - "score": -0.027642134577035904 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11525100469589233 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.08340130001306534 + }, + "else": { + "operation": "boost", + "score": 0.04888079687952995 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.03408712148666382 + }, + "else": { + "operation": "boost", + "score": 0.07867147773504257 + } + } }, "else": { - "operation": "boost", - "score": 0.1049511656165123 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.1003219410777092 + }, + "else": { + "operation": "boost", + "score": -0.12491902709007263 + } } - }, - "else": { - "operation": "boost", - "score": 0.04652930051088333 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.031500112265348434 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.14450420439243317 + "score": -0.0149850370362401 }, "else": { - "operation": "boost", - "score": 0.10840052366256714 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": -0.2134949117898941 + }, + "else": { + "operation": "boost", + "score": -0.11643616855144501 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3727.5, - "then": { - "operation": "boost", - "score": -0.05654770880937576 - }, - "else": { - "operation": "boost", - "score": 0.0795750692486763 - } + "operation": "boost", + "score": 0.017122454941272736 } } + }, + "else": { + "operation": "boost", + "score": 0.004102547653019428 } } - }, - "else": { - "operation": "boost", - "score": -0.10116156935691833 } }, "else": { + "operation": "boost", + "score": 0.007008376065641642 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 265874.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.0, + "operation": "boost", + "score": 0.1160593330860138 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6676.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.017334921285510063 + "score": -0.010072006843984127 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6642.0, - "then": { - "operation": "boost", - "score": 0.13806840777397156 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6418.5, - "then": { - "operation": "boost", - "score": 0.11333335936069489 - }, - "else": { - "operation": "boost", - "score": 0.1324397176504135 - } - }, - "else": { - "operation": "boost", - "score": -0.11348031461238861 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.06559960544109344 - }, - "else": { - "operation": "boost", - "score": 0.11387267708778381 - } - }, - "else": { - "operation": "boost", - "score": 0.08279432356357574 - } - } + "operation": "boost", + "score": -0.12590725719928741 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08378748595714569 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.08991323411464691 - }, - "else": { - "operation": "boost", - "score": 0.12514232099056244 - } - }, - "else": { - "operation": "boost", - "score": -0.11945128440856934 - } - } + "operation": "boost", + "score": 0.04419848695397377 }, "else": { "operation": "boost", - "score": 0.27667200565338135 + "score": 0.0825822576880455 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.01350487396121025 + "score": -0.04921839013695717 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6495.0, - "then": { - "operation": "boost", - "score": -0.04119542986154556 - }, - "else": { - "operation": "boost", - "score": 0.10940928757190704 - } + "operation": "boost", + "score": 0.03994268178939819 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.0024592955596745014 + "score": 0.003103866707533598 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3188.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.028402650728821754 + "score": 0.03339194878935814 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.11774332821369171 - }, - "else": { - "operation": "boost", - "score": 0.06300542503595352 - } + "operation": "boost", + "score": -0.015022020787000656 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "boost", + "score": 0.009299027733504772 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.0937422662973404 + "score": -0.005907696671783924 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7417.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "boost", - "score": 0.04416098818182945 + "score": -0.020043130964040756 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6923.5, - "then": { - "operation": "boost", - "score": 0.1074562668800354 - }, - "else": { - "operation": "boost", - "score": 0.10721231251955032 - } + "operation": "boost", + "score": -0.20440399646759033 } }, "else": { "operation": "boost", - "score": 0.009781773202121258 + "score": 0.009596109390258789 } } } } } } - }, - "else": { - "operation": "boost", - "score": -0.0015003113076090813 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1224.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2990.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11159.0, "then": { + "operation": "boost", + "score": -0.022099394351243973 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6495.0, + "threshold": 11101.5, "then": { "operation": "boost", - "score": -0.03587713837623596 + "score": 0.09583530575037003 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5805.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.1175604984164238 + "score": 0.0368274562060833 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", + "Keyword", + "Macro", + "Namespace", "Operator", - "Unknown", - "Constructor", - "Type" + "Unknown" ], "then": { - "operation": "boost", - "score": 0.16423480212688446 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.03444529324769974 + }, + "else": { + "operation": "boost", + "score": 0.10191993415355682 + } }, "else": { "operation": "boost", - "score": -0.13404347002506256 + "score": -0.022632095962762833 } } } - }, - "else": { - "operation": "boost", - "score": 0.017102396115660667 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.11149261146783829 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.06676560640335083 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7992.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14178.5, + "then": { + "operation": "boost", + "score": 0.0667891874909401 + }, + "else": { + "operation": "boost", + "score": 0.13409149646759033 + } + }, + "else": { + "operation": "boost", + "score": -0.0807984471321106 + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2974.5, + "threshold": 1265.0, "then": { "operation": "boost", - "score": 0.031132705509662628 + "score": 0.015406324528157711 }, "else": { "operation": "boost", - "score": 0.13686998188495636 + "score": 0.0949530303478241 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.011243102140724659 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1092379093170166 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": 0.13345323503017426 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2642333209514618 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04108451306819916 + }, + "else": { + "operation": "boost", + "score": 0.13613012433052063 + } + } + }, + "else": { + "operation": "boost", + "score": -0.13348956406116486 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.0007444637012667954 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.1810598224401474 + }, + "else": { + "operation": "boost", + "score": -0.12747624516487122 + } + }, + "else": { + "operation": "boost", + "score": 0.10617517679929733 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06692530959844589 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12189212441444397 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.23978307843208313 + }, + "else": { + "operation": "boost", + "score": 0.10147929191589355 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0547635480761528 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.044676586985588074 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": -0.21537521481513977 + }, + "else": { + "operation": "boost", + "score": -0.10965836048126221 + } + }, + "else": { + "operation": "boost", + "score": -0.059675682336091995 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 83201.0, + "threshold": 1178.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110939.5, + "threshold": 1195.0, "then": { "operation": "boost", - "score": -0.19983072578907013 + "score": -0.059487566351890564 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "boost", - "score": -0.34687182307243347 + "score": -0.920111894607544 }, "else": { "operation": "boost", - "score": 0.04762778431177139 + "score": -0.10519301891326904 } } }, "else": { - "operation": "boost", - "score": -0.17148029804229736 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35311.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 1160.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57114.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.047585126012563705 + "score": 0.16069020330905914 }, "else": { "operation": "boost", - "score": 0.10785537213087082 + "score": 0.1524650752544403 } }, "else": { "operation": "boost", - "score": 0.05490680783987045 + "score": 0.06913410872220993 } }, "else": { - "operation": "boost", - "score": -0.3739854693412781 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3982.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04505482688546181 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9754.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19464.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.4437645375728607 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": 0.013912368565797806 + }, + "else": { + "operation": "boost", + "score": 0.10250990092754364 + } }, "else": { "operation": "boost", - "score": 0.07964643836021423 + "score": -0.02640494517982006 } }, "else": { - "operation": "boost", - "score": -0.041336990892887115 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -1.6902390718460083 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.016327138990163803 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.15088237822055817 + }, + "else": { + "operation": "boost", + "score": 0.33099475502967834 + } + } }, "else": { - "operation": "boost", - "score": -0.33862340450286865 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": 0.007670744322240353 + }, + "else": { + "operation": "boost", + "score": -0.04335103556513786 + } } - }, - "else": { - "operation": "boost", - "score": -0.15369239449501038 } + }, + "else": { + "operation": "boost", + "score": -0.07289483398199081 } + }, + "else": { + "operation": "boost", + "score": 4.960523801855743e-05 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Other", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.060661762952804565, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3975.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1200091689825058 + "score": 0.15127640962600708 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3566.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.037015728652477264 - }, - "else": { - "operation": "boost", - "score": 0.12766851484775543 - } + "operation": "boost", + "score": -0.10091403871774673 }, "else": { "operation": "boost", - "score": -0.44697993993759155 + "score": 0.16737397015094757 } }, "else": { "operation": "boost", - "score": -0.21708306670188904 + "score": 0.03628988191485405 } } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.032986756414175034 + }, + "else": { + "operation": "boost", + "score": -0.06138390302658081 + } } + }, + "else": { + "operation": "boost", + "score": 0.012694804929196835 } } } @@ -236888,510 +234619,1041 @@ } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2958.5, + "operation": "boost", + "score": -0.0005644413759000599 + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Keyword", + "Macro", + "Type", + "Variable" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": -0.5386044383049011 + "score": 0.005597393959760666 }, "else": { "operation": "boost", - "score": -0.6634206175804138 + "score": -0.028716817498207092 } }, "else": { - "operation": "boost", - "score": -0.14209286868572235 - } - }, - "else": { - "operation": "boost", - "score": -0.00035733680124394596 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.05579746514558792, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.07046035677194595 + }, + "else": { + "operation": "boost", + "score": -0.14287208020687103 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04362919554114342 + }, + "else": { + "operation": "boost", + "score": -0.044739868491888046 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.07335355132818222 + "score": 0.06393175572156906 }, "else": { "operation": "boost", - "score": 0.1521046906709671 + "score": -0.1771153062582016 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.03867156058549881 + "score": 0.03550827130675316 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 360.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 448.5, - "then": { - "operation": "boost", - "score": 0.08298827707767487 - }, - "else": { - "operation": "boost", - "score": 0.12063411623239517 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "boost", - "score": -0.14451369643211365 - }, - "else": { - "operation": "boost", - "score": 0.5685080885887146 - } - } + "operation": "boost", + "score": -0.008308108896017075 } } }, "else": { - "operation": "boost", - "score": 0.006417338270694017 - } - }, - "else": { - "operation": "boost", - "score": 0.0404503159224987 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.1883072853088379 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 138.0, + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, "then": { "operation": "boost", - "score": -0.03431535139679909 + "score": -0.12130056321620941 }, "else": { - "operation": "boost", - "score": 0.12515433132648468 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.018246904015541077 + }, + "else": { + "operation": "boost", + "score": -0.017411096021533012 + } } }, "else": { - "operation": "boost", - "score": 0.01003093458712101 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.16822411119937897 + }, + "else": { + "operation": "boost", + "score": 0.04093291610479355 + } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.03864504024386406 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.048699140548706055 }, "else": { "operation": "boost", - "score": -0.12710942327976227 + "score": 0.010121431201696396 } + }, + "else": { + "operation": "boost", + "score": -0.0036808561999350786 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "boost", + "score": 0.044080596417188644 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 1651.0, + "then": { + "operation": "boost", + "score": 0.055696144700050354 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01544148102402687 + }, + "else": { + "operation": "boost", + "score": -0.04668530076742172 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8541666269302368, "then": { "operation": "boost", - "score": 0.021590258926153183 + "score": 0.0017474597552791238 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.05462047830224037 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": 0.04883909970521927 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60.0, + "then": { + "operation": "boost", + "score": -0.3427818715572357 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.13121989369392395 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09713813662528992 + }, + "else": { + "operation": "boost", + "score": -0.7392513751983643 + } + } + } + } }, "else": { "operation": "boost", - "score": 0.12714138627052307 + "score": 0.04450786113739014 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09614847600460052 + }, + "else": { + "operation": "boost", + "score": 0.03358161449432373 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.118968166410923 + }, + "else": { + "operation": "boost", + "score": 0.04278524965047836 + } + }, + "else": { + "operation": "boost", + "score": -0.1527663916349411 + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286988.5, + "then": { + "operation": "boost", + "score": -0.04431472346186638 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "boost", + "score": 0.04967779293656349 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 77.0, + "threshold": 4210.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 81.5, + "threshold": 17326.5, + "then": { + "operation": "boost", + "score": 0.003076181747019291 + }, + "else": { + "operation": "boost", + "score": -0.09838132560253143 + } + }, + "else": { + "operation": "boost", + "score": 0.002568311057984829 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1650.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.0147407166659832 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 150.0, + "threshold": 63761.5, "then": { + "operation": "boost", + "score": -0.01969371736049652 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 157.5, + "threshold": 50563.0, "then": { - "operation": "boost", - "score": 0.06846949458122253 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52728.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.07338747382164001 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61318.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11386696249246597 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.12542220950126648 + }, + "else": { + "operation": "boost", + "score": 0.14271233975887299 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02974359504878521 + } + }, + "else": { + "operation": "boost", + "score": 0.0012461986625567079 + } + }, + "else": { + "operation": "boost", + "score": -0.16463127732276917 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.1405654102563858 + }, + "else": { + "operation": "boost", + "score": 0.15049029886722565 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0171610526740551 + }, + "else": { + "operation": "boost", + "score": 0.08935976028442383 + } + } + } }, "else": { "operation": "boost", - "score": 0.10726751387119293 + "score": 0.006580500863492489 } - }, - "else": { - "operation": "boost", - "score": -0.024184560403227806 } }, "else": { "operation": "boost", - "score": 0.14069314301013947 + "score": -0.025277290493249893 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0004998232470825315 }, "else": { "operation": "boost", - "score": -0.11561789363622665 + "score": -0.05795470252633095 } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11963656544685364 + }, + "else": { + "operation": "boost", + "score": 0.00881852488964796 + } } }, "else": { "operation": "boost", - "score": -0.0013622869737446308 + "score": -0.0010049949632957578 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.12328598648309708 + "score": 0.01855562813580036 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.03335610032081604 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.033550016582012177 + }, + "else": { + "operation": "boost", + "score": 0.0589633546769619 + } }, "else": { "operation": "boost", - "score": 0.017184173688292503 + "score": -0.05842669680714607 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.00770686287432909 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 185.5, - "then": { - "operation": "boost", - "score": -0.31136807799339294 - }, - "else": { - "operation": "boost", - "score": 0.16898581385612488 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 256.5, + "threshold": 332.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.06080387160181999 + }, + "else": { + "operation": "boost", + "score": 0.12607227265834808 + } + }, + "else": { + "operation": "boost", + "score": 0.017332671210169792 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 308.5, + "threshold": 212.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20068.5, + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1300140619277954 + }, + "else": { + "operation": "boost", + "score": -0.31327787041664124 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": 0.04260503873229027 + }, + "else": { + "operation": "boost", + "score": -0.06963741779327393 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.1699964702129364 + }, + "else": { + "operation": "boost", + "score": 0.060688138008117676 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0651959627866745, "then": { "operation": "boost", - "score": -0.03000660240650177 + "score": 0.15555641055107117 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2047.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2448.0, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10038.0, - "then": { - "operation": "boost", - "score": 0.08673889189958572 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3647.0, - "then": { - "operation": "boost", - "score": -0.12145514041185379 - }, - "else": { - "operation": "boost", - "score": 0.1096503958106041 - } - } + "operation": "boost", + "score": 0.037819672375917435 }, "else": { "operation": "boost", - "score": 0.11330646276473999 + "score": 0.0772150456905365 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 765.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 862.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 993.0, - "then": { - "operation": "boost", - "score": -0.0581575445830822 - }, - "else": { - "operation": "boost", - "score": 0.08399108797311783 - } - }, - "else": { - "operation": "boost", - "score": -0.9793858528137207 - } + "operation": "boost", + "score": -0.1300962269306183 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 623.0, - "then": { - "operation": "boost", - "score": 0.12241652607917786 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10057603567838669 - }, - "else": { - "operation": "boost", - "score": -0.2297629565000534 - } - } + "operation": "boost", + "score": 0.05792824923992157 } } } - }, - "else": { - "operation": "boost", - "score": 0.11759629845619202 } }, "else": { "operation": "boost", - "score": -0.10284741222858429 + "score": 0.011645583435893059 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.028774093836545944 + }, + "else": { + "operation": "boost", + "score": 0.02861766144633293 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83201.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.09801670163869858 + }, + "else": { + "operation": "boost", + "score": 0.004453714936971664 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110939.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.21407131850719452 + "score": -0.05708300322294235 }, "else": { "operation": "boost", - "score": 0.03311305120587349 + "score": 0.0077498978935182095 } }, "else": { - "operation": "boost", - "score": -0.11769062280654907 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34453.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 578.5, "then": { "operation": "boost", - "score": 0.0773976594209671 + "score": 0.049621496349573135 }, "else": { "operation": "boost", - "score": -0.009274343959987164 + "score": -0.05810143053531647 } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0444716215133667 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.019752662628889084 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 304.0, + "then": { + "operation": "boost", + "score": 0.12112802267074585 }, "else": { "operation": "boost", - "score": -0.04889669269323349 + "score": 0.0189673975110054 } + }, + "else": { + "operation": "boost", + "score": -0.04977096617221832 } } } @@ -237400,4304 +235662,3708 @@ }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.011908996850252151 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Function" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.06167072057723999 + "score": 0.06545058637857437 }, "else": { "operation": "boost", - "score": 0.0974937155842781 + "score": 0.06574555486440659 } }, "else": { "operation": "boost", - "score": -0.3218836188316345 + "score": 0.014854248613119125 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 78.5, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.12196018546819687 + "score": 0.006348276510834694 }, "else": { "operation": "boost", - "score": -0.014983626082539558 + "score": 0.04849327355623245 } }, "else": { - "operation": "boost", - "score": -0.06444675475358963 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.042981475591659546 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07645636796951294 + }, + "else": { + "operation": "boost", + "score": -0.18525268137454987 + } + } + }, + "else": { + "operation": "boost", + "score": -7.095365435816348e-05 + } } } - }, - "else": { - "operation": "boost", - "score": -0.12960213422775269 } }, "else": { "operation": "boost", - "score": -0.010942126624286175 + "score": -0.03009001910686493 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 32460.0, "then": { + "operation": "boost", + "score": -0.048094552010297775 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 92.5, + "threshold": 31285.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 275.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.011862309649586678 + "score": 0.11082372069358826 }, "else": { - "operation": "boost", - "score": 0.12520642578601837 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.10891922563314438 + }, + "else": { + "operation": "boost", + "score": -0.10069107264280319 + } } }, "else": { - "operation": "boost", - "score": 0.22151681780815125 - } - }, - "else": { - "operation": "boost", - "score": -0.21587005257606506 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 380.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 994.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10516504943370819 - }, - "else": { - "operation": "boost", - "score": -0.3653782606124878 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 647.0, + "threshold": 162.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.03954039141535759 - }, - "else": { - "operation": "boost", - "score": 0.10179834812879562 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 500.0, + "threshold": 234.5, "then": { "operation": "boost", - "score": -0.2975493371486664 + "score": 0.07256753742694855 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, + "feature": "NumReferences", + "threshold": 201.5, "then": { "operation": "boost", - "score": 0.036299291998147964 + "score": 0.015348920598626137 }, "else": { - "operation": "boost", - "score": 0.15082749724388123 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07493621855974197, + "then": { + "operation": "boost", + "score": -0.11360412836074829 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 187.0, + "then": { + "operation": "boost", + "score": 0.27583709359169006 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172.5, + "then": { + "operation": "boost", + "score": -0.12050798535346985 + }, + "else": { + "operation": "boost", + "score": 0.17016522586345673 + } + } + } } }, "else": { - "operation": "boost", - "score": -0.12066898494958878 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233.5, + "then": { + "operation": "boost", + "score": 0.23694458603858948 + }, + "else": { + "operation": "boost", + "score": 0.06887650489807129 + } } } + }, + "else": { + "operation": "boost", + "score": 0.03947185352444649 } + }, + "else": { + "operation": "boost", + "score": 0.03992382809519768 } }, "else": { "operation": "boost", - "score": -0.17504698038101196 + "score": 0.014061744324862957 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10935923457145691 }, "else": { "operation": "boost", - "score": -0.0635373517870903 + "score": -0.015463192947208881 } }, "else": { "operation": "boost", - "score": -0.5403375625610352 + "score": 0.010302100330591202 } } }, "else": { - "operation": "boost", - "score": 0.0008782442309893668 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16249999403953552, + "then": { + "operation": "boost", + "score": 0.09897810220718384 + }, + "else": { + "operation": "boost", + "score": 0.12386880069971085 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.0633503869175911 + }, + "else": { + "operation": "boost", + "score": 0.2647033929824829 + } + }, + "else": { + "operation": "boost", + "score": 0.028675558045506477 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03986909240484238 + } + }, + "else": { + "operation": "boost", + "score": 0.0012257241178303957 + } } } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + } + }, + { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.018576262518763542 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 23.5, "then": { - "operation": "boost", - "score": -0.01283916924148798 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 25.5, "then": { + "operation": "boost", + "score": 0.01795024238526821 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0178377702832222 - }, - "else": { - "operation": "boost", - "score": -0.08093655109405518 - } + "operation": "boost", + "score": 0.05194623023271561 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.011094900779426098 - }, - "else": { - "operation": "boost", - "score": -0.07147955894470215 - } + "operation": "boost", + "score": -0.17736971378326416 } - }, - "else": { - "operation": "boost", - "score": -0.004103535320609808 } - } - }, - "else": { - "operation": "boost", - "score": -0.037006743252277374 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.02428283728659153 - }, - "else": { - "operation": "boost", - "score": 0.027848904952406883 - } - }, - "else": { - "operation": "boost", - "score": 0.0019797824788838625 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05907553434371948 - }, - "else": { - "operation": "boost", - "score": 0.0037470299284905195 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.011448615230619907 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20.5, "then": { - "operation": "boost", - "score": -0.07325030118227005 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { - "operation": "boost", - "score": -0.08878498524427414 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "boost", - "score": -0.05167246237397194 + "score": -0.08853339403867722 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.04545454680919647, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.11886242777109146 - }, - "else": { - "operation": "boost", - "score": 0.11253079026937485 - } + "operation": "boost", + "score": 0.12490072846412659 }, "else": { "operation": "boost", - "score": 0.032995663583278656 + "score": 0.06100369989871979 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.12407169491052628 + }, + "else": { + "operation": "boost", + "score": 0.10570266097784042 + } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.041485633701086044 + }, + "else": { + "operation": "boost", + "score": 0.1290321797132492 + } + }, + "else": { + "operation": "boost", + "score": -0.14204750955104828 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": -0.3215225338935852 + }, + "else": { + "operation": "boost", + "score": 0.00726708397269249 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.02010670304298401 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.1268504410982132 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007287429179996252 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.08137644827365875 - }, - "else": { - "operation": "boost", - "score": 0.022803036496043205 - } - }, - "else": { - "operation": "boost", - "score": 0.0926232635974884 - } - }, - "else": { - "operation": "boost", - "score": -0.22320832312107086 - } - }, - "else": { - "operation": "boost", - "score": 0.029401006177067757 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.04949536919593811 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03591466322541237 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.0, - "then": { - "operation": "boost", - "score": -0.00529521657153964 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08380714058876038 - }, - "else": { - "operation": "boost", - "score": 0.11276090145111084 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11031181365251541 - }, - "else": { - "operation": "boost", - "score": 0.004039584193378687 - } - }, - "else": { - "operation": "boost", - "score": 0.11102624982595444 - } - }, - "else": { - "operation": "boost", - "score": 0.02053808607161045 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1600121557712555 - } - }, - "else": { - "operation": "boost", - "score": -0.47410646080970764 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.14101749658584595 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08581145852804184 - }, - "else": { - "operation": "boost", - "score": -0.0965985357761383 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.18029943108558655 - } - } + "operation": "boost", + "score": 0.13651777803897858 }, "else": { "operation": "boost", - "score": -0.17863978445529938 + "score": -0.02191561833024025 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.16532225906848907 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.04782962426543236 - }, - "else": { - "operation": "boost", - "score": -0.088398277759552 - } - } + "operation": "boost", + "score": 0.053483158349990845 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.13768692314624786 - }, - "else": { - "operation": "boost", - "score": 0.04074576497077942 - } + "operation": "boost", + "score": 0.01851595565676689 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.03236059099435806 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": -0.011342586949467659 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.010239040479063988 - }, - "else": { - "operation": "boost", - "score": -0.21170924603939056 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.13427257537841797 - }, - "else": { - "operation": "boost", - "score": -0.45403987169265747 - } - }, - "else": { - "operation": "boost", - "score": -0.05873775854706764 - } - } + "operation": "boost", + "score": 0.16243422031402588 } } } - }, - "else": { - "operation": "boost", - "score": -0.0031859613955020905 } } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.11241675168275833 + }, + "else": { + "operation": "boost", + "score": 0.0036068479530513287 + } } }, "else": { - "operation": "boost", - "score": -0.004016815684735775 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "boost", - "score": 0.004165726248174906 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.010683135129511356 + "score": 0.09861753135919571 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "FractionNameInContext", + "threshold": 0.3100961446762085, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.12502843141555786 - }, - "else": { - "operation": "boost", - "score": 0.11993293464183807 - } + "operation": "boost", + "score": -0.007987309247255325 }, "else": { "operation": "boost", - "score": -0.47185882925987244 + "score": 0.012068959884345531 } } }, "else": { + "operation": "boost", + "score": 0.0004901962238363922 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.092947818338871 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "boost", - "score": 0.05771293863654137 + "score": 0.051557399332523346 }, "else": { "operation": "boost", - "score": 0.0958481952548027 + "score": -0.043514396995306015 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 14387.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 15158.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11587531119585037 - }, - "else": { - "operation": "boost", - "score": 0.12073776870965958 - } + "operation": "boost", + "score": 0.00301585765555501 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_SymbolOrNewName" ], "then": { - "operation": "boost", - "score": 0.09263347834348679 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11580841988325119 + }, + "else": { + "operation": "boost", + "score": 0.07964672148227692 + } }, "else": { "operation": "boost", - "score": -0.17852656543254852 + "score": 0.0576048269867897 } } }, "else": { "operation": "boost", - "score": 0.08534576743841171 + "score": -0.002255527302622795 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16170.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.12655051052570343 + }, + "else": { + "operation": "boost", + "score": -0.05346252769231796 + } + }, + "else": { + "operation": "boost", + "score": 0.004625796806067228 } } } }, "else": { - "operation": "boost", - "score": 0.004391705617308617 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.0012177583994343877 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Variable" ], "then": { "operation": "boost", - "score": 0.09576333314180374 + "score": 0.0031754393130540848 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 44699.0, "then": { "operation": "boost", - "score": 3.9555389881134033 + "score": -0.07289230823516846 }, "else": { - "operation": "boost", - "score": -0.029691819101572037 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.014259175397455692 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 43302.5, "then": { "operation": "boost", - "score": 0.0028596408665180206 + "score": 0.12332268059253693 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10577955842018127 + "score": -0.016902947798371315 }, "else": { "operation": "boost", - "score": -0.020017031580209732 + "score": 0.1293143481016159 } } - }, - "else": { - "operation": "boost", - "score": 0.027155403047800064 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 275.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.0015567935770377517 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23701.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 260.0, + "threshold": 24308.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 26162.5, "then": { "operation": "boost", - "score": -0.2752797603607178 + "score": 0.015254128724336624 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.11314435303211212 - }, - "else": { - "operation": "boost", - "score": 0.11925139278173447 - } + "operation": "boost", + "score": -0.052204232662916183 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09466330707073212 + }, + "else": { + "operation": "boost", + "score": 0.05379575490951538 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23667.0, + "then": { + "operation": "boost", + "score": -0.13003607094287872 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.02966712974011898 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.06661698967218399 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 217.5, + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 229.5, - "then": { - "operation": "boost", - "score": -0.03587697446346283 - }, - "else": { - "operation": "boost", - "score": 0.2296922206878662 - } + "operation": "boost", + "score": 0.09185923635959625 }, "else": { "operation": "boost", - "score": -0.03974096104502678 + "score": 0.11094898730516434 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, - "then": { - "operation": "boost", - "score": 0.05492518097162247 - }, - "else": { - "operation": "boost", - "score": 0.12380918115377426 - } + "operation": "boost", + "score": -0.13749870657920837 }, "else": { "operation": "boost", - "score": -0.10229342430830002 + "score": 0.023201677948236465 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 182.5, - "then": { - "operation": "boost", - "score": -0.06312176585197449 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.19927294552326202 - }, - "else": { - "operation": "boost", - "score": 0.13682201504707336 - } - } - }, - "else": { - "operation": "boost", - "score": -0.08636771887540817 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233.5, - "then": { - "operation": "boost", - "score": 0.28384751081466675 - }, - "else": { - "operation": "boost", - "score": 0.049746401607990265 - } - } + "operation": "boost", + "score": 0.03834247216582298 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "boost", - "score": 0.11411833018064499 + "score": 0.012271793559193611 }, "else": { "operation": "boost", - "score": 0.10654521733522415 + "score": 0.11177898943424225 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, "then": { - "operation": "boost", - "score": -0.33405712246894836 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "boost", + "score": -0.08325496315956116 + }, + "else": { + "operation": "boost", + "score": 0.10674668848514557 + } }, "else": { "operation": "boost", - "score": 0.21149827539920807 + "score": 0.03368053957819939 } } } }, "else": { "operation": "boost", - "score": -0.029317311942577362 + "score": -0.030410373583436012 } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": -0.026491817086935043 + }, + "else": { + "operation": "boost", + "score": -1.0353567600250244 + } } } }, "else": { "operation": "boost", - "score": -0.1153697595000267 + "score": 0.008545049466192722 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.02075006440281868 - }, - "else": { - "operation": "boost", - "score": 0.0616641491651535 - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.06979985535144806 + }, + "else": { + "operation": "boost", + "score": 0.019426610320806503 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15623.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 255.5, + "threshold": 1280205.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 256.5, - "then": { - "operation": "boost", - "score": -0.22281737625598907 - }, - "else": { - "operation": "boost", - "score": 0.115471251308918 - } + "operation": "boost", + "score": -0.07504813373088837 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 124.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 183.5, - "then": { - "operation": "boost", - "score": -0.049582939594984055 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, - "then": { - "operation": "boost", - "score": 0.13851827383041382 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.09038351476192474 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 162.5, - "then": { - "operation": "boost", - "score": 0.44949325919151306 - }, - "else": { - "operation": "boost", - "score": 0.09923693537712097 - } - }, - "else": { - "operation": "boost", - "score": -0.10785214602947235 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 140.0, - "then": { - "operation": "boost", - "score": 0.12380397319793701 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.4610445201396942 - }, - "else": { - "operation": "boost", - "score": -0.10995908081531525 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0942394956946373 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11990684270858765 - }, - "else": { - "operation": "boost", - "score": 0.6092644333839417 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 242.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 247.5, - "then": { - "operation": "boost", - "score": 0.056882359087467194 - }, - "else": { - "operation": "boost", - "score": 0.10572632402181625 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.019441738724708557 - }, - "else": { - "operation": "boost", - "score": 0.19157004356384277 - } - }, - "else": { - "operation": "boost", - "score": -0.2620522081851959 - } - }, - "else": { - "operation": "boost", - "score": 0.026240075007081032 - } - }, - "else": { - "operation": "boost", - "score": -0.12734171748161316 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.006396535784006119 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 122.5, - "then": { - "operation": "boost", - "score": 0.0515180379152298 - }, - "else": { - "operation": "boost", - "score": 0.7876565456390381 - } - }, - "else": { - "operation": "boost", - "score": 0.12669984996318817 - } - }, - "else": { - "operation": "boost", - "score": -0.017660239711403847 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.013294008560478687 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120.5, - "then": { - "operation": "boost", - "score": -0.15610714256763458 - }, - "else": { - "operation": "boost", - "score": 0.28623124957084656 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.13538114726543427 - }, - "else": { - "operation": "boost", - "score": -0.16444429755210876 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.13386638462543488 - }, - "else": { - "operation": "boost", - "score": -0.13786262273788452 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "threshold": 26063.0, "then": { "operation": "boost", - "score": 0.031221652403473854 + "score": -0.3553686738014221 }, "else": { "operation": "boost", - "score": -0.30726513266563416 + "score": -0.7436381578445435 } + }, + "else": { + "operation": "boost", + "score": -0.15744435787200928 } } }, + "else": { + "operation": "boost", + "score": -0.02755855768918991 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02160889282822609 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.02237461879849434 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.020532706752419472 + }, + "else": { + "operation": "boost", + "score": -0.054480139166116714 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1146358996629715 + }, + "else": { + "operation": "boost", + "score": 0.06532544642686844 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": -0.017230883240699768 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07777874171733856 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 160.5, + "threshold": 16.0, "then": { "operation": "boost", - "score": -0.1419524848461151 + "score": 0.3629390597343445 }, "else": { + "operation": "boost", + "score": 0.20402514934539795 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.15274415910243988 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 81.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 95.5, + "threshold": 82.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 142.5, + "threshold": 88.5, "then": { "operation": "boost", - "score": 0.09739760309457779 + "score": 0.050883639603853226 }, "else": { "operation": "boost", - "score": -0.2506146728992462 + "score": 0.12087533622980118 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": 0.3824116587638855 + } + }, + "else": { + "operation": "boost", + "score": 0.048476628959178925 + } + }, + "else": { + "operation": "boost", + "score": 0.012222942896187305 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.011693492531776428 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.021677277982234955 + }, + "else": { + "operation": "boost", + "score": 0.0008732673595659435 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.5, + "then": { + "operation": "boost", + "score": 0.051656465977430344 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.023097213357686996 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.13096794486045837 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.07548215985298157 - }, - "else": { - "operation": "boost", - "score": -0.33802154660224915 - } + "operation": "boost", + "score": 0.16413600742816925 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10850613564252853 - }, - "else": { - "operation": "boost", - "score": 0.0994776040315628 - } + "operation": "boost", + "score": 0.07382597774267197 } } + } + } + }, + "else": { + "operation": "boost", + "score": 0.031317323446273804 + } + }, + "else": { + "operation": "boost", + "score": 0.015224739909172058 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3349.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3555.0, + "then": { + "operation": "boost", + "score": -0.07679466158151627 + }, + "else": { + "operation": "boost", + "score": -0.38128575682640076 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3200.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3208.5, + "then": { + "operation": "boost", + "score": -0.11800247430801392 + }, + "else": { + "operation": "boost", + "score": 0.10235190391540527 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.01571207493543625 + }, + "else": { + "operation": "boost", + "score": 0.01221637986600399 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 77.5, + "threshold": 944.0, "then": { + "operation": "boost", + "score": -0.06416691839694977 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 913.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.030402828007936478 + "score": 0.19352230429649353 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89.5, - "then": { - "operation": "boost", - "score": 0.09462732821702957 - }, - "else": { - "operation": "boost", - "score": 0.11878706514835358 - } + "operation": "boost", + "score": 0.04985763877630234 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.1041034460067749 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.11495674401521683 + "score": -0.011627067811787128 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 121.5, + "threshold": 605.0, "then": { "operation": "boost", - "score": 0.138961523771286 + "score": 0.06255248188972473 }, "else": { "operation": "boost", - "score": 0.19830982387065887 + "score": -0.07576112449169159 } } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.000989198568277061 + }, + "else": { + "operation": "boost", + "score": -0.06627847254276276 + } } } - }, - "else": { - "operation": "boost", - "score": 0.13674421608448029 } } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.018523938953876495 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.01902512088418007 + }, + "else": { + "operation": "boost", + "score": -0.02989555150270462 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.04664923995733261 } } - }, - "else": { - "operation": "boost", - "score": -0.013857617974281311 } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0008963476284407079 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": -0.00370642333291471 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.038609765470027924 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191.0, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": 0.12197928875684738 + "score": 0.07577241957187653 }, "else": { "operation": "boost", - "score": -0.04087809845805168 + "score": 0.022647887468338013 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, - "then": { - "operation": "boost", - "score": 0.11419955641031265 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0029818692710250616 - }, - "else": { - "operation": "boost", - "score": 0.10074833035469055 - } - }, - "else": { - "operation": "boost", - "score": -0.1741359680891037 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12553058564662933 - } + "operation": "boost", + "score": -0.12660625576972961 } - }, - "else": { - "operation": "boost", - "score": -0.018899334594607353 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3632505536079407 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 379.0, - "then": { - "operation": "boost", - "score": 0.09944209456443787 - }, - "else": { - "operation": "boost", - "score": 0.018280113115906715 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11256241053342819 - } + "operation": "boost", + "score": -0.013141202740371227 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1971.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.27973952889442444 + "score": 0.11865009367465973 }, "else": { "operation": "boost", - "score": -0.025981983169913292 + "score": -0.06817266345024109 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.2592608630657196 - }, - "else": { - "operation": "boost", - "score": -0.059170231223106384 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.1287004053592682 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 187.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3283.0, - "then": { - "operation": "boost", - "score": 0.12138301134109497 - }, - "else": { - "operation": "boost", - "score": -0.37118855118751526 - } - }, - "else": { - "operation": "boost", - "score": 0.10698983073234558 - } + "operation": "boost", + "score": 0.046686965972185135 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17011.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.10377486795186996 + "score": 0.02905449829995632 }, "else": { "operation": "boost", - "score": -0.06310763955116272 + "score": -0.09546974301338196 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.1189756989479065 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12586894631385803 - }, - "else": { - "operation": "boost", - "score": -0.11551551520824432 - } + "operation": "boost", + "score": -0.21936126053333282 }, "else": { "operation": "boost", - "score": 0.11757487803697586 + "score": -0.005893779452890158 } - }, - "else": { - "operation": "boost", - "score": -0.32299068570137024 } - }, - "else": { - "operation": "boost", - "score": 0.013160674832761288 } } + }, + "else": { + "operation": "boost", + "score": -0.004165472462773323 } } - }, - "else": { - "operation": "boost", - "score": -0.00733170798048377 } } } - }, - "else": { - "operation": "boost", - "score": 0.001782266073860228 } } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.02319086529314518 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "boost", + "score": -0.1548391431570053 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.5, - "then": { - "operation": "boost", - "score": 0.11732589453458786 - }, - "else": { - "operation": "boost", - "score": 0.13047629594802856 - } - }, - "else": { - "operation": "boost", - "score": -0.015507016330957413 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.126091867685318 - }, - "else": { - "operation": "boost", - "score": -0.0852891355752945 - } - }, - "else": { - "operation": "boost", - "score": 0.04157460108399391 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04971366748213768 - } + "operation": "boost", + "score": 0.10449246317148209 }, "else": { "operation": "boost", - "score": 0.10709478706121445 + "score": -0.1724746823310852 } + } + }, + "else": { + "operation": "boost", + "score": 0.004713143687695265 + } + }, + "else": { + "operation": "boost", + "score": 0.001671666163019836 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.020105797797441483 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.16557542979717255 }, "else": { "operation": "boost", - "score": 0.05171804130077362 + "score": 0.06757804751396179 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 298482.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.02690838649868965 + }, + "else": { + "operation": "boost", + "score": -0.0286415945738554 + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 281926.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "FractionNameInContext", + "threshold": 0.057259451597929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "boost", + "score": 0.002327092457562685 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.0489828921854496 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134893.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.08051632344722748 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.07739370316267014 + "score": 0.036793071776628494 }, "else": { - "operation": "boost", - "score": -0.006593940779566765 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.07056015729904175 + "score": 0.12020498514175415 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.07697849720716476 - }, - "else": { - "operation": "boost", - "score": -0.22428201138973236 - } + "operation": "boost", + "score": -0.024664245545864105 } - }, - "else": { - "operation": "boost", - "score": 0.013761309906840324 } } + }, + "else": { + "operation": "boost", + "score": 0.01802166923880577 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 288840.5, + "then": { + "operation": "boost", + "score": -0.04327010363340378 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "boost", + "score": 0.0337834507226944 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 259656.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.13729743659496307 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 473.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 510.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.12838420271873474 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": -0.23896293342113495 - }, - "else": { - "operation": "boost", - "score": 0.13062086701393127 - } + "operation": "boost", + "score": 0.06358624994754791 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": -0.21356800198554993 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.23591859638690948 - }, - "else": { - "operation": "boost", - "score": 0.03210006654262543 - } - } + "operation": "boost", + "score": 0.08261919021606445 } + }, + "else": { + "operation": "boost", + "score": -0.21466846764087677 } }, "else": { - "operation": "boost", - "score": 0.13383227586746216 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.18577782809734344 + "score": 0.13408291339874268 }, "else": { "operation": "boost", - "score": 2.8538811206817627 + "score": 0.10967852920293808 } - }, - "else": { - "operation": "boost", - "score": 0.09243077039718628 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 154.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.05920817330479622 }, "else": { "operation": "boost", - "score": -0.16437067091464996 + "score": -0.033136751502752304 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.14690986275672913 - }, - "else": { - "operation": "boost", - "score": -0.163194939494133 - } + "operation": "boost", + "score": -0.05351985618472099 } }, "else": { - "operation": "boost", - "score": 0.00013674930960405618 - } - } - }, - "else": { - "operation": "boost", - "score": -0.019254563376307487 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4235.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.3052935302257538 + "score": -0.1427675038576126 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 228.5, - "then": { - "operation": "boost", - "score": 0.07681070268154144 - }, - "else": { - "operation": "boost", - "score": 0.1064048483967781 - } - }, - "else": { - "operation": "boost", - "score": 0.03827086091041565 - } + "operation": "boost", + "score": 0.23682549595832825 } - }, - "else": { - "operation": "boost", - "score": 0.10126198083162308 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, "then": { - "operation": "boost", - "score": 0.1025586873292923 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 546.0, + "threshold": 224557.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 686.5, + "threshold": 234371.5, "then": { "operation": "boost", - "score": 0.008170148357748985 + "score": 0.016047213226556778 }, "else": { - "operation": "boost", - "score": 0.12901362776756287 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05866231024265289 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.5877678990364075 + }, + "else": { + "operation": "boost", + "score": -0.16707926988601685 + } + } } }, "else": { "operation": "boost", - "score": -0.04131636023521423 + "score": 0.02798936888575554 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 601.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 705.5, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { "operation": "boost", - "score": 0.06710595637559891 + "score": -0.016961224377155304 }, "else": { + "operation": "boost", + "score": 0.06808136403560638 + } + }, + "else": { + "operation": "boost", + "score": -0.18880046904087067 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.013346182182431221 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 670.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.12561668455600739 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.11195763200521469 + }, + "else": { + "operation": "boost", + "score": 0.12263194471597672 + } }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.11985870450735092 + }, + "else": { + "operation": "boost", + "score": 0.020327530801296234 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "boost", - "score": 0.10267538577318192 + "score": -0.04709141328930855 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7071428298950195, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1289389580488205 + }, + "else": { + "operation": "boost", + "score": -0.1043664738535881 + } + }, + "else": { + "operation": "boost", + "score": 0.05181571841239929 + } } } - }, - "else": { - "operation": "boost", - "score": 0.06772036105394363 } - }, - "else": { - "operation": "boost", - "score": 0.045380253344774246 } }, "else": { "operation": "boost", - "score": 0.032277293503284454 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.109839528799057 - }, - "else": { - "operation": "boost", - "score": 0.10995606333017349 + "score": -0.0015932375099509954 } } - }, - "else": { - "operation": "boost", - "score": -0.04159403219819069 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Variable" + ], "then": { "operation": "boost", - "score": 0.014135024510324001 + "score": 0.0030904519371688366 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44699.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "boost", + "score": -0.07461482286453247 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43302.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.036515973508358 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09944386035203934 - }, - "else": { - "operation": "boost", - "score": 0.11087051779031754 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05628411844372749 - }, - "else": { - "operation": "boost", - "score": -0.05921526625752449 - } - } + "operation": "boost", + "score": 0.12055278569459915 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16141.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18956.0, - "then": { - "operation": "boost", - "score": 0.007805028464645147 - }, - "else": { - "operation": "boost", - "score": 0.11738230288028717 - } + "operation": "boost", + "score": -0.01570022851228714 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 808.5, + "operation": "boost", + "score": 0.13126812875270844 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 467.0, "then": { "operation": "boost", - "score": 0.09914248436689377 + "score": -0.5395686030387878 }, "else": { - "operation": "boost", - "score": -0.10883177071809769 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0651959627866745, + "then": { + "operation": "boost", + "score": 0.05494113266468048 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.2221590280532837 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.07274753600358963 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.17015622556209564 + }, + "else": { + "operation": "boost", + "score": 0.22512315213680267 + } + } + } + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 802.5, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { "operation": "boost", - "score": 0.11778029054403305 + "score": 0.03452778235077858 }, "else": { - "operation": "boost", - "score": -0.016972294077277184 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 390.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11311.0, + "then": { + "operation": "boost", + "score": 0.18790341913700104 + }, + "else": { + "operation": "boost", + "score": -0.34166550636291504 + } + }, + "else": { + "operation": "boost", + "score": 0.46541666984558105 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06360994279384613 + }, + "else": { + "operation": "boost", + "score": 0.33512747287750244 + } + } + }, + "else": { + "operation": "boost", + "score": -0.011696899309754372 + } } } + }, + "else": { + "operation": "boost", + "score": -0.004993515554815531 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.009117284789681435 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 257.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 96.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.22638100385665894 - }, - "else": { - "operation": "boost", - "score": 0.03668753430247307 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 317.0, + "threshold": 137.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 367.5, + "threshold": 1267.0, "then": { + "operation": "boost", + "score": 0.03014937974512577 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 413.0, "then": { "operation": "boost", - "score": 0.15386700630187988 + "score": 0.20247018337249756 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 538.0, - "then": { - "operation": "boost", - "score": -0.10970784723758698 - }, - "else": { - "operation": "boost", - "score": 0.13119637966156006 - } + "operation": "boost", + "score": 0.09355554729700089 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.5, + "then": { + "operation": "boost", + "score": 0.39032793045043945 }, "else": { "operation": "boost", - "score": 0.17609848082065582 + "score": 0.0825294777750969 } - }, - "else": { - "operation": "boost", - "score": 0.0821327194571495 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 303.5, + "threshold": 18107.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 309.0, + "threshold": 20297.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 392.5, + "threshold": 83330.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1676.0, + "threshold": 148934.5, "then": { "operation": "boost", - "score": 0.04846611246466637 + "score": 0.03427521139383316 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 750.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1155.0, - "then": { - "operation": "boost", - "score": 0.10030961781740189 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.08842974156141281 - }, - "else": { - "operation": "boost", - "score": 0.1323985457420349 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 509.5, - "then": { - "operation": "boost", - "score": 0.0108256246894598 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.06254663318395615 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443.5, - "then": { - "operation": "boost", - "score": 0.11713691800832748 - }, - "else": { - "operation": "boost", - "score": 0.03520903363823891 - } - } - } - } + "operation": "boost", + "score": 0.1112024113535881 } }, "else": { "operation": "boost", - "score": -0.03373561054468155 + "score": -0.16185490787029266 } }, "else": { - "operation": "boost", - "score": 0.12111898511648178 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.07961179316043854 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09701929241418839 + }, + "else": { + "operation": "boost", + "score": 0.16852180659770966 + } + } } }, "else": { "operation": "boost", - "score": -0.08518396317958832 + "score": 0.07513030618429184 } }, "else": { "operation": "boost", - "score": -0.06302307546138763 - } - }, - "else": { - "operation": "boost", - "score": 0.04429960250854492 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 255.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.12010299414396286 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13582485914230347 - }, - "else": { - "operation": "boost", - "score": -0.2875572741031647 + "score": -0.017576750367879868 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 243.5, + "feature": "FractionNameInContext", + "threshold": 0.875, "then": { - "operation": "boost", - "score": -0.11569412797689438 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 38.0, "then": { "operation": "boost", - "score": 0.12200077623128891 + "score": 0.11926278471946716 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.23409052193164825 - }, - "else": { - "operation": "boost", - "score": 0.32909661531448364 - } + "operation": "boost", + "score": 0.6117788553237915 } }, "else": { "operation": "boost", - "score": -0.1452096402645111 + "score": -0.1701178401708603 } + }, + "else": { + "operation": "boost", + "score": 0.015842238441109657 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.07171722501516342 }, "else": { "operation": "boost", - "score": -0.0006026948685757816 + "score": -0.0021081557497382164 } + }, + "else": { + "operation": "boost", + "score": -0.016020307317376137 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 122.5, + "threshold": 5124.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11677715927362442 + "score": 0.09095362573862076 }, "else": { "operation": "boost", - "score": 0.12019441276788712 + "score": -0.01487996056675911 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.12329985201358795 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11696066707372665 - }, - "else": { - "operation": "boost", - "score": -0.1261642873287201 - } - } + "operation": "boost", + "score": 0.026526080444455147 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.0086901243776083 + "score": 0.010135028511285782 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 117.5, + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.055173568427562714 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 171.0, + "then": { + "operation": "boost", + "score": -0.040251292288303375 + }, + "else": { + "operation": "boost", + "score": -0.15126024186611176 + } }, "else": { - "operation": "boost", - "score": 0.15791106224060059 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.3430927097797394 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09710223972797394 + }, + "else": { + "operation": "boost", + "score": -0.11590030789375305 + } + }, + "else": { + "operation": "boost", + "score": 0.1213240846991539 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11357089877128601 + }, + "else": { + "operation": "boost", + "score": -0.009128941223025322 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3201814293861389 + } + } } } } } }, "else": { - "operation": "boost", - "score": -0.01594160683453083 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], "then": { "operation": "boost", - "score": -0.0546259768307209 + "score": 0.14275099337100983 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 186.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 252.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 81.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 82.5, "then": { - "operation": "boost", - "score": -0.16102057695388794 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88.5, + "then": { + "operation": "boost", + "score": 0.05057952180504799 + }, + "else": { + "operation": "boost", + "score": 0.11632321029901505 + } }, "else": { "operation": "boost", - "score": 0.10735123604536057 + "score": 0.38572537899017334 } }, "else": { "operation": "boost", - "score": -0.15912799537181854 + "score": 0.04760739952325821 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 782.0, - "then": { - "operation": "boost", - "score": 0.12555967271327972 - }, - "else": { - "operation": "boost", - "score": 0.14496196806430817 - } + "operation": "boost", + "score": 0.013227731920778751 } }, + "else": { + "operation": "boost", + "score": -0.0011120563140138984 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.03868988901376724 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 235.0, + "threshold": 3349.5, "then": { "operation": "boost", - "score": 0.11209414154291153 + "score": -0.08703386783599854 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 190.5, - "then": { - "operation": "boost", - "score": -0.18806852400302887 - }, - "else": { - "operation": "boost", - "score": 0.10820043087005615 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.18517068028450012 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.04500287026166916 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.0032243062742054462 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 442.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 534.0, - "then": { - "operation": "boost", - "score": 0.028902409598231316 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 504.5, + "threshold": 3181.0, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.11230430752038956 + "score": 0.12238451093435287 }, "else": { "operation": "boost", - "score": -0.10055456310510635 + "score": -0.1428452879190445 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 451.0, - "then": { - "operation": "boost", - "score": 0.03618667647242546 - }, - "else": { - "operation": "boost", - "score": 0.1480315625667572 - } + "operation": "boost", + "score": -0.007519051898270845 } } - }, - "else": { - "operation": "boost", - "score": 0.022375693544745445 } } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34973.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61387.0, + "then": { + "operation": "boost", + "score": -0.07743780314922333 + }, + "else": { + "operation": "boost", + "score": -0.3128858208656311 + } + }, + "else": { + "operation": "boost", + "score": -0.02844611555337906 + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 357084.0, + "then": { + "operation": "boost", + "score": 0.09778138250112534 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06281501054763794, + "then": { + "operation": "boost", + "score": -0.03905877843499184 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 5256.5, "then": { - "operation": "boost", - "score": 0.1340644806623459 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5905.5, + "then": { + "operation": "boost", + "score": 0.06402251869440079 + }, + "else": { + "operation": "boost", + "score": 0.12843111157417297 + } }, "else": { "operation": "boost", - "score": -0.3241463899612427 + "score": 0.009481553919613361 } }, "else": { "operation": "boost", - "score": 0.017295213416218758 + "score": -0.010601954534649849 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.11195548623800278 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.0039424775168299675 }, "else": { "operation": "boost", - "score": -0.06318040192127228 + "score": 0.09675705432891846 } } } - }, - "else": { - "operation": "boost", - "score": 0.10118541121482849 } }, "else": { - "operation": "boost", - "score": 0.0012657862389460206 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00046644240501336753 - } - }, - { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.05551352724432945 + "score": 0.0008221819880418479 }, "else": { - "operation": "boost", - "score": 0.11048618704080582 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04794163256883621 - }, - "else": { - "operation": "boost", - "score": -0.004273523576557636 - } + "operation": "boost", + "score": -0.0037627536803483963 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08770252019166946 - }, - "else": { - "operation": "boost", - "score": -0.00015991665713954717 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09360917657613754 - }, - "else": { - "operation": "boost", - "score": -0.1361045241355896 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07495719939470291 - }, - "else": { - "operation": "boost", - "score": 0.03354136273264885 - } - } + "operation": "boost", + "score": 0.03864649310708046 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": -0.0011963858269155025 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": 0.08162672817707062 + "score": 0.07260299474000931 }, "else": { "operation": "boost", - "score": 0.05063987895846367 + "score": 0.023554252460598946 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.015936115756630898 }, "else": { "operation": "boost", - "score": 0.0631205290555954 + "score": -0.11506088823080063 } - }, - "else": { - "operation": "boost", - "score": 0.025212114676833153 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05881880968809128 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.04409562796354294 }, "else": { "operation": "boost", - "score": -0.04150150343775749 + "score": 0.0003880017320625484 } } } } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": 0.042762015014886856 }, "else": { "operation": "boost", - "score": -0.002363086212426424 + "score": 0.08195562660694122 } }, "else": { - "operation": "boost", - "score": -0.032140329480171204 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 132310.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09166666865348816, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": -0.686982274055481 + }, + "else": { + "operation": "boost", + "score": -0.24916322529315948 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86511.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 107411.0, "then": { - "operation": "boost", - "score": 0.08122647553682327 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 123410.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12714970111846924 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1588486284017563 - }, - "else": { - "operation": "boost", - "score": 0.10629641264677048 - } - } - }, - "else": { - "operation": "boost", - "score": -0.01250266470015049 - } + "operation": "boost", + "score": 0.12335284799337387 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119809.5, "then": { "operation": "boost", - "score": 0.0884697213768959 + "score": -0.6211646199226379 }, "else": { "operation": "boost", - "score": -0.10467900335788727 + "score": -0.12631435692310333 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04827476292848587 - }, - "else": { - "operation": "boost", - "score": -0.13096649944782257 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.046470966190099716 }, "else": { "operation": "boost", - "score": 0.07279699295759201 + "score": 0.07388949394226074 } }, "else": { "operation": "boost", - "score": -0.13235528767108917 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.014813595451414585 - }, - "else": { - "operation": "boost", - "score": -0.010672398842871189 + "score": 0.00185781205072999 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.023191427811980247 - }, - "else": { - "operation": "boost", - "score": -0.038152504712343216 - } - }, - "else": { - "operation": "boost", - "score": -0.03246455639600754 - } + "operation": "boost", + "score": -0.12919044494628906 } + }, + "else": { + "operation": "boost", + "score": 0.010352497920393944 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 276057.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 276350.0, + "then": { + "operation": "boost", + "score": 0.007989158853888512 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { "operation": "boost", - "score": -0.01970345713198185 + "score": 0.1580905169248581 }, "else": { + "operation": "boost", + "score": 0.06393841654062271 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.011291583068668842 + "score": 0.14698158204555511 }, "else": { "operation": "boost", - "score": 0.11374019086360931 + "score": 0.1471727192401886 } + }, + "else": { + "operation": "boost", + "score": -0.008872113190591335 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.05278874561190605 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.01166662760078907 - }, - "else": { - "operation": "boost", - "score": -0.0006162780337035656 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { - "operation": "boost", - "score": -0.004476966802030802 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.02127045765519142 + "score": 0.08453966677188873 }, "else": { "operation": "boost", - "score": -0.16467812657356262 + "score": -0.022917436435818672 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 207505.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "boost", + "score": 0.0849418044090271 + }, + "else": { + "operation": "boost", + "score": -0.11217544972896576 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.029313594102859497 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.10150572657585144 + "score": 0.08954138308763504 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.12971976399421692 - }, - "else": { - "operation": "boost", - "score": 0.24483467638492584 - } + "operation": "boost", + "score": 0.16831807792186737 } - }, - "else": { - "operation": "boost", - "score": 0.061718057841062546 } - }, - "else": { - "operation": "boost", - "score": 0.07711243629455566 } + } + }, + "else": { + "operation": "boost", + "score": -0.003305550431832671 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.041373006999492645 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.04179825261235237 + "score": 0.0883350595831871 }, "else": { "operation": "boost", - "score": 0.011347639374434948 + "score": -0.2281647026538849 } } }, "else": { + "operation": "boost", + "score": -0.017601795494556427 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, + "then": { + "operation": "boost", + "score": -0.14675436913967133 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 101593.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.013510113582015038 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Unknown", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.002001996384933591 + "score": -0.12760749459266663 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 157834.5, "then": { "operation": "boost", - "score": 0.06894893199205399 + "score": 0.26984649896621704 }, "else": { "operation": "boost", - "score": 0.10190832614898682 + "score": -0.08264260739088058 } }, "else": { - "operation": "boost", - "score": 0.09277335554361343 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.12644672393798828 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.09609373658895493 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.029114559292793274 + }, + "else": { + "operation": "boost", + "score": 0.09947433322668076 + } + } + } } } }, "else": { "operation": "boost", - "score": -0.06646876782178879 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.033885736018419266 - }, - "else": { - "operation": "boost", - "score": 0.01991686038672924 + "score": -0.11419269442558289 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 167779.0, "then": { - "operation": "boost", - "score": -0.1078789085149765 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.16018174588680267 + "score": 0.054075345396995544 }, "else": { "operation": "boost", - "score": -0.11565063148736954 + "score": 0.022366318851709366 } - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.004023120738565922 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 160.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 740.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.04073135927319527 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 471.0, + "threshold": 141422.5, "then": { "operation": "boost", - "score": 0.10243414342403412 + "score": -0.09034676849842072 }, "else": { "operation": "boost", - "score": 0.04365888237953186 + "score": 0.0509081706404686 } + }, + "else": { + "operation": "boost", + "score": -0.0037300819531083107 } - }, - "else": { - "operation": "boost", - "score": 0.02713610604405403 } - }, - "else": { - "operation": "boost", - "score": -0.006621612701565027 - } - }, - "else": { - "operation": "boost", - "score": 0.10794440656900406 - } - }, - "else": { - "operation": "boost", - "score": 0.013513841666281223 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 980.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1017.5, - "then": { - "operation": "boost", - "score": -0.022482577711343765 - }, - "else": { - "operation": "boost", - "score": 0.09542827308177948 } }, "else": { - "operation": "boost", - "score": -0.01481482945382595 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 230.0, + "threshold": 97095.5, + "then": { + "operation": "boost", + "score": -0.06973635405302048 + }, + "else": { + "operation": "boost", + "score": 0.08886713534593582 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 642.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.0, "then": { "operation": "boost", - "score": 0.10105735063552856 + "score": 0.10053142160177231 }, "else": { "operation": "boost", - "score": -0.04956215247511864 + "score": -0.007679884321987629 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 280.5, - "then": { - "operation": "boost", - "score": 0.010758694261312485 - }, - "else": { - "operation": "boost", - "score": 0.10531022399663925 - } + "operation": "boost", + "score": 0.09709756821393967 } }, "else": { "operation": "boost", - "score": -0.10765905678272247 + "score": 0.0780504122376442 } }, "else": { "operation": "boost", - "score": 0.11040925979614258 + "score": 0.01750778779387474 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05234197527170181 + }, + "else": { + "operation": "boost", + "score": -0.1298128068447113 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92051.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2723238170146942 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13955479860305786 - }, - "else": { - "operation": "boost", - "score": 0.022854413837194443 - } - }, - "else": { - "operation": "boost", - "score": -0.022789757698774338 - } + "operation": "boost", + "score": -0.15045997500419617 }, "else": { "operation": "boost", - "score": -0.042971715331077576 + "score": -0.13374216854572296 } } }, @@ -241705,6175 +239371,4434 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_TypeQualifiers", + "CCC_UnionTag" ], - "then": { - "operation": "boost", - "score": -0.008412557654082775 - }, - "else": { - "operation": "boost", - "score": -0.07893817126750946 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 303.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 554.0, + "threshold": 93657.0, "then": { - "operation": "boost", - "score": 0.014110476709902287 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 383.0, - "then": { - "operation": "boost", - "score": 0.10425155609846115 - }, - "else": { - "operation": "boost", - "score": 0.11830876022577286 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" - ], + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.09848211705684662 - }, - "else": { - "operation": "boost", - "score": 0.132859468460083 - } + "operation": "boost", + "score": -0.5465219020843506 }, "else": { "operation": "boost", - "score": 0.0519988089799881 + "score": 0.07396252453327179 } }, "else": { - "operation": "boost", - "score": -0.13869816064834595 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.20210714638233185 + }, + "else": { + "operation": "boost", + "score": 0.10217230021953583 + } } }, "else": { + "operation": "boost", + "score": 0.005702515598386526 + } + }, + "else": { + "operation": "boost", + "score": -0.03748243674635887 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90096.0, + "then": { + "operation": "boost", + "score": -0.004293324425816536 + }, + "else": { + "operation": "boost", + "score": 0.04789954796433449 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57410.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 59476.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61155.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87006.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, + "operation": "boost", + "score": 0.11426528543233871 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.1627807319164276 + "score": 0.05282732471823692 }, "else": { "operation": "boost", - "score": 0.14154185354709625 + "score": -0.0011603570310398936 } - }, - "else": { - "operation": "boost", - "score": 0.15315662324428558 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.06818782538175583 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.00592559389770031 - }, - "else": { - "operation": "boost", - "score": 0.08593389391899109 - } - } + "operation": "boost", + "score": 0.042646750807762146 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0825372189283371 - }, - "else": { - "operation": "boost", - "score": 0.10092172771692276 - } + "operation": "boost", + "score": -0.005959104746580124 }, "else": { "operation": "boost", - "score": 0.012601097114384174 + "score": -0.0573328398168087 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.04217028245329857 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.030632706359028816 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { + "operation": "boost", + "score": 0.1039172112941742 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.10030467063188553 + "score": -0.18249528110027313 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.3821552097797394 - }, - "else": { - "operation": "boost", - "score": 0.13447563350200653 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { "operation": "boost", - "score": 0.15484118461608887 + "score": -0.2079637050628662 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09579643607139587 - }, - "else": { - "operation": "boost", - "score": -0.1526423841714859 - } + "operation": "boost", + "score": -0.24588775634765625 }, "else": { "operation": "boost", - "score": 0.09625967592000961 + "score": -0.8834623694419861 } } - }, - "else": { - "operation": "boost", - "score": 0.0385725162923336 } } + }, + "else": { + "operation": "boost", + "score": -0.1706763207912445 } - }, - "else": { - "operation": "boost", - "score": -0.015460309572517872 } } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06807295978069305 - }, - "else": { - "operation": "boost", - "score": 0.022569280117750168 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0021983699407428503 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Unknown", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02351885847747326 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00556687219068408 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.06105893850326538 - }, - "else": { - "operation": "boost", - "score": -0.005107576958835125 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "boost", - "score": -0.019499029964208603 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57673.0, + "then": { + "operation": "boost", + "score": 0.06758628785610199 + }, + "else": { + "operation": "boost", + "score": -0.9590389132499695 + } }, "else": { - "operation": "boost", - "score": 0.04598677530884743 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58073.0, + "then": { + "operation": "boost", + "score": -0.015327426604926586 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.06758396327495575 + }, + "else": { + "operation": "boost", + "score": 0.12087009847164154 + } + } } }, "else": { - "operation": "boost", - "score": 0.08019185811281204 - } - }, - "else": { - "operation": "boost", - "score": -0.04140862077474594 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.003206630004569888 - } - } - }, - "else": { - "operation": "boost", - "score": -0.021774772554636 - } - }, - "else": { - "operation": "boost", - "score": -0.01363696251064539 - } - }, - "else": { - "operation": "boost", - "score": -0.003730676369741559 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2459.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2469.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.019331149756908417 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49298.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62580.5, - "then": { - "operation": "boost", - "score": -0.010094386525452137 - }, - "else": { - "operation": "boost", - "score": 0.12061794847249985 - } - }, - "else": { - "operation": "boost", - "score": 0.010642926208674908 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.022848522290587425 - }, - "else": { - "operation": "boost", - "score": 0.060348719358444214 - } - }, - "else": { - "operation": "boost", - "score": -0.33113065361976624 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.048118967562913895 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.017231162637472153 - }, - "else": { - "operation": "boost", - "score": 0.09614205360412598 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17366725206375122 + }, + "else": { + "operation": "boost", + "score": 0.08881248533725739 + } + }, + "else": { + "operation": "boost", + "score": -0.12611457705497742 + } } - }, - "else": { - "operation": "boost", - "score": 0.01324445754289627 } }, "else": { "operation": "boost", - "score": -0.08138769865036011 + "score": -0.15447503328323364 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 375849.5, - "then": { - "operation": "boost", - "score": 0.05331690236926079 - }, - "else": { - "operation": "boost", - "score": -0.012809663079679012 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5161.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5204.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": 0.10086825489997864 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 55483.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.04190710932016373 - }, - "else": { - "operation": "boost", - "score": -0.11796889454126358 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6724.5, + "threshold": 56010.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9761.0, - "then": { - "operation": "boost", - "score": 0.04307005926966667 - }, - "else": { - "operation": "boost", - "score": -0.1001855880022049 - } + "operation": "boost", + "score": -0.18403728306293488 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.10641957074403763 + "score": 0.19369907677173615 }, "else": { "operation": "boost", - "score": 0.05046457424759865 + "score": 0.11576544493436813 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.05611953139305115 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.13453316688537598 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10293.5, + "threshold": 55726.0, "then": { - "operation": "boost", - "score": -0.006449663545936346 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.09046938270330429 + }, + "else": { + "operation": "boost", + "score": -0.003600657917559147 + } + }, + "else": { + "operation": "boost", + "score": 0.0889262706041336 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7103.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.09914737194776535 + "score": -0.34104904532432556 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.09727957099676132 + "score": 0.09472601860761642 }, "else": { "operation": "boost", - "score": 0.0585707388818264 + "score": 0.13790446519851685 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.44866588711738586 }, "else": { "operation": "boost", - "score": -0.3252536654472351 + "score": -0.0666348785161972 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23701.5, + "threshold": 48488.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.17901504039764404 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.14256510138511658 + }, + "else": { + "operation": "boost", + "score": 0.14864718914031982 + } + }, + "else": { + "operation": "boost", + "score": -0.1042235791683197 + } + }, + "else": { + "operation": "boost", + "score": -0.2504730522632599 + } }, "else": { "operation": "boost", - "score": 0.11175227165222168 + "score": -0.14009593427181244 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24093.0, + "threshold": 50563.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 51599.0, "then": { - "operation": "boost", - "score": 0.06442433595657349 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.005164545029401779 + }, + "else": { + "operation": "boost", + "score": -0.09338006377220154 + } }, "else": { - "operation": "boost", - "score": 0.11088764667510986 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.11081051081418991 + "score": 0.08368027955293655 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, - "then": { - "operation": "boost", - "score": -0.10449951142072678 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06354279816150665 - }, - "else": { - "operation": "boost", - "score": 0.09275268763303757 - } - } + "operation": "boost", + "score": -0.20896604657173157 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1378137171268463 }, "else": { "operation": "boost", - "score": 0.08161254227161407 + "score": -0.08401543647050858 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42438.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Expression", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 44315.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8978.5, + "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9213.5, + "threshold": 45623.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10967.0, + "threshold": 47131.5, + "then": { + "operation": "boost", + "score": 0.0634288415312767 + }, + "else": { + "operation": "boost", + "score": 0.0280819870531559 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14555.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.038773030042648315 + "score": 0.12047077715396881 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_Type" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.08660639077425003 + "score": 0.11317802220582962 }, "else": { "operation": "boost", - "score": 0.10230939835309982 + "score": 0.14250628650188446 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.11957743018865585 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0831221342086792 - }, - "else": { - "operation": "boost", - "score": -0.4067786931991577 - } - } + "operation": "boost", + "score": 0.06568653881549835 } } }, "else": { "operation": "boost", - "score": -0.21839463710784912 + "score": -0.11797633767127991 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10447.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.12726005911827087 - }, - "else": { - "operation": "boost", - "score": 0.09065856039524078 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10035.5, - "then": { - "operation": "boost", - "score": -0.2700662314891815 - }, - "else": { - "operation": "boost", - "score": 0.2542572319507599 - } - } + "operation": "boost", + "score": 0.06681079417467117 } - }, - "else": { - "operation": "boost", - "score": 0.11560484021902084 } }, "else": { "operation": "boost", - "score": 0.0019269773038104177 + "score": -0.1865263134241104 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45617.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.11088556051254272 - }, - "else": { - "operation": "boost", - "score": 0.11619365960359573 - } + "operation": "boost", + "score": -0.06754403561353683 }, "else": { "operation": "boost", - "score": 0.030601978302001953 + "score": -0.44468069076538086 } }, "else": { "operation": "boost", - "score": 0.021598560735583305 + "score": -0.03383323922753334 } } }, "else": { - "operation": "boost", - "score": 0.027856241911649704 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14649.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.19664829969406128 + "score": 0.015077335759997368 }, "else": { - "operation": "boost", - "score": 0.13677996397018433 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.10929617285728455 + }, + "else": { + "operation": "boost", + "score": 0.11940700560808182 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06052790582180023 - }, - "else": { - "operation": "boost", - "score": 0.10906316339969635 - } + "operation": "boost", + "score": 0.11737606674432755 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6549.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9858.5, - "then": { - "operation": "boost", - "score": 0.11735110729932785 - }, - "else": { - "operation": "boost", - "score": -0.10429506748914719 - } - }, - "else": { - "operation": "boost", - "score": -0.20804913341999054 - } - }, - "else": { - "operation": "boost", - "score": 0.12714987993240356 - } - } - }, - "else": { - "operation": "boost", - "score": -0.17839248478412628 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8158.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15623.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18842.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19220.5, - "then": { - "operation": "boost", - "score": 0.04678849130868912 - }, - "else": { - "operation": "boost", - "score": 0.1161852777004242 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18069.0, - "then": { - "operation": "boost", - "score": -0.11444570124149323 - }, - "else": { - "operation": "boost", - "score": 0.09831353276968002 - } - } - }, - "else": { - "operation": "boost", - "score": 0.018862618133425713 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.0385039858520031 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06897987425327301 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15950.0, - "then": { - "operation": "boost", - "score": 0.10014180839061737 - }, - "else": { - "operation": "boost", - "score": 0.105321504175663 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "boost", - "score": -0.1153077483177185 - }, - "else": { - "operation": "boost", - "score": 0.1270218789577484 - } - }, - "else": { - "operation": "boost", - "score": -0.11053500324487686 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09980462491512299 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.046428170055150986 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.03457915410399437 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.11401525139808655 - }, - "else": { - "operation": "boost", - "score": 0.12417910993099213 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { "operation": "boost", - "score": 0.05079266428947449 - }, - "else": { - "operation": "boost", - "score": -0.08645741641521454 + "score": 0.04583512246608734 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8054.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.11905469000339508 - }, - "else": { - "operation": "boost", - "score": -0.116575226187706 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7550.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.11140170693397522 - }, - "else": { - "operation": "boost", - "score": 0.07060972601175308 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11090008914470673 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.11261899024248123 - }, - "else": { - "operation": "boost", - "score": -0.10918455570936203 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7635.5, - "then": { - "operation": "boost", - "score": -0.0670345351099968 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.14403650164604187 - }, - "else": { - "operation": "boost", - "score": 0.00827658362686634 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.03636224567890167 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.15607984364032745 - }, - "else": { - "operation": "boost", - "score": -0.02796366810798645 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.06258303672075272 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6044.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6175.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.09224629402160645 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.13006068766117096 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6804.5, - "then": { - "operation": "boost", - "score": -0.1470809280872345 - }, - "else": { - "operation": "boost", - "score": 0.1090007945895195 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.1179148256778717 - } - }, - "else": { - "operation": "boost", - "score": -0.35051703453063965 - } - }, - "else": { - "operation": "boost", - "score": -0.1370147317647934 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7092.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7393.0, - "then": { - "operation": "boost", - "score": 0.07883001863956451 - }, - "else": { - "operation": "boost", - "score": 0.12955592572689056 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6211.5, - "then": { - "operation": "boost", - "score": -0.252521812915802 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11370043456554413 - }, - "else": { - "operation": "boost", - "score": 0.1560359001159668 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03868400678038597 - } - } - } + "operation": "boost", + "score": -0.032772570848464966 } + }, + "else": { + "operation": "boost", + "score": -0.00025789858773350716 } } - }, - "else": { - "operation": "boost", - "score": 0.014804106205701828 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5183.5, - "then": { - "operation": "boost", - "score": 0.12537682056427002 - }, - "else": { - "operation": "boost", - "score": 0.09655473381280899 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1198887974023819 - }, - "else": { - "operation": "boost", - "score": 0.09922939538955688 - } - }, - "else": { - "operation": "boost", - "score": -0.005309075582772493 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3824.0, - "then": { - "operation": "boost", - "score": -1.1102079153060913 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09096372872591019 - }, - "else": { - "operation": "boost", - "score": 0.12393452972173691 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.09957420080900192 - }, - "else": { - "operation": "boost", - "score": 0.10191347450017929 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.008383634500205517 - }, - "else": { - "operation": "boost", - "score": -0.10667984932661057 } } } } - }, - "else": { - "operation": "boost", - "score": -0.0011811550939455628 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11522354185581207 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.09105028212070465 - }, - "else": { - "operation": "boost", - "score": -0.02863471396267414 - } } } - }, - "else": { - "operation": "boost", - "score": 0.01172443013638258 } - }, - "else": { - "operation": "boost", - "score": -0.00036399468081071973 } }, { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.0005472165648825467 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Variable" + ], "then": { + "operation": "boost", + "score": 0.00480049941688776 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "boost", + "score": -0.0017169448547065258 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.011823105625808239 + "score": 0.014588505029678345 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.03585141897201538 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.06938082724809647 - }, - "else": { - "operation": "boost", - "score": 0.10389994829893112 - } - } + "operation": "boost", + "score": 0.0715414360165596 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "boost", - "score": 0.07473351061344147 + "score": 0.37690240144729614 }, "else": { "operation": "boost", - "score": -0.12375029176473618 + "score": 0.13235364854335785 } } }, "else": { "operation": "boost", - "score": 0.1058899387717247 + "score": 0.03440210595726967 } } }, "else": { - "operation": "boost", - "score": -0.003711710451170802 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.027745509520173073 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1537100374698639 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11857855319976807 - }, - "else": { - "operation": "boost", - "score": 0.14737381041049957 - } - } + "operation": "boost", + "score": 0.12700162827968597 }, "else": { - "operation": "boost", - "score": 0.3494124710559845 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.009860390797257423 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03947374224662781 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09205294400453568 + "score": -0.06124419718980789 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.09835256636142731 + "score": 0.16026411950588226 }, "else": { "operation": "boost", - "score": -0.44468948245048523 + "score": 0.1474202275276184 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.09706006199121475 }, "else": { "operation": "boost", - "score": -0.037799686193466187 + "score": -0.11728993058204651 } }, "else": { "operation": "boost", - "score": 0.04079410061240196 + "score": 0.049110911786556244 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.02457071654498577 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.07118396461009979 - }, - "else": { - "operation": "boost", - "score": -0.2115284651517868 - } + "operation": "boost", + "score": 0.0045126816257834435 } } + }, + "else": { + "operation": "boost", + "score": 0.003518004436045885 } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.006430324167013168 + }, + "else": { + "operation": "boost", + "score": -0.061479922384023666 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.09210403263568878 + }, + "else": { + "operation": "boost", + "score": -0.1799926906824112 } }, "else": { + "operation": "boost", + "score": 0.13398650288581848 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "operation": "boost", + "score": -0.024547211825847626 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10043615847826004 + "score": 0.10364461690187454 }, "else": { - "operation": "boost", - "score": -0.1174759492278099 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": -0.16845348477363586 + }, + "else": { + "operation": "boost", + "score": 0.0404927134513855 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.11159104108810425 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.11978894472122192 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.019660381600260735 + }, + "else": { + "operation": "boost", + "score": 0.12136168032884598 + } + }, + "else": { + "operation": "boost", + "score": 0.06208306923508644 + } }, "else": { "operation": "boost", - "score": 0.1341351568698883 + "score": -0.03183579444885254 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.17058111727237701 - }, - "else": { - "operation": "boost", - "score": 0.10572981834411621 - } + "operation": "boost", + "score": -0.0013827894581481814 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": -0.08083996176719666 }, "else": { "operation": "boost", - "score": 0.08388757705688477 + "score": -0.08577315509319305 } - }, - "else": { - "operation": "boost", - "score": -0.12503252923488617 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.11468446999788284 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.6306818127632141, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.06418168544769287 + "score": 0.012890866957604885 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.13245801627635956 + "score": 0.12108666449785233 }, "else": { "operation": "boost", - "score": 0.08818858116865158 + "score": 0.011921885423362255 } }, "else": { - "operation": "boost", - "score": -0.18370117247104645 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11560514569282532 + }, + "else": { + "operation": "boost", + "score": 0.07386458665132523 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.13347645103931427 + }, + "else": { + "operation": "boost", + "score": 0.1696886271238327 + } + }, + "else": { + "operation": "boost", + "score": 0.03772507235407829 + } + }, + "else": { + "operation": "boost", + "score": 0.027943428605794907 + } + }, + "else": { + "operation": "boost", + "score": -0.0872269794344902 + } + } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.07526851445436478 - }, - "else": { - "operation": "boost", - "score": -0.33916619420051575 - } + "operation": "boost", + "score": 0.09525593370199203 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 14.5, "then": { - "operation": "boost", - "score": -0.07849424332380295 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": 0.12275102734565735 + }, + "else": { + "operation": "boost", + "score": 0.0466352179646492 + } }, "else": { - "operation": "boost", - "score": 0.06991683691740036 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.04489394649863243 - } - } - }, - "else": { - "operation": "boost", - "score": -0.02060949057340622 - } - } - }, - "else": { - "operation": "boost", - "score": 0.006209347862750292 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 315.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 341.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 471.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 548.0, - "then": { - "operation": "boost", - "score": -0.26498255133628845 - }, - "else": { - "operation": "boost", - "score": 0.1468205600976944 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.11299125105142593 + }, + "else": { + "operation": "boost", + "score": 0.021999020129442215 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.04977016523480415 + }, + "else": { + "operation": "boost", + "score": -0.07240293174982071 + } + } + } } }, "else": { - "operation": "boost", - "score": -0.23284167051315308 - } - }, - "else": { - "operation": "boost", - "score": 0.11220818758010864 - } - }, - "else": { - "operation": "boost", - "score": 0.12153998762369156 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08020734786987305 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.3452380895614624, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.08836523443460464 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.0, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { - "operation": "boost", - "score": -0.7048563957214355 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.0, + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, "then": { "operation": "boost", - "score": 0.11259346455335617 + "score": -0.07115583121776581 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.0, - "then": { - "operation": "boost", - "score": -0.653089702129364 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0860566794872284 - }, - "else": { - "operation": "boost", - "score": -0.059382203966379166 - } - }, - "else": { - "operation": "boost", - "score": -0.11916462332010269 - } - }, - "else": { - "operation": "boost", - "score": 0.1264055371284485 - } - }, - "else": { - "operation": "boost", - "score": -0.044162798672914505 - } - } + "operation": "boost", + "score": 0.12259607017040253 } + }, + "else": { + "operation": "boost", + "score": 0.0421726256608963 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "boost", + "score": -0.2259305864572525 + }, + "else": { + "operation": "boost", + "score": 0.020512670278549194 } } }, - "else": { - "operation": "boost", - "score": 0.05246914178133011 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.34019753336906433 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.25833332538604736, "then": { - "operation": "boost", - "score": 0.05253228545188904 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07420738786458969 + }, + "else": { + "operation": "boost", + "score": -0.11212236434221268 + } }, "else": { "operation": "boost", - "score": -0.04196186736226082 + "score": 0.07351186126470566 } } } - }, - "else": { - "operation": "boost", - "score": -0.7329940795898438 } - }, - "else": { - "operation": "boost", - "score": -0.16300928592681885 } }, + "else": { + "operation": "boost", + "score": -0.037530843168497086 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.001984178088605404 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.09307359158992767, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, "then": { - "operation": "boost", - "score": 0.11963906139135361 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.6094319224357605 + }, + "else": { + "operation": "boost", + "score": -0.10185319185256958 + } }, "else": { "operation": "boost", - "score": 0.02975742146372795 + "score": -0.14110101759433746 } }, "else": { "operation": "boost", - "score": 0.147582545876503 + "score": 0.008782957680523396 } }, "else": { - "operation": "boost", - "score": 0.009797855280339718 - } - }, - "else": { - "operation": "boost", - "score": -0.04120899364352226 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { - "operation": "boost", - "score": 0.024875197559595108 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.07114722579717636 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { - "operation": "boost", - "score": -0.08434567600488663 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.1430804431438446 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13438349962234497 + "score": 0.07224049419164658 }, "else": { "operation": "boost", - "score": 0.12295523285865784 + "score": -0.3626664876937866 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.635258674621582 + }, + "else": { + "operation": "boost", + "score": -0.041285037994384766 + } + }, + "else": { + "operation": "boost", + "score": 0.17717880010604858 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11109907180070877 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.1930171698331833 + }, + "else": { + "operation": "boost", + "score": -0.100754514336586 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012769154272973537 + } } } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10815604031085968 + }, + "else": { + "operation": "boost", + "score": 0.1394059658050537 + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { "operation": "boost", - "score": 1.5532363653182983 + "score": 0.10030192881822586 }, "else": { "operation": "boost", - "score": -0.33138176798820496 + "score": -0.11646389961242676 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.05402425304055214 }, "else": { "operation": "boost", - "score": 0.10290662199258804 + "score": 0.1577555239200592 } - }, - "else": { - "operation": "boost", - "score": -0.01157109159976244 } } }, "else": { - "operation": "boost", - "score": -0.03712943568825722 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": 0.014349429868161678 + "score": 0.12686727941036224 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.11280368268489838 - }, - "else": { - "operation": "boost", - "score": 0.07757479697465897 - } + "operation": "boost", + "score": 0.03440793603658676 } - }, - "else": { - "operation": "boost", - "score": 0.10841555893421173 - } - }, - "else": { - "operation": "boost", - "score": -0.10302449762821198 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.18629838526248932 - }, - "else": { - "operation": "boost", - "score": 0.8293270468711853 } }, "else": { "operation": "boost", - "score": 0.05876263976097107 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007877168245613575 - }, - "else": { - "operation": "boost", - "score": -0.16073328256607056 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 257.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35664.0, - "then": { - "operation": "boost", - "score": 0.08228348940610886 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31879.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11813672631978989 - }, - "else": { - "operation": "boost", - "score": -0.7807068228721619 + "score": 0.009188038296997547 } }, "else": { "operation": "boost", - "score": -0.019347794353961945 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 222.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03232264518737793 - }, - "else": { - "operation": "boost", - "score": 0.13698631525039673 + "score": 0.01843033730983734 } }, "else": { "operation": "boost", - "score": 0.025166720151901245 + "score": 0.2493181675672531 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.13176128268241882 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 2903.0, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.16343654692173004 - }, - "else": { - "operation": "boost", - "score": 0.10072584450244904 - } - }, - "else": { - "operation": "boost", - "score": 0.0036125537008047104 - } + "operation": "boost", + "score": -0.11428085714578629 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Function", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.020178545266389847 + "score": 0.0187400933355093 }, "else": { - "operation": "boost", - "score": 0.278547465801239 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, "then": { "operation": "boost", - "score": -0.11904450505971909 + "score": 0.054823022335767746 }, "else": { "operation": "boost", - "score": 0.12024897336959839 + "score": 0.17495658993721008 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": 0.003715021535754204 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 41.5, "then": { "operation": "boost", - "score": -0.0430031418800354 + "score": 0.13439059257507324 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01986461877822876 - }, - "else": { - "operation": "boost", - "score": -0.9654711484909058 - } - }, - "else": { - "operation": "boost", - "score": -0.14196492731571198 - } + "operation": "boost", + "score": 0.06792492419481277 } } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0017625265754759312 + }, + "else": { + "operation": "boost", + "score": -0.08088815957307816 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.021509353071451187 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.401202917098999 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12684471905231476 - }, - "else": { - "operation": "boost", - "score": 0.1000649705529213 - } - } - } + "operation": "boost", + "score": -0.05505024641752243 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -1.9399462938308716 - }, - "else": { - "operation": "boost", - "score": 0.02240973897278309 - } - }, - "else": { - "operation": "boost", - "score": -0.05981216952204704 - } + "operation": "boost", + "score": 0.10964030772447586 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0395403616130352 - }, - "else": { - "operation": "boost", - "score": -0.21952542662620544 - } + "operation": "boost", + "score": -0.15394020080566406 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.17868472635746002 + "score": 0.14028723537921906 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.26924532651901245 - }, - "else": { - "operation": "boost", - "score": 0.00801692996174097 - } + "operation": "boost", + "score": 0.21692292392253876 } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.03989424556493759 + "score": -0.04848131164908409 }, "else": { - "operation": "boost", - "score": 0.018861623480916023 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": 0.0159112811088562 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": -1.9753613471984863 + }, + "else": { + "operation": "boost", + "score": -0.1423199623823166 + } + } } } } } } - }, - "else": { - "operation": "boost", - "score": 0.01802072674036026 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00037183004315011203 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224557.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232885.0, - "then": { - "operation": "boost", - "score": 0.018861528486013412 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.9632329940795898 - }, - "else": { - "operation": "boost", - "score": -0.20064540207386017 - } } - }, - "else": { - "operation": "boost", - "score": -0.007834178395569324 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_Type" + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2899159789085388, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": 0.01941792294383049 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 67.0, "then": { + "operation": "boost", + "score": 0.12723077833652496 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.042006660252809525 - }, - "else": { - "operation": "boost", - "score": 0.09463946521282196 - } + "operation": "boost", + "score": 0.11803723871707916 }, "else": { "operation": "boost", - "score": -0.10907211154699326 + "score": 0.02415584959089756 } - }, - "else": { - "operation": "boost", - "score": 0.050334036350250244 } }, "else": { "operation": "boost", - "score": 0.10568984597921371 + "score": -0.00760948471724987 } - }, - "else": { - "operation": "boost", - "score": 0.03816407918930054 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.031065762042999268 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.05436353012919426 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.34285715222358704, + "then": { + "operation": "boost", + "score": 0.10158222168684006 + }, + "else": { + "operation": "boost", + "score": 0.11867813766002655 + } }, "else": { - "operation": "boost", - "score": 0.01603144034743309 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.12831269204616547 - }, - "else": { - "operation": "boost", - "score": -0.17591996490955353 - } + "operation": "boost", + "score": -0.09946663677692413 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.07983196526765823 + "score": 0.13367019593715668 }, "else": { "operation": "boost", - "score": 0.6775498986244202 + "score": -0.1261087954044342 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1067313477396965 }, "else": { "operation": "boost", - "score": 0.08456474542617798 + "score": 0.020844224840402603 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "boost", + "score": -0.019554898142814636 + }, + "else": { + "operation": "boost", + "score": 0.08376150578260422 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11699432879686356 }, "else": { "operation": "boost", - "score": -0.0033540658187121153 + "score": 0.026283755898475647 } }, "else": { + "operation": "boost", + "score": -0.02294413559138775 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 2808.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.026679454371333122 - }, - "else": { - "operation": "boost", - "score": 0.05669360235333443 - } + "operation": "boost", + "score": 0.11141648888587952 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "boost", + "score": -0.028016062453389168 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator" + ], "then": { - "operation": "boost", - "score": 0.03832484409213066 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.029036905616521835 + "score": 0.030047481879591942 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.04053816571831703 + "score": 0.023644840344786644 }, "else": { "operation": "boost", - "score": 0.08982595056295395 + "score": -0.06379786878824234 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -1.3042317628860474 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0478372685611248 + "score": -0.05206817761063576 }, "else": { "operation": "boost", - "score": 0.10744226723909378 + "score": -0.01968207210302353 } } }, "else": { "operation": "boost", - "score": 0.013070895336568356 + "score": -0.0008875893545337021 } } + }, + "else": { + "operation": "boost", + "score": -0.02917776070535183 } } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": -0.00023543900169897825 + } + }, + { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18614718317985535, + "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, + "operation": "boost", + "score": 0.034662190824747086 + }, + "else": { + "operation": "boost", + "score": 0.14550505578517914 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.021871337667107582 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { + "operation": "boost", + "score": 0.05570063367486 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.19775372743606567 + "score": 0.07830731570720673 }, "else": { - "operation": "boost", - "score": -0.03739601746201515 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123410.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10274937003850937 - }, - "else": { - "operation": "boost", - "score": 0.1262647956609726 - } - }, - "else": { - "operation": "boost", - "score": 0.10095318406820297 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.06448664516210556 - }, - "else": { - "operation": "boost", - "score": 0.12747874855995178 - } - } + "operation": "boost", + "score": -0.02354576624929905 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": -0.15191099047660828 - }, - "else": { - "operation": "boost", - "score": 0.07799927890300751 - } + "operation": "boost", + "score": -0.1277683973312378 } - }, - "else": { - "operation": "boost", - "score": 0.021107885986566544 } } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.5768528580665588 - }, - "else": { - "operation": "boost", - "score": -0.13208819925785065 - } } - }, - "else": { - "operation": "boost", - "score": 0.054419733583927155 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { + "operation": "boost", + "score": -0.013567346148192883 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.08325850963592529 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 196353.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": -0.12372381240129471 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], + "then": { + "operation": "boost", + "score": -0.013657866977155209 + }, + "else": { + "operation": "boost", + "score": -0.3273825943470001 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.45299145579338074, "then": { + "operation": "boost", + "score": 0.010637234896421432 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08312270790338516 + "score": 0.1478797197341919 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.12028038501739502 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.10848066955804825 - }, - "else": { - "operation": "boost", - "score": 0.11247123032808304 - } - } + "operation": "boost", + "score": -0.1042928397655487 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.048243798315525055 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.008100307546555996 + "score": 0.09980588406324387 }, "else": { "operation": "boost", - "score": 0.10492578148841858 + "score": -0.3041895925998688 } }, "else": { "operation": "boost", - "score": -0.21380206942558289 + "score": -0.2689448893070221 } } - }, - "else": { - "operation": "boost", - "score": 0.010651192627847195 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 274.5, + "then": { + "operation": "boost", + "score": 0.1428626924753189 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11145269125699997 + "score": 0.060277972370386124 }, "else": { - "operation": "boost", - "score": -0.18584361672401428 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "boost", + "score": -0.3171706795692444 + }, + "else": { + "operation": "boost", + "score": 0.11400813609361649 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.004201027099043131 + }, + "else": { + "operation": "boost", + "score": -0.10199904441833496 + } + } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.1063314825296402 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": -0.0149640878662467 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.14867909252643585 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.021099580451846123 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.007739981636404991 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.015966122969985008 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.08321207761764526 + "score": 0.06359583139419556 }, "else": { "operation": "boost", - "score": -0.10279015451669693 + "score": 0.11337349563837051 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0753999799489975 - }, - "else": { - "operation": "boost", - "score": 0.004501848015934229 - } + "operation": "boost", + "score": 0.04164956510066986 } } - }, - "else": { - "operation": "boost", - "score": -0.019870104268193245 } }, + "else": { + "operation": "boost", + "score": 0.0022746282629668713 + } + } + }, + "else": { + "operation": "boost", + "score": -0.001460812403820455 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 572.5, + "then": { + "operation": "boost", + "score": 0.010004013776779175 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.06812125444412231 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114921.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129672.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03190569207072258 + "score": -0.15332196652889252 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, "then": { "operation": "boost", - "score": -0.1563921421766281 + "score": 0.04851152002811432 }, "else": { "operation": "boost", - "score": 0.04564862325787544 + "score": 0.1341940015554428 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": -0.04586823657155037 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], "then": { "operation": "boost", - "score": -0.19218063354492188 + "score": 0.16122490167617798 }, "else": { "operation": "boost", - "score": 0.06392879039049149 + "score": 0.020835870876908302 } - }, - "else": { - "operation": "boost", - "score": 0.10163265466690063 } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.03388826921582222 - }, - "else": { - "operation": "boost", - "score": 0.08022792637348175 - } - }, - "else": { - "operation": "boost", - "score": -0.06876000016927719 - } - }, - "else": { - "operation": "boost", - "score": -0.2616109251976013 - } + "operation": "boost", + "score": -0.006424418184906244 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.006461850833147764 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { + "operation": "boost", + "score": 0.11438813805580139 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.0, - "then": { - "operation": "boost", - "score": 0.08530953526496887 - }, - "else": { - "operation": "boost", - "score": 0.07702705264091492 - } - }, - "else": { - "operation": "boost", - "score": -0.05185474455356598 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 19.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": -2.9826931953430176 - }, - "else": { - "operation": "boost", - "score": 0.05258181318640709 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "feature": "NumReferences", + "threshold": 46.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 102.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "boost", - "score": 0.0878627747297287 + "score": -0.07638148218393326 }, "else": { - "operation": "boost", - "score": 0.10129183530807495 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151.0, + "then": { + "operation": "boost", + "score": 0.14056231081485748 + }, + "else": { + "operation": "boost", + "score": 0.016108030453324318 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176.5, + "then": { + "operation": "boost", + "score": -0.008305778726935387 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.00495120557025075 + }, + "else": { + "operation": "boost", + "score": 0.1857789307832718 + } + }, + "else": { + "operation": "boost", + "score": 0.1455736607313156 + } + }, + "else": { + "operation": "boost", + "score": -0.20810995995998383 + } + } + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { - "operation": "boost", - "score": 0.08755278587341309 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11406100541353226 + }, + "else": { + "operation": "boost", + "score": 0.02693101577460766 + } + }, + "else": { + "operation": "boost", + "score": 0.12302698940038681 + } }, "else": { - "operation": "boost", - "score": -2.1559653282165527 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.10464855283498764 + }, + "else": { + "operation": "boost", + "score": 0.046224918216466904 + } } } }, "else": { "operation": "boost", - "score": -0.04652903601527214 + "score": -0.07214939594268799 } + }, + "else": { + "operation": "boost", + "score": 0.061354801058769226 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { - "operation": "boost", - "score": -0.22154691815376282 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 93657.0, + "threshold": 89.0, "then": { "operation": "boost", - "score": 0.06841582804918289 + "score": 0.1255621314048767 }, "else": { "operation": "boost", - "score": 0.04687878489494324 + "score": -0.2857263386249542 } + }, + "else": { + "operation": "boost", + "score": -0.018571622669696808 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "boost", - "score": 0.0963914766907692 + "score": -0.11824687570333481 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 56.5, "then": { - "operation": "boost", - "score": 0.08218677341938019 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.14189018309116364 + "score": 0.1525953859090805 }, "else": { "operation": "boost", - "score": 0.08305387198925018 + "score": 0.11436537653207779 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": 0.12687215209007263 + }, + "else": { + "operation": "boost", + "score": -0.13549548387527466 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.1295304298400879 + }, + "else": { + "operation": "boost", + "score": 0.17901955544948578 + } + }, + "else": { + "operation": "boost", + "score": 0.08903435617685318 + } + }, + "else": { + "operation": "boost", + "score": -0.16066418588161469 + } } } } }, "else": { "operation": "boost", - "score": 0.03679914027452469 + "score": 0.008133349940180779 } } } }, "else": { "operation": "boost", - "score": 0.09862205386161804 + "score": -0.006971422117203474 } }, "else": { - "operation": "boost", - "score": -0.060743581503629684 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.007604220416396856 + }, + "else": { + "operation": "boost", + "score": 0.15459363162517548 + } + }, + "else": { + "operation": "boost", + "score": -0.01071099005639553 + } + }, + "else": { + "operation": "boost", + "score": 0.037132300436496735 + } } + }, + "else": { + "operation": "boost", + "score": 0.018306156620383263 } - }, - "else": { - "operation": "boost", - "score": 0.00802328996360302 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "boost", + "score": -0.10725169628858566 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.021519774571061134 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91274.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92148.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11027367413043976 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.11837832629680634 + }, + "else": { + "operation": "boost", + "score": 0.14553427696228027 + } + }, + "else": { + "operation": "boost", + "score": -0.03137988597154617 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.6515151262283325, + "then": { + "operation": "boost", + "score": 0.002613233169540763 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6306818127632141, + "then": { + "operation": "boost", + "score": 0.12983573973178864 + }, + "else": { + "operation": "boost", + "score": 0.048625729978084564 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.008025349117815495 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08116883039474487, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, "then": { "operation": "boost", - "score": -0.03633487597107887 + "score": -0.4371388256549835 }, "else": { "operation": "boost", - "score": 0.10422708094120026 + "score": 0.19425779581069946 } + }, + "else": { + "operation": "boost", + "score": 0.10154091566801071 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { + "operation": "boost", + "score": 0.049844272434711456 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.13280701637268066 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "FractionNameInContext", + "threshold": 0.2153846174478531, "then": { "operation": "boost", - "score": 0.13401171565055847 + "score": 0.1794823259115219 }, "else": { "operation": "boost", - "score": -0.022527674213051796 + "score": 0.15397141873836517 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102876.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.1898101568222046 + "score": -0.07102663815021515 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.08992201834917068 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.23955577611923218 - }, - "else": { - "operation": "boost", - "score": 0.06460661441087723 - } - } + "operation": "boost", + "score": 0.13831348717212677 } - }, - "else": { - "operation": "boost", - "score": -0.045493513345718384 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.020827781409025192 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.11188798397779465 - }, - "else": { - "operation": "boost", - "score": 0.07357277721166611 - } - }, - "else": { - "operation": "boost", - "score": -0.7416446208953857 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.08908560872077942 - }, - "else": { - "operation": "boost", - "score": 0.1030626893043518 - } - } + "operation": "boost", + "score": -0.06425700336694717 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.04677218198776245 - }, - "else": { - "operation": "boost", - "score": -0.14599435031414032 - } + "operation": "boost", + "score": 0.12156404554843903 } + }, + "else": { + "operation": "boost", + "score": 0.004730757791548967 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.029411764815449715, + "then": { + "operation": "boost", + "score": -0.12015175074338913 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10234072059392929 - }, - "else": { - "operation": "boost", - "score": 0.1105690523982048 - } - }, - "else": { - "operation": "boost", - "score": -0.1238141879439354 - } + "operation": "boost", + "score": 0.03502603620290756 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "boost", + "score": -0.12230388075113297 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "boost", - "score": -0.016217947006225586 + "score": 0.05436760559678078 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.06333870440721512 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07429914176464081 - }, - "else": { - "operation": "boost", - "score": 0.08852383494377136 - } - } + "operation": "boost", + "score": -0.024386078119277954 } } } + }, + "else": { + "operation": "boost", + "score": 0.0015726088313385844 } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80816.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84495.0, - "then": { - "operation": "boost", - "score": -0.12328728288412094 - }, - "else": { - "operation": "boost", - "score": 0.017326723784208298 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.06055426597595215 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82461.5, - "then": { - "operation": "boost", - "score": -0.13427108526229858 - }, - "else": { - "operation": "boost", - "score": -0.3604876697063446 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.046733684837818146 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79531.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.12505796551704407 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.20143763720989227 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10332778096199036 - }, - "else": { - "operation": "boost", - "score": 0.13053204119205475 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0118651008233428 - } - }, - "else": { - "operation": "boost", - "score": 0.01169893704354763 - } - }, - "else": { - "operation": "boost", - "score": -0.0001297541311942041 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2459.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2469.0, - "then": { - "operation": "boost", - "score": 0.0015382132260128856 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11273857206106186 - }, - "else": { - "operation": "boost", - "score": 0.061664432287216187 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01133088767528534 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.0011985574383288622 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.006880785804241896 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 183.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.0008257080335170031 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3273809552192688, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.04156972095370293 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.06941788643598557 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10468878597021103 - }, - "else": { - "operation": "boost", - "score": 0.11372073739767075 - } - } - } - }, - "else": { "operation": "boost", - "score": 0.10408541560173035 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 508.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 523.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1315.0, - "then": { - "operation": "boost", - "score": 0.04801009222865105 - }, - "else": { - "operation": "boost", - "score": 0.12003874778747559 - } - }, - "else": { - "operation": "boost", - "score": 0.043851085007190704 - } - }, - "else": { - "operation": "boost", - "score": 0.020763220265507698 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1563.0, - "then": { - "operation": "boost", - "score": -0.45337194204330444 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 635.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10873010754585266 - }, - "else": { - "operation": "boost", - "score": 0.21584507822990417 - } - }, - "else": { - "operation": "boost", - "score": 0.10288025438785553 - } - } - }, - "else": { - "operation": "boost", - "score": -0.07127343118190765 - } - } - }, - "else": { - "operation": "boost", - "score": 0.13620926439762115 - } + "score": 0.0009047677740454674 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.5419580936431885, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 186.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05727195367217064 + "score": 0.1589689999818802 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.1021253913640976 + "score": 0.13964195549488068 }, "else": { "operation": "boost", - "score": 0.09715889394283295 + "score": 0.08637482672929764 } } }, "else": { - "operation": "boost", - "score": -0.05964173376560211 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.103324756026268 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.13763149082660675 - }, - "else": { - "operation": "boost", - "score": -0.24623745679855347 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174.5, + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 177.0, - "then": { - "operation": "boost", - "score": 0.2203044295310974 - }, - "else": { - "operation": "boost", - "score": 0.12700727581977844 - } + "operation": "boost", + "score": -0.06337094306945801 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.014120208099484444 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 140.5, + "feature": "NumNameInContext", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12087619304656982 - }, - "else": { - "operation": "boost", - "score": -0.12597578763961792 - } + "operation": "boost", + "score": 0.1274796724319458 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, - "then": { - "operation": "boost", - "score": -0.20072995126247406 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 126.0, - "then": { - "operation": "boost", - "score": 0.130523219704628 - }, - "else": { - "operation": "boost", - "score": 0.15158231556415558 - } - } - }, - "else": { - "operation": "boost", - "score": 0.055356092751026154 - } + "operation": "boost", + "score": 0.13841785490512848 } + }, + "else": { + "operation": "boost", + "score": 0.09031543135643005 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, - "then": { - "operation": "boost", - "score": 0.025382783263921738 - }, - "else": { - "operation": "boost", - "score": 0.1205490455031395 - } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.5, - "then": { - "operation": "boost", - "score": 0.05822465941309929 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, - "then": { - "operation": "boost", - "score": 0.13097618520259857 - }, - "else": { - "operation": "boost", - "score": -0.22968271374702454 - } - }, - "else": { - "operation": "boost", - "score": 0.044026292860507965 - } + "operation": "boost", + "score": -0.20278124511241913 } + }, + "else": { + "operation": "boost", + "score": 0.007403599098324776 } + }, + "else": { + "operation": "boost", + "score": -0.036483753472566605 } }, "else": { "operation": "boost", - "score": 0.027214914560317993 + "score": -0.016630331054329872 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2252.0, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { "operation": "boost", - "score": 0.14553318917751312 + "score": -0.29698508977890015 }, "else": { "operation": "boost", - "score": 0.02170334756374359 + "score": 0.06609175354242325 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1662.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1678009182214737 + "score": -0.03520607575774193 }, "else": { "operation": "boost", - "score": -0.0035083331167697906 + "score": -0.10664734244346619 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 179.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11866634339094162 + "score": -0.23523584008216858 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11775092780590057 + "score": 0.03956470638513565 }, "else": { "operation": "boost", - "score": -0.15889328718185425 + "score": -0.06931321322917938 } }, "else": { - "operation": "boost", - "score": -0.043129242956638336 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09136252850294113 + }, + "else": { + "operation": "boost", + "score": 0.05944523960351944 + } } } + }, + "else": { + "operation": "boost", + "score": -0.15755771100521088 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Constructor", - "Namespace" - ], + } + } + }, + "else": { + "operation": "boost", + "score": -0.0001344587217317894 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10620300471782684, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1558704376220703, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.07510194927453995 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.04610450565814972 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5982142686843872, + "then": { + "operation": "boost", + "score": -0.053838782012462616 + }, + "else": { + "operation": "boost", + "score": 0.0738590881228447 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.875, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.04990680515766144 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0740944892168045 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12720003724098206 - }, - "else": { - "operation": "boost", - "score": 0.11409997195005417 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -1.2583636045455933 - }, - "else": { - "operation": "boost", - "score": 0.08467915654182434 - } - } - } + "operation": "boost", + "score": -0.34465640783309937 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.14530865848064423 - }, - "else": { - "operation": "boost", - "score": 0.13301971554756165 - } - }, - "else": { - "operation": "boost", - "score": -0.41252630949020386 - } + "operation": "boost", + "score": 0.016563082113862038 } } }, "else": { - "operation": "boost", - "score": -0.011524293571710587 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0889667347073555 + }, + "else": { + "operation": "boost", + "score": 0.011920137330889702 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": -0.35123008489608765 + }, + "else": { + "operation": "boost", + "score": 0.02211940661072731 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.020785963162779808 + }, + "else": { + "operation": "boost", + "score": -0.005825710482895374 + } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_TopLevel" + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "boost", - "score": -0.10819359123706818 + "score": 0.13002346456050873 }, "else": { "operation": "boost", - "score": 0.1754177063703537 + "score": 0.1276245266199112 } }, "else": { - "operation": "boost", - "score": 0.08576332032680511 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": -0.005393794272094965 + }, + "else": { + "operation": "boost", + "score": 0.07110686600208282 + } } }, "else": { "operation": "boost", - "score": -0.060169391334056854 + "score": -0.03051151894032955 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "boost", + "score": 0.1309794932603836 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1882905662059784 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.09957332164049149 - }, - "else": { - "operation": "boost", - "score": 0.11813835054636002 - } - }, - "else": { - "operation": "boost", - "score": 0.08242727071046829 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.01124223880469799 - }, - "else": { - "operation": "boost", - "score": 0.08156633377075195 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.04109983891248703 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.1193108856678009 - }, - "else": { - "operation": "boost", - "score": 0.11367261409759521 - } - }, - "else": { - "operation": "boost", - "score": 0.05036367475986481 - } - } - } - } + "operation": "boost", + "score": 0.18545038998126984 }, "else": { "operation": "boost", - "score": 0.009853770025074482 + "score": -0.42102760076522827 } - }, - "else": { - "operation": "boost", - "score": 0.025623047724366188 } } } }, "else": { - "operation": "boost", - "score": -0.004184075631201267 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.008196642622351646 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { + "operation": "boost", + "score": 0.09564023464918137 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 303.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.016557427123188972 + "score": -0.041886184364557266 }, "else": { "operation": "boost", - "score": 0.16327694058418274 + "score": -0.23729431629180908 } }, "else": { + "operation": "boost", + "score": 0.028055939823389053 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { "operation": "boost", - "score": 0.11328981071710587 + "score": 0.10507132858037949 }, "else": { - "operation": "boost", - "score": 0.11813759058713913 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": 0.18022115528583527 + }, + "else": { + "operation": "boost", + "score": 0.09831968694925308 + } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.11736618727445602 - }, - "else": { - "operation": "boost", - "score": -0.22044648230075836 - } + "operation": "boost", + "score": -0.014391105622053146 } + }, + "else": { + "operation": "boost", + "score": 0.25607162714004517 } }, "else": { - "operation": "boost", - "score": 0.001643267460167408 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" + "Variable" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "boost", + "score": 0.0165037140250206 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101.5, + "feature": "FractionNameInContext", + "threshold": 0.2863636612892151, "then": { - "operation": "boost", - "score": -0.00042185778147540987 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.03755218908190727 + }, + "else": { + "operation": "boost", + "score": 0.09660116583108902 + } }, "else": { "operation": "boost", - "score": 0.12907543778419495 + "score": 0.10852464288473129 } }, "else": { "operation": "boost", - "score": -0.08128846436738968 + "score": -0.11836320161819458 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": 0.11765944957733154 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.0, - "then": { - "operation": "boost", - "score": 0.05023809149861336 - }, - "else": { - "operation": "boost", - "score": 0.11293022334575653 - } + "operation": "boost", + "score": 0.12851077318191528 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "boost", - "score": 0.10658109933137894 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.11599211394786835 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.05098200589418411 - }, - "else": { - "operation": "boost", - "score": 0.11422167718410492 - } - } - } + "operation": "boost", + "score": -0.12858018279075623 }, "else": { "operation": "boost", - "score": -0.003094401676207781 + "score": 0.11425051093101501 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.02048199065029621 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.15340909361839294, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12329622358083725 - }, - "else": { - "operation": "boost", - "score": -0.7331138849258423 - } + "operation": "boost", + "score": -0.08415746688842773 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.0, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.12801535427570343 + "score": 0.08532875776290894 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04184556007385254 - }, - "else": { - "operation": "boost", - "score": 0.09298670291900635 - } + "operation": "boost", + "score": 0.1406739503145218 } } }, "else": { "operation": "boost", - "score": 0.030515681952238083 + "score": -0.10429446399211884 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1056237742304802 - }, - "else": { - "operation": "boost", - "score": 0.03649602830410004 - } - } - }, - "else": { - "operation": "boost", - "score": 0.028728563338518143 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12974846363067627 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 117.5, - "then": { - "operation": "boost", - "score": 0.14726658165454865 - }, - "else": { - "operation": "boost", - "score": 0.11945576965808868 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02606494538486004 - } - }, - "else": { - "operation": "boost", - "score": -0.009450907818973064 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07376749813556671 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.41931089758872986 - }, - "else": { - "operation": "boost", - "score": 0.11620324105024338 - } - }, - "else": { - "operation": "boost", - "score": -0.057658858597278595 - } - } - }, - "else": { - "operation": "boost", - "score": 0.009061528369784355 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.004207911901175976 - }, - "else": { - "operation": "boost", - "score": -0.12691952288150787 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 94.0, "then": { "operation": "boost", - "score": -0.2800658941268921 + "score": 0.04882584512233734 }, "else": { "operation": "boost", - "score": -0.0016804623883217573 + "score": -0.29997316002845764 } - }, - "else": { - "operation": "boost", - "score": 0.03376639261841774 } - }, - "else": { - "operation": "boost", - "score": -0.06037995219230652 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.03566127270460129 - }, - "else": { - "operation": "boost", - "score": -0.00613399175927043 } } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.005058130715042353 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2127.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2130.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0011737266322597861 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6495.0, - "then": { - "operation": "boost", - "score": -0.03742384910583496 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4712.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.1379508227109909 - }, - "else": { - "operation": "boost", - "score": 0.1302260309457779 - } }, "else": { "operation": "boost", - "score": 0.0880771204829216 + "score": 0.013645939528942108 } - }, - "else": { - "operation": "boost", - "score": -0.2232036292552948 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 99880.5, + "threshold": 227.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11600559204816818 - }, - "else": { - "operation": "boost", - "score": 0.10687128454446793 - } - }, - "else": { - "operation": "boost", - "score": 0.09032092243432999 - } - }, - "else": { - "operation": "boost", - "score": 0.009598036296665668 - } - }, - "else": { - "operation": "boost", - "score": -0.6179294586181641 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.016423799097537994 - }, - "else": { - "operation": "boost", - "score": -0.397688627243042 - } - } + "operation": "boost", + "score": 0.06905807554721832 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.7916666269302368, "then": { "operation": "boost", - "score": -0.4385615885257721 + "score": 0.11796087771654129 }, "else": { - "operation": "boost", - "score": 0.12678831815719604 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90736.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 27.0, "then": { "operation": "boost", - "score": 0.035681869834661484 + "score": -0.01447319332510233 }, "else": { - "operation": "boost", - "score": 0.11523889005184174 - } - }, - "else": { - "operation": "boost", - "score": 0.01492098905146122 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.09733376652002335 + "score": 0.1092524304986 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03838992491364479 - }, - "else": { - "operation": "boost", - "score": 0.1485464721918106 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { "operation": "boost", - "score": 0.04496099427342415 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.043301377445459366 - }, - "else": { - "operation": "boost", - "score": 0.16471201181411743 - } + "score": 0.09098970144987106 } } }, "else": { "operation": "boost", - "score": 0.0419568195939064 + "score": -0.004009436350315809 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, - "then": { - "operation": "boost", - "score": 0.12997406721115112 - }, - "else": { - "operation": "boost", - "score": 0.006277697626501322 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64514.0, - "then": { - "operation": "boost", - "score": 0.052608389407396317 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13407769799232483 }, "else": { "operation": "boost", - "score": 0.11998046934604645 + "score": -0.04375835508108139 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62979.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06677157431840897 - }, - "else": { - "operation": "boost", - "score": -0.5471099019050598 - } - }, - "else": { - "operation": "boost", - "score": 0.054909732192754745 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59248.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "threshold": 115.5, "then": { "operation": "boost", - "score": -0.09357279539108276 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62576.5, - "then": { - "operation": "boost", - "score": -0.388019323348999 - }, - "else": { - "operation": "boost", - "score": -0.11187467724084854 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57410.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": 0.1297673135995865 - }, - "else": { - "operation": "boost", - "score": 0.1309811770915985 - } + "score": -0.14635734260082245 }, "else": { - "operation": "boost", - "score": -0.09529290348291397 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54992.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0019593392498791218 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.12919363379478455 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.2817460298538208, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10494682192802429 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.17251452803611755 - }, - "else": { - "operation": "boost", - "score": 0.08310974389314651 - } - } - }, - "else": { "operation": "boost", - "score": 0.2889363765716553 - } - }, - "else": { - "operation": "boost", - "score": 0.32559195160865784 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07090941816568375 - }, - "else": { - "operation": "boost", - "score": 0.0941537544131279 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5270.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.024469753727316856 - }, - "else": { - "operation": "boost", - "score": 0.06469163298606873 - } + "score": 0.008970575407147408 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5517.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_Symbol" ], - "then": { - "operation": "boost", - "score": 0.08197662979364395 - }, - "else": { - "operation": "boost", - "score": 0.017685119062662125 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5397.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.36475348472595215 - }, - "else": { - "operation": "boost", - "score": -0.05688447505235672 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0044473265297710896 - }, - "else": { - "operation": "boost", - "score": 0.10384680330753326 - } - } + "operation": "boost", + "score": 0.004981586243957281 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5439.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.17470704019069672 + "score": 0.11930166929960251 }, "else": { "operation": "boost", - "score": -0.35428622364997864 + "score": 0.16838940978050232 } } }, - "else": { - "operation": "boost", - "score": 0.0649038553237915 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31517.0, - "then": { - "operation": "boost", - "score": -0.021430589258670807 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21807.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0219232439994812 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23548.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.1598517745733261 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.09630802273750305 + "score": 0.12598353624343872 }, "else": { - "operation": "boost", - "score": 0.13865351676940918 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10014889389276505 + }, + "else": { + "operation": "boost", + "score": -0.9736359715461731 + } } + }, + "else": { + "operation": "boost", + "score": -0.04046115279197693 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9363.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1072646751999855 + "score": -0.010138723999261856 }, "else": { - "operation": "boost", - "score": 0.008368638344109058 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6955.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7021.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.113920196890831 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.25833332538604736, + "then": { + "operation": "boost", + "score": 0.029506072402000427 + }, + "else": { + "operation": "boost", + "score": 0.12497296184301376 + } }, "else": { - "operation": "boost", - "score": 0.0036769118160009384 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.169659823179245 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.06743987649679184 + }, + "else": { + "operation": "boost", + "score": 0.1397862732410431 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.004540731199085712 + }, + "else": { + "operation": "boost", + "score": 0.0894433781504631 + } + } + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8658.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.1066553145647049 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8063.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.2929460108280182 + "score": 0.016309097409248352 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.14569279551506042 + "score": 0.09901214390993118 }, "else": { "operation": "boost", - "score": 0.26574188470840454 + "score": 0.01394380908459425 } } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.24398525059223175 + }, + "else": { + "operation": "boost", + "score": 0.019356463104486465 + } } }, "else": { - "operation": "boost", - "score": 0.09175771474838257 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.05761319771409035 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07376865297555923 + }, + "else": { + "operation": "boost", + "score": -0.1460408866405487 + } + } } } }, "else": { - "operation": "boost", - "score": 0.11515478789806366 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10593409091234207 - }, - "else": { - "operation": "boost", - "score": 0.007101776078343391 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.07152915745973587 + }, + "else": { + "operation": "boost", + "score": -0.22489187121391296 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": 0.12909886240959167 + }, + "else": { + "operation": "boost", + "score": 0.15422536432743073 + } + }, + "else": { + "operation": "boost", + "score": 0.0115790581330657 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.4506838917732239 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.072862908244133 + }, + "else": { + "operation": "boost", + "score": -0.02404257468879223 + } + } + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.13393384218215942 } } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.05998018756508827 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.9783933162689209 + }, + "else": { + "operation": "boost", + "score": -0.0997808650135994 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.2020006626844406 + }, + "else": { + "operation": "boost", + "score": 0.0866333395242691 + } + } + } }, "else": { "operation": "boost", - "score": 0.008593929931521416 + "score": -0.008285683579742908 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.14906463027000427 + }, + "else": { + "operation": "boost", + "score": -0.11203208565711975 + } + }, + "else": { + "operation": "boost", + "score": 0.005140598397701979 } } } @@ -247881,1012 +243806,1128 @@ } }, "else": { - "operation": "boost", - "score": 0.008004298433661461 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.18173529207706451 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10336799174547195 - }, - "else": { - "operation": "boost", - "score": -0.06177400425076485 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.0010796734131872654 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.0036041205748915672 - }, - "else": { - "operation": "boost", - "score": -0.12322156131267548 - } + "operation": "boost", + "score": 0.0011032222537323833 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.04981774091720581 + "score": 0.05911281704902649 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { "operation": "boost", - "score": 0.11638416349887848 + "score": -0.16917258501052856 }, "else": { "operation": "boost", - "score": 0.024397965520620346 + "score": 0.028259048238396645 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.01406221091747284 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07468590140342712 + }, + "else": { + "operation": "boost", + "score": -0.02702506072819233 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11370135843753815 - }, - "else": { - "operation": "boost", - "score": -1.4089674949645996 - } - }, - "else": { - "operation": "boost", - "score": 0.11262576282024384 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor" - ], - "then": { - "operation": "boost", - "score": 0.1124652847647667 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.5, - "then": { - "operation": "boost", - "score": 0.10205201059579849 - }, - "else": { - "operation": "boost", - "score": 0.03888333588838577 - } - }, - "else": { - "operation": "boost", - "score": -0.25310996174812317 - } - } - } + "operation": "boost", + "score": -0.09715051203966141 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.02533922903239727 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 564.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 688.0, - "then": { - "operation": "boost", - "score": 0.04212208837270737 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.13017529249191284 - }, - "else": { - "operation": "boost", - "score": 0.13375291228294373 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191.0, - "then": { - "operation": "boost", - "score": 0.03388834744691849 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, - "then": { - "operation": "boost", - "score": 0.13092373311519623 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08665504306554794 - }, - "else": { - "operation": "boost", - "score": 0.10442449897527695 - } - }, - "else": { - "operation": "boost", - "score": 0.07827695459127426 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, - "then": { - "operation": "boost", - "score": 0.06905611604452133 - }, - "else": { - "operation": "boost", - "score": 0.20588472485542297 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 442.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 586.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 842.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09891107678413391 - }, - "else": { - "operation": "boost", - "score": -0.2576806843280792 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 754.0, - "then": { - "operation": "boost", - "score": 0.13100850582122803 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.28643354773521423 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 630.5, - "then": { - "operation": "boost", - "score": 0.09564634412527084 - }, - "else": { - "operation": "boost", - "score": 0.1652265340089798 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.13718825578689575 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.011222929693758488 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 529.5, - "then": { - "operation": "boost", - "score": 0.051663901656866074 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 522.5, - "then": { - "operation": "boost", - "score": 0.11262300610542297 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 449.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 504.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 510.5, - "then": { - "operation": "boost", - "score": -0.1890048235654831 - }, - "else": { - "operation": "boost", - "score": 0.10875625908374786 - } - }, - "else": { - "operation": "boost", - "score": 0.031929899007081985 - } - }, - "else": { - "operation": "boost", - "score": 0.13702835142612457 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.018452517688274384 - } - } - } + "operation": "boost", + "score": -0.006953389849513769 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + } + }, + "else": { + "operation": "boost", + "score": 0.011201594024896622 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.001618824782781303 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.0012109772069379687 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.0052179801277816296 + "score": 0.040158435702323914 }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.001957952743396163 + "score": -0.08130119740962982 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.019517920911312103 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.003599967574700713 - }, - "else": { - "operation": "boost", - "score": 0.03165510296821594 - } - } + "operation": "boost", + "score": 0.007388721685856581 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.011422811076045036 + }, + "else": { + "operation": "boost", + "score": -0.012499036267399788 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.10804849863052368 + }, + "else": { + "operation": "boost", + "score": -0.08500047028064728 } } } + }, + "else": { + "operation": "boost", + "score": -0.0016668552998453379 } - }, - "else": { - "operation": "boost", - "score": -0.004858333617448807 } } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.00170743593480438 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 540.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 544.5, "then": { "operation": "boost", - "score": -0.024799969047307968 + "score": 0.008381959050893784 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 542.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 1.3412247896194458 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.14642727375030518 + }, + "else": { + "operation": "boost", + "score": -0.1546860784292221 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09488687664270401 + } + }, + "else": { + "operation": "boost", + "score": -0.09578945487737656 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 535.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0025130624417215586 + "score": -0.15524917840957642 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": -0.11450574547052383 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Symbol", "CCC_SymbolOrNewName", - "CCC_Expression" + "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.03088502585887909 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62267.0, - "then": { - "operation": "boost", - "score": -0.12152841687202454 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.009755976498126984 - }, - "else": { - "operation": "boost", - "score": 0.11432109773159027 - } - } + "operation": "boost", + "score": -0.05544942989945412 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71608.5, - "then": { - "operation": "boost", - "score": 0.1246781274676323 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62267.0, - "then": { - "operation": "boost", - "score": 0.003173365956172347 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54332.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.2587938904762268 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13011938333511353 - }, - "else": { - "operation": "boost", - "score": -0.22364374995231628 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.11702004820108414 - }, - "else": { - "operation": "boost", - "score": 0.10776357352733612 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.17520132660865784 - } - } - } + "operation": "boost", + "score": -0.026464831084012985 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71608.5, - "then": { - "operation": "boost", - "score": 0.11427861452102661 - }, - "else": { - "operation": "boost", - "score": -0.1121353805065155 - } + "operation": "boost", + "score": -0.04682578891515732 }, "else": { "operation": "boost", - "score": 0.021840322762727737 + "score": 0.005959755275398493 } } + } + }, + "else": { + "operation": "boost", + "score": 0.0009145672665908933 + } + }, + "else": { + "operation": "boost", + "score": -0.0008917553350329399 + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18614718317985535, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, + "then": { + "operation": "boost", + "score": 0.0656556785106659 + }, + "else": { + "operation": "boost", + "score": 0.13931237161159515 + } }, "else": { "operation": "boost", - "score": -0.03466985374689102 + "score": 0.018920212984085083 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "boost", + "score": -0.09171800315380096 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.0890997126698494 - }, - "else": { - "operation": "boost", - "score": 0.0987483561038971 - } - }, - "else": { - "operation": "boost", - "score": 0.08961034566164017 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": -0.06455900520086288 + "score": 0.020288940519094467 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.06307583302259445 + }, + "else": { + "operation": "boost", + "score": -0.07274977117776871 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { "operation": "boost", - "score": -0.051741670817136765 + "score": 0.09207173436880112 }, "else": { "operation": "boost", - "score": 0.05063067376613617 + "score": 0.023978129029273987 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "FractionNameInContext", + "threshold": 0.5982142686843872, "then": { "operation": "boost", - "score": 0.06335301697254181 + "score": 0.015891041606664658 }, "else": { "operation": "boost", - "score": 0.09005101025104523 + "score": 0.1563151776790619 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.10465323179960251 + "score": -0.43944665789604187 }, "else": { - "operation": "boost", - "score": -0.1662767082452774 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.07965316623449326 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "boost", + "score": -0.4920058846473694 + }, + "else": { + "operation": "boost", + "score": 0.02975708618760109 + } + } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.10425090789794922 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6696428656578064, + "then": { + "operation": "boost", + "score": 0.12664978206157684 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.5173037052154541 + }, + "else": { + "operation": "boost", + "score": 0.1469915360212326 + } + } }, "else": { "operation": "boost", - "score": 0.013573933392763138 + "score": -0.1587333083152771 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.35275357961654663 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.12595391273498535 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11268199235200882 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.09497799724340439 + }, + "else": { + "operation": "boost", + "score": 0.1264118105173111 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08332827687263489 + } + } }, "else": { - "operation": "boost", - "score": 0.10805914551019669 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.2520126700401306 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.21828004717826843 + }, + "else": { + "operation": "boost", + "score": 0.005248914938420057 + } + }, + "else": { + "operation": "boost", + "score": 0.09075935930013657 + } + } } } } }, "else": { "operation": "boost", - "score": -0.11296004801988602 + "score": -0.014852338470518589 } - }, - "else": { - "operation": "boost", - "score": -0.10629314184188843 } }, "else": { "operation": "boost", - "score": 0.06948653608560562 + "score": 0.014256265945732594 } } + }, + "else": { + "operation": "boost", + "score": -0.002354390686377883 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_TopLevel" + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.38181817531585693, "then": { + "operation": "boost", + "score": 0.12259640544652939 + }, + "else": { + "operation": "boost", + "score": 0.14076916873455048 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09086594730615616 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, "then": { - "operation": "boost", - "score": 0.062900610268116 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12421491742134094 + }, + "else": { + "operation": "boost", + "score": 0.1297723948955536 + } }, "else": { "operation": "boost", - "score": 0.026735633611679077 + "score": 0.05902782455086708 } - }, - "else": { - "operation": "boost", - "score": 1.0757086277008057 } + } + }, + "else": { + "operation": "boost", + "score": -0.016728632152080536 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "boost", + "score": 0.10489281266927719 + }, + "else": { + "operation": "boost", + "score": 0.07049840688705444 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.088730089366436 + }, + "else": { + "operation": "boost", + "score": -0.049539271742105484 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.14408545196056366 + } + }, + "else": { + "operation": "boost", + "score": -0.0007587576983496547 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 270.5, + "then": { + "operation": "boost", + "score": 0.008968564681708813 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 35.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.004225763957947493 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.00230037746950984 + }, + "else": { + "operation": "boost", + "score": 0.025420241057872772 + } + }, + "else": { + "operation": "boost", + "score": -0.0025289850309491158 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04999454692006111 }, "else": { "operation": "boost", - "score": -0.0031563127413392067 + "score": 0.1596284955739975 } }, "else": { + "operation": "boost", + "score": 0.00978131778538227 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.31111112236976624, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, - "then": { - "operation": "boost", - "score": 0.04925679415464401 - }, - "else": { - "operation": "boost", - "score": -0.23938989639282227 - } + "operation": "boost", + "score": 0.6824629306793213 }, "else": { + "operation": "boost", + "score": 0.23633630573749542 + } + }, + "else": { + "operation": "boost", + "score": 0.03232301399111748 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06229858100414276 + "score": -0.16712330281734467 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { "operation": "boost", - "score": -0.03980272635817528 + "score": -0.22843775153160095 }, "else": { "operation": "boost", - "score": -0.6762242317199707 + "score": 0.0773436650633812 } } }, "else": { + "operation": "boost", + "score": 0.014290818013250828 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 200884.5, + "threshold": 60.5, "then": { "operation": "boost", - "score": 0.017065171152353287 + "score": 0.12768830358982086 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.028439583256840706 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": -0.0058653042651712894 + }, + "else": { + "operation": "boost", + "score": 0.09563468396663666 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.11514876782894135 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.022969216108322144 + "score": 0.09022029489278793 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, "then": { "operation": "boost", - "score": -0.047908537089824677 + "score": 0.1840452253818512 }, "else": { "operation": "boost", - "score": 0.1060318574309349 + "score": 0.5627285242080688 } } - }, - "else": { - "operation": "boost", - "score": 0.030098095536231995 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.00015264614194165915 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10612396895885468 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.07502651959657669 - }, - "else": { - "operation": "boost", - "score": 0.032173383980989456 - } + "operation": "boost", + "score": 0.09006668627262115 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.06980299949645996 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09954150766134262 - }, - "else": { - "operation": "boost", - "score": 0.04962644726037979 - } + "operation": "boost", + "score": -0.21418820321559906 }, "else": { "operation": "boost", - "score": -0.030195197090506554 + "score": 0.007536131422966719 } } } @@ -248895,732 +244936,600 @@ }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11889557540416718 - }, - "else": { - "operation": "boost", - "score": 0.04351089522242546 - } + "operation": "boost", + "score": 0.06547964364290237 }, "else": { "operation": "boost", - "score": -0.15346308052539825 + "score": -0.15834327042102814 } } } } }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.05626197159290314 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": 0.17504650354385376 + }, + "else": { + "operation": "boost", + "score": -0.09033771604299545 + } + }, + "else": { + "operation": "boost", + "score": 0.07874274998903275 + } + }, + "else": { + "operation": "boost", + "score": 0.014739397913217545 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55854.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.030056888237595558 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.2317357063293457 + }, + "else": { + "operation": "boost", + "score": 0.0030882006976753473 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55483.0, + "threshold": 24.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.030548501759767532 + }, + "else": { + "operation": "boost", + "score": 0.11831990629434586 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0917062908411026 - }, - "else": { - "operation": "boost", - "score": 0.16105054318904877 - } - }, - "else": { - "operation": "boost", - "score": 0.11716797947883606 - } + "operation": "boost", + "score": 0.1445479691028595 }, "else": { "operation": "boost", - "score": 0.3541710078716278 + "score": 0.13976353406906128 } }, "else": { - "operation": "boost", - "score": 0.08137481659650803 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11475202441215515 + }, + "else": { + "operation": "boost", + "score": -0.07275156676769257 + } } - }, - "else": { - "operation": "boost", - "score": 0.015231349505484104 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 87.5, + "then": { + "operation": "boost", + "score": 0.1632453203201294 + }, + "else": { + "operation": "boost", + "score": 0.061644576489925385 + } + }, + "else": { + "operation": "boost", + "score": -0.007732229772955179 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0148649662733078 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.21691080927848816 + "score": -0.026970770210027695 }, "else": { "operation": "boost", - "score": 0.07853665947914124 + "score": -0.1981055736541748 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11822674423456192 + "score": 0.003312034299597144 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 227.5, "then": { "operation": "boost", - "score": 0.10573211312294006 + "score": -0.20657527446746826 }, "else": { "operation": "boost", - "score": 0.11099665611982346 + "score": 0.027409400790929794 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 259.5, "then": { "operation": "boost", - "score": 0.08565351366996765 + "score": -0.220645472407341 }, "else": { "operation": "boost", - "score": 0.04456792771816254 + "score": -0.00823164265602827 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1515507698059082 + }, + "else": { + "operation": "boost", + "score": 0.05682593211531639 + } + }, + "else": { + "operation": "boost", + "score": 0.006396080367267132 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.007453237194567919 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.011746163479983807 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006868894211947918 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.10678915679454803 - }, - "else": { - "operation": "boost", - "score": 0.04568135738372803 - } + "operation": "boost", + "score": -0.03541671112179756 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12438300251960754 - }, - "else": { - "operation": "boost", - "score": -0.17351655662059784 - } + "operation": "boost", + "score": 0.048796575516462326 } }, "else": { "operation": "boost", - "score": 0.03835234045982361 + "score": 0.0008789560524746776 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "boost", + "score": -0.12185027450323105 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159641.0, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.09210903942584991 + }, + "else": { + "operation": "boost", + "score": 0.061508528888225555 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0731855034828186 + }, + "else": { + "operation": "boost", + "score": 0.050663527101278305 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008223721757531166 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.24673616886138916 + "score": 0.0404713936150074 }, "else": { + "operation": "boost", + "score": -0.03144324570894241 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "Function" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49850.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62617.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09189702570438385 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112251.5, - "then": { - "operation": "boost", - "score": -0.4121106266975403 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.012296284548938274 - }, - "else": { - "operation": "boost", - "score": 0.08924288302659988 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.014430047944188118 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05928987264633179 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61054.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.07538644969463348 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.1693594753742218 - }, - "else": { - "operation": "boost", - "score": 0.18850000202655792 - } - } - }, - "else": { - "operation": "boost", - "score": 0.17153699696063995 - } - }, - "else": { - "operation": "boost", - "score": -0.13284660875797272 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2526993453502655 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73487.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75477.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78428.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, - "then": { - "operation": "boost", - "score": 0.12799373269081116 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.855132520198822 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.10076658427715302 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.20901842415332794 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09277079254388809 - }, - "else": { - "operation": "boost", - "score": 0.11728794872760773 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.08498827368021011 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.12178853154182434 - }, - "else": { - "operation": "boost", - "score": -0.24804255366325378 - } - } - }, - "else": { - "operation": "boost", - "score": 0.024777621030807495 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.09558363258838654 - }, - "else": { - "operation": "boost", - "score": -0.08392040431499481 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56793.5, - "then": { - "operation": "boost", - "score": -0.043955761939287186 - }, - "else": { - "operation": "boost", - "score": 0.06583459675312042 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.1403139978647232 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.12456391006708145 - }, - "else": { - "operation": "boost", - "score": 0.1400034874677658 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2313915193080902 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.0059186615981161594 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10061877965927124 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.20673176646232605 - }, - "else": { - "operation": "boost", - "score": 0.08752357959747314 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.026482069864869118 - } - } - } + "operation": "boost", + "score": 0.12555186450481415 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47294.0, - "then": { - "operation": "boost", - "score": -0.15411528944969177 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.05454319342970848 - }, - "else": { - "operation": "boost", - "score": 0.05883493646979332 - } - } + "operation": "boost", + "score": -0.1985408067703247 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.02369603142142296 + "score": 0.1243395134806633 }, "else": { "operation": "boost", - "score": -0.040469054132699966 + "score": 0.008081657811999321 } } + }, + "else": { + "operation": "boost", + "score": 0.013221094384789467 } - }, - "else": { - "operation": "boost", - "score": 0.002988257445394993 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46240.5, - "then": { - "operation": "boost", - "score": 0.02388695627450943 - }, - "else": { - "operation": "boost", - "score": -0.04168703034520149 - } + "operation": "boost", + "score": 0.0006354946526698768 } } + }, + "else": { + "operation": "boost", + "score": -0.0015402418794110417 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.09227432310581207 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.1324118822813034 + }, + "else": { + "operation": "boost", + "score": -0.09359577298164368 + } } } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0033836415968835354 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12008219212293625 }, "else": { "operation": "boost", - "score": 0.11682868748903275 - } - }, - "else": { - "operation": "boost", - "score": 0.08598381280899048 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.22825689613819122 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09269054234027863 - }, - "else": { - "operation": "boost", - "score": -0.1651926040649414 - } + "score": -0.09328766167163849 } - }, - "else": { - "operation": "boost", - "score": -0.08208077400922775 } } } }, "else": { "operation": "boost", - "score": -0.00019983640231657773 + "score": -0.096468985080719 } }, { @@ -249632,351 +245541,1109 @@ "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.0032919663935899734 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3827838897705078, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.11880363523960114 + }, + "else": { + "operation": "boost", + "score": 0.0056070731952786446 + } + }, + "else": { + "operation": "boost", + "score": 0.1202285885810852 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.02366735227406025 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 25461.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 26223.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 245728.5, + "then": { + "operation": "boost", + "score": -0.2399723082780838 + }, + "else": { + "operation": "boost", + "score": 0.02566828764975071 + } + }, + "else": { + "operation": "boost", + "score": 0.10254884511232376 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6406.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { + "operation": "boost", + "score": -0.004057141486555338 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { "operation": "boost", - "score": -0.11667540669441223 + "score": 0.09052487462759018 + }, + "else": { + "operation": "boost", + "score": -0.06626220047473907 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6360.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.10779812186956406 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6388.5, + "then": { + "operation": "boost", + "score": 0.10063917934894562 + }, + "else": { + "operation": "boost", + "score": 0.1049899086356163 + } + } }, "else": { "operation": "boost", - "score": 0.017757631838321686 + "score": 0.10927402973175049 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { + "operation": "boost", + "score": 0.006642133928835392 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", "Destructor", - "Operator", - "Unknown", - "Constructor", + "Function", + "Keyword", + "Macro", + "Namespace", "Type", - "Namespace" + "Unknown" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12098591774702072 - }, + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.00227805832400918 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.105103500187397 + }, + "else": { + "operation": "boost", + "score": -1.0292984247207642 + } + }, + "else": { + "operation": "boost", + "score": -0.08896152675151825 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.0033725479152053595 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": -0.039821475744247437 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.15394443273544312 + }, + "else": { + "operation": "boost", + "score": -0.09409262984991074 + } + }, + "else": { + "operation": "boost", + "score": 0.040822722017765045 + } + }, + "else": { + "operation": "boost", + "score": 0.12390165776014328 + } + }, + "else": { + "operation": "boost", + "score": 0.01997394487261772 + } + } + } + } + }, "else": { - "operation": "boost", - "score": -0.1995338797569275 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1316.0, + "then": { + "operation": "boost", + "score": -0.06884437799453735 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 30.5, + "then": { + "operation": "boost", + "score": -0.10568825155496597 + }, + "else": { + "operation": "boost", + "score": 0.16453799605369568 + } + }, + "else": { + "operation": "boost", + "score": -0.039464071393013 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.00679179560393095 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.049788765609264374 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06511328369379044 + }, + "else": { + "operation": "boost", + "score": 0.11380530893802643 + } + }, + "else": { + "operation": "boost", + "score": -0.0353311151266098 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": -0.05018428713083267 + }, + "else": { + "operation": "boost", + "score": 0.03227127343416214 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.01600530929863453 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.875, + "then": { + "operation": "boost", + "score": -0.4075877368450165 + }, + "else": { + "operation": "boost", + "score": 0.016575712710618973 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02276906743645668 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0023559273686259985 + } } }, "else": { - "operation": "boost", - "score": -0.22943823039531708 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26223.5, + "threshold": 31.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 93258.0, + "threshold": 33.5, "then": { - "operation": "boost", - "score": 0.049426138401031494 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 277.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 335.0, + "then": { + "operation": "boost", + "score": -0.007591265253722668 + }, + "else": { + "operation": "boost", + "score": 0.1298300176858902 + } + }, + "else": { + "operation": "boost", + "score": 0.033646516501903534 + } + }, + "else": { + "operation": "boost", + "score": 0.13274633884429932 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 276.5, + "then": { + "operation": "boost", + "score": -0.356397807598114 + }, + "else": { + "operation": "boost", + "score": 0.012193044647574425 + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { - "operation": "boost", - "score": -0.0950610339641571 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.15679173171520233 + }, + "else": { + "operation": "boost", + "score": -0.1551242172718048 + } }, "else": { - "operation": "boost", - "score": -2.094815492630005 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.12483739107847214 + }, + "else": { + "operation": "boost", + "score": 0.18335136771202087 + } + }, + "else": { + "operation": "boost", + "score": -0.03420880809426308 + } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21082.0, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { - "operation": "boost", - "score": 0.1185123547911644 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.05157845467329025 + }, + "else": { + "operation": "boost", + "score": 0.13996493816375732 + } + }, + "else": { + "operation": "boost", + "score": -0.3057248592376709 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09962230920791626 + }, + "else": { + "operation": "boost", + "score": -0.042923785746097565 + } + }, + "else": { + "operation": "boost", + "score": -0.26152631640434265 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9285714626312256, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10024499148130417 + }, + "else": { + "operation": "boost", + "score": -0.062453433871269226 + } + }, + "else": { + "operation": "boost", + "score": -0.155215784907341 + } + } }, "else": { "operation": "boost", - "score": -0.0774393305182457 + "score": -0.010976498946547508 } } - }, - "else": { - "operation": "boost", - "score": -0.5161000490188599 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220727.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.07329950481653214 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.012414990924298763 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07942523807287216 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": 0.030782021582126617 + }, + "else": { + "operation": "boost", + "score": 0.13077950477600098 + } + } + }, + "else": { + "operation": "boost", + "score": 0.046977393329143524 + } + } }, "else": { - "operation": "boost", - "score": 0.0007717356784269214 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3266.0, + "then": { + "operation": "boost", + "score": -0.35862496495246887 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2388.5, + "then": { + "operation": "boost", + "score": 0.12830030918121338 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 606.5, + "then": { + "operation": "boost", + "score": -0.20777231454849243 + }, + "else": { + "operation": "boost", + "score": 0.005752937868237495 + } + } + } } } } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": -0.07899049669504166 }, "else": { "operation": "boost", - "score": -0.2453574687242508 + "score": 0.030951853841543198 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.011075994931161404 + } + }, + "else": { + "operation": "boost", + "score": -0.025231000036001205 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.030601518228650093 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": -0.03669579327106476 + }, + "else": { + "operation": "boost", + "score": -0.0030609529931098223 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.017562206834554672 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.1008334830403328 + }, + "else": { + "operation": "boost", + "score": 0.09344089776277542 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16004447638988495 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007226993329823017 + }, + "else": { + "operation": "boost", + "score": -0.013607353903353214 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.10329015552997589 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 432212.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": -0.035022132098674774 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.00790038425475359 + "score": -0.31387341022491455 }, "else": { "operation": "boost", - "score": -0.27181029319763184 + "score": -0.9828953742980957 } - }, - "else": { - "operation": "boost", - "score": -0.15401563048362732 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.10726620256900787 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.01457598339766264 - }, - "else": { - "operation": "boost", - "score": 0.12545067071914673 - } - } + "operation": "boost", + "score": 0.043892838060855865 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.08826819807291031 - }, - "else": { - "operation": "boost", - "score": -0.1061943992972374 - } + "operation": "boost", + "score": -0.08691340684890747 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 26.5, "then": { "operation": "boost", - "score": -0.016194863244891167 + "score": -0.0636647567152977 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.02380952425301075, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 11993.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "boost", + "score": -0.12997455894947052 + }, + "else": { + "operation": "boost", + "score": -0.020175281912088394 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.11125742644071579 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0929722785949707 + }, + "else": { + "operation": "boost", + "score": 0.13875281810760498 + } }, "else": { "operation": "boost", - "score": -0.0014798172051087022 + "score": 0.033298883587121964 } }, "else": { "operation": "boost", - "score": -0.002110391156747937 + "score": 0.00020849051361437887 } - }, - "else": { - "operation": "boost", - "score": -0.027992350980639458 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.12565825879573822 + }, + "else": { + "operation": "boost", + "score": 0.05669768154621124 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.21680191159248352 + "score": 0.035030487924814224 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.09842640906572342 + "score": 0.004701706580817699 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 585.0, "then": { + "operation": "boost", + "score": -0.018461979925632477 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "boost", - "score": -0.7864907383918762 + "score": 0.006240928079932928 }, "else": { "operation": "boost", - "score": 0.10708120465278625 + "score": 0.02387826330959797 } - }, - "else": { - "operation": "boost", - "score": 0.11744161695241928 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { - "operation": "boost", - "score": -0.1737750619649887 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.08117066323757172 + }, + "else": { + "operation": "boost", + "score": -0.10542137920856476 + } }, "else": { "operation": "boost", - "score": 0.11166975647211075 + "score": -0.033444225788116455 } } } @@ -249984,636 +246651,712 @@ }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.14071716368198395 - }, - "else": { - "operation": "boost", - "score": 0.11420426517724991 - } + "operation": "boost", + "score": -0.007091346196830273 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", + "Function", + "Keyword", + "Macro", "Operator", - "Unknown", - "Constructor", "Type", - "Namespace" + "Unknown", + "Variable" ], "then": { + "operation": "boost", + "score": 0.00902818888425827 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 362.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 391.5, "then": { "operation": "boost", - "score": 0.12110215425491333 + "score": 0.03442801162600517 }, "else": { "operation": "boost", - "score": 0.019885176792740822 + "score": 0.1677432656288147 } }, "else": { "operation": "boost", - "score": -0.08303086459636688 + "score": -0.02194165624678135 } - }, - "else": { - "operation": "boost", - "score": -0.04471200332045555 } } } - }, - "else": { - "operation": "boost", - "score": -0.2414136826992035 } } } } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.00502645131200552 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "boost", + "score": -0.022313173860311508 + }, + "else": { + "operation": "boost", + "score": -0.0017643598839640617 + } + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 367822.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "boost", - "score": 0.11277304589748383 + "score": 0.07564283162355423 }, "else": { "operation": "boost", - "score": 0.06883733719587326 + "score": 0.10251879692077637 } }, "else": { "operation": "boost", - "score": 0.012369712814688683 + "score": 0.04714657738804817 } }, "else": { "operation": "boost", - "score": 0.04722859337925911 + "score": -0.005794932134449482 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": -0.03952590376138687 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 286067.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09784070402383804 - }, - "else": { - "operation": "boost", - "score": 0.10680165886878967 - } + "operation": "boost", + "score": 0.025434531271457672 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.01360538974404335 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.6876611709594727 - }, - "else": { - "operation": "boost", - "score": -0.1085275337100029 - } - } + "operation": "boost", + "score": -0.05277301371097565 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "boost", - "score": -0.1747686117887497 + "score": 0.11661657691001892 }, "else": { "operation": "boost", - "score": -0.15144631266593933 + "score": -0.40470048785209656 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.07741770893335342 + "score": 0.14127270877361298 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1613553911447525 - }, - "else": { - "operation": "boost", - "score": -0.10416405647993088 - } + "operation": "boost", + "score": 0.09495895355939865 } } }, "else": { "operation": "boost", - "score": -0.008649606257677078 + "score": -0.020942864939570427 } } }, "else": { "operation": "boost", - "score": 0.005329661071300507 + "score": -0.0005238158046267927 } } } - }, - "else": { + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6110.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.1460363268852234 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, + "then": { + "operation": "boost", + "score": -0.14569377899169922 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.09962848573923111 + }, + "else": { + "operation": "boost", + "score": -0.14863747358322144 + } + } }, "else": { "operation": "boost", - "score": -0.0040051620453596115 + "score": 0.004518900066614151 } + }, + "else": { + "operation": "boost", + "score": 0.0014850205043330789 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.002665842417627573 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007788061164319515 + }, + "else": { + "operation": "boost", + "score": -0.02867327444255352 + } + }, + "else": { + "operation": "boost", + "score": -0.001968995202332735 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.06304711848497391 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.01606757752597332 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.0876900851726532 + "score": -0.01855996996164322 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12554243206977844 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.14855866134166718 - }, - "else": { - "operation": "boost", - "score": 0.15189075469970703 - } - }, - "else": { - "operation": "boost", - "score": 0.1792319118976593 - } - }, - "else": { - "operation": "boost", - "score": 0.5407537221908569 - } - } + "operation": "boost", + "score": -0.27936238050460815 } - }, - "else": { - "operation": "boost", - "score": -0.15814252197742462 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 760.5, + "then": { + "operation": "boost", + "score": -0.05131208524107933 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "boost", + "score": 0.026343638077378273 + }, + "else": { + "operation": "boost", + "score": 0.0007636004011146724 + } + } + }, + "else": { + "operation": "boost", + "score": -0.034600432962179184 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 251353.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 267824.5, + "then": { + "operation": "boost", + "score": 0.038564737886190414 + }, + "else": { + "operation": "boost", + "score": 0.21996672451496124 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.016348151490092278 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48070.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.0008354012970812619 + "score": 0.02988412417471409 }, "else": { + "operation": "boost", + "score": 0.06067918241024017 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "boost", + "score": -0.5723102688789368 + }, + "else": { + "operation": "boost", + "score": 0.06655385345220566 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.1121235340833664 + }, + "else": { + "operation": "boost", + "score": -0.008565587922930717 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.054353199899196625 + "score": -0.010480662807822227 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.13574668765068054 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.055387016385793686 - }, - "else": { - "operation": "boost", - "score": 0.11959661543369293 - } - } + "operation": "boost", + "score": 0.11296875029802322 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": -0.1448262482881546 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47253.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07196138799190521 - }, - "else": { - "operation": "boost", - "score": 0.11162998527288437 - } + "operation": "boost", + "score": 0.10941572487354279 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.06763219088315964 + "score": 0.13375243544578552 }, "else": { "operation": "boost", - "score": 0.11786416918039322 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47253.0, - "then": { - "operation": "boost", - "score": 0.11588781327009201 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": 0.13899695873260498 - }, - "else": { - "operation": "boost", - "score": 0.38407155871391296 - } + "score": 0.0022574402391910553 } - }, - "else": { - "operation": "boost", - "score": 0.13669916987419128 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.12388943880796432 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.028535140678286552 + }, + "else": { + "operation": "boost", + "score": -0.049029525369405746 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50371.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.13862648606300354 + "score": -0.023192070424556732 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.12030206620693207 - }, - "else": { - "operation": "boost", - "score": 0.13288313150405884 - } + "operation": "boost", + "score": 0.046527646481990814 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.025115950033068657 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.12861306965351105 - }, - "else": { - "operation": "boost", - "score": -0.06424444913864136 - } + "operation": "boost", + "score": 0.11876127868890762 }, "else": { "operation": "boost", - "score": 0.25069761276245117 + "score": -0.018069887533783913 } + }, + "else": { + "operation": "boost", + "score": 0.012784565798938274 } } } - }, - "else": { - "operation": "boost", - "score": 0.040485452860593796 } } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06084238737821579 - }, - "else": { - "operation": "boost", - "score": -0.07079961150884628 - } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.031518738716840744 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.07505249977111816 + }, + "else": { + "operation": "boost", + "score": -0.050067752599716187 + } }, "else": { + "operation": "boost", + "score": -0.01806742697954178 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0021785434801131487 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 26807.0, "then": { "operation": "boost", - "score": 0.02424299716949463 + "score": -0.05221690237522125 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.08939715474843979 - }, - "else": { - "operation": "boost", - "score": 0.0744517520070076 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.015627121552824974 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.07602298259735107 - }, - "else": { - "operation": "boost", - "score": -0.10070250183343887 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11208921670913696 - } - }, - "else": { - "operation": "boost", - "score": 0.009998387657105923 - } + "operation": "boost", + "score": -0.013939378783106804 } + }, + "else": { + "operation": "boost", + "score": 0.1281937062740326 } } }, @@ -250621,658 +247364,715 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50563.0, + "threshold": 18485.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 18526.5, "then": { + "operation": "boost", + "score": 0.014744539745151997 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "boost", - "score": 0.0917130559682846 + "score": 0.14270353317260742 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "operation": "boost", + "score": 0.09925219416618347 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17865.0, + "then": { + "operation": "boost", + "score": -0.06181267648935318 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17663.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace", + "Variable" + ], "then": { + "operation": "boost", + "score": 0.17683443427085876 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10079795867204666 + "score": 0.13350608944892883 }, "else": { "operation": "boost", - "score": 0.8290144801139832 + "score": -0.02736555226147175 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17391.0, + "then": { + "operation": "boost", + "score": -0.15056908130645752 }, "else": { "operation": "boost", - "score": 0.23831889033317566 + "score": 0.008290073834359646 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.13473336398601532 - }, - "else": { - "operation": "boost", - "score": -0.161595419049263 - } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46094.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49850.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { - "operation": "boost", - "score": 0.10337208956480026 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 84795.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46971.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.03362833708524704 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 131852.0, "then": { "operation": "boost", - "score": 0.05351124331355095 + "score": 0.04980821907520294 }, "else": { "operation": "boost", - "score": 0.1583280861377716 + "score": -0.18576671183109283 } + }, + "else": { + "operation": "boost", + "score": -0.7803411483764648 } }, "else": { - "operation": "boost", - "score": -0.0731210708618164 - } - } - }, - "else": { - "operation": "boost", - "score": 0.048885297030210495 - } - }, - "else": { - "operation": "boost", - "score": -0.19367320835590363 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09791732579469681 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60.5, "then": { - "operation": "boost", - "score": 0.12317927181720734 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 139.5, + "then": { + "operation": "boost", + "score": 0.11473242193460464 + }, + "else": { + "operation": "boost", + "score": 0.1834474354982376 + } + }, + "else": { + "operation": "boost", + "score": 0.05262285843491554 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.08431611955165863 + }, + "else": { + "operation": "boost", + "score": 0.30538225173950195 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7358.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12525807321071625 + }, + "else": { + "operation": "boost", + "score": -0.47750529646873474 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 348.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.06900142878293991 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 505.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": 0.16495630145072937 + }, + "else": { + "operation": "boost", + "score": 0.2940492331981659 + } + }, + "else": { + "operation": "boost", + "score": -0.10365458577871323 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0002062775893136859 + } + }, + "else": { + "operation": "boost", + "score": 0.32392001152038574 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0932229682803154 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.0, + "then": { + "operation": "boost", + "score": -0.30205947160720825 + }, + "else": { + "operation": "boost", + "score": 0.1774294525384903 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.017985502257943153 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": 0.0621248334646225 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 388.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2757.5, + "then": { + "operation": "boost", + "score": 0.2434215247631073 + }, + "else": { + "operation": "boost", + "score": 0.1683986485004425 + } + }, + "else": { + "operation": "boost", + "score": 0.05364115536212921 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06921509653329849 + } + } + }, + "else": { + "operation": "boost", + "score": 0.4734632968902588 + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.10562148690223694 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.03694210201501846 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.0, + "then": { + "operation": "boost", + "score": -0.9717908501625061 + }, + "else": { + "operation": "boost", + "score": -0.14320701360702515 + } + } + }, + "else": { + "operation": "boost", + "score": -1.0155678987503052 + } + }, + "else": { + "operation": "boost", + "score": 0.09883683919906616 + } }, "else": { "operation": "boost", - "score": 0.03510245308279991 + "score": 0.1057049110531807 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.13651694357395172 - }, - "else": { - "operation": "boost", - "score": -0.14260683953762054 - } } + }, + "else": { + "operation": "boost", + "score": 0.017104003578424454 } }, "else": { "operation": "boost", - "score": -0.10816345363855362 + "score": -0.06928757578134537 } }, "else": { "operation": "boost", - "score": -0.03996129333972931 + "score": -0.018287012353539467 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44699.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.24142427742481232 - }, - "else": { - "operation": "boost", - "score": -0.056454602628946304 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08450008928775787 }, "else": { - "operation": "boost", - "score": 0.020500464364886284 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0006172988214530051 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224557.0, - "then": { - "operation": "boost", - "score": -0.002770343329757452 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.006245040334761143 + "score": 0.019505508244037628 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08936505019664764 - }, - "else": { - "operation": "boost", - "score": 0.034434277564287186 - } - }, - "else": { - "operation": "boost", - "score": -0.013266729190945625 - } - }, - "else": { - "operation": "boost", - "score": 0.0870581641793251 - } - }, - "else": { - "operation": "boost", - "score": -0.11029323935508728 - } + "operation": "boost", + "score": 0.019255267456173897 }, "else": { "operation": "boost", - "score": -0.10901763290166855 + "score": -0.04287879914045334 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10620898753404617 + "score": 0.09073145687580109 }, "else": { "operation": "boost", - "score": -0.2301647961139679 + "score": 0.06200198084115982 } } - }, - "else": { - "operation": "boost", - "score": 0.017693467438220978 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 6.0, "then": { "operation": "boost", - "score": -0.019600557163357735 + "score": 0.14106352627277374 }, "else": { + "operation": "boost", + "score": -0.10002818703651428 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 29.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.023902231827378273 - }, - "else": { - "operation": "boost", - "score": -0.07320843636989594 - } + "operation": "boost", + "score": -0.012739277444779873 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205637.0, + "threshold": 21.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10933924466371536 - }, - "else": { - "operation": "boost", - "score": 0.0822271928191185 - } - }, - "else": { - "operation": "boost", - "score": 0.04315715655684471 - } + "operation": "boost", + "score": 0.10716748982667923 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.08920706063508987 + "score": 0.21472430229187012 }, "else": { "operation": "boost", - "score": -0.10406531393527985 + "score": -0.10021896660327911 } } } }, "else": { "operation": "boost", - "score": -0.049059245735406876 + "score": 0.0034011227544397116 } - } - }, - "else": { - "operation": "boost", - "score": 0.0310545414686203 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.0048681991174817085 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.004780489485710859 + "score": 0.025580963119864464 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.03834062069654465 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 944.0, "then": { "operation": "boost", - "score": -0.0484762117266655 + "score": -0.04183437302708626 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 913.5, + "then": { + "operation": "boost", + "score": 0.10479770600795746 + }, + "else": { + "operation": "boost", + "score": -0.011829490773379803 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { + "operation": "boost", + "score": -0.012491502799093723 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { - "operation": "boost", - "score": 0.11449505388736725 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.08126470446586609 + }, + "else": { + "operation": "boost", + "score": 0.2992783188819885 + } }, "else": { "operation": "boost", - "score": 0.11306073516607285 + "score": -0.011448289267718792 } }, "else": { - "operation": "boost", - "score": 0.09335827827453613 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.024123333394527435 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12162208557128906 + }, + "else": { + "operation": "boost", + "score": 0.08496797829866409 + } + }, + "else": { + "operation": "boost", + "score": -0.04469956085085869 + } + } } - }, - "else": { - "operation": "boost", - "score": -0.10374343395233154 } + }, + "else": { + "operation": "boost", + "score": -0.09871011227369308 } } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06120174378156662 - }, - "else": { - "operation": "boost", - "score": 0.10915785282850266 - } - }, - "else": { - "operation": "boost", - "score": 0.006364563945680857 - } } - }, - "else": { - "operation": "boost", - "score": 0.009337881579995155 } } } @@ -251283,726 +248083,378 @@ "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_UnionTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", "CCC_Other", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.009782921522855759 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74638.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "boost", + "score": 0.0003335924120619893 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": -0.09278777986764908 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05450892075896263 - }, - "else": { - "operation": "boost", - "score": 0.09038130193948746 - } - } + "operation": "boost", + "score": 0.019711680710315704 }, "else": { "operation": "boost", - "score": -0.14813587069511414 + "score": -0.006036695092916489 } }, "else": { "operation": "boost", - "score": 0.09633205085992813 + "score": 0.016327310353517532 } }, "else": { "operation": "boost", - "score": 0.08234942704439163 + "score": 0.005379570182412863 } }, "else": { "operation": "boost", - "score": -0.23456524312496185 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59248.5, - "then": { - "operation": "boost", - "score": -0.08534485101699829 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57673.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.18729151785373688 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.1186022162437439 - }, - "else": { - "operation": "boost", - "score": 0.15414515137672424 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12814205884933472 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.0037674515042454004 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.11099737137556076 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10534145683050156 - }, - "else": { - "operation": "boost", - "score": -0.3277548551559448 - } - } - } - } - } + "score": -0.0022524830419570208 } } - }, - "else": { - "operation": "boost", - "score": -0.04822300747036934 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.0036476741079241037 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62087.0, + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.025134950876235962 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression" + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58073.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.009962786920368671 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10021830350160599 - }, - "else": { - "operation": "boost", - "score": 0.12095815688371658 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.142096146941185 - }, - "else": { - "operation": "boost", - "score": 0.10146060585975647 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11176382005214691 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06019841507077217 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.10023660957813263 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10350298136472702 - }, - "else": { - "operation": "boost", - "score": 0.12092146277427673 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.0898512452840805 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.17718909680843353 - }, - "else": { - "operation": "boost", - "score": 0.1696188747882843 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06830720603466034 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03555838018655777 - } - } - }, - "else": { - "operation": "boost", - "score": -0.09588347375392914 - } + "operation": "boost", + "score": 0.03704368695616722 }, "else": { - "operation": "boost", - "score": -0.03336285427212715 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61155.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": 0.007518764119595289 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": 0.1215478703379631 + "score": 0.065803162753582 }, "else": { "operation": "boost", - "score": 0.11374273151159286 + "score": 0.017851008102297783 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.03336590901017189 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64139.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.18979796767234802 + "score": -0.5746138691902161 }, "else": { "operation": "boost", - "score": -0.05642814189195633 + "score": -0.09611846506595612 } } } }, "else": { "operation": "boost", - "score": -0.02200816199183464 + "score": 0.0002941511629614979 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52191.5, + } + } + }, + { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05492208153009415 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52893.5, + "feature": "FractionNameInContext", + "threshold": 0.3827838897705078, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08290208131074905 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.14606937766075134 - }, - "else": { - "operation": "boost", - "score": 0.14180463552474976 - } - }, - "else": { - "operation": "boost", - "score": 0.1703227013349533 - } - }, - "else": { - "operation": "boost", - "score": 0.1787400245666504 - } - } - }, - "else": { - "operation": "boost", - "score": 0.00933017861098051 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09889629483222961 - }, - "else": { - "operation": "boost", - "score": -0.034286919981241226 - } - } - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.026593998074531555 + "score": 0.11269547045230865 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.11831815540790558 - }, - "else": { - "operation": "boost", - "score": 0.12498420476913452 - } - }, - "else": { - "operation": "boost", - "score": 0.09783078730106354 - } - }, - "else": { - "operation": "boost", - "score": -0.10280397534370422 - } + "operation": "boost", + "score": -0.01151646114885807 } + }, + "else": { + "operation": "boost", + "score": 0.1128876656293869 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "boost", + "score": 0.021828781813383102 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.11358156055212021 + "score": 0.0048087118193507195 }, "else": { "operation": "boost", - "score": -0.39089030027389526 + "score": 0.0030151018872857094 } - }, - "else": { - "operation": "boost", - "score": 0.06814474612474442 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04543843865394592 + }, + "else": { + "operation": "boost", + "score": 0.013276598416268826 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02266082912683487 + "score": 0.10231555253267288 + }, + "else": { + "operation": "boost", + "score": -0.030130142346024513 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": -0.01784696616232395 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, "then": { + "operation": "boost", + "score": 0.12088329344987869 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "FileScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.08992475271224976 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.19523859024047852 - }, - "else": { - "operation": "boost", - "score": 0.21252192556858063 - } + "operation": "boost", + "score": 0.1275295466184616 }, "else": { "operation": "boost", - "score": 0.26095864176750183 + "score": 0.10883251577615738 } + }, + "else": { + "operation": "boost", + "score": 0.023292699828743935 } }, "else": { - "operation": "boost", - "score": -0.03981815651059151 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10346439480781555 - }, - "else": { - "operation": "boost", - "score": 0.11549290269613266 - } - }, - "else": { - "operation": "boost", - "score": -0.1857803910970688 - } + "operation": "boost", + "score": 0.06202736869454384 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.015036522410809994 + "score": -0.08721933513879776 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.035179223865270615 - }, - "else": { - "operation": "boost", - "score": 0.07405781745910645 - } + "operation": "boost", + "score": -0.7910801768302917 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.10378134995698929 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "boost", - "score": 0.06807173043489456 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": 0.08049481362104416 + }, + "else": { + "operation": "boost", + "score": 0.10827133059501648 + } }, "else": { "operation": "boost", - "score": 0.07789012044668198 + "score": -0.5246350169181824 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44699.0, - "then": { - "operation": "boost", - "score": -0.1795492023229599 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07044640183448792 }, "else": { "operation": "boost", - "score": 0.11491484194993973 + "score": 0.010250476188957691 } } } @@ -252010,2150 +248462,1489 @@ } }, "else": { - "operation": "boost", - "score": 0.017236748710274696 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { - "operation": "boost", - "score": -0.14579825103282928 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06595299392938614 - }, - "else": { - "operation": "boost", - "score": 0.10639171302318573 - } + "operation": "boost", + "score": 0.09604150801897049 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11130847036838531 - }, - "else": { - "operation": "boost", - "score": -0.21607011556625366 - } - }, - "else": { - "operation": "boost", - "score": 0.1300160139799118 - } - }, - "else": { - "operation": "boost", - "score": -0.10160165280103683 - } - }, - "else": { - "operation": "boost", - "score": 0.20704972743988037 - } + "operation": "boost", + "score": -0.0254798736423254 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "boost", - "score": -0.028846880421042442 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "boost", - "score": -0.04168112576007843 + "score": -0.027588162571191788 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { "operation": "boost", - "score": -0.09911972284317017 + "score": 0.02838524989783764 }, "else": { "operation": "boost", - "score": 0.08998259902000427 + "score": -0.010356243699789047 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.1104075014591217 - }, - "else": { - "operation": "boost", - "score": -0.23202568292617798 - } - }, - "else": { - "operation": "boost", - "score": 0.11055511236190796 - } - }, - "else": { - "operation": "boost", - "score": 0.03773682564496994 - } - }, - "else": { - "operation": "boost", - "score": -0.06473498046398163 - } + "operation": "boost", + "score": -0.0015464057214558125 } } } } } - } - }, - "else": { - "operation": "boost", - "score": -0.00020302203483879566 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.06231631711125374 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18614718317985535, + "then": { + "operation": "boost", + "score": 0.009985058568418026 + }, + "else": { + "operation": "boost", + "score": 0.13938331604003906 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71608.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.08301389962434769 + "score": -0.0026173803489655256 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.09667182713747025 - }, - "else": { - "operation": "boost", - "score": 0.12223724275827408 - } + "operation": "boost", + "score": -0.018239153549075127 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62267.0, - "then": { - "operation": "boost", - "score": -0.0014125140151008964 - }, - "else": { - "operation": "boost", - "score": 0.09705643355846405 - } - }, - "else": { - "operation": "boost", - "score": 0.03949030116200447 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.046064313501119614 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.06224804371595383 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232885.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 549246.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.035389598459005356 + }, + "else": { + "operation": "boost", + "score": -0.026868781074881554 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.04191838949918747 - }, - "else": { - "operation": "boost", - "score": -0.2747407853603363 - } - }, - "else": { - "operation": "boost", - "score": 0.10548911988735199 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.08722180128097534 - }, - "else": { - "operation": "boost", - "score": -0.3468068242073059 - } - }, - "else": { - "operation": "boost", - "score": 0.06107282638549805 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.028817985206842422 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08884573727846146 + }, + "else": { + "operation": "boost", + "score": 0.13624900579452515 + } }, "else": { "operation": "boost", - "score": 0.025000566616654396 + "score": 0.07272762805223465 } }, "else": { - "operation": "boost", - "score": -0.02225382626056671 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05864371359348297 - }, - "else": { - "operation": "boost", - "score": 0.11692751199007034 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.018681509420275688 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.41290420293807983 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.03295363858342171 - }, - "else": { - "operation": "boost", - "score": -0.15935248136520386 - } - } - }, - "else": { - "operation": "boost", - "score": 0.015384248457849026 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.20734646916389465 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.05150245130062103 - }, - "else": { - "operation": "boost", - "score": -0.06336431950330734 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.07242735475301743 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.014299876987934113 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.008056914433836937 + }, + "else": { + "operation": "boost", + "score": 0.14613664150238037 + } + }, + "else": { + "operation": "boost", + "score": 0.04669911414384842 + } + } }, "else": { - "operation": "boost", - "score": 0.03735116869211197 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.18573302030563354 + }, + "else": { + "operation": "boost", + "score": -0.0019000038737431169 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.04921211674809456 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.08142352104187012 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07061293721199036 + }, + "else": { + "operation": "boost", + "score": 0.08173488825559616 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.07234552502632141 + }, + "else": { + "operation": "boost", + "score": -0.00916599202901125 + } + } + } }, "else": { - "operation": "boost", - "score": -0.024630796164274216 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1171283945441246 + }, + "else": { + "operation": "boost", + "score": 0.12244725972414017 + } } } } }, "else": { - "operation": "boost", - "score": -0.13969948887825012 - } - }, - "else": { - "operation": "boost", - "score": -0.14242097735404968 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.09921331703662872 - }, - "else": { - "operation": "boost", - "score": 0.0635223537683487 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.008707515895366669 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 206450.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12499213218688965 - }, - "else": { - "operation": "boost", - "score": 0.09313647449016571 - } - }, - "else": { - "operation": "boost", - "score": 0.0943366140127182 - } - }, - "else": { - "operation": "boost", - "score": 0.07910680025815964 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.07391044497489929 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.06409143656492233 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.2805939316749573 + }, + "else": { + "operation": "boost", + "score": -0.0669851005077362 + } }, "else": { - "operation": "boost", - "score": -0.3059860169887543 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.01326843537390232 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.22783175110816956 + }, + "else": { + "operation": "boost", + "score": 0.15126657485961914 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": 0.10447061061859131 + }, + "else": { + "operation": "boost", + "score": -0.015160782262682915 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12136676162481308 + }, + "else": { + "operation": "boost", + "score": 0.14748287200927734 + } + } + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.4134959876537323 - }, - "else": { - "operation": "boost", - "score": 0.10699617862701416 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10557779669761658 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.11529283970594406 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09072819352149963 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.09913364052772522 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.13271284103393555 + }, + "else": { + "operation": "boost", + "score": 0.05020361766219139 + } + }, + "else": { + "operation": "boost", + "score": 0.04863325506448746 + } }, "else": { "operation": "boost", - "score": -0.11813697218894958 + "score": 0.004336277022957802 } - }, - "else": { - "operation": "boost", - "score": 0.014892206527292728 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.01330089196562767 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 138283.5, - "then": { - "operation": "boost", - "score": -0.27037036418914795 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97848.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05681237205862999 - }, - "else": { - "operation": "boost", - "score": 0.12198083102703094 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.19646286964416504 - }, - "else": { - "operation": "boost", - "score": -0.11991716921329498 } } - } - }, - "else": { - "operation": "boost", - "score": -0.041766952723264694 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.10277947038412094 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.07356825470924377 - }, - "else": { - "operation": "boost", - "score": -0.12051256000995636 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62487.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.09790772944688797 + "score": 0.09940724074840546 }, "else": { "operation": "boost", - "score": -0.1347469836473465 + "score": -0.053252559155225754 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96014.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.0571746900677681 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.04338795319199562 + "score": 0.27573221921920776 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.2163838893175125 + }, + "else": { + "operation": "boost", + "score": 0.19230514764785767 + } + }, + "else": { + "operation": "boost", + "score": 0.07252775877714157 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73487.5, + "threshold": 88.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.15511928498744965 + }, + "else": { + "operation": "boost", + "score": 0.0781799927353859 + } + }, + "else": { + "operation": "boost", + "score": 0.0101302620023489 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76669.0, + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.002750653773546219 + }, + "else": { + "operation": "boost", + "score": 0.16013430058956146 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 87637.0, + "threshold": 188.0, + "then": { + "operation": "boost", + "score": 0.09297393262386322 + }, + "else": { + "operation": "boost", + "score": -0.06443235278129578 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.03261396288871765 + "score": 0.13282901048660278 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.1316646784543991 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.045227162539958954 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09299182891845703 + }, + "else": { + "operation": "boost", + "score": 0.07087352126836777 + } + } }, "else": { "operation": "boost", - "score": 0.09860913455486298 + "score": 0.01811033859848976 } } - }, - "else": { - "operation": "boost", - "score": -0.19756951928138733 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.05078069865703583 - }, - "else": { - "operation": "boost", - "score": 0.10708723962306976 } } - }, - "else": { - "operation": "boost", - "score": -0.06193196028470993 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.05873231962323189 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 132.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, + "operation": "boost", + "score": 0.1527671366930008 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 80424.0, + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.2597315311431885 + "score": -0.0065581039525568485 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10262201726436615 - }, - "else": { - "operation": "boost", - "score": 0.08615867048501968 - } + "operation": "boost", + "score": 0.08479157090187073 } }, "else": { "operation": "boost", - "score": -0.24452264606952667 + "score": -0.05201803892850876 } - }, - "else": { - "operation": "boost", - "score": -0.2840930223464966 } } + }, + "else": { + "operation": "boost", + "score": -0.026385167613625526 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61294.0, + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 51.5, "then": { "operation": "boost", - "score": 0.10060480982065201 + "score": 0.07085999846458435 }, "else": { "operation": "boost", - "score": 0.07968879491090775 + "score": -0.1416226178407669 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.10971372574567795 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, "then": { + "operation": "boost", + "score": -0.2523823082447052 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10743271559476852 - }, - "else": { - "operation": "boost", - "score": 0.1220487654209137 - } + "operation": "boost", + "score": 0.21946834027767181 }, "else": { "operation": "boost", - "score": -0.023466400802135468 + "score": 0.2815078794956207 } }, "else": { "operation": "boost", - "score": 0.08918303996324539 + "score": 0.14999516308307648 } - }, - "else": { - "operation": "boost", - "score": -0.31182119250297546 } + }, + "else": { + "operation": "boost", + "score": -0.10442738980054855 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.23837910592556 + }, + "else": { + "operation": "boost", + "score": -0.03830653056502342 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.00593505660071969 + }, + "else": { + "operation": "boost", + "score": -0.007662306074053049 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15739.5, + "then": { + "operation": "boost", + "score": -0.8960301280021667 }, "else": { + "operation": "boost", + "score": -0.049353621900081635 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 82.0, "then": { "operation": "boost", - "score": -0.2915423810482025 + "score": 3.0736919143237174e-05 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.1410348117351532 - }, - "else": { - "operation": "boost", - "score": 0.07370457798242569 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47476.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.12735632061958313 + "score": 0.004395286086946726 }, "else": { "operation": "boost", - "score": 0.12043626606464386 + "score": 0.13503018021583557 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], + "operation": "boost", + "score": 0.02689986489713192 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015494955703616142 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { "operation": "boost", - "score": 0.1015748530626297 + "score": 0.06347891688346863 }, "else": { - "operation": "boost", - "score": -0.15051954984664917 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.027931103482842445 + "score": 0.19765189290046692 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48909.0, - "then": { - "operation": "boost", - "score": 0.09402891248464584 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11461059749126434 - }, - "else": { - "operation": "boost", - "score": 0.111674465239048 - } - } + "operation": "boost", + "score": 0.13149411976337433 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06605442613363266 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 57.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56346.5, - "then": { - "operation": "boost", - "score": -0.03641853854060173 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.0698782280087471 - }, - "else": { - "operation": "boost", - "score": -0.2154734581708908 - } - } + "operation": "boost", + "score": 0.16390562057495117 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48909.0, - "then": { - "operation": "boost", - "score": 0.024372858926653862 - }, - "else": { - "operation": "boost", - "score": -0.4048270583152771 - } + "operation": "boost", + "score": -0.01411597989499569 } } } } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.020758051425218582 + }, + "else": { + "operation": "boost", + "score": -0.0579846054315567 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.008703641593456268 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26535.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.09155304729938507 + }, + "else": { + "operation": "boost", + "score": 0.02644176594913006 + } + }, + "else": { + "operation": "boost", + "score": -0.0290871299803257 } + }, + "else": { + "operation": "boost", + "score": -0.002784009324386716 } } } - }, - "else": { - "operation": "boost", - "score": 0.013595976866781712 } + }, + "else": { + "operation": "boost", + "score": -0.0006641882937401533 } } } }, "else": { - "operation": "boost", - "score": 0.0038233590312302113 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 4724.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 306389.0, + "threshold": 4809.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10777366906404495 - }, - "else": { - "operation": "boost", - "score": 0.08720039576292038 - } + "operation": "boost", + "score": 0.010014809668064117 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48585.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62324.5, - "then": { - "operation": "boost", - "score": 0.03673981875181198 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10813306272029877 - }, - "else": { - "operation": "boost", - "score": 0.09423363208770752 - } - } + "operation": "boost", + "score": 0.1450112760066986 }, "else": { "operation": "boost", - "score": -0.45745617151260376 + "score": 0.06484153121709824 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.11245030909776688 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": -0.3504181206226349 - }, - "else": { - "operation": "boost", - "score": -0.011768262833356857 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98458.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 222916.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11898594349622726 - }, - "else": { - "operation": "boost", - "score": -0.1107100173830986 - } - }, - "else": { - "operation": "boost", - "score": 0.019819283857941628 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.1257515847682953 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.02927744761109352 - }, - "else": { - "operation": "boost", - "score": 0.09495095908641815 - } - }, - "else": { - "operation": "boost", - "score": 0.14421118795871735 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.01727430708706379 - } - } - } + "operation": "boost", + "score": 0.0005527889006771147 } - }, - "else": { - "operation": "boost", - "score": 0.011919376440346241 } }, "else": { - "operation": "boost", - "score": -0.00895766168832779 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.07930976897478104 - }, - "else": { - "operation": "boost", - "score": 0.10690976679325104 - } + "operation": "boost", + "score": 0.11808482557535172 }, "else": { "operation": "boost", - "score": -0.11974213272333145 + "score": -0.10226359963417053 } - }, - "else": { - "operation": "boost", - "score": 0.12105785310268402 } }, "else": { "operation": "boost", - "score": 0.06847895681858063 + "score": -0.09535988420248032 } } - }, - "else": { - "operation": "boost", - "score": -0.0002049272006843239 } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_Namespace", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.01578020490705967 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.013008520938456059 - }, - "else": { - "operation": "boost", - "score": -0.2464367300271988 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0005998198175802827 + "score": -0.10892389714717865 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { "operation": "boost", - "score": 0.09794019162654877 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": -0.6701565980911255 - }, - "else": { - "operation": "boost", - "score": 0.08426224440336227 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11442865431308746 - }, - "else": { - "operation": "boost", - "score": 0.04507727548480034 - } + "score": 0.11822260916233063 }, "else": { "operation": "boost", - "score": -0.12128010392189026 + "score": 0.05301434546709061 } - }, - "else": { - "operation": "boost", - "score": 0.029859021306037903 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.21973055601119995 - }, - "else": { - "operation": "boost", - "score": -0.16484425961971283 - } - }, - "else": { - "operation": "boost", - "score": -0.17820584774017334 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.06755568832159042 - }, - "else": { - "operation": "boost", - "score": -0.08183521032333374 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.008927029557526112 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.023193202912807465 + }, + "else": { + "operation": "boost", + "score": -0.1614069789648056 + } + }, + "else": { + "operation": "boost", + "score": -0.027615725994110107 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.07772652059793472 + }, + "else": { + "operation": "boost", + "score": 0.06273441761732101 + } + } }, "else": { "operation": "boost", - "score": -0.35506242513656616 + "score": -0.03493228927254677 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { - "operation": "boost", - "score": 0.10162670165300369 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "boost", + "score": 0.05050090700387955 + }, + "else": { + "operation": "boost", + "score": -0.01751863956451416 + } }, "else": { "operation": "boost", - "score": -0.10187657922506332 + "score": 0.09311555325984955 } }, "else": { - "operation": "boost", - "score": -0.6152205467224121 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 0.034917574375867844 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.4393450915813446 + }, + "else": { + "operation": "boost", + "score": -0.060783758759498596 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13228.5, + "then": { + "operation": "boost", + "score": 0.08552569150924683 + }, + "else": { + "operation": "boost", + "score": -0.10848844051361084 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": 0.029775960370898247 + }, + "else": { + "operation": "boost", + "score": 0.08780362457036972 + } + } + } } } }, "else": { "operation": "boost", - "score": -0.32426485419273376 + "score": -0.023864945396780968 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06407880038022995 - }, - "else": { - "operation": "boost", - "score": 0.21921047568321228 - } - }, - "else": { - "operation": "boost", - "score": -0.35560569167137146 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.014597010798752308 - }, - "else": { - "operation": "boost", - "score": -0.055269233882427216 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "boost", - "score": 0.004679080564528704 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10764851421117783 - }, - "else": { - "operation": "boost", - "score": -0.11390747129917145 - } + "score": 0.007338539697229862 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": -0.0025466899387538433 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2066.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -1.1033189296722412 - }, - "else": { - "operation": "boost", - "score": 0.006049415562301874 - } + "operation": "boost", + "score": -0.12020796537399292 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 1855.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.05434444546699524 - }, - "else": { - "operation": "boost", - "score": 0.042365662753582 - } - }, - "else": { - "operation": "boost", - "score": 0.07654905319213867 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05207673832774162 - }, - "else": { - "operation": "boost", - "score": 0.0014021070674061775 - } - } + "operation": "boost", + "score": 0.13904599845409393 }, "else": { "operation": "boost", - "score": -0.6376132965087891 + "score": -0.10096287727355957 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.875, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 11.0, "then": { "operation": "boost", - "score": -0.09500283747911453 + "score": -0.13746324181556702 }, "else": { "operation": "boost", - "score": 0.0023526467848569155 + "score": 0.15982122719287872 } }, "else": { "operation": "boost", - "score": 0.07698266953229904 + "score": -0.040857333689928055 } } } - }, - "else": { - "operation": "boost", - "score": -0.12864907085895538 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.07410212606191635 - }, - "else": { - "operation": "boost", - "score": -0.016968337818980217 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.4569120705127716 - }, - "else": { - "operation": "boost", - "score": 0.0906534343957901 - } - }, - "else": { - "operation": "boost", - "score": -0.02718723937869072 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10647173970937729 - }, - "else": { - "operation": "boost", - "score": 0.005585044156759977 - } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.07934907078742981 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.1423821896314621 + "score": 0.15734028816223145 }, "else": { "operation": "boost", - "score": 0.1059902086853981 + "score": 0.09526514261960983 } }, "else": { "operation": "boost", - "score": 0.01390969380736351 + "score": -0.06606924533843994 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.0, - "then": { - "operation": "boost", - "score": 0.23168085515499115 - }, - "else": { - "operation": "boost", - "score": 0.08550652861595154 - } + "operation": "boost", + "score": -0.10505561530590057 }, "else": { "operation": "boost", - "score": -0.5069703459739685 + "score": -0.8070321083068848 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.045124515891075134 - }, - "else": { - "operation": "boost", - "score": 0.09075822681188583 - } + "operation": "boost", + "score": -0.04968775436282158 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.0, "then": { "operation": "boost", - "score": -0.12423147261142731 + "score": 0.27521586418151855 }, "else": { "operation": "boost", - "score": -0.8440048694610596 + "score": 0.10640201717615128 } + }, + "else": { + "operation": "boost", + "score": 0.13588358461856842 } } }, @@ -254161,1483 +249952,1424 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.0, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "boost", - "score": 0.11212906986474991 + "score": 0.1928253024816513 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.11152935028076172 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09522972255945206 - }, - "else": { - "operation": "boost", - "score": 0.07489346712827682 - } - } + "operation": "boost", + "score": 0.13902521133422852 } }, "else": { "operation": "boost", - "score": 0.057723455131053925 + "score": -0.04580643028020859 } }, "else": { "operation": "boost", - "score": 0.009877219796180725 + "score": 0.038208071142435074 } } } }, "else": { - "operation": "boost", - "score": -0.0013719334965571761 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 394.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.010986186563968658 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", "Constructor", - "Type", + "Destructor", + "Keyword", "Namespace" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": -0.04868387058377266 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3015.0, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.09989485889673233 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0937093049287796 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.0, + "then": { + "operation": "boost", + "score": 0.08243975043296814 + }, + "else": { + "operation": "boost", + "score": -0.15271419286727905 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": -0.15029628574848175 + "score": 0.12107402831315994 }, "else": { "operation": "boost", - "score": 0.08292298018932343 + "score": 0.15006311237812042 } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.017413876950740814 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.1119004413485527 }, "else": { - "operation": "boost", - "score": 0.08124519139528275 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03589881584048271 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.0022684449795633554 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.2999638020992279 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.12627819180488586 + }, + "else": { + "operation": "boost", + "score": 0.09798986464738846 + } + } + } + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 378.0, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "boost", - "score": 0.0986367017030716 + "score": -0.03961500525474548 }, "else": { - "operation": "boost", - "score": -0.23518557846546173 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 237.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.10191407054662704 + "score": -0.47887852787971497 }, "else": { - "operation": "boost", - "score": -0.020755713805556297 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.03048560954630375 + }, + "else": { + "operation": "boost", + "score": -0.7869927287101746 + } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.02109311893582344 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52402.5, + "then": { + "operation": "boost", + "score": -0.15670719742774963 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32016.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 231.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.09665898233652115 + "score": 0.10763930529356003 }, "else": { "operation": "boost", - "score": 0.11133313924074173 + "score": 0.10132163763046265 } }, "else": { + "operation": "boost", + "score": 0.02718137949705124 + } + }, + "else": { + "operation": "boost", + "score": -0.028750592842698097 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.0007429310935549438 + }, + "else": { + "operation": "boost", + "score": -0.07106351107358932 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0001776784920366481 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.036704275757074356 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.023476561531424522 + "score": -0.8952358961105347 }, "else": { "operation": "boost", - "score": -0.6008599400520325 + "score": 0.12440567463636398 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.04689643904566765 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018743246793746948 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 184.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.12520131468772888 + "score": 0.07864696532487869 }, "else": { "operation": "boost", - "score": 0.06342873722314835 + "score": -0.30031922459602356 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205.0, - "then": { - "operation": "boost", - "score": 0.8104863166809082 - }, - "else": { - "operation": "boost", - "score": -0.04431649670004845 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.5, - "then": { - "operation": "boost", - "score": 0.12100841850042343 - }, - "else": { - "operation": "boost", - "score": 0.004438046365976334 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.050106726586818695 + "score": -0.1334366500377655 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.05088523030281067 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "boost", - "score": -0.10952281951904297 - }, - "else": { - "operation": "boost", - "score": 0.5496679544448853 - } - } + "operation": "boost", + "score": 0.2023322880268097 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.5, - "then": { - "operation": "boost", - "score": 0.10718943178653717 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 106.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, - "then": { - "operation": "boost", - "score": -0.11202404648065567 - }, - "else": { - "operation": "boost", - "score": 0.13212601840496063 - } - }, - "else": { - "operation": "boost", - "score": -0.23324359953403473 - } - } + "operation": "boost", + "score": 0.41816896200180054 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.12685440480709076 + "score": 0.07303783297538757 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.3467974066734314 + "score": -0.13028579950332642 }, "else": { "operation": "boost", - "score": 0.12166900187730789 + "score": 0.19172808527946472 } } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.07009618729352951 }, "else": { "operation": "boost", - "score": 0.012759172357618809 + "score": -0.09590594470500946 } + }, + "else": { + "operation": "boost", + "score": -0.021261516958475113 } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": -0.16642794013023376 + }, + "else": { + "operation": "boost", + "score": -0.003742254339158535 + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 222.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 223.5, - "then": { - "operation": "boost", - "score": 0.040128193795681 }, "else": { - "operation": "boost", - "score": 0.13828901946544647 - } - }, - "else": { - "operation": "boost", - "score": -0.013584572821855545 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.0070199486799538136 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10768821835517883 + "score": 0.1099986732006073 }, "else": { - "operation": "boost", - "score": 0.11005992442369461 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05979524552822113 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.09557675570249557 + }, + "else": { + "operation": "boost", + "score": 0.14103424549102783 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09297393262386322 + } } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.00701581547036767 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" ], + "then": { + "operation": "boost", + "score": 0.6228850483894348 + }, + "else": { + "operation": "boost", + "score": -0.022658390924334526 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.017712444067001343 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155.5, + "feature": "FractionNameInContext", + "threshold": 0.10101009905338287, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.04727638140320778 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "boost", - "score": -0.10123234242200851 + "score": -0.1267455518245697 }, "else": { "operation": "boost", - "score": 0.13402435183525085 + "score": 0.1234322115778923 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 231.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 270.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.22002601623535156 - }, - "else": { - "operation": "boost", - "score": 0.19588230550289154 - } - }, - "else": { - "operation": "boost", - "score": 0.143484964966774 - } - }, - "else": { - "operation": "boost", - "score": 0.021382829174399376 - } + "operation": "boost", + "score": -0.22262850403785706 } + }, + "else": { + "operation": "boost", + "score": -1.0110386610031128 } }, "else": { "operation": "boost", - "score": 0.11719183623790741 + "score": -2.5841033458709717 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.09356258809566498 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { - "operation": "boost", - "score": 0.04502050578594208 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", - "score": -0.10176991671323776 + "score": -0.7937946915626526 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "boost", - "score": 0.11324673891067505 - }, - "else": { - "operation": "boost", - "score": 0.34945687651634216 - } - }, - "else": { - "operation": "boost", - "score": 0.09270348399877548 - } + "operation": "boost", + "score": -0.1669202744960785 } + }, + "else": { + "operation": "boost", + "score": 0.11552626639604568 } } - }, - "else": { - "operation": "boost", - "score": -0.031666044145822525 } - }, - "else": { - "operation": "boost", - "score": 0.012392024509608746 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 369.0, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "boost", - "score": 0.10928968340158463 + "score": 0.07936793565750122 }, "else": { "operation": "boost", - "score": -0.019412102177739143 + "score": 0.14339470863342285 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06405722349882126 + }, + "else": { + "operation": "boost", + "score": 0.017153212800621986 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.9552164077758789 + }, + "else": { + "operation": "boost", + "score": -0.09912729263305664 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07389295846223831 + }, + "else": { + "operation": "boost", + "score": 0.18322204053401947 + } + }, + "else": { + "operation": "boost", + "score": 0.08646634221076965 + } + }, + "else": { + "operation": "boost", + "score": 0.03248167783021927 + } } } } } - }, - "else": { - "operation": "boost", - "score": 0.008310966193675995 } - } - }, - "else": { - "operation": "boost", - "score": -0.02145686373114586 - } - }, - "else": { - "operation": "boost", - "score": -0.0003628239210229367 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.02853081002831459 + "score": 0.049685217440128326 }, "else": { "operation": "boost", - "score": -0.009878017008304596 + "score": 0.009361300617456436 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.01614883355796337 - }, - "else": { - "operation": "boost", - "score": 0.09783339500427246 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0686192587018013 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.013445835560560226 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { "operation": "boost", - "score": 0.09997273236513138 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": -0.1606077253818512 - }, - "else": { - "operation": "boost", - "score": 0.07983796298503876 - } + "score": 0.0021876555401831865 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 1224.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 1364.5, "then": { "operation": "boost", - "score": 0.11321916431188583 + "score": 0.017298555001616478 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 1338.0, "then": { - "operation": "boost", - "score": 0.042822543531656265 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.06745143234729767 + "score": 0.00556566845625639 }, "else": { "operation": "boost", - "score": -0.2748449742794037 + "score": 0.12588824331760406 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.28785890340805054 - }, - "else": { - "operation": "boost", - "score": -0.42715194821357727 - } + "operation": "boost", + "score": 0.14400792121887207 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "boost", + "score": 0.0670204907655716 + }, + "else": { + "operation": "boost", + "score": -0.02401590906083584 } } } }, "else": { "operation": "boost", - "score": 0.027782639488577843 + "score": 0.0013002667110413313 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": -0.09669066965579987 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.16756296157836914 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.2822599709033966 - }, - "else": { - "operation": "boost", - "score": -0.5388970971107483 - } - }, - "else": { - "operation": "boost", - "score": 0.05006612464785576 - } - } + "operation": "boost", + "score": 0.062019556760787964 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.06517916917800903 + "score": 0.12056265026330948 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.027410227805376053 - }, - "else": { - "operation": "boost", - "score": 0.10249397158622742 - } - }, - "else": { - "operation": "boost", - "score": -0.10097763687372208 - } + "operation": "boost", + "score": -0.2081533521413803 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.4939887821674347 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.12453293800354004 - }, - "else": { - "operation": "boost", - "score": -0.08908198028802872 - } - } + "operation": "boost", + "score": 0.09917616099119186 } } }, "else": { "operation": "boost", - "score": -0.26095589995384216 + "score": -0.030684439465403557 } } + } + }, + "else": { + "operation": "boost", + "score": -0.043084193021059036 + } + }, + "else": { + "operation": "boost", + "score": -6.960803148103878e-05 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005100686103105545 + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Keyword", + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10599198192358017 + }, + "else": { + "operation": "boost", + "score": 0.09919720888137817 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.01059628650546074 + }, + "else": { + "operation": "boost", + "score": -0.002184867626056075 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008498306386172771 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.24705249071121216 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.013577964156866074 + "score": 0.054377760738134384 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.02500000037252903, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.00654907152056694 + "score": 0.009305290877819061 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 62.5, "then": { "operation": "boost", - "score": -0.014812310226261616 + "score": 0.056664250791072845 }, "else": { "operation": "boost", - "score": -0.23522166907787323 + "score": 0.09282737225294113 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11154083907604218 - }, - "else": { - "operation": "boost", - "score": 0.032951295375823975 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": -0.09503155946731567 - }, - "else": { - "operation": "boost", - "score": 0.07298140972852707 - } - } + "operation": "boost", + "score": -0.04795226827263832 } } }, "else": { "operation": "boost", - "score": -0.019691571593284607 + "score": -0.011153844185173512 } } }, "else": { - "operation": "boost", - "score": -0.21147914230823517 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 350.5, "then": { "operation": "boost", - "score": 0.07257048040628433 - }, - "else": { - "operation": "boost", - "score": -0.018279148265719414 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.35673338174819946 - }, - "else": { - "operation": "boost", - "score": 0.09127115458250046 - } + "score": -0.15406611561775208 }, "else": { "operation": "boost", - "score": -0.02346820943057537 + "score": -0.03176485374569893 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 460.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.06760475039482117 + "score": 0.0011927274754270911 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.04581015184521675 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1272.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "boost", - "score": 0.3601023852825165 + "score": 0.011295419186353683 }, "else": { "operation": "boost", - "score": -0.11216844618320465 + "score": -0.13277308642864227 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 897.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.20738470554351807 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.106470488011837 + }, + "else": { + "operation": "boost", + "score": 0.06209517642855644 + } }, "else": { "operation": "boost", - "score": 0.6085352897644043 + "score": -0.025147901847958565 } } + }, + "else": { + "operation": "boost", + "score": 0.004255400504916906 } } - }, - "else": { - "operation": "boost", - "score": -0.0336587056517601 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.03530872240662575 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06465838104486465 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09756626933813095 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06861001998186111 - }, - "else": { - "operation": "boost", - "score": 0.09071037918329239 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.009057902731001377 - } + "operation": "boost", + "score": 0.04136763513088226 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02289370819926262 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.09194589406251907 - }, - "else": { - "operation": "boost", - "score": -0.21993999183177948 - } - } - }, - "else": { - "operation": "boost", - "score": 0.004155417438596487 - } - }, - "else": { - "operation": "boost", - "score": -0.02424135059118271 - } + "operation": "boost", + "score": 0.010432545095682144 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope", - "FileScope" + "Keyword", + "Macro", + "Namespace" ], "then": { "operation": "boost", - "score": -0.0005032608169130981 + "score": 0.03100557252764702 }, "else": { "operation": "boost", - "score": -0.054376643151044846 + "score": -0.0034042755141854286 } } }, "else": { + "operation": "boost", + "score": 0.09068308025598526 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.0027822493575513363 + "score": 0.039815664291381836 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1651.0, "then": { + "operation": "boost", + "score": 0.05297677963972092 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.017220964655280113 + }, + "else": { + "operation": "boost", + "score": -0.041076209396123886 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.06719109416007996 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.044025029987096786 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.08520977199077606 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, "then": { "operation": "boost", - "score": 0.06981419771909714 + "score": 0.01613902859389782 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumReferences", + "threshold": 207.0, + "then": { + "operation": "boost", + "score": -0.4548892676830292 + }, + "else": { + "operation": "boost", + "score": 0.07963226735591888 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.26468175649642944 + "score": 0.003598278621211648 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.3623964190483093 - }, - "else": { - "operation": "boost", - "score": 0.11543257534503937 - } + "operation": "boost", + "score": 0.05515288561582565 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.00163967942353338 + }, + "else": { + "operation": "boost", + "score": -0.8645451664924622 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05056481063365936 }, "else": { "operation": "boost", - "score": -0.10275627672672272 + "score": -0.03057483211159706 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.053534962236881256 - }, - "else": { - "operation": "boost", - "score": 0.1456594318151474 - } + "operation": "boost", + "score": 0.10310691595077515 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 319.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.08654527366161346 + "score": 0.009226232767105103 }, "else": { "operation": "boost", - "score": 0.11240243166685104 + "score": -0.13049030303955078 } }, "else": { "operation": "boost", - "score": 0.053850896656513214 + "score": 0.039004433900117874 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09471838921308517 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07728574424982071 - }, - "else": { - "operation": "boost", - "score": 0.11264782398939133 - } - } + "operation": "boost", + "score": -0.189262256026268 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.013732679188251495 - }, - "else": { - "operation": "boost", - "score": 0.1248433068394661 - } + "operation": "boost", + "score": 0.11902729421854019 }, "else": { "operation": "boost", - "score": -0.008373819291591644 + "score": 0.1097937524318695 } } } @@ -255646,453 +251378,870 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", "CCC_SymbolOrNewName", - "CCC_Namespace" + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.09157587587833405 + "score": 0.04434896633028984 }, "else": { - "operation": "boost", - "score": 0.09498380869626999 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.15856745839118958 + }, + "else": { + "operation": "boost", + "score": -0.9589225053787231 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.08439026027917862 + }, + "else": { + "operation": "boost", + "score": -0.06755095720291138 + } + } } } + } + }, + "else": { + "operation": "boost", + "score": -0.023135531693696976 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0005845198757015169 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.03249695897102356 + }, + "else": { + "operation": "boost", + "score": -0.0053966413252055645 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": 0.03488713130354881 }, "else": { "operation": "boost", - "score": -0.005605393089354038 + "score": 0.08001482486724854 } + }, + "else": { + "operation": "boost", + "score": 0.0027417882811278105 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0008247844525612891 + }, + "else": { + "operation": "boost", + "score": -0.16664007306098938 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.0023325751535594463 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", + "CCC_DotMemberAccess", + "CCC_EnumTag", "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.008756190538406372 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.004717185627669096 + }, + "else": { + "operation": "boost", + "score": -0.009086435660719872 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "boost", + "score": -0.005352239590138197 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 23080.5, + "then": { + "operation": "boost", + "score": -0.2505795657634735 + }, + "else": { + "operation": "boost", + "score": 0.01788323186337948 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.015682971104979515 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.9285714626312256, "then": { "operation": "boost", - "score": 0.0037932998966425657 + "score": -0.14190496504306793 }, "else": { - "operation": "boost", - "score": 0.13058796525001526 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "boost", - "score": -0.15868908166885376 + "score": 0.0902668908238411 }, "else": { "operation": "boost", - "score": 0.047079332172870636 + "score": 0.041735634207725525 } - }, - "else": { - "operation": "boost", - "score": -0.03007330559194088 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.010344229638576508 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.36785173416137695 + "score": -0.23258869349956512 }, "else": { "operation": "boost", - "score": 0.10962851345539093 + "score": -0.031086860224604607 } + }, + "else": { + "operation": "boost", + "score": 0.03841174766421318 } }, "else": { - "operation": "boost", - "score": 0.01333782821893692 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.014034941792488098 + }, + "else": { + "operation": "boost", + "score": 0.027291355654597282 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.031029099598526955 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.029517602175474167 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11714857816696167 + }, + "else": { + "operation": "boost", + "score": 0.10365407168865204 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010832361876964569 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.02515174262225628 + }, + "else": { + "operation": "boost", + "score": -0.25154778361320496 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": 0.09760113805532455 + }, + "else": { + "operation": "boost", + "score": 0.15809345245361328 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": 0.28423357009887695 + }, + "else": { + "operation": "boost", + "score": 0.031375300139188766 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0049418495036661625 + } + } + } } } }, "else": { "operation": "boost", - "score": 0.049533162266016006 + "score": -0.018537169322371483 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02647249773144722 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.04521019384264946 + "score": 0.05110758915543556 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11924507468938828 - }, - "else": { - "operation": "boost", - "score": 0.00015646644169464707 - } + "operation": "boost", + "score": -0.04353351145982742 } }, "else": { "operation": "boost", - "score": 0.0036117727868258953 + "score": 0.00540500320494175 } } }, "else": { - "operation": "boost", - "score": 0.02118709124624729 - } - }, - "else": { - "operation": "boost", - "score": -0.12365946173667908 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 225.0, + "threshold": 14.5, "then": { + "operation": "boost", + "score": -0.010081583634018898 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 386.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 884.0, + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, "then": { "operation": "boost", - "score": 0.16570833325386047 + "score": -0.14519327878952026 }, "else": { - "operation": "boost", - "score": 0.039308030158281326 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12493940442800522 + }, + "else": { + "operation": "boost", + "score": 0.08030194044113159 + } } }, "else": { - "operation": "boost", - "score": 0.13381066918373108 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": -0.2539588510990143 + }, + "else": { + "operation": "boost", + "score": 0.00507644098252058 + } } }, - "else": { - "operation": "boost", - "score": 0.04017520323395729 - } - }, - "else": { - "operation": "boost", - "score": -0.021970104426145554 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193.5, - "then": { - "operation": "boost", - "score": -0.026708150282502174 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190.0, - "then": { - "operation": "boost", - "score": 0.1100807711482048 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174.5, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { "operation": "boost", - "score": 0.10257354378700256 + "score": -0.04703669622540474 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 164.0, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "boost", - "score": -0.16925954818725586 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.038136232644319534 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09611072391271591 + }, + "else": { + "operation": "boost", + "score": 0.09832858294248581 + } + } }, "else": { - "operation": "boost", - "score": 0.11597835272550583 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.027092689648270607 + }, + "else": { + "operation": "boost", + "score": -0.2348085641860962 + } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 181.0, + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { - "operation": "boost", - "score": 0.09193149954080582 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.34352847933769226 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": 0.03117714263498783 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.09234841912984848 + }, + "else": { + "operation": "boost", + "score": -0.056215718388557434 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2458588182926178 + }, + "else": { + "operation": "boost", + "score": 0.0019509608391672373 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.05949778854846954 + }, + "else": { + "operation": "boost", + "score": -0.1131797805428505 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.030251210555434227 + }, + "else": { + "operation": "boost", + "score": -0.0604020357131958 + } + } + } + } }, "else": { - "operation": "boost", - "score": -0.03772444650530815 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.09432873129844666 + }, + "else": { + "operation": "boost", + "score": -0.00795096904039383 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.20234814286231995 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.25113698840141296 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.07222909480333328 + }, + "else": { + "operation": "boost", + "score": 0.013192238286137581 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.032017920166254044 + } } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": 0.13278408348560333 - }, - "else": { - "operation": "boost", - "score": 0.023715414106845856 - } - }, - "else": { - "operation": "boost", - "score": -0.019883016124367714 - } - }, - "else": { - "operation": "boost", - "score": -0.06250794231891632 - } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 201.5, "then": { "operation": "boost", - "score": 0.01695089228451252 + "score": 0.038438569754362106 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.013662959448993206 - }, - "else": { - "operation": "boost", - "score": -0.1265299916267395 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 127.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.024733390659093857 + "score": 0.019501203671097755 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.13016395270824432 + "score": -0.008202120661735535 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11454609036445618 - }, - "else": { - "operation": "boost", - "score": 0.16111363470554352 - } + "operation": "boost", + "score": -0.4079519808292389 } } - }, - "else": { - "operation": "boost", - "score": 0.1389102190732956 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.05112588778138161 - }, - "else": { - "operation": "boost", - "score": 0.014041433110833168 } } - }, - "else": { - "operation": "boost", - "score": -0.011793685145676136 } } + }, + "else": { + "operation": "boost", + "score": 0.00016226922161877155 } } } @@ -256102,3504 +252251,3545 @@ }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { + "operation": "boost", + "score": 0.002141169970855117 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1224.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.014248006045818329 + "score": 0.04411713778972626 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.00396287627518177 - }, - "else": { - "operation": "boost", - "score": -0.16994914412498474 - } + "operation": "boost", + "score": 0.011246765963733196 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.464102566242218, "then": { - "operation": "boost", - "score": -0.0011831175070255995 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.09492678195238113 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "boost", - "score": -0.15175892412662506 + "score": 0.025388484820723534 }, "else": { - "operation": "boost", - "score": 0.06812115758657455 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09055062383413315 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.020330894738435745 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.08717440068721771 - }, - "else": { - "operation": "boost", - "score": -0.02326800487935543 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.0038117794319987297 - }, - "else": { - "operation": "boost", - "score": -0.03723974525928497 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1318535.0, + "threshold": 8.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09778705984354019 - }, - "else": { - "operation": "boost", - "score": 0.046680279076099396 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.06283080577850342 - }, - "else": { - "operation": "boost", - "score": 0.061335448175668716 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0630483403801918 - }, - "else": { - "operation": "boost", - "score": -0.31464478373527527 - } + "operation": "boost", + "score": -0.031860291957855225 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 14.0, "then": { "operation": "boost", - "score": -0.298735111951828 + "score": 0.13307616114616394 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "boost", - "score": -0.06312844902276993 + "score": 0.11715614795684814 }, "else": { "operation": "boost", - "score": 0.05098274350166321 + "score": -0.09490416198968887 } } } + }, + "else": { + "operation": "boost", + "score": 0.01737179048359394 } }, "else": { + "operation": "boost", + "score": 0.0009096846915781498 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.12156980484724045 + "score": -0.027063410729169846 + }, + "else": { + "operation": "boost", + "score": 0.012378011830151081 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006893177982419729 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.875, "then": { - "operation": "boost", - "score": 0.01686248742043972 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.08910602331161499 + "score": 0.09353069961071014 }, "else": { - "operation": "boost", - "score": 0.048994265496730804 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08659645915031433 + }, + "else": { + "operation": "boost", + "score": -0.23353266716003418 + } } + }, + "else": { + "operation": "boost", + "score": -0.015436580404639244 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsDeprecated", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.033992599695920944 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.1340324878692627 + }, + "else": { + "operation": "boost", + "score": -0.12475567311048508 + } }, "else": { - "operation": "boost", - "score": 0.05851421132683754 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07594645023345947 + }, + "else": { + "operation": "boost", + "score": -0.010157149285078049 + } } }, "else": { - "operation": "boost", - "score": -0.08708500117063522 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.005590181797742844 + }, + "else": { + "operation": "boost", + "score": 0.11968585848808289 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.6022821068763733 + }, + "else": { + "operation": "boost", + "score": 0.019478969275951385 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.024652604013681412 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.050873901695013046 + }, + "else": { + "operation": "boost", + "score": -0.2203143835067749 + } + }, + "else": { + "operation": "boost", + "score": -0.2447628378868103 + } + }, + "else": { + "operation": "boost", + "score": -0.08989942818880081 + } + } + } + } } } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06481960415840149 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.6721227765083313 + "score": 0.3011763393878937 }, "else": { - "operation": "boost", - "score": 0.13532572984695435 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.3651650547981262 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10068222880363464 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": -0.05077631399035454 + }, + "else": { + "operation": "boost", + "score": 0.05138997733592987 + } + }, + "else": { + "operation": "boost", + "score": -0.06349991261959076 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06364748626947403 + }, + "else": { + "operation": "boost", + "score": -0.012933227233588696 + } + }, + "else": { + "operation": "boost", + "score": -0.061976365745067596 + } + } + } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.055401671677827835 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.061205800622701645 + "score": 0.019864613190293312 }, "else": { "operation": "boost", - "score": 0.23144197463989258 + "score": 0.011059487238526344 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.75, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.534878134727478 + "score": -0.11440259218215942 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": 0.05670947581529617 - }, - "else": { - "operation": "boost", - "score": 0.0035454982426017523 - } + "operation": "boost", + "score": 0.17899100482463837 }, "else": { "operation": "boost", - "score": 0.005056262016296387 + "score": -0.03424564376473427 } } }, "else": { - "operation": "boost", - "score": -0.5547927618026733 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10844459384679794 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 391.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 583.5, - "then": { - "operation": "boost", - "score": 0.026978034526109695 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 568.5, - "then": { - "operation": "boost", - "score": 0.17366193234920502 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08444564789533615 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 418.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 496.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11506509780883789 + "score": -0.00324549013748765 }, "else": { - "operation": "boost", - "score": -0.06424299627542496 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.02448451705276966 + }, + "else": { + "operation": "boost", + "score": -0.06576202064752579 + } } - }, - "else": { - "operation": "boost", - "score": 0.10455629229545593 } - }, - "else": { - "operation": "boost", - "score": 0.08163942396640778 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.00037145978421904147 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.08074300736188889 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1315.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.04040052741765976 + "score": 0.04740794748067856 }, "else": { - "operation": "boost", - "score": 0.11033417284488678 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10127896815538406 + }, + "else": { + "operation": "boost", + "score": 0.13700860738754272 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { - "operation": "boost", - "score": 0.08372174948453903 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.252867728471756 + }, + "else": { + "operation": "boost", + "score": 0.20823580026626587 + } }, "else": { "operation": "boost", - "score": -0.06997493654489517 + "score": -0.024317026138305664 } } }, "else": { "operation": "boost", - "score": -0.017312856391072273 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820.5, - "then": { - "operation": "boost", - "score": 0.09433823823928833 - }, - "else": { - "operation": "boost", - "score": 0.10704030841588974 - } - }, - "else": { - "operation": "boost", - "score": -0.41609635949134827 + "score": 0.005864245351403952 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 501.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { + "operation": "boost", + "score": 0.029006537050008774 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 807.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 932.0, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { - "operation": "boost", - "score": 0.03096916526556015 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": 0.09484029561281204 + }, + "else": { + "operation": "boost", + "score": 0.11843878775835037 + } + }, + "else": { + "operation": "boost", + "score": -0.005795067176222801 + } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], "then": { "operation": "boost", - "score": -0.4418107569217682 + "score": 0.11509273946285248 }, "else": { "operation": "boost", - "score": -0.15216290950775146 + "score": 0.06786924600601196 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 802.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.2968344986438751 - }, - "else": { - "operation": "boost", - "score": 0.12608838081359863 - } + "operation": "boost", + "score": -0.0073595475405454636 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13024626672267914 + "score": -0.025613509118556976 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.09769793599843979 + "score": -0.04794185981154442 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 643.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { - "operation": "boost", - "score": 0.10352666676044464 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.12062802910804749 + }, + "else": { + "operation": "boost", + "score": 0.10944059491157532 + } }, "else": { - "operation": "boost", - "score": 0.11687019467353821 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.06471014022827148 + }, + "else": { + "operation": "boost", + "score": 0.08324556052684784 + } } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.0038503550458699465 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0046291230246424675 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 631.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.12385508418083191 + "score": -0.6577861309051514 }, "else": { "operation": "boost", - "score": 0.12610983848571777 + "score": -0.02211846597492695 } }, "else": { "operation": "boost", - "score": -0.10430184006690979 + "score": 0.05997772142291069 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "boost", + "score": 0.03928137570619583 + }, + "else": { + "operation": "boost", + "score": -0.05810777470469475 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "boost", - "score": 0.1007758378982544 + "score": -0.21767094731330872 }, "else": { "operation": "boost", - "score": -0.32893604040145874 + "score": 0.08216946572065353 } }, "else": { - "operation": "boost", - "score": 0.0971500352025032 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, + "then": { + "operation": "boost", + "score": 0.07345255464315414 + }, + "else": { + "operation": "boost", + "score": 0.03891140595078468 + } } }, + "else": { + "operation": "boost", + "score": 0.03454658016562462 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1545436531305313 + }, + "else": { + "operation": "boost", + "score": -0.11861295998096466 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.0699712485074997 + }, + "else": { + "operation": "boost", + "score": -0.02477770857512951 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.08569924533367157 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "boost", - "score": 0.10330014675855637 + "score": -0.06514861434698105 }, "else": { "operation": "boost", - "score": -0.013346631079912186 + "score": 0.09019263088703156 } } + }, + "else": { + "operation": "boost", + "score": -0.041406095027923584 } }, "else": { "operation": "boost", - "score": 0.010697031393647194 + "score": 0.09187004715204239 } + }, + "else": { + "operation": "boost", + "score": -0.05739797651767731 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.09528617560863495 }, "else": { "operation": "boost", - "score": -0.10578344017267227 + "score": -0.06257551908493042 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1054546982049942 + "score": 0.07629524916410446 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.1081521138548851 - }, - "else": { - "operation": "boost", - "score": -0.19970297813415527 - } + "operation": "boost", + "score": -0.09570226818323135 } }, "else": { "operation": "boost", - "score": -0.019987337291240692 + "score": 0.0058492072857916355 } - }, - "else": { - "operation": "boost", - "score": -0.2675946056842804 } + }, + "else": { + "operation": "boost", + "score": -6.552321428898722e-05 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 509.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.1477203667163849 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": 0.11621081084012985 + }, + "else": { + "operation": "boost", + "score": -0.02480808086693287 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1121.5, + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, "then": { - "operation": "boost", - "score": 0.007730187848210335 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1043.5, + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, "then": { "operation": "boost", - "score": 0.11340342462062836 + "score": -0.01113086473196745 }, "else": { + "operation": "boost", + "score": -0.12301360070705414 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 754.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.09268483519554138 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 787.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "boost", + "score": 0.14060276746749878 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.11112749576568604 + "score": 0.061347976326942444 }, "else": { "operation": "boost", - "score": 0.134748175740242 + "score": -0.04629715532064438 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": -0.0466998815536499 }, "else": { "operation": "boost", - "score": -0.10457425564527512 + "score": 0.05143182352185249 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": -0.015950413420796394 }, "else": { - "operation": "boost", - "score": 0.11148767918348312 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.13996140658855438 + }, + "else": { + "operation": "boost", + "score": -0.16429808735847473 + } } }, "else": { "operation": "boost", - "score": 0.035980224609375 + "score": 0.009782093577086926 } } } }, "else": { "operation": "boost", - "score": -0.41919776797294617 + "score": -0.0729648768901825 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 498.5, + "feature": "FractionNameInContext", + "threshold": 0.08514492958784103, "then": { "operation": "boost", - "score": 0.12796635925769806 + "score": -0.0010152297327294946 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 414.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 427.0, + "operation": "boost", + "score": -0.0158533938229084 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.32383430004119873 + "score": 0.06600549817085266 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 464.0, - "then": { - "operation": "boost", - "score": -0.44815200567245483 - }, - "else": { - "operation": "boost", - "score": 0.12317033857107162 - } + "operation": "boost", + "score": 0.01950531266629696 }, "else": { "operation": "boost", - "score": -0.09302203357219696 + "score": -0.10899347811937332 } } }, "else": { "operation": "boost", - "score": 0.12815919518470764 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 397.5, - "then": { - "operation": "boost", - "score": -0.18514394760131836 - }, - "else": { - "operation": "boost", - "score": 0.08999814838171005 + "score": 0.008704504929482937 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07862231135368347 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.7521237134933472 - }, - "else": { - "operation": "boost", - "score": -0.02404453046619892 - } - } } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18672.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19474.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19577.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 19792.5, "then": { + "operation": "boost", + "score": 0.00518193282186985 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 460.5, - "then": { - "operation": "boost", - "score": 0.05083946883678436 - }, - "else": { - "operation": "boost", - "score": 0.097058966755867 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.08140164613723755 - }, - "else": { - "operation": "boost", - "score": 0.03870562091469765 - } - }, - "else": { - "operation": "boost", - "score": -0.3478417992591858 - } - } - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.19599084556102753 + "score": -0.08012320846319199 }, "else": { - "operation": "boost", - "score": 0.016061749309301376 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 514.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1093.5, - "then": { - "operation": "boost", - "score": 0.13958141207695007 - }, - "else": { - "operation": "boost", - "score": 0.07160279899835587 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 446.0, - "then": { - "operation": "boost", - "score": 0.11089428514242172 - }, - "else": { - "operation": "boost", - "score": -0.4578693211078644 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02521582692861557 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.11874815076589584 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Expression" + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": 0.10702499747276306 + "score": 0.13063180446624756 }, "else": { "operation": "boost", - "score": 0.06891675293445587 + "score": 0.1159689724445343 } }, "else": { "operation": "boost", - "score": -0.00240090093575418 + "score": 0.0970834419131279 } + }, + "else": { + "operation": "boost", + "score": 0.1027805507183075 } - }, - "else": { - "operation": "boost", - "score": -0.08013244718313217 } + }, + "else": { + "operation": "boost", + "score": -0.22078531980514526 } } }, "else": { + "operation": "boost", + "score": -0.1952407956123352 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09071499854326248 + }, + "else": { + "operation": "boost", + "score": 0.04257889837026596 + } + } + }, + "else": { + "operation": "boost", + "score": -0.014742686413228512 + } + }, + "else": { + "operation": "boost", + "score": -0.00065999774960801 + } + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0021935501135885715 + }, + "else": { + "operation": "boost", + "score": -0.015817271545529366 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11154.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.001006401376798749 + "score": 0.06096900999546051 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11467.0, + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 417741.0, - "then": { - "operation": "boost", - "score": -0.02788316085934639 - }, - "else": { - "operation": "boost", - "score": 0.015869563445448875 - } + "operation": "boost", + "score": -0.2140721082687378 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11209.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11245.0, - "then": { - "operation": "boost", - "score": 0.10251886397600174 - }, - "else": { - "operation": "boost", - "score": 0.10076768696308136 - } - }, - "else": { - "operation": "boost", - "score": -0.013597220182418823 - } + "operation": "boost", + "score": 0.1479707956314087 }, "else": { "operation": "boost", - "score": 0.027594076469540596 + "score": 0.07517065852880478 } } } }, "else": { - "operation": "boost", - "score": -0.009662346914410591 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10134225338697433 + }, + "else": { + "operation": "boost", + "score": 0.043167226016521454 + } + }, + "else": { + "operation": "boost", + "score": 0.010955072939395905 + } } + }, + "else": { + "operation": "boost", + "score": 0.007309332489967346 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00040719524258747697 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.008364851586520672 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.0008709663525223732 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1008845865726471 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { "operation": "boost", - "score": -0.14445452392101288 + "score": 0.07961700111627579 }, "else": { "operation": "boost", - "score": 0.06431876122951508 + "score": 0.009326636791229248 } + }, + "else": { + "operation": "boost", + "score": -0.012115576304495335 } } } }, "else": { - "operation": "boost", - "score": 0.007135366555303335 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", + "CCC_ClassStructUnion", "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.020253712311387062 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.34954750537872314, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { + "operation": "boost", + "score": 0.1247820034623146 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.5419580936431885, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.8055555820465088, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.002316157566383481 + "score": -0.020361049100756645 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.058991286903619766 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.02024233154952526 - }, - "else": { - "operation": "boost", - "score": 0.07976624369621277 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.09242136031389236 - }, - "else": { - "operation": "boost", - "score": 0.11149800568819046 - } - } - }, - "else": { - "operation": "boost", - "score": 0.018621103838086128 - } - } - }, - "else": { - "operation": "boost", - "score": 0.008638624101877213 - } + "operation": "boost", + "score": 0.10917524993419647 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.04383092001080513 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.019900141283869743 - }, - "else": { - "operation": "boost", - "score": 0.1179121807217598 - } - }, - "else": { - "operation": "boost", - "score": -0.14324845373630524 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05525245890021324 - } - }, - "else": { - "operation": "boost", - "score": 0.05810430273413658 - } - }, - "else": { - "operation": "boost", - "score": 0.014305219985544682 - } + "operation": "boost", + "score": 0.1278865933418274 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { "operation": "boost", - "score": 0.11041481792926788 + "score": -0.39501702785491943 }, "else": { "operation": "boost", - "score": -0.031619805842638016 + "score": 0.04522503539919853 } } }, "else": { - "operation": "boost", - "score": -0.017637385055422783 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1324503868818283 + }, + "else": { + "operation": "boost", + "score": 0.08369173109531403 + } + }, + "else": { + "operation": "boost", + "score": 0.12278192490339279 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3660714328289032, "then": { "operation": "boost", - "score": 0.20321883261203766 + "score": -0.008279876783490181 }, "else": { "operation": "boost", - "score": 0.02970978058874607 + "score": 0.11340714991092682 } } + } + }, + "else": { + "operation": "boost", + "score": -0.16931861639022827 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04015068709850311 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { + "operation": "boost", + "score": 0.11454004049301147 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, "then": { "operation": "boost", - "score": 0.054250650107860565 + "score": -0.1798289269208908 }, "else": { "operation": "boost", - "score": 0.1354769468307495 + "score": 0.10099556297063828 } - }, - "else": { - "operation": "boost", - "score": -0.15263499319553375 } } }, "else": { "operation": "boost", - "score": 0.017030807211995125 + "score": 0.018101686611771584 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02732391469180584 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.8055555820465088, "then": { "operation": "boost", - "score": -0.07941841334104538 + "score": 0.16022884845733643 }, "else": { "operation": "boost", - "score": -0.006125560961663723 + "score": -0.05202426761388779 } + }, + "else": { + "operation": "boost", + "score": 0.039976805448532104 } }, "else": { - "operation": "boost", - "score": -0.0005617315182462335 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.029095491394400597 + }, + "else": { + "operation": "boost", + "score": 0.09307758510112762 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.022579673677682877 + }, + "else": { + "operation": "boost", + "score": -0.10194674134254456 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.19177962839603424 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.11611230671405792 + }, + "else": { + "operation": "boost", + "score": 0.09718929976224899 + } + }, + "else": { + "operation": "boost", + "score": 0.053057145327329636 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.43560606241226196, + "then": { + "operation": "boost", + "score": 0.13139772415161133 + }, + "else": { + "operation": "boost", + "score": 0.10231778770685196 + } + } + } + } } } + } + }, + "else": { + "operation": "boost", + "score": 0.0010039054322987795 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 100.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 112.5, + "then": { + "operation": "boost", + "score": 0.08123613893985748 + }, + "else": { + "operation": "boost", + "score": 0.18734273314476013 + } + }, + "else": { + "operation": "boost", + "score": 0.015744240954518318 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.01470186561346054 + }, + "else": { + "operation": "boost", + "score": 0.004518447909504175 + } }, "else": { + "operation": "boost", + "score": 0.11595156788825989 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { + "operation": "boost", + "score": -0.02044200897216797 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0651959627866745, + "then": { + "operation": "boost", + "score": -0.07880876213312149 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.09257243573665619 + }, + "else": { + "operation": "boost", + "score": 0.036113373935222626 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { + "operation": "boost", + "score": -5.1228100346634164e-05 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, "then": { "operation": "boost", - "score": 0.0006641975487582386 + "score": -0.25143399834632874 }, "else": { + "operation": "boost", + "score": 0.024691395461559296 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.0, - "then": { - "operation": "boost", - "score": 0.0803370326757431 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08913838863372803 - }, - "else": { - "operation": "boost", - "score": 0.12457022070884705 - } - } + "operation": "boost", + "score": 0.02905306965112686 }, "else": { "operation": "boost", - "score": 0.016508983448147774 + "score": -0.0006327320006676018 } + }, + "else": { + "operation": "boost", + "score": 0.005362818483263254 } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0033412768971174955 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3158.0, + "then": { + "operation": "boost", + "score": 0.04025118052959442 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04627446457743645 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.05248638242483139 }, "else": { "operation": "boost", - "score": 0.10757023841142654 + "score": -0.03991421312093735 } }, "else": { "operation": "boost", - "score": -0.0052080461755394936 + "score": 0.0051159546710550785 } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03312718868255615 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "boost", + "score": -0.007097771856933832 + }, + "else": { + "operation": "boost", + "score": 0.004211776424199343 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5256.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5905.5, + "then": { + "operation": "boost", + "score": 0.058165792375802994 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.0, "then": { "operation": "boost", - "score": -0.059947021305561066 + "score": 0.13150648772716522 }, "else": { "operation": "boost", - "score": -0.002667909488081932 + "score": 0.10412414371967316 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.024086156859993935 + }, + "else": { + "operation": "boost", + "score": 0.06366453319787979 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { + "operation": "boost", + "score": -0.032401349395513535 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.03676745295524597 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -2.5279407501220703 + "score": 0.015739304944872856 }, "else": { "operation": "boost", - "score": 0.10170585662126541 + "score": -0.05971542000770569 } - }, - "else": { - "operation": "boost", - "score": 0.05412573367357254 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.008382860571146011 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 288840.5, + "then": { + "operation": "boost", + "score": -0.1602701097726822 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.16770081222057343 - }, - "else": { - "operation": "boost", - "score": 0.13334481418132782 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.13441722095012665 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10508548468351364 - }, - "else": { - "operation": "boost", - "score": 0.04954739287495613 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1213027834892273 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 106.0, - "then": { - "operation": "boost", - "score": -0.1857909858226776 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.050296034663915634 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "boost", - "score": 0.07231254875659943 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.14331559836864471 - }, - "else": { - "operation": "boost", - "score": 0.1079799234867096 - } - }, - "else": { - "operation": "boost", - "score": 0.12745270133018494 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.115845687687397 - }, - "else": { - "operation": "boost", - "score": 0.10753285139799118 - } - }, - "else": { - "operation": "boost", - "score": -0.036501444876194 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.13644184172153473 - }, - "else": { - "operation": "boost", - "score": 0.21293038129806519 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.0031540836207568645 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.18188223242759705 - }, - "else": { - "operation": "boost", - "score": 0.10427368432283401 - } - }, - "else": { - "operation": "boost", - "score": -0.02377961575984955 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.09019327163696289 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.5164667963981628 - }, - "else": { - "operation": "boost", - "score": 0.09519120305776596 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1172204539179802 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0731617882847786 - }, - "else": { - "operation": "boost", - "score": 0.10262347757816315 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.1350494921207428 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.16963447630405426 - }, - "else": { - "operation": "boost", - "score": -0.33209228515625 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11877632886171341 - }, - "else": { - "operation": "boost", - "score": -0.1986079216003418 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.22685612738132477 - }, - "else": { - "operation": "boost", - "score": -0.2812710404396057 - } - } - } - } + "operation": "boost", + "score": -0.016238199546933174 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.09922514110803604 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.0, - "then": { - "operation": "boost", - "score": -0.024373851716518402 - }, - "else": { - "operation": "boost", - "score": 0.12146101146936417 - } - }, - "else": { - "operation": "boost", - "score": -0.028266282752156258 - } - }, - "else": { - "operation": "boost", - "score": -0.18966834247112274 - } - } + "operation": "boost", + "score": 0.007223787717521191 } }, "else": { "operation": "boost", - "score": 0.11046609282493591 + "score": -0.022681020200252533 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": -0.04210877791047096 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 413.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12414.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.01617601327598095 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.024830272421240807 - }, - "else": { - "operation": "boost", - "score": -0.044243887066841125 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0668802410364151 - } - }, - "else": { - "operation": "boost", - "score": -0.016626425087451935 - } - }, - "else": { - "operation": "boost", - "score": -0.10397011041641235 - } + "operation": "boost", + "score": 0.15888351202011108 }, "else": { "operation": "boost", - "score": 0.035150814801454544 + "score": -0.3006678819656372 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10476706922054291 - }, - "else": { - "operation": "boost", - "score": 0.037177640944719315 - } - }, - "else": { - "operation": "boost", - "score": 0.004518701694905758 - } - }, - "else": { - "operation": "boost", - "score": -0.0006814105436205864 - } + "operation": "boost", + "score": 0.013088559731841087 } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.01434377022087574 + }, + "else": { + "operation": "boost", + "score": -0.05184672772884369 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04291743040084839 + }, + "else": { + "operation": "boost", + "score": -0.04588254541158676 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": 0.1341058760881424 }, "else": { "operation": "boost", - "score": -0.03691780939698219 + "score": 0.10553991794586182 } + }, + "else": { + "operation": "boost", + "score": -0.061156272888183594 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "boost", - "score": 0.00021293730242177844 + "score": 0.09783259779214859 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.04403195157647133 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03604986518621445 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Type", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.024906432256102562 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11934904009103775 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.00911420863121748 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.016776930540800095 + "score": -0.08472958952188492 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "boost", - "score": 0.11210702359676361 + "score": 0.06303707510232925 }, "else": { - "operation": "boost", - "score": 0.13191205263137817 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.010307964868843555 + }, + "else": { + "operation": "boost", + "score": 0.1265457570552826 + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.010085963644087315 }, "else": { - "operation": "boost", - "score": 0.052608489990234375 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "boost", + "score": 0.037799324840307236 + }, + "else": { + "operation": "boost", + "score": 0.11533814668655396 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.010038836859166622 + }, + "else": { + "operation": "boost", + "score": 0.0500173382461071 + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.08307820558547974 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.061324089765548706 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "Type" ], "then": { "operation": "boost", - "score": -0.015106831677258015 + "score": 0.0664108619093895 }, "else": { "operation": "boost", - "score": -0.010564321652054787 + "score": 0.01320897787809372 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.07660208642482758 - }, - "else": { - "operation": "boost", - "score": 0.15584753453731537 - } + "operation": "boost", + "score": -0.004524445626884699 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10403822362422943 - }, - "else": { - "operation": "boost", - "score": 0.01176818273961544 - } + "operation": "boost", + "score": -0.031980205327272415 }, "else": { "operation": "boost", - "score": 0.027325663715600967 + "score": -0.18022198975086212 } } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12430871278047562 - }, - "else": { - "operation": "boost", - "score": 0.0034042024053633213 - } - }, - "else": { - "operation": "boost", - "score": -0.06988529860973358 - } - }, - "else": { - "operation": "boost", - "score": 0.009522299282252789 - } + "operation": "boost", + "score": 0.02833181992173195 }, "else": { "operation": "boost", - "score": 0.020633716136217117 + "score": 0.10395606607198715 } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "boost", + "score": -0.1832636296749115 + } + }, + "else": { + "operation": "boost", + "score": -0.024380140006542206 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.0013387203216552734 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.006008528638631105 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.00689384900033474 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.006979840341955423 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 94.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.14398688077926636 + "score": 0.08396939933300018 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 119.0, "then": { "operation": "boost", - "score": -0.1305142641067505 + "score": -0.104608453810215 }, "else": { "operation": "boost", - "score": 0.0958184003829956 + "score": 0.30754318833351135 } } }, "else": { "operation": "boost", - "score": 0.0583610013127327 + "score": 0.028017038479447365 } }, "else": { "operation": "boost", - "score": -0.1070014238357544 + "score": 0.004529754165560007 } }, "else": { "operation": "boost", - "score": 0.02414948120713234 + "score": -0.0010581054957583547 } - }, - "else": { - "operation": "boost", - "score": -0.005883995909243822 } } - }, - "else": { - "operation": "boost", - "score": -0.031234797090291977 } } } - }, - "else": { - "operation": "boost", - "score": -0.020651962608098984 } - }, - "else": { - "operation": "boost", - "score": -0.00047630988410674036 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.007739389315247536 + "score": 0.0015979873714968562 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2396.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 2397.5, "then": { - "operation": "boost", - "score": 0.0003895792178809643 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 5397.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011914726346731186 - }, - "else": { - "operation": "boost", - "score": 0.06423261761665344 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "feature": "NumReferences", + "threshold": 5576.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "boost", - "score": -0.028537483885884285 + "score": -0.004807665478438139 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 82959.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.3197402358055115 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108013.0, + "then": { + "operation": "boost", + "score": 0.024868043139576912 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.0, + "then": { + "operation": "boost", + "score": 0.08618427813053131 + }, + "else": { + "operation": "boost", + "score": 0.04799894988536835 + } + }, + "else": { + "operation": "boost", + "score": 0.013976935297250748 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00932010542601347 + } }, "else": { "operation": "boost", - "score": 0.08177152276039124 + "score": -0.13563276827335358 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.07031174749135971 - }, - "else": { - "operation": "boost", - "score": 0.09773346036672592 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.09911344200372696 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.0, + "threshold": 40920.5, "then": { "operation": "boost", - "score": -0.024701323360204697 + "score": -0.014532545581459999 }, "else": { - "operation": "boost", - "score": 0.12364489585161209 - } - }, - "else": { - "operation": "boost", - "score": -0.18159723281860352 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 35.5, + "threshold": 34239.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.016926156356930733 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.050787486135959625 + "score": 0.08176279067993164 }, "else": { "operation": "boost", - "score": 0.12368885427713394 + "score": 0.04516613855957985 } + }, + "else": { + "operation": "boost", + "score": -0.6152410507202148 } }, "else": { - "operation": "boost", - "score": -0.19217398762702942 - } - }, - "else": { - "operation": "boost", - "score": -0.08721726387739182 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.09411483258008957 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.11398769915103912 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 20510.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07748521119356155 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.003595477668568492 + }, + "else": { + "operation": "boost", + "score": 0.12106561660766602 + } + }, + "else": { + "operation": "boost", + "score": -0.1314811408519745 + } }, "else": { - "operation": "boost", - "score": 0.09928549081087112 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26287.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27130.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33599.0, + "then": { + "operation": "boost", + "score": -0.061570726335048676 + }, + "else": { + "operation": "boost", + "score": 0.032432038336992264 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.12923820316791534 + }, + "else": { + "operation": "boost", + "score": 0.05902621150016785 + } + }, + "else": { + "operation": "boost", + "score": -0.005060578230768442 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03573218733072281 + } } }, - "else": { - "operation": "boost", - "score": -0.10057640075683594 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.14154313504695892 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 15833.0, "then": { - "operation": "boost", - "score": 0.11094887554645538 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { + "operation": "boost", + "score": 0.21404483914375305 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23.5, + "threshold": 17873.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.5225893259048462 + "score": 0.013822384178638458 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.058416418731212616 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18662.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18751.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20192.0, + "then": { + "operation": "boost", + "score": 0.13662715256214142 + }, + "else": { + "operation": "boost", + "score": 0.05733737722039223 + } + }, + "else": { + "operation": "boost", + "score": 0.19101057946681976 + } + }, + "else": { + "operation": "boost", + "score": 0.02588443085551262 + } + }, + "else": { + "operation": "boost", + "score": -0.04394647851586342 + } }, "else": { "operation": "boost", - "score": 0.08653315901756287 + "score": 0.0189013984054327 } } }, "else": { - "operation": "boost", - "score": -0.027563277631998062 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.14106380939483643 + }, + "else": { + "operation": "boost", + "score": -0.10277081280946732 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16033.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16182.5, + "then": { + "operation": "boost", + "score": 0.10330194979906082 + }, + "else": { + "operation": "boost", + "score": 0.1393010914325714 + } + }, + "else": { + "operation": "boost", + "score": 0.04631010815501213 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1271970421075821 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.1322007179260254 + }, + "else": { + "operation": "boost", + "score": 0.11848154664039612 + } + } + }, + "else": { + "operation": "boost", + "score": -0.19826802611351013 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0216293353587389 + } + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.009850375354290009 }, "else": { "operation": "boost", - "score": 0.1014089286327362 + "score": 0.029360469430685043 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28052.5, "then": { - "operation": "boost", - "score": 0.07519113272428513 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.13177964091300964 + }, + "else": { + "operation": "boost", + "score": 0.10490526258945465 + } }, "else": { "operation": "boost", - "score": -0.2819025218486786 + "score": -0.04435020312666893 } } - }, - "else": { - "operation": "boost", - "score": -0.1675855815410614 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.05763941630721092 - }, - "else": { - "operation": "boost", - "score": 0.09022194892168045 } - }, - "else": { - "operation": "boost", - "score": -0.0629008561372757 } - }, - "else": { - "operation": "boost", - "score": 0.1266094297170639 } } }, "else": { "operation": "boost", - "score": -0.007079871837049723 + "score": -0.16860315203666687 } }, "else": { "operation": "boost", - "score": 0.02697604149580002 + "score": -0.003072714665904641 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.007057188544422388 }, "else": { - "operation": "boost", - "score": -0.12940238416194916 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 315.0, + "threshold": 5315.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 341.0, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.061129890382289886 - }, - "else": { - "operation": "boost", - "score": 0.08614609390497208 - } + "operation": "boost", + "score": -0.10092984884977341 }, "else": { "operation": "boost", - "score": 0.10956519097089767 + "score": 0.12790629267692566 } }, "else": { "operation": "boost", - "score": 0.11657475680112839 + "score": 0.10674437135457993 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4094.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.031699128448963165 - }, - "else": { - "operation": "boost", - "score": -0.028880596160888672 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 4972.0, "then": { "operation": "boost", - "score": -0.09280028939247131 + "score": -0.012874899432063103 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.4348449409008026 - }, - "else": { - "operation": "boost", - "score": -0.16498684883117676 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4917.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.11382262408733368 + "score": 0.10348332673311234 }, "else": { + "operation": "boost", + "score": 0.14552117884159088 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.0, + "threshold": 4100.0, "then": { - "operation": "boost", - "score": -0.48523440957069397 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "boost", - "score": -0.013476797379553318 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.05607042461633682 + "score": -0.27603012323379517 }, "else": { "operation": "boost", - "score": 0.09587884694337845 + "score": 0.1643393337726593 } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.2980473041534424 - } - }, - "else": { - "operation": "boost", - "score": -1.1131967306137085 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.005164178553968668 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 4565.0, "then": { - "operation": "boost", - "score": 0.14149077236652374 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4629.5, + "then": { + "operation": "boost", + "score": 0.0877143070101738 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.045170027762651443 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.13811659812927246 + }, + "else": { + "operation": "boost", + "score": 0.10648380219936371 + } + } + } }, "else": { "operation": "boost", - "score": -0.22135639190673828 + "score": 0.04937734082341194 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.0024388842284679413 + "score": 0.15703009068965912 }, "else": { "operation": "boost", - "score": -0.6253217458724976 + "score": 0.004165453836321831 } } }, + "else": { + "operation": "boost", + "score": 0.06066347658634186 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3952.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3978.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.39005568623542786 + }, + "else": { + "operation": "boost", + "score": 0.014675647020339966 + } + }, + "else": { + "operation": "boost", + "score": -0.22241167724132538 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3432.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3864.0, + "then": { + "operation": "boost", + "score": -0.0399707555770874 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.016466598957777023 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 3695.5, "then": { + "operation": "boost", + "score": 0.06367719173431396 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 3687.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "boost", + "score": 0.15062099695205688 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { + "operation": "boost", + "score": 0.1441708356142044 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 3527.0, "then": { "operation": "boost", - "score": 0.1176210567355156 + "score": -0.01014040969312191 }, "else": { - "operation": "boost", - "score": 0.173732727766037 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.12637624144554138 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11249999701976776, + "then": { + "operation": "boost", + "score": 0.13048957288265228 + }, + "else": { + "operation": "boost", + "score": 0.3291146457195282 + } + } } - }, - "else": { - "operation": "boost", - "score": -0.03899272158741951 } - }, - "else": { - "operation": "boost", - "score": 0.13789357244968414 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.06393085420131683 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.10042941570281982 - }, - "else": { - "operation": "boost", - "score": 0.1247502788901329 - } - }, - "else": { - "operation": "boost", - "score": -0.056577153503894806 - } - }, - "else": { - "operation": "boost", - "score": 0.14039413630962372 - } + "operation": "boost", + "score": 0.1388203501701355 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.10642863810062408 - }, - "else": { - "operation": "boost", - "score": -0.14967665076255798 - } + "operation": "boost", + "score": -0.5117800235748291 } + }, + "else": { + "operation": "boost", + "score": 0.17429755628108978 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.03233924135565758 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0004653522337321192 + "score": -0.011308778077363968 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.047438979148864746 - }, - "else": { - "operation": "boost", - "score": 0.3005189597606659 - } - }, - "else": { - "operation": "boost", - "score": 0.11614035815000534 - } - }, - "else": { - "operation": "boost", - "score": -0.020810218527913094 - } + "operation": "boost", + "score": 0.39083996415138245 } }, "else": { "operation": "boost", - "score": -0.005292579066008329 + "score": 0.04164163023233414 } } } @@ -259607,2382 +255797,2288 @@ }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 2501.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.0, - "then": { - "operation": "boost", - "score": -0.14379720389842987 - }, - "else": { - "operation": "boost", - "score": 0.0988018661737442 - } - }, - "else": { - "operation": "boost", - "score": -0.1866455078125 - } - }, - "else": { - "operation": "boost", - "score": 0.10194612294435501 - } + "operation": "boost", + "score": 0.00012710060400422662 }, "else": { - "operation": "boost", - "score": -0.08604786545038223 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2481.0, "then": { "operation": "boost", - "score": 0.049084920436143875 + "score": 0.13112479448318481 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.0963142067193985 + "score": 0.013177946209907532 }, "else": { - "operation": "boost", - "score": -0.13243135809898376 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 2471.5, "then": { "operation": "boost", - "score": 0.3095932602882385 + "score": 0.11720442771911621 }, "else": { "operation": "boost", - "score": -0.11073615401983261 + "score": 0.12374068051576614 } - }, - "else": { - "operation": "boost", - "score": 0.07101621478796005 } - }, - "else": { - "operation": "boost", - "score": 0.05984000116586685 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.41180410981178284 - }, - "else": { - "operation": "boost", - "score": -0.02151193656027317 - } } } } + }, + "else": { + "operation": "boost", + "score": 0.1608429253101349 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0027351484168320894 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 8851.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.1076095923781395 - }, - "else": { - "operation": "boost", - "score": 0.1042371541261673 - } + "operation": "boost", + "score": -0.07305506616830826 }, "else": { + "operation": "boost", + "score": 0.007475765887647867 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8831.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21258.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.11495395749807358 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.04708632081747055 + "score": 0.22999724745750427 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.3753570020198822 - }, - "else": { - "operation": "boost", - "score": -0.10243230313062668 - } + "operation": "boost", + "score": 0.15374435484409332 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13407723605632782 }, "else": { + "operation": "boost", + "score": -0.11082567274570465 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2433.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20.5, + "threshold": 3587.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23.5, + "threshold": 6106.0, "then": { - "operation": "boost", - "score": 0.0029230352956801653 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 6801.5, "then": { - "operation": "boost", - "score": 0.12863722443580627 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6821.0, + "then": { + "operation": "boost", + "score": 0.04482494667172432 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.2534198462963104 + }, + "else": { + "operation": "boost", + "score": 0.21302706003189087 + } + } }, "else": { "operation": "boost", - "score": -0.15420381724834442 + "score": -0.10107363015413284 } - } - }, - "else": { - "operation": "boost", - "score": -0.10172433406114578 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 240.5, - "then": { - "operation": "boost", - "score": -0.0338008813560009 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 212.5, + "threshold": 6080.0, "then": { - "operation": "boost", - "score": 0.12077296525239944 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.16436079144477844 + }, + "else": { + "operation": "boost", + "score": 0.11972498893737793 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.11962717771530151 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.7965317964553833 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.16530495882034302 + }, + "else": { + "operation": "boost", + "score": -0.10785926878452301 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.3622540235519409 + } + }, + "else": { + "operation": "boost", + "score": -0.10544838756322861 + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.40954989194869995 + "score": -0.008018720895051956 }, "else": { - "operation": "boost", - "score": 0.09418761730194092 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4409.0, + "then": { + "operation": "boost", + "score": 0.0558781772851944 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4403.0, + "then": { + "operation": "boost", + "score": 0.16606608033180237 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4138.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4180.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.07059740275144577 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4308.0, + "then": { + "operation": "boost", + "score": -0.06223750114440918 + }, + "else": { + "operation": "boost", + "score": 0.11451612412929535 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1476014107465744 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4015.0, + "then": { + "operation": "boost", + "score": -0.12407654523849487 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3727.5, + "then": { + "operation": "boost", + "score": -0.12533320486545563 + }, + "else": { + "operation": "boost", + "score": 0.13652141392230988 + } + }, + "else": { + "operation": "boost", + "score": 0.12268286198377609 + } + } + } + } + } } } } }, "else": { "operation": "boost", - "score": 0.11815714836120605 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.01260468177497387 - }, - "else": { - "operation": "boost", - "score": 0.2717243731021881 + "score": -0.07997392863035202 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.017691675573587418 - }, - "else": { - "operation": "boost", - "score": 0.04896999150514603 - } + "operation": "boost", + "score": 0.08716267347335815 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 2422.0, "then": { "operation": "boost", - "score": -0.13671055436134338 + "score": 0.2382049560546875 }, "else": { "operation": "boost", - "score": -0.05015278607606888 + "score": 0.10913856327533722 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.026728054508566856 }, "else": { "operation": "boost", - "score": -0.02870994433760643 + "score": -0.04509132727980614 } }, "else": { "operation": "boost", - "score": 0.019530437886714935 + "score": -0.05741146579384804 } } } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "boost", + "score": -0.12260942906141281 + }, + "else": { + "operation": "boost", + "score": 0.03796868398785591 + } + }, + "else": { + "operation": "boost", + "score": -0.019109368324279785 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.13042590022087097 + }, + "else": { + "operation": "boost", + "score": -0.13377737998962402 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009567167609930038 + } + }, + "else": { + "operation": "boost", + "score": -0.0003913131367880851 + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.13074585795402527 + }, + "else": { + "operation": "boost", + "score": 0.07976502925157547 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.48565346002578735 + }, + "else": { + "operation": "boost", + "score": 0.20289431512355804 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9375, + "then": { + "operation": "boost", + "score": 0.2208116501569748 + }, + "else": { + "operation": "boost", + "score": 0.004667395260185003 + } + } + }, + "else": { + "operation": "boost", + "score": -0.011190575547516346 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "boost", + "score": 0.08978629112243652 + }, + "else": { + "operation": "boost", + "score": 0.015534039586782455 + } + }, + "else": { + "operation": "boost", + "score": 0.003246947657316923 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9444444179534912, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09479136765003204 + }, + "else": { + "operation": "boost", + "score": -0.08353931456804276 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.12812277674674988 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.3049219250679016 + }, + "else": { + "operation": "boost", + "score": 0.10538511723279953 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.3002622127532959 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03985106572508812 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "boost", + "score": -0.21254700422286987 + }, + "else": { + "operation": "boost", + "score": -0.06665343791246414 + } + } + }, + "else": { + "operation": "boost", + "score": -0.24635915458202362 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.25927630066871643 + }, + "else": { + "operation": "boost", + "score": -0.014873871579766273 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.000561980064958334 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, "then": { - "operation": "boost", - "score": 0.014327243901789188 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "boost", + "score": 0.0037456329446285963 + }, + "else": { + "operation": "boost", + "score": -0.059857457876205444 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "boost", + "score": -0.09139084815979004 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "boost", - "score": 0.0718604028224945 + "score": 0.09238862246274948 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.021021706983447075 + "score": 0.0412106066942215 }, "else": { "operation": "boost", - "score": 0.10663313418626785 + "score": 0.2453717589378357 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.032818764448165894 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.025674227625131607 }, "else": { "operation": "boost", - "score": 0.015953585505485535 + "score": -0.3473508358001709 } } - }, - "else": { - "operation": "boost", - "score": -0.010474073700606823 } - }, - "else": { - "operation": "boost", - "score": 0.025431349873542786 } } } } - }, - "else": { - "operation": "boost", - "score": -0.020546546205878258 } - }, - "else": { - "operation": "boost", - "score": -0.000392021203879267 } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.006851886864751577 }, "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 406.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.06715303659439087 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08193831890821457 + }, + "else": { + "operation": "boost", + "score": -0.024001026526093483 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": 0.10252304375171661 + }, + "else": { + "operation": "boost", + "score": 0.11098016053438187 + } + } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.06344889104366302 + "score": 0.024035153910517693 }, "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07724546641111374 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029147321358323097 + }, + "else": { + "operation": "boost", + "score": -0.06683365255594254 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1272.0, + "threshold": 77.5, "then": { "operation": "boost", - "score": 0.07575211673974991 + "score": -0.08351227641105652 + }, + "else": { + "operation": "boost", + "score": 0.10323992371559143 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07544487714767456 + }, + "else": { + "operation": "boost", + "score": 0.0392163060605526 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 897.0, + "threshold": 92.0, "then": { "operation": "boost", - "score": 0.21484492719173431 + "score": 0.04226791113615036 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.5471271872520447 + "score": 0.011049703694880009 }, "else": { "operation": "boost", - "score": -0.18817374110221863 + "score": -0.04463495686650276 } } } } - } - }, - "else": { - "operation": "boost", - "score": -0.03519764542579651 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 286988.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "boost", + "score": -0.03731849044561386 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 123460.5, "then": { + "operation": "boost", + "score": 0.03457871079444885 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_Statement", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": -0.040968891233205795 + "score": 0.08965781331062317 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.13493719696998596 + } + }, + "else": { + "operation": "boost", + "score": 0.05241771042346954 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6753.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17326.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18069.5, + "then": { + "operation": "boost", + "score": -0.0037595811299979687 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.06190428137779236 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.049499012529850006 + "score": 0.07959244400262833 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.0959152951836586 + "score": 0.19437475502490997 }, "else": { "operation": "boost", - "score": 0.09194625914096832 + "score": 0.11611520498991013 } } + }, + "else": { + "operation": "boost", + "score": 0.03778243064880371 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "boost", + "score": -0.09011740237474442 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.003444362198933959 + }, + "else": { + "operation": "boost", + "score": -0.14275701344013214 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0003629112907219678 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.019176477566361427 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 167.5, "then": { + "operation": "boost", + "score": 0.05421781167387962 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 131.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 155.0, "then": { + "operation": "boost", + "score": 0.1623256653547287 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.018524421378970146 + "score": 0.14179562032222748 }, "else": { "operation": "boost", - "score": 0.025130782276391983 + "score": 0.15358686447143555 } - }, - "else": { - "operation": "boost", - "score": -0.004522291943430901 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 127.5, "then": { "operation": "boost", - "score": 0.04000544920563698 + "score": -0.13023020327091217 }, "else": { "operation": "boost", - "score": 0.025093426927924156 + "score": 0.1814536452293396 } } - }, - "else": { - "operation": "boost", - "score": 0.0048154969699680805 } + }, + "else": { + "operation": "boost", + "score": 0.007954234257340431 } + } + }, + "else": { + "operation": "boost", + "score": 0.006811150349676609 + } + }, + "else": { + "operation": "boost", + "score": -0.014782804995775223 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0889640673995018 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.021947575733065605 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.05898451805114746 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.5256078243255615 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.18002960085868835 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.19555439054965973 + }, + "else": { + "operation": "boost", + "score": 0.12986735999584198 + } + } + } + } }, "else": { "operation": "boost", - "score": 0.0869184359908104 + "score": -0.016295308247208595 } }, "else": { - "operation": "boost", - "score": 0.004684971179813147 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.1092158854007721 + }, + "else": { + "operation": "boost", + "score": -0.5028961300849915 + } + }, + "else": { + "operation": "boost", + "score": 0.007166189141571522 + } } }, "else": { "operation": "boost", - "score": -0.05193287879228592 + "score": -0.024802224710583687 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.01234542578458786 + }, + "else": { + "operation": "boost", + "score": 0.02859276719391346 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "boost", - "score": 0.0007103539537638426 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.12004078179597855 + }, + "else": { + "operation": "boost", + "score": 0.039380788803100586 + } + }, + "else": { + "operation": "boost", + "score": -0.011107471771538258 + } + }, + "else": { + "operation": "boost", + "score": 0.026273507624864578 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.03238387778401375 - }, - "else": { - "operation": "boost", - "score": 0.027564693242311478 - } + "operation": "boost", + "score": 0.12293075770139694 + }, + "else": { + "operation": "boost", + "score": 0.07267820090055466 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": -0.07022861391305923 }, "else": { + "operation": "boost", + "score": 0.004149146378040314 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.0023672578390687704 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.0287215244024992 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.01603839360177517 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2863636612892151, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.14116662740707397 - }, - "else": { - "operation": "boost", - "score": 0.18283188343048096 - } + "operation": "boost", + "score": -0.055284932255744934 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10501769185066223 - }, - "else": { - "operation": "boost", - "score": -0.1804688274860382 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.007627296261489391 - }, - "else": { - "operation": "boost", - "score": 0.12453731894493103 - } - }, - "else": { - "operation": "boost", - "score": 0.12546870112419128 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.017664290964603424 - }, - "else": { - "operation": "boost", - "score": 0.09893069416284561 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.054456256330013275 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11779310554265976 - }, - "else": { - "operation": "boost", - "score": 0.056155260652303696 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12452411651611328 - }, - "else": { - "operation": "boost", - "score": -0.10447164624929428 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.08446159213781357 - }, - "else": { - "operation": "boost", - "score": 0.009707543067634106 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.0781233161687851 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.060600396245718 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.1833265721797943 - }, - "else": { - "operation": "boost", - "score": 0.18423554301261902 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, - "then": { - "operation": "boost", - "score": -0.000344025349477306 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.12643741071224213 - }, - "else": { - "operation": "boost", - "score": 0.15460141003131866 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05857449769973755 - } - }, - "else": { - "operation": "boost", - "score": 0.19069983065128326 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.0, - "then": { - "operation": "boost", - "score": 0.013701925985515118 - }, - "else": { - "operation": "boost", - "score": 0.11832994222640991 - } - }, - "else": { - "operation": "boost", - "score": -0.060866374522447586 - } - } - } + "operation": "boost", + "score": -0.2072470337152481 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.027970878407359123 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 599.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 807.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1019.5, - "then": { - "operation": "boost", - "score": -0.003472345881164074 - }, - "else": { - "operation": "boost", - "score": -0.3356894254684448 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 774.5, - "then": { - "operation": "boost", - "score": 0.09941401332616806 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.0044600204564630985 - }, - "else": { - "operation": "boost", - "score": 0.09523293375968933 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 222.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.009174668230116367 - }, - "else": { - "operation": "boost", - "score": -0.25791865587234497 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 94.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.0, - "then": { - "operation": "boost", - "score": -0.03254718333482742 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.24272985756397247 - }, - "else": { - "operation": "boost", - "score": 0.10964567214250565 - } - }, - "else": { - "operation": "boost", - "score": 0.024718446657061577 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06270124763250351 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.015373938716948032 + "score": 0.0025858357548713684 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "boost", - "score": 0.12471210211515427 + "score": 0.02622651681303978 }, "else": { "operation": "boost", - "score": -0.2032732516527176 + "score": 0.057095061987638474 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.04641037806868553 - }, - "else": { - "operation": "boost", - "score": -0.04743293672800064 - } }, "else": { "operation": "boost", - "score": 0.03690040111541748 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.4917946457862854 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11614057421684265 - }, - "else": { - "operation": "boost", - "score": -0.41311731934547424 - } + "score": -0.6448265314102173 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71.5, - "then": { - "operation": "boost", - "score": -0.04994627460837364 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.0, - "then": { - "operation": "boost", - "score": 0.11795897781848907 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.0, - "then": { - "operation": "boost", - "score": -0.2399912029504776 - }, - "else": { - "operation": "boost", - "score": 0.09894946962594986 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.15072515606880188 - } + "operation": "boost", + "score": -0.004270222503691912 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.10413751006126404 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.5, - "then": { - "operation": "boost", - "score": -0.5076966285705566 - }, - "else": { - "operation": "boost", - "score": 0.1267314851284027 - } + "operation": "boost", + "score": 0.07766437530517578 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.33819615840911865 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.12102296203374863 - }, - "else": { - "operation": "boost", - "score": 0.09874720126390457 - } - } + "operation": "boost", + "score": -0.28119245171546936 } + }, + "else": { + "operation": "boost", + "score": -0.06350986659526825 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.09660622477531433 - }, - "else": { - "operation": "boost", - "score": -0.1608843207359314 - } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { + "operation": "boost", + "score": 0.07659611105918884 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 54.0, "then": { + "operation": "boost", + "score": -1.5098541975021362 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18.0, + "threshold": 19.0, "then": { "operation": "boost", - "score": -0.23355883359909058 + "score": 0.14344090223312378 }, "else": { "operation": "boost", - "score": 0.12351249158382416 + "score": 0.020610973238945007 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04600830376148224 }, "else": { "operation": "boost", - "score": 0.023855380713939667 + "score": -0.04672861844301224 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.0, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { "operation": "boost", - "score": 0.03476638346910477 + "score": -0.149762824177742 }, "else": { "operation": "boost", - "score": 0.1106627881526947 + "score": 0.030305059626698494 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.08698362112045288 + "score": 0.010159398429095745 }, "else": { "operation": "boost", - "score": -0.09773164242506027 + "score": -0.05832929164171219 } } } - }, - "else": { - "operation": "boost", - "score": 0.03187849000096321 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 214.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224.0, - "then": { - "operation": "boost", - "score": 0.002450913656502962 }, "else": { "operation": "boost", - "score": 0.09280730783939362 + "score": -0.029634321108460426 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.26008278131484985 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": 0.030522974207997322 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.04652441665530205 + "score": 0.027088375762104988 }, "else": { - "operation": "boost", - "score": 0.14069095253944397 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.038747262209653854 + "score": -0.09516719728708267 }, "else": { "operation": "boost", - "score": -0.2731027603149414 + "score": -0.019138844683766365 } - }, - "else": { - "operation": "boost", - "score": -0.021546589210629463 } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04837169125676155 }, "else": { "operation": "boost", - "score": 0.10492318123579025 + "score": -0.00632390845566988 } - }, - "else": { - "operation": "boost", - "score": -0.05030452087521553 } - }, - "else": { - "operation": "boost", - "score": -0.018741009756922722 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": 0.10761498659849167 - }, - "else": { - "operation": "boost", - "score": -0.08527097851037979 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.03406423702836037 + "score": 0.0014847440179437399 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.11302810162305832 + "score": -0.03020651452243328 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.11495240777730942 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.13203583657741547 - }, - "else": { - "operation": "boost", - "score": 0.008819677866995335 - } - }, - "else": { - "operation": "boost", - "score": 0.11826110631227493 - } - }, - "else": { - "operation": "boost", - "score": -0.011043858714401722 - } + "operation": "boost", + "score": 0.07915075868368149 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08842584490776062 - }, - "else": { - "operation": "boost", - "score": 0.10719464719295502 - } + "operation": "boost", + "score": 0.12486733496189117 } - }, - "else": { - "operation": "boost", - "score": 0.061219025403261185 } } }, "else": { "operation": "boost", - "score": 0.020848432555794716 + "score": -0.08645346760749817 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.025970419868826866 - }, - "else": { - "operation": "boost", - "score": 0.07858257740736008 - } + "operation": "boost", + "score": -0.018060006201267242 } } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.004269205033779144 - }, - "else": { - "operation": "boost", - "score": -0.015707531943917274 - } } } }, "else": { "operation": "boost", - "score": -0.001069108140654862 + "score": -0.0009163310169242322 } - }, - "else": { - "operation": "boost", - "score": -0.07001685351133347 } } } }, { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" + "CCC_Symbol" ], "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.056234266608953476 + }, + "else": { + "operation": "boost", + "score": 0.004801740869879723 + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "GlobalScope" + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" ], + "then": { + "operation": "boost", + "score": 0.0017277721781283617 + }, + "else": { + "operation": "boost", + "score": -0.12600643932819366 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62087.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.038224752992391586 - }, - "else": { - "operation": "boost", - "score": 0.09316638857126236 - } - }, - "else": { - "operation": "boost", - "score": 0.020161915570497513 - } - }, - "else": { - "operation": "boost", - "score": -0.006782049313187599 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1083984225988388 - }, - "else": { - "operation": "boost", - "score": 0.05160350725054741 - } - } + "operation": "boost", + "score": 0.030585123226046562 }, "else": { "operation": "boost", - "score": -2.418523217784241e-05 + "score": -0.006180211436003447 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.01758388988673687 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, "then": { "operation": "boost", - "score": 0.019157802686095238 + "score": 0.11303509771823883 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.02373264729976654 + "score": -0.04388224706053734 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": -0.027973897755146027 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.773809552192688, "then": { + "operation": "boost", + "score": 0.11620714515447617 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 158.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 431.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0462900772690773 + "score": -0.12419968098402023 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5902777910232544, "then": { "operation": "boost", - "score": 0.10217089205980301 + "score": 0.14139395952224731 }, "else": { "operation": "boost", - "score": 0.1056140884757042 + "score": 0.003375125350430608 } } }, + "else": { + "operation": "boost", + "score": -0.04340657964348793 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.11980392783880234 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "boost", - "score": -0.0025578744243830442 + "score": 0.11735739558935165 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02989800088107586 - }, - "else": { - "operation": "boost", - "score": -1.4933841228485107 - } + "operation": "boost", + "score": -0.008341665379703045 } } - }, - "else": { + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08600186556577682 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "boost", + "score": -0.012247410602867603 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.11245419830083847 + "score": -0.0402148999273777 }, "else": { "operation": "boost", - "score": 0.10263665020465851 + "score": 0.07814985513687134 } + }, + "else": { + "operation": "boost", + "score": -0.039828915148973465 } }, "else": { + "operation": "boost", + "score": 0.0990787222981453 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.6031245589256287 + }, + "else": { + "operation": "boost", + "score": -0.035783786326646805 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { - "operation": "boost", - "score": -0.2127077728509903 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { "operation": "boost", - "score": -0.18747185170650482 + "score": -0.16369082033634186 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.10876984149217606 + "score": 0.0006466511404141784 }, "else": { "operation": "boost", - "score": 0.0462905578315258 + "score": 0.07862874120473862 } } + }, + "else": { + "operation": "boost", + "score": 0.03714175149798393 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 309.5, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 372.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 888.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29053.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73487.5, - "then": { - "operation": "boost", - "score": -0.05840012803673744 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47991.5, - "then": { - "operation": "boost", - "score": 0.09190305322408676 - }, - "else": { - "operation": "boost", - "score": 0.022360196337103844 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08578485250473022 - }, - "else": { - "operation": "boost", - "score": -0.457282692193985 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10171.5, - "then": { - "operation": "boost", - "score": -0.4082866609096527 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1608.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02040606550872326 - }, - "else": { - "operation": "boost", - "score": 0.09381222724914551 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1043.5, - "then": { - "operation": "boost", - "score": -0.45704302191734314 - }, - "else": { - "operation": "boost", - "score": 0.10990212857723236 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.2519446015357971 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 818.5, - "then": { - "operation": "boost", - "score": 0.10421105474233627 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.005182112101465464 - }, - "else": { - "operation": "boost", - "score": 0.09872069209814072 - } - }, - "else": { - "operation": "boost", - "score": -0.15784913301467896 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.00533424923196435 - }, - "else": { - "operation": "boost", - "score": 0.11493932455778122 - } - } + "operation": "boost", + "score": -0.011398477479815483 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.6365606188774109 + "score": 0.08401931077241898 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.09471707791090012 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11282128840684891 - }, - "else": { - "operation": "boost", - "score": 0.034811485558748245 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241.5, - "then": { - "operation": "boost", - "score": 0.0844988077878952 - }, - "else": { - "operation": "boost", - "score": -0.01467046607285738 - } - }, - "else": { - "operation": "boost", - "score": 0.09801968187093735 - } - }, - "else": { - "operation": "boost", - "score": -0.06688416749238968 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.0, - "then": { "operation": "boost", - "score": -0.6640889644622803 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.8018255829811096 - }, - "else": { - "operation": "boost", - "score": 0.09955229610204697 - } - }, - "else": { - "operation": "boost", - "score": -0.6019573211669922 - } - }, - "else": { - "operation": "boost", - "score": 0.0874486193060875 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.5743013024330139 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.07142258435487747 - }, - "else": { - "operation": "boost", - "score": -0.040522798895835876 - } - }, - "else": { - "operation": "boost", - "score": -0.13377000391483307 - } - }, - "else": { - "operation": "boost", - "score": 0.005777588579803705 - } - } - } + "score": 0.03936021402478218 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11159.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13797.5, - "then": { - "operation": "boost", - "score": 0.006647639442235231 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13744.0, - "then": { - "operation": "boost", - "score": 0.1529272496700287 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.37656113505363464 - }, - "else": { - "operation": "boost", - "score": 0.06523814052343369 - } - } + "operation": "boost", + "score": 0.019298475235700607 } - }, - "else": { - "operation": "boost", - "score": -0.027245130389928818 } - }, - "else": { - "operation": "boost", - "score": -0.17428363859653473 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.00913221575319767 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.11727790534496307 + "score": 0.02220441959798336 }, "else": { "operation": "boost", - "score": 0.05446150153875351 + "score": -0.1382657289505005 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.12099126726388931 - }, - "else": { - "operation": "boost", - "score": 0.10118865966796875 - } + "operation": "boost", + "score": -0.008073712699115276 } - }, - "else": { - "operation": "boost", - "score": 0.0029458908829838037 } } } @@ -261990,422 +258086,217 @@ }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "boost", - "score": -0.09151016175746918 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, - "then": { - "operation": "boost", - "score": 0.10342016816139221 - }, - "else": { - "operation": "boost", - "score": 0.011307849548757076 - } - } + "operation": "boost", + "score": -0.048298876732587814 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.023894408717751503 - }, - "else": { - "operation": "boost", - "score": -0.05928156524896622 - } + "operation": "boost", + "score": 0.20288997888565063 } }, "else": { "operation": "boost", - "score": -0.014430858194828033 + "score": -0.013572700321674347 } } + }, + "else": { + "operation": "boost", + "score": 0.006292636040598154 } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0009978400776162744 + }, + "else": { + "operation": "boost", + "score": 0.1144125759601593 + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.019617535173892975 + "score": 0.006461313925683498 }, "else": { - "operation": "boost", - "score": 0.07165194302797318 - } - }, - "else": { - "operation": "boost", - "score": 0.013408572413027287 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.026990137994289398 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 2234.0, "then": { - "operation": "boost", - "score": -0.006407593376934528 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26715.0, + "then": { + "operation": "boost", + "score": 0.0014034819323569536 + }, + "else": { + "operation": "boost", + "score": 0.05536834895610809 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": -0.09804204851388931 + "score": -0.08756747841835022 }, "else": { "operation": "boost", - "score": 0.028625503182411194 + "score": -0.020709095522761345 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "boost", - "score": 0.0024388963356614113 + "score": 0.04956696182489395 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.051809608936309814 + "score": -0.07923172414302826 }, "else": { "operation": "boost", - "score": 0.12128569930791855 + "score": 0.0065347058698534966 } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.02476189285516739 + }, + "else": { + "operation": "boost", + "score": -0.21958978474140167 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.48748621344566345 + }, + "else": { + "operation": "boost", + "score": -0.05401746556162834 + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.07814992964267731 + "score": 0.030161447823047638 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.04083215817809105 + "score": 0.017579879611730576 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 642.0, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1268.5, - "then": { - "operation": "boost", - "score": -0.07914097607135773 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07700547575950623 - }, - "else": { - "operation": "boost", - "score": 0.11106114834547043 - } - } + "operation": "boost", + "score": 0.03754635900259018 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0135641535744071 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.11963776499032974 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.17249280214309692 - }, - "else": { - "operation": "boost", - "score": 0.1449146866798401 - } - }, - "else": { - "operation": "boost", - "score": 0.06947941333055496 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0312974750995636 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.1313568651676178 - }, - "else": { - "operation": "boost", - "score": 0.08232500404119492 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10735166072845459 - }, - "else": { - "operation": "boost", - "score": 0.11613253504037857 - } - }, - "else": { - "operation": "boost", - "score": -0.7120181322097778 - } - }, - "else": { - "operation": "boost", - "score": -0.06496193259954453 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.08891782909631729 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.0999307706952095 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.19904688000679016 - }, - "else": { - "operation": "boost", - "score": 0.10598579049110413 - } - } - }, - "else": { - "operation": "boost", - "score": 0.031987182796001434 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1609598845243454 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03488090634346008 - } + "operation": "boost", + "score": -0.027160700410604477 } } } } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.0029214732348918915 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.006912569515407085 - }, - "else": { - "operation": "boost", - "score": -0.00812511146068573 - } + "operation": "boost", + "score": -0.056727346032857895 } } } @@ -262413,541 +258304,567 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 286067.5, + "threshold": 858647.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297177.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.013606654480099678 + "score": 0.041561566293239594 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.07101372629404068 - }, - "else": { - "operation": "boost", - "score": -0.36295580863952637 - } - }, - "else": { - "operation": "boost", - "score": 0.029491014778614044 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1061476320028305 - }, - "else": { - "operation": "boost", - "score": 0.10233745723962784 - } - }, - "else": { - "operation": "boost", - "score": 0.0025958979967981577 - } - } + "operation": "boost", + "score": -0.03505460545420647 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "ClassScope", + "FileScope", + "GlobalScope" ], "then": { - "operation": "boost", - "score": -0.003962843678891659 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], "then": { - "operation": "boost", - "score": -0.020586606115102768 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.44721490144729614 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { - "operation": "boost", - "score": 0.09204669296741486 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": -0.007353014312684536 + }, + "else": { + "operation": "boost", + "score": 0.10142381489276886 + } }, "else": { + "operation": "boost", + "score": -0.11497031152248383 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { + "operation": "boost", + "score": 0.10387639701366425 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.7697036266326904 - }, - "else": { - "operation": "boost", - "score": 0.0937657430768013 - } + "operation": "boost", + "score": 0.026392018422484398 }, "else": { "operation": "boost", - "score": 0.10979988425970078 + "score": -0.12946146726608276 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.07626249641180038 }, "else": { "operation": "boost", - "score": -0.2646870017051697 + "score": 0.047882117331027985 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.0711849257349968 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0010963560780510306 - } - }, - { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.0006409995257854462 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 249.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.10742436349391937 + "score": 0.08450685441493988 }, "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16249999403953552, + "then": { + "operation": "boost", + "score": 0.08573367446660995 + }, + "else": { + "operation": "boost", + "score": 0.14331556856632233 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28523.0, + "threshold": 378.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.09172344952821732 - }, - "else": { - "operation": "boost", - "score": 0.057075291872024536 - } + "operation": "boost", + "score": -0.14531870186328888 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 242.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 465.0, + "operation": "boost", + "score": 0.24033907055854797 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.02356892265379429 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 379.0, + "feature": "FractionNameInContext", + "threshold": 0.17142857611179352, "then": { "operation": "boost", - "score": 0.12439907342195511 + "score": 0.17541109025478363 }, "else": { "operation": "boost", - "score": -0.018219074234366417 + "score": 0.14474600553512573 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_UnionTag", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.07598742842674255 }, "else": { "operation": "boost", - "score": -0.09301857650279999 + "score": -0.05373983457684517 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "boost", - "score": 0.01758561283349991 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.2873989939689636 + }, + "else": { + "operation": "boost", + "score": -0.10213665664196014 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.7333333492279053, "then": { "operation": "boost", - "score": -0.11159816384315491 + "score": 0.10591371357440948 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.05804390832781792 + "score": 0.03992854803800583 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.04272887483239174 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.011962142772972584 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.12175016850233078 + }, + "else": { + "operation": "boost", + "score": 0.14579333364963531 + } + } }, "else": { "operation": "boost", - "score": 0.10201434046030045 + "score": -0.10995370894670486 } } }, "else": { "operation": "boost", - "score": 0.025906644761562347 + "score": -0.04297204688191414 } } - }, - "else": { - "operation": "boost", - "score": -0.2247072011232376 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26870.5, - "then": { - "operation": "boost", - "score": -0.13698039948940277 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25411.0, - "then": { - "operation": "boost", - "score": 0.09914339333772659 - }, - "else": { - "operation": "boost", - "score": 0.02410721965134144 - } - } + "operation": "boost", + "score": -0.037711091339588165 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 202.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 213.5, - "then": { - "operation": "boost", - "score": 0.03969117999076843 - }, - "else": { - "operation": "boost", - "score": 0.1081932932138443 - } + "operation": "boost", + "score": 0.012218723073601723 }, "else": { "operation": "boost", - "score": -0.03593844175338745 + "score": -0.011781317181885242 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.09529612213373184 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11512108147144318 + "score": -0.04487578943371773 }, "else": { - "operation": "boost", - "score": 0.10282683372497559 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.004332670010626316 + }, + "else": { + "operation": "boost", + "score": 0.01561480388045311 + } } + }, + "else": { + "operation": "boost", + "score": -0.00941185001283884 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6318.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11862736195325851 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": -0.2576081156730652 + }, + "else": { + "operation": "boost", + "score": -0.07877999544143677 + } }, "else": { "operation": "boost", - "score": 0.059083350002765656 + "score": 0.008776303380727768 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 162.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { + "operation": "boost", + "score": -0.030796485021710396 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 560.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 747.0, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { "operation": "boost", - "score": 0.0491623654961586 + "score": 0.17827127873897552 }, "else": { "operation": "boost", - "score": 0.12126725167036057 + "score": -0.06150364130735397 } }, "else": { - "operation": "boost", - "score": -0.0561734177172184 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.11426349729299545 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 87.5, + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 115.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.15749594569206238 + "score": -0.012362181209027767 }, "else": { - "operation": "boost", - "score": -0.04228447750210762 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.15705128014087677, + "then": { + "operation": "boost", + "score": 0.03744153678417206 + }, + "else": { + "operation": "boost", + "score": 0.16080836951732635 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77.0, - "then": { - "operation": "boost", - "score": 0.11410264670848846 - }, - "else": { - "operation": "boost", - "score": 0.3656020164489746 - } + "operation": "boost", + "score": -0.03462577238678932 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 95.0, + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.007800794672220945 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "boost", - "score": -0.1296735554933548 + "score": -0.019006209447979927 }, "else": { - "operation": "boost", - "score": 0.13727715611457825 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.1527562141418457 + }, + "else": { + "operation": "boost", + "score": -0.29477810859680176 + } + }, + "else": { + "operation": "boost", + "score": 0.12075051665306091 + } } - }, - "else": { - "operation": "boost", - "score": -0.11888431757688522 } } } @@ -262956,7010 +258873,8326 @@ } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": -0.00698026642203331 + "score": 0.03908887133002281 }, "else": { - "operation": "boost", - "score": 0.06251613795757294 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02633053809404373 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.07476359605789185 + }, + "else": { + "operation": "boost", + "score": 0.014104899950325489 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0039840759709477425 + } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.05645355209708214 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.12137775123119354 + }, + "else": { + "operation": "boost", + "score": 0.06367804855108261 + } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": -0.019842762500047684 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.05030927434563637 - }, - "else": { - "operation": "boost", - "score": 0.1120791956782341 - } + "operation": "boost", + "score": 0.08296477794647217 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, "then": { "operation": "boost", - "score": -0.02020624838769436 + "score": -0.18546825647354126 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.12038431316614151 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08747874200344086 - }, - "else": { - "operation": "boost", - "score": 0.03221307694911957 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10043366253376007 - }, - "else": { - "operation": "boost", - "score": 0.04238598793745041 - } - } + "operation": "boost", + "score": 0.07186176627874374 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.02633504755795002 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09130112826824188 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.05161213502287865 - }, - "else": { - "operation": "boost", - "score": -0.3153485357761383 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1155475601553917 - }, - "else": { - "operation": "boost", - "score": -0.3878748118877411 - } - }, - "else": { - "operation": "boost", - "score": -0.03849552571773529 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10525403171777725 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.0, - "then": { - "operation": "boost", - "score": 0.02045746147632599 - }, - "else": { - "operation": "boost", - "score": 0.1103091910481453 - } - }, - "else": { - "operation": "boost", - "score": -0.09448806196451187 - } - }, - "else": { - "operation": "boost", - "score": 0.0982392281293869 - } - }, - "else": { - "operation": "boost", - "score": -0.07218658179044724 - } - }, - "else": { - "operation": "boost", - "score": -0.012674164958298206 - } - }, - "else": { - "operation": "boost", - "score": -0.052434369921684265 - } - } - } + "operation": "boost", + "score": -0.1490233987569809 } }, "else": { - "operation": "boost", - "score": -0.16904820501804352 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02777777798473835, + "then": { + "operation": "boost", + "score": -0.10268815606832504 + }, + "else": { + "operation": "boost", + "score": -0.2972467541694641 + } } } - }, - "else": { - "operation": "boost", - "score": -0.025919213891029358 } } } + }, + "else": { + "operation": "boost", + "score": -0.0007148605072870851 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.16393227875232697 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.034948382526636124 - }, - "else": { - "operation": "boost", - "score": -0.014236174523830414 - } + "operation": "boost", + "score": 0.07706061750650406 }, "else": { "operation": "boost", - "score": -0.0030390487518161535 + "score": -0.029082896187901497 } }, "else": { + "operation": "boost", + "score": -0.16788801550865173 + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.003929317928850651 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { + "operation": "boost", + "score": 0.029396727681159973 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234.5, + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 356.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.10830318927764893 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { "operation": "boost", - "score": 0.08129493147134781 + "score": -0.08953575789928436 }, "else": { "operation": "boost", - "score": -0.2533969283103943 + "score": 0.08844064176082611 } - }, - "else": { - "operation": "boost", - "score": 0.11663801968097687 } }, "else": { "operation": "boost", - "score": -0.035544198006391525 + "score": -0.025218965485692024 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12821130454540253 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.0064310841262340546 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.13776761293411255 + }, + "else": { + "operation": "boost", + "score": 0.15503273904323578 } }, "else": { "operation": "boost", - "score": -0.015505786053836346 + "score": 0.018593810498714447 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, "then": { + "operation": "boost", + "score": 0.038563214242458344 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "FileScope" ], "then": { - "operation": "boost", - "score": 0.01645197905600071 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 676.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.6768559813499451 + "score": -0.10291150957345963 }, "else": { - "operation": "boost", - "score": -0.12150327116250992 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11741377413272858 + }, + "else": { + "operation": "boost", + "score": 0.1096896082162857 + } } + }, + "else": { + "operation": "boost", + "score": 0.06363695859909058 } - }, - "else": { - "operation": "boost", - "score": -0.0535847432911396 } + }, + "else": { + "operation": "boost", + "score": 0.002253043930977583 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.139961838722229 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.00684643629938364 + "score": 0.021111780777573586 }, "else": { "operation": "boost", - "score": 0.1071009635925293 + "score": 0.0004104448016732931 } - }, - "else": { - "operation": "boost", - "score": -0.008405827917158604 } } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, + "then": { + "operation": "boost", + "score": -0.006883664987981319 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.11165789514780045 + }, + "else": { + "operation": "boost", + "score": 0.031115388497710228 + } + } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Destructor", "Constructor", - "Namespace" + "Macro", + "Namespace", + "Operator" ], "then": { + "operation": "boost", + "score": 0.007234177086502314 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.09307359158992767, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Namespace", - "CCC_Type" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.1037294864654541 + "score": 0.028805293142795563 }, "else": { - "operation": "boost", - "score": 0.06389977782964706 - } - }, - "else": { - "operation": "boost", - "score": 0.05567968636751175 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": -0.5182708501815796 + "score": 0.020774394273757935 }, "else": { "operation": "boost", - "score": 0.1168108806014061 + "score": -0.1111777052283287 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.31414473056793213, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.024948392063379288 + "score": 0.0021178731694817543 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "boost", + "score": 0.002757829846814275 + }, + "else": { + "operation": "boost", + "score": -0.010834651999175549 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { - "operation": "boost", - "score": 0.1179603785276413 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": -0.004963950254023075 + }, + "else": { + "operation": "boost", + "score": 0.022148804739117622 + } }, "else": { "operation": "boost", - "score": -0.18686848878860474 + "score": 0.0033052770886570215 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, "then": { - "operation": "boost", - "score": -0.5348299741744995 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.08021235466003418 + "score": 0.03799409419298172 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": -0.05465197190642357 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14642858505249023, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.10714169591665268 - }, - "else": { - "operation": "boost", - "score": 0.29756954312324524 - } + "operation": "boost", + "score": 0.015124385245144367 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1041909009218216 - }, - "else": { - "operation": "boost", - "score": -0.18622790277004242 - } - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02856064774096012 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.013159425929188728 - }, - "else": { - "operation": "boost", - "score": -0.03697868064045906 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11130339652299881 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.04335082694888115 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.182301864027977 + }, + "else": { + "operation": "boost", + "score": -0.10701951384544373 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16228070855140686, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, + "then": { + "operation": "boost", + "score": -0.002993740141391754 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1340450644493103 + }, + "else": { + "operation": "boost", + "score": 0.04870214685797691 + } + }, + "else": { + "operation": "boost", + "score": 0.026169592514634132 + } + }, + "else": { + "operation": "boost", + "score": -0.023181995376944542 + } + } + }, + "else": { + "operation": "boost", + "score": -0.023246070370078087 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.03837272524833679 + }, + "else": { + "operation": "boost", + "score": 0.009115898981690407 + } + } + } + } }, "else": { "operation": "boost", - "score": 0.11226142942905426 + "score": -0.023880887776613235 } - }, - "else": { - "operation": "boost", - "score": 0.04352068901062012 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05358774587512016 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.0458683967590332 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.7386455535888672 + }, + "else": { + "operation": "boost", + "score": -0.10202254354953766 + } + }, + "else": { + "operation": "boost", + "score": -0.10061338543891907 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "boost", + "score": -0.6246297359466553 + }, + "else": { + "operation": "boost", + "score": -0.006836156360805035 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.0954868346452713 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.5534843802452087 + }, + "else": { + "operation": "boost", + "score": -0.13236863911151886 + } }, "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "boost", + "score": 0.07609434425830841 + }, + "else": { + "operation": "boost", + "score": 0.22915464639663696 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.10835020989179611 + }, + "else": { + "operation": "boost", + "score": 0.01656518504023552 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.17117144167423248 + }, + "else": { + "operation": "boost", + "score": -0.002405168954282999 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.2776702344417572 + "score": -0.0850517600774765 + }, + "else": { + "operation": "boost", + "score": 0.05527637153863907 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": -0.046432413160800934 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": 0.1608085334300995 + }, + "else": { + "operation": "boost", + "score": 0.10404308140277863 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 137290.5, + "then": { + "operation": "boost", + "score": -0.49694231152534485 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.1641869693994522 + }, + "else": { + "operation": "boost", + "score": 0.06114405766129494 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.011625470593571663 + }, + "else": { + "operation": "boost", + "score": 0.0775410383939743 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7636363506317139, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.00744564738124609 + }, + "else": { + "operation": "boost", + "score": 0.08073791861534119 + } + }, + "else": { + "operation": "boost", + "score": -0.01704687811434269 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { + "operation": "boost", + "score": 0.0417344905436039 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "boost", - "score": 0.10486366599798203 + "score": 0.10673949122428894 }, "else": { "operation": "boost", - "score": 0.07757734507322311 + "score": 0.07666988670825958 } } }, "else": { "operation": "boost", - "score": 0.005533803254365921 + "score": -0.13014084100723267 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.22342386841773987 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", "CCC_SymbolOrNewName", - "CCC_Type" + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.0, + "operation": "boost", + "score": -0.07385082542896271 + }, + "else": { + "operation": "boost", + "score": -0.21317225694656372 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.17456229031085968 + }, + "else": { + "operation": "boost", + "score": 0.028951305896043777 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1367.0, + "then": { + "operation": "boost", + "score": 0.07476498186588287 + }, + "else": { + "operation": "boost", + "score": -0.0086420439183712 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "boost", + "score": 0.0019698147661983967 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.11317384243011475 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025600124150514603 + }, + "else": { + "operation": "boost", + "score": 0.08489301055669785 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 82.5, "then": { "operation": "boost", - "score": -0.038364559412002563 + "score": 0.11443153023719788 }, "else": { "operation": "boost", - "score": 0.09558075666427612 + "score": 0.053610485047101974 } } - }, - "else": { - "operation": "boost", - "score": 0.005463155452162027 } }, "else": { "operation": "boost", - "score": -0.0861697643995285 + "score": 0.0047861868515610695 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.5067926645278931 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.010807296261191368 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "boost", + "score": 0.04038035124540329 + }, + "else": { + "operation": "boost", + "score": 1.0000792741775513 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": 0.00027138125733472407 + }, + "else": { + "operation": "boost", + "score": 0.1437310129404068 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "boost", + "score": 0.08560609072446823 + }, + "else": { + "operation": "boost", + "score": 0.14021414518356323 + } + }, + "else": { + "operation": "boost", + "score": 0.029559282585978508 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.875, + "then": { + "operation": "boost", + "score": -0.15201358497142792 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "boost", + "score": 0.08981940150260925 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.019940895959734917 + }, + "else": { + "operation": "boost", + "score": 0.1387518048286438 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 214.0, + "then": { + "operation": "boost", + "score": 0.10331058502197266 + }, + "else": { + "operation": "boost", + "score": -0.13104234635829926 + } + }, + "else": { + "operation": "boost", + "score": -0.8975696563720703 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 748.5, + "then": { + "operation": "boost", + "score": 0.11876988410949707 + }, + "else": { + "operation": "boost", + "score": 0.014340858906507492 + } + } + } + } + } } } } + }, + "else": { + "operation": "boost", + "score": -0.010126291774213314 } } } + }, + "else": { + "operation": "boost", + "score": 0.10652821511030197 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.028614837676286697 }, "else": { "operation": "boost", - "score": -0.0030549010261893272 + "score": 0.13166119158267975 } + }, + "else": { + "operation": "boost", + "score": 0.005942496471107006 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.00675943773239851 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { + "operation": "boost", + "score": 0.028581973165273666 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 311.0, + "feature": "FractionNameInContext", + "threshold": 0.2899159789085388, "then": { "operation": "boost", - "score": 0.034457914531230927 + "score": 0.015678392723202705 }, "else": { "operation": "boost", - "score": 0.13034245371818542 + "score": -0.0007165158749558032 } }, "else": { - "operation": "boost", - "score": 0.0005456277285702527 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.013131817802786827 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 75.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.0678732767701149 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.31903377175331116 - }, - "else": { - "operation": "boost", - "score": 0.11019105464220047 - } - }, - "else": { - "operation": "boost", - "score": -0.0550861731171608 - } - } + "operation": "boost", + "score": -0.0718044564127922 }, "else": { "operation": "boost", - "score": 0.005604830104857683 + "score": -0.5459371209144592 } }, "else": { - "operation": "boost", - "score": -0.010460665449500084 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.004547934979200363 + }, + "else": { + "operation": "boost", + "score": -0.03227384760975838 + } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.0679062083363533 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.019876427948474884 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11548329144716263 + }, + "else": { + "operation": "boost", + "score": 0.031154653057456017 + } + } }, "else": { - "operation": "boost", - "score": 0.01886044256389141 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 722.0, + "then": { + "operation": "boost", + "score": 0.12589512765407562 + }, + "else": { + "operation": "boost", + "score": -0.0020751941483467817 + } } } } } + }, + "else": { + "operation": "boost", + "score": -0.012178156524896622 } } - }, - "else": { - "operation": "boost", - "score": -0.0035477662459015846 } + }, + "else": { + "operation": "boost", + "score": -0.0002046758309006691 } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 549246.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "FractionNameInContext", + "threshold": 0.18614718317985535, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.017608022317290306 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": -0.08015575259923935 - }, - "else": { - "operation": "boost", - "score": 0.09079285711050034 - } - } + "operation": "boost", + "score": 0.10394368320703506 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, "then": { - "operation": "boost", - "score": -0.20496970415115356 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.033247824758291245 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.04768288508057594 - }, - "else": { - "operation": "boost", - "score": -0.0560855008661747 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06519957631826401 - } - }, - "else": { - "operation": "boost", - "score": -0.11160854995250702 - } + "operation": "boost", + "score": 0.065489262342453 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.06650904566049576 - }, - "else": { - "operation": "boost", - "score": 0.026705816388130188 - } + "operation": "boost", + "score": 0.012323279865086079 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.055669281631708145 + "score": 0.10739511996507645 }, "else": { "operation": "boost", - "score": -0.0854288637638092 + "score": 0.06572017818689346 } } } + }, + "else": { + "operation": "boost", + "score": -0.047440432012081146 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.008148283697664738 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6396104097366333, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "boost", + "score": -0.04733576625585556 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0677383616566658 - }, - "else": { - "operation": "boost", - "score": -0.14747102558612823 - } + "operation": "boost", + "score": 0.09928534179925919 }, "else": { - "operation": "boost", - "score": 0.07001382857561111 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.15632393956184387 + "score": -0.14708136022090912 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, "then": { "operation": "boost", - "score": -0.005891005974262953 + "score": 0.11151005327701569 }, "else": { "operation": "boost", - "score": 0.04820972681045532 + "score": 0.05311711132526398 } } - }, - "else": { - "operation": "boost", - "score": -0.06241333484649658 } + }, + "else": { + "operation": "boost", + "score": 0.037357673048973083 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.10397332906723022 }, "else": { "operation": "boost", - "score": -0.3555296063423157 + "score": -0.1449034959077835 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, "then": { "operation": "boost", - "score": -0.18948401510715485 + "score": 0.06638423353433609 }, "else": { "operation": "boost", - "score": 0.022915048524737358 + "score": 0.13308575749397278 } }, "else": { + "operation": "boost", + "score": -0.1517723649740219 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06332023441791534 + "score": -0.04375699162483215 }, "else": { - "operation": "boost", - "score": -0.11832619458436966 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": 0.005269252695143223 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.15286149084568024 + }, + "else": { + "operation": "boost", + "score": -1.6320977210998535 + } + } } }, "else": { "operation": "boost", - "score": 0.0312991589307785 + "score": 0.01229721400886774 } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.013633021153509617 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.09684379398822784 }, "else": { "operation": "boost", - "score": 0.05060715228319168 + "score": 0.06503430753946304 } } - }, - "else": { - "operation": "boost", - "score": 0.1690506786108017 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.04420414939522743 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.051114119589328766 - }, - "else": { - "operation": "boost", - "score": -0.35806435346603394 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11541631817817688 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.09729444980621338 - }, - "else": { - "operation": "boost", - "score": 0.037605345249176025 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0629509910941124 - }, - "else": { - "operation": "boost", - "score": -0.2653038501739502 - } - } + "operation": "boost", + "score": 0.13593211770057678 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "operation": "boost", + "score": -0.0009251984884031117 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 270.5, + "then": { + "operation": "boost", + "score": 0.008488246239721775 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.019211038947105408 + "score": 0.0650196522474289 }, "else": { - "operation": "boost", - "score": -0.2127414345741272 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.0024381475523114204 - }, - "else": { - "operation": "boost", - "score": -0.03634935989975929 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10879149287939072 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.27619048953056335, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09243574738502502 - }, - "else": { - "operation": "boost", - "score": 0.08749064058065414 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "CCC_ArrowMemberAccess" ], "then": { - "operation": "boost", - "score": 0.05607308819890022 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.04359906166791916 + }, + "else": { + "operation": "boost", + "score": 0.06252453476190567 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { + "operation": "boost", + "score": 0.08465549349784851 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, "then": { "operation": "boost", - "score": 0.03398735821247101 + "score": -0.06048901006579399 }, "else": { - "operation": "boost", - "score": -0.05288542062044144 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "boost", + "score": 0.08494676649570465 + }, + "else": { + "operation": "boost", + "score": 0.014382507652044296 + } } - }, - "else": { - "operation": "boost", - "score": 0.08359964191913605 } } - } - }, - "else": { - "operation": "boost", - "score": -0.12084899842739105 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.08024707436561584 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09153573960065842 }, "else": { "operation": "boost", - "score": 0.03598761558532715 + "score": 0.08579074591398239 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.02297508344054222 }, "else": { - "operation": "boost", - "score": -0.08677950501441956 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03724260628223419 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, - "then": { - "operation": "boost", - "score": 0.045305803418159485 - }, - "else": { - "operation": "boost", - "score": 0.11609015613794327 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 549.5, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1413.5, - "then": { - "operation": "boost", - "score": 0.014845959842205048 - }, - "else": { - "operation": "boost", - "score": 0.16062921285629272 - } + "operation": "boost", + "score": -0.014022949151694775 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.14385637640953064 - }, - "else": { - "operation": "boost", - "score": 0.08400831371545792 - } + "operation": "boost", + "score": 0.007247111760079861 } - }, - "else": { - "operation": "boost", - "score": 0.0666273683309555 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2840.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.00500637898221612 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4594.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.10081212967634201 + "score": 0.04955926164984703 }, "else": { "operation": "boost", - "score": 0.15949225425720215 + "score": 0.0044757165014743805 } - }, - "else": { - "operation": "boost", - "score": -0.0043007200583815575 } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.013825050555169582 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0377773754298687 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 126.0, - "then": { - "operation": "boost", - "score": -0.020032566040754318 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12142115086317062 - }, - "else": { - "operation": "boost", - "score": -0.02400903031229973 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11236179620027542 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.0021893857046961784 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.07958962768316269 + "score": -0.06244735047221184 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62.5, + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11336417496204376 + }, + "else": { + "operation": "boost", + "score": 0.13251537084579468 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "boost", + "score": -0.05243372544646263 + }, + "else": { + "operation": "boost", + "score": 0.0689590722322464 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.10782712697982788 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 83.5, "then": { "operation": "boost", - "score": 0.03326047584414482 + "score": 0.03667289763689041 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 160.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { - "operation": "boost", - "score": 0.010007492266595364 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.13214826583862305 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 81.0, + "then": { + "operation": "boost", + "score": 0.10543346405029297 + }, + "else": { + "operation": "boost", + "score": -0.07738343626260757 + } + } }, "else": { + "operation": "boost", + "score": -0.1703128218650818 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { + "operation": "boost", + "score": 0.1178889200091362 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.0387575589120388 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.0, - "then": { - "operation": "boost", - "score": 0.10274002701044083 - }, - "else": { - "operation": "boost", - "score": -0.17516399919986725 - } + "operation": "boost", + "score": -0.008523316122591496 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.10882662981748581 + "score": -1.1064932346343994 }, "else": { - "operation": "boost", - "score": 0.09820151329040527 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.07909619808197021 + }, + "else": { + "operation": "boost", + "score": -0.4076443314552307 + } } } }, "else": { "operation": "boost", - "score": 0.05478754639625549 + "score": -0.02896944247186184 } }, "else": { "operation": "boost", - "score": 0.027614939957857132 + "score": 0.00670017721131444 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": -0.0973803922533989 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.0327286571264267 + }, + "else": { + "operation": "boost", + "score": 0.012362221255898476 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03422760218381882 + } + } + }, + "else": { + "operation": "boost", + "score": 0.015050469897687435 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09981405735015869 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12529586255550385 + }, + "else": { + "operation": "boost", + "score": -0.05249154940247536 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.25635331869125366 }, "else": { "operation": "boost", - "score": -0.21550269424915314 + "score": 0.13930968940258026 } }, "else": { "operation": "boost", - "score": 0.10892102867364883 + "score": -0.03439178690314293 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6515151262283325, + "then": { + "operation": "boost", + "score": -0.008670806884765625 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6306818127632141, + "then": { + "operation": "boost", + "score": 0.1275949329137802 + }, + "else": { + "operation": "boost", + "score": 0.0444200225174427 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.007504134904593229 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08116883039474487, "then": { - "operation": "boost", - "score": 0.10919283330440521 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": -0.3483048677444458 + }, + "else": { + "operation": "boost", + "score": 0.1753871887922287 + } }, "else": { "operation": "boost", - "score": 0.14016193151474 + "score": 0.06966546177864075 } + }, + "else": { + "operation": "boost", + "score": 0.07179907709360123 } } }, "else": { - "operation": "boost", - "score": 0.03148956969380379 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.029411764815449715, + "then": { + "operation": "boost", + "score": -0.11330585926771164 + }, + "else": { + "operation": "boost", + "score": 0.01035606674849987 + } } }, "else": { - "operation": "boost", - "score": -0.01276147086173296 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "boost", + "score": -0.10112779587507248 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.0038729142397642136 + }, + "else": { + "operation": "boost", + "score": -0.2946198880672455 + } + } } }, "else": { - "operation": "boost", - "score": 0.008726809173822403 - } - }, - "else": { - "operation": "boost", - "score": -0.007474459707736969 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.016477437689900398 - }, - "else": { - "operation": "boost", - "score": 0.006115940399467945 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], + "then": { + "operation": "boost", + "score": -0.0013757947599515319 + }, + "else": { + "operation": "boost", + "score": -0.10983658581972122 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04502183571457863 + "score": 0.09737277030944824 }, "else": { "operation": "boost", - "score": 0.0962190330028534 + "score": -0.015843383967876434 } }, "else": { - "operation": "boost", - "score": -0.18618425726890564 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { "operation": "boost", - "score": -0.047463156282901764 + "score": -0.02145909145474434 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.10064344108104706 + "score": 0.11588393151760101 }, "else": { - "operation": "boost", - "score": 0.10155478119850159 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": -0.17445355653762817 + }, + "else": { + "operation": "boost", + "score": 0.080511175096035 + } } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08687093108892441 - }, - "else": { - "operation": "boost", - "score": -0.07478085905313492 - } } + }, + "else": { + "operation": "boost", + "score": 0.0036732966545969248 } - }, - "else": { - "operation": "boost", - "score": -0.102098748087883 } - }, - "else": { - "operation": "boost", - "score": 0.007749956101179123 } - }, - "else": { - "operation": "boost", - "score": -0.013997654430568218 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.014681218191981316 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.34954750537872314, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 31.5, + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, "then": { - "operation": "boost", - "score": 0.10894112288951874 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.5419580936431885, "then": { - "operation": "boost", - "score": 0.017613016068935394 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, + "then": { + "operation": "boost", + "score": -0.0035836088936775923 + }, + "else": { + "operation": "boost", + "score": 0.11041259765625 + } }, "else": { + "operation": "boost", + "score": -0.007961797527968884 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.15946070849895477 - }, - "else": { - "operation": "boost", - "score": 0.11328768730163574 - } - }, - "else": { - "operation": "boost", - "score": -0.0917573869228363 - } + "operation": "boost", + "score": 0.13133934140205383 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "boost", - "score": -0.10453066974878311 - }, - "else": { - "operation": "boost", - "score": 0.02758372388780117 - } + "operation": "boost", + "score": 0.11014027893543243 } + }, + "else": { + "operation": "boost", + "score": 0.09684425592422485 } } }, "else": { + "operation": "boost", + "score": -0.1511625200510025 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { "operation": "boost", - "score": 0.17449761927127838 + "score": 0.009119099006056786 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11900793761014938 - }, - "else": { - "operation": "boost", - "score": -0.14497621357440948 - } + "operation": "boost", + "score": 0.1255563646554947 } }, "else": { "operation": "boost", - "score": 0.03248169273138046 + "score": -0.35536104440689087 } }, "else": { "operation": "boost", - "score": -0.011189529672265053 + "score": -0.01293243933469057 } }, "else": { + "operation": "boost", + "score": 0.01572612300515175 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.1437995433807373 - }, - "else": { - "operation": "boost", - "score": -0.023206450045108795 - } + "operation": "boost", + "score": -0.19189706444740295 }, "else": { "operation": "boost", - "score": -0.045622818171978 + "score": 0.04704824835062027 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.38761410117149353 - }, - "else": { - "operation": "boost", - "score": -0.014352276921272278 - } - } - } - }, + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": 0.07626072317361832 + }, + "else": { + "operation": "boost", + "score": -0.03487095236778259 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.06924724578857422 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": -1.3562793731689453 + }, + "else": { + "operation": "boost", + "score": -0.4566442668437958 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10329683870077133 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.1029948890209198 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.014548365026712418 + }, + "else": { + "operation": "boost", + "score": 0.20275484025478363 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0095867570489645 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06602652370929718 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.03846153989434242, "then": { "operation": "boost", - "score": 0.03568631783127785 + "score": -0.02171824499964714 }, "else": { "operation": "boost", - "score": 0.008643695153295994 + "score": -0.21737226843833923 } } } - }, - "else": { - "operation": "boost", - "score": -0.08387969434261322 } }, "else": { "operation": "boost", - "score": -0.02023189701139927 + "score": -0.032052718102931976 + } + }, + "else": { + "operation": "boost", + "score": -0.01568264700472355 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.21053220331668854 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": -0.011246743611991405 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09649734944105148 + }, + "else": { + "operation": "boost", + "score": 0.05421604588627815 + } + } } }, "else": { "operation": "boost", - "score": -0.0036049981135874987 + "score": -0.1445317566394806 } } - }, - "else": { - "operation": "boost", - "score": -0.04431024193763733 } - }, - "else": { - "operation": "boost", - "score": 0.002995490562170744 } }, "else": { "operation": "boost", - "score": 0.00030466675525531173 + "score": -0.00016824259364511818 } } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 549246.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_Type" + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.02400130406022072 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 86511.0, "then": { - "operation": "boost", - "score": -0.3529350757598877 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": 0.04793303832411766 + }, + "else": { + "operation": "boost", + "score": 0.07819665968418121 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 152494.0, + "then": { + "operation": "boost", + "score": -0.3003333806991577 + }, + "else": { + "operation": "boost", + "score": 0.01562727428972721 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0692133679986 + } }, "else": { "operation": "boost", - "score": 0.014127714559435844 + "score": 0.002973940223455429 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, "then": { "operation": "boost", - "score": 0.05959952250123024 + "score": 0.02848798967897892 }, "else": { "operation": "boost", - "score": 0.10187803208827972 + "score": 0.011603191494941711 + } + }, + "else": { + "operation": "boost", + "score": -0.022099629044532776 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.13025163114070892 + }, + "else": { + "operation": "boost", + "score": 0.07744558155536652 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, + "then": { + "operation": "boost", + "score": -0.04187949001789093 + }, + "else": { + "operation": "boost", + "score": 0.12102971225976944 + } + }, + "else": { + "operation": "boost", + "score": 0.016087589785456657 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { - "operation": "boost", - "score": 0.025344526395201683 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": -0.03715955838561058 + }, + "else": { + "operation": "boost", + "score": 0.012373130768537521 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.09323671460151672 + }, + "else": { + "operation": "boost", + "score": -0.030150914564728737 + } + } }, "else": { "operation": "boost", - "score": -0.4062214195728302 + "score": -0.002522902563214302 } } } - }, - "else": { - "operation": "boost", - "score": 0.005678664427250624 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.00353439268656075 + "score": 0.0037964603397995234 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03135960176587105 + "score": 0.012741615995764732 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.09744933247566223 - }, - "else": { - "operation": "boost", - "score": 0.1115797609090805 - } + "operation": "boost", + "score": -0.010972399264574051 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.08755211532115936 - }, - "else": { - "operation": "boost", - "score": 0.10045239329338074 - } - }, - "else": { - "operation": "boost", - "score": -0.1749553084373474 - } - } - }, - "else": { - "operation": "boost", - "score": 0.008750151842832565 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 309.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 372.5, + "threshold": 83.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 822.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.12348063290119171 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25286.5, + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 93518.5, - "then": { - "operation": "boost", - "score": -0.05447947978973389 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10099977254867554 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46337.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66524.5, - "then": { - "operation": "boost", - "score": 0.0494009330868721 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13274706900119781 - }, - "else": { - "operation": "boost", - "score": 0.0929814949631691 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.07718449831008911 - }, - "else": { - "operation": "boost", - "score": -0.042293667793273926 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0030309208668768406 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], + "threshold": 13091.5, "then": { "operation": "boost", - "score": 0.0609462596476078 + "score": -0.11406544595956802 }, "else": { "operation": "boost", - "score": -0.048810068517923355 + "score": 0.01241949014365673 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 812.5, - "then": { - "operation": "boost", - "score": 0.11256863176822662 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 689.5, - "then": { - "operation": "boost", - "score": -0.0946434885263443 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 675.5, - "then": { - "operation": "boost", - "score": 0.10807520151138306 - }, - "else": { - "operation": "boost", - "score": 0.050858620554208755 - } - } + "operation": "boost", + "score": 0.053863443434238434 } } }, "else": { + "operation": "boost", + "score": 0.015081940218806267 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 366.0, + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, "then": { "operation": "boost", - "score": 0.10090555995702744 + "score": 0.045739173889160156 }, "else": { "operation": "boost", - "score": -0.2900792360305786 + "score": 0.7085154056549072 } }, + "else": { + "operation": "boost", + "score": 0.0011841666419059038 + } + }, + "else": { + "operation": "boost", + "score": -0.005929804407060146 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.12158595770597458 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.026410112157464027 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12645691633224487 + "score": 0.05024043098092079 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 362.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.12640169262886047 + "score": 0.030424481257796288 }, "else": { "operation": "boost", - "score": -0.1106596440076828 + "score": -0.12581698596477509 } } }, "else": { - "operation": "boost", - "score": 0.11488017439842224 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08863622695207596 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { + "operation": "boost", + "score": -0.043471258133649826 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": 0.01289462298154831 - }, - "else": { - "operation": "boost", - "score": -0.4772903323173523 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1056370660662651 + "score": 0.05115978792309761 }, "else": { - "operation": "boost", - "score": 0.10574911534786224 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.054739195853471756 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0858042910695076 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": -0.16377781331539154 + }, + "else": { + "operation": "boost", + "score": -0.20762614905834198 + } + } }, "else": { "operation": "boost", - "score": 0.12619294226169586 + "score": 0.043028172105550766 } - }, - "else": { - "operation": "boost", - "score": -0.020272724330425262 } + }, + "else": { + "operation": "boost", + "score": -0.10839705914258957 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.06304028630256653 - }, - "else": { - "operation": "boost", - "score": 0.1096217930316925 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.06843451410531998 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.05898715555667877 + "score": -0.005866926163434982 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.06573403626680374 - }, - "else": { - "operation": "boost", - "score": 0.10107937455177307 - } + "operation": "boost", + "score": 0.062398217618465424 } }, "else": { "operation": "boost", - "score": -0.004828606732189655 + "score": -0.06632421165704727 } } - }, - "else": { - "operation": "boost", - "score": -0.3404685854911804 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07159819453954697 + }, + "else": { + "operation": "boost", + "score": 0.02400834672152996 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03507978469133377 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.001685313880443573 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, "then": { "operation": "boost", - "score": 0.021306414157152176 + "score": -0.25734227895736694 }, "else": { "operation": "boost", - "score": 0.09906167536973953 + "score": 0.05344979465007782 } }, + "else": { + "operation": "boost", + "score": 0.04275393486022949 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, + "then": { + "operation": "boost", + "score": 0.02643992193043232 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.004263921175152063 - }, - "else": { - "operation": "boost", - "score": -0.2948804199695587 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09704115241765976 - }, - "else": { - "operation": "boost", - "score": -0.05524807795882225 - } - } - }, - "else": { - "operation": "boost", - "score": -0.7399060130119324 - } + "operation": "boost", + "score": 0.05545355752110481 }, "else": { "operation": "boost", - "score": -0.004609002266079187 + "score": 0.09659457951784134 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.11199787259101868 + }, + "else": { + "operation": "boost", + "score": -0.052994586527347565 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 427.5, - "then": { - "operation": "boost", - "score": -0.034440454095602036 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 363.5, - "then": { - "operation": "boost", - "score": 0.12328927963972092 - }, - "else": { - "operation": "boost", - "score": 0.0865730494260788 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01041356660425663 - } + "operation": "boost", + "score": -0.2879229485988617 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.0, - "then": { - "operation": "boost", - "score": 0.04665127396583557 - }, - "else": { - "operation": "boost", - "score": 0.09757094085216522 - } - }, - "else": { - "operation": "boost", - "score": -0.27352187037467957 - } - }, - "else": { - "operation": "boost", - "score": 0.08105167746543884 - } + "operation": "boost", + "score": 0.03609880432486534 } }, "else": { - "operation": "boost", - "score": 0.0007205422152765095 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.010244583711028099 + }, + "else": { + "operation": "boost", + "score": -0.10295528918504715 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11687703430652618 + "score": 0.10932599753141403 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.6515151262283325, "then": { "operation": "boost", - "score": -0.023761656135320663 + "score": 0.07083526998758316 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.12341353297233582 - }, - "else": { - "operation": "boost", - "score": -0.12006104737520218 - } + "operation": "boost", + "score": -0.2742350399494171 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.1223856508731842 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11780568212270737 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.10990370810031891 - }, - "else": { - "operation": "boost", - "score": 0.12026259303092957 - } - } - }, - "else": { - "operation": "boost", - "score": -0.34166237711906433 - } - } + "operation": "boost", + "score": 0.004961137659847736 } } - }, - "else": { - "operation": "boost", - "score": 0.008274541236460209 } - }, - "else": { - "operation": "boost", - "score": 0.023578330874443054 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.014229596592485905 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.5, + "operation": "boost", + "score": 0.02524532563984394 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { - "operation": "boost", - "score": -0.7611399292945862 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "boost", - "score": 0.024528922513127327 + "score": 0.08643222600221634 }, "else": { "operation": "boost", - "score": 0.08434725552797318 + "score": 0.1461026668548584 } + }, + "else": { + "operation": "boost", + "score": 0.10772950202226639 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 88.0, + "threshold": 31.5, "then": { - "operation": "boost", - "score": 0.10966211557388306 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23.5, + "threshold": 32.5, "then": { "operation": "boost", - "score": 0.04203549027442932 + "score": 0.053756505250930786 }, "else": { "operation": "boost", - "score": 0.10982923209667206 + "score": 0.9447497129440308 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 749.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 879.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.031022757291793823 + "score": 0.24951060116291046 }, "else": { "operation": "boost", - "score": 0.09333177655935287 + "score": -0.005984005983918905 } - }, - "else": { - "operation": "boost", - "score": -0.04217939078807831 } - }, - "else": { - "operation": "boost", - "score": 0.01961805671453476 } } }, "else": { "operation": "boost", - "score": -0.02267676405608654 + "score": 0.008957941085100174 } } } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.02500000037252903, "then": { "operation": "boost", - "score": 0.004778995644301176 + "score": -0.02657654881477356 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 291.5, "then": { - "operation": "boost", - "score": -0.10558327287435532 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 3284.0, "then": { + "operation": "boost", + "score": -0.02266940288245678 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3115.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.001447806367650628 - }, - "else": { - "operation": "boost", - "score": -0.07556804269552231 - } + "operation": "boost", + "score": 0.18607504665851593 }, "else": { "operation": "boost", - "score": -0.025538699701428413 + "score": 0.07256380468606949 } - }, - "else": { - "operation": "boost", - "score": 0.02698829397559166 } + }, + "else": { + "operation": "boost", + "score": -0.0008960621198639274 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.04009879380464554 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, "then": { - "operation": "boost", - "score": 0.11678744852542877 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": 0.02829798124730587 + }, + "else": { + "operation": "boost", + "score": 0.0696633830666542 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.385146826505661 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.009222683496773243 + }, + "else": { + "operation": "boost", + "score": 0.046812281012535095 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.1164667010307312 + }, + "else": { + "operation": "boost", + "score": 0.01548696681857109 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.002127789193764329 + }, + "else": { + "operation": "boost", + "score": 0.008775672875344753 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.1393333226442337 + }, + "else": { + "operation": "boost", + "score": -0.01870655082166195 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.15031063556671143 + "score": 0.004574578255414963 }, "else": { - "operation": "boost", - "score": 0.1450325846672058 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.15600506961345673 + }, + "else": { + "operation": "boost", + "score": -0.004934391938149929 + } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07592754811048508 + "score": 1.159951090812683 }, "else": { "operation": "boost", - "score": -0.37962576746940613 + "score": 0.11258355528116226 } }, "else": { - "operation": "boost", - "score": 0.0995776578783989 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.014528150670230389 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008020474575459957 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.024326622486114502 + }, + "else": { + "operation": "boost", + "score": -0.004654192365705967 + } + } + } } + }, + "else": { + "operation": "boost", + "score": -0.019569069147109985 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.0072609782218933105 }, "else": { "operation": "boost", - "score": 0.03910455107688904 + "score": 0.006053392309695482 } - }, - "else": { - "operation": "boost", - "score": 0.03688960149884224 } } }, "else": { "operation": "boost", - "score": -0.03001004084944725 + "score": -0.008111299015581608 } }, "else": { - "operation": "boost", - "score": -0.09849271178245544 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Unknown", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": 0.002126717008650303 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0256210770457983 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.0694282278418541 - }, - "else": { - "operation": "boost", - "score": 0.025502551347017288 - } - }, - "else": { - "operation": "boost", - "score": 0.01863795518875122 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 168.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 169.5, "then": { - "operation": "boost", - "score": 0.023992205038666725 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 749331.5, "then": { "operation": "boost", - "score": -0.12343194335699081 + "score": -0.1436290293931961 }, "else": { "operation": "boost", - "score": 0.030217107385396957 + "score": 0.019890792667865753 } + }, + "else": { + "operation": "boost", + "score": 0.2364569902420044 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1830906718969345 + "score": -0.07585597038269043 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.09157723188400269 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.023162806406617165 + }, + "else": { + "operation": "boost", + "score": -0.053772538900375366 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.17794597148895264 - }, - "else": { - "operation": "boost", - "score": 0.0367981493473053 - } + "operation": "boost", + "score": 0.05463296175003052 }, "else": { "operation": "boost", - "score": -0.06242894008755684 + "score": 0.027265820652246475 } } } }, "else": { + "operation": "boost", + "score": -0.01412682794034481 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.002662548329681158 + "score": 0.1621546447277069 }, "else": { - "operation": "boost", - "score": 0.10410748422145844 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.002722698962315917 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.0940052717924118 + }, + "else": { + "operation": "boost", + "score": -0.015737542882561684 + } + } } }, "else": { "operation": "boost", - "score": 0.058266881853342056 + "score": -0.1071741133928299 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.07339594513177872 }, "else": { "operation": "boost", - "score": -0.3619915246963501 + "score": 0.010426012799143791 } } } }, "else": { "operation": "boost", - "score": -0.002521607792004943 + "score": 0.009052521549165249 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.012541241943836212 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.0369470939040184 + }, + "else": { + "operation": "boost", + "score": 0.01056885626167059 + } } } - }, - "else": { - "operation": "boost", - "score": -0.03745245188474655 } - }, - "else": { - "operation": "boost", - "score": -0.007868895307183266 } + }, + "else": { + "operation": "boost", + "score": -0.009341657161712646 } } } }, "else": { "operation": "boost", - "score": -0.0010836465517058969 + "score": -0.000626898545306176 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.000978067866526544 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.007041280623525381 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.0032434524036943913 + }, + "else": { + "operation": "boost", + "score": -0.019533796235919 + } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "boost", + "score": -0.0011493518250063062 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], "then": { "operation": "boost", - "score": 0.08199305087327957 + "score": 0.13872672617435455 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98458.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": -0.1035330519080162 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 104520.5, + "threshold": 785.5, "then": { - "operation": "boost", - "score": 0.046499043703079224 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 796.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.5959507822990417 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 830.0, + "then": { + "operation": "boost", + "score": 0.020611271262168884 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1380709558725357 + }, + "else": { + "operation": "boost", + "score": 0.052616946399211884 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.2540584206581116 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.08085692673921585 + "score": 0.009359976276755333 }, "else": { - "operation": "boost", - "score": 0.6916908025741577 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.11227750778198242 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 510.0, + "then": { + "operation": "boost", + "score": 0.2303500473499298 + }, + "else": { + "operation": "boost", + "score": -0.012101538479328156 + } + } } } + }, + "else": { + "operation": "boost", + "score": 0.03708415850996971 } }, "else": { - "operation": "boost", - "score": 0.007677852641791105 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.003590163541957736 + }, + "else": { + "operation": "boost", + "score": 0.007363366894423962 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30903.0, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { + "operation": "boost", + "score": 0.27494168281555176 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.012367373332381248 + "score": -0.2039349228143692 }, "else": { + "operation": "boost", + "score": 0.02279553934931755 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31775.0, + "threshold": 67.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 113.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.07721369713544846 + "score": -0.05859784409403801 }, "else": { "operation": "boost", - "score": 0.04433480277657509 + "score": 0.06176484003663063 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99.5, + "then": { + "operation": "boost", + "score": -0.3843179941177368 + }, + "else": { + "operation": "boost", + "score": -0.024965571239590645 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1303745061159134 + }, + "else": { + "operation": "boost", + "score": 0.04958618804812431 } }, "else": { "operation": "boost", - "score": 0.09642582386732101 + "score": 0.01282954216003418 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.11742200702428818 }, "else": { "operation": "boost", - "score": 0.034233931452035904 + "score": -0.027713080868124962 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.0806955099105835 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.07228299230337143 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.11975449323654175 + }, + "else": { + "operation": "boost", + "score": 0.03649419546127319 + } + } }, "else": { "operation": "boost", - "score": -0.224242702126503 + "score": 0.03497075289487839 } }, "else": { "operation": "boost", - "score": -0.07246875762939453 + "score": -0.003974169492721558 } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.012126963585615158 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.013398288749158382 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.11714904755353928 - }, - "else": { - "operation": "boost", - "score": 0.11667528003454208 - } - }, - "else": { - "operation": "boost", - "score": -0.28751876950263977 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.052034150809049606 }, "else": { "operation": "boost", - "score": 0.09224221110343933 + "score": -0.12290152907371521 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11521323025226593 - }, - "else": { - "operation": "boost", - "score": 0.11733664572238922 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08317548781633377 - }, - "else": { - "operation": "boost", - "score": -0.15269224345684052 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07534658908843994 - } + "operation": "boost", + "score": -0.01624353975057602 } } }, "else": { - "operation": "boost", - "score": 0.0017677274299785495 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.00108834367711097 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol" + "Macro", + "Type", + "Variable" ], "then": { - "operation": "boost", - "score": 0.018262416124343872 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.011561665683984756 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0264977365732193 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 4.294602870941162 + }, + "else": { + "operation": "boost", + "score": -0.12183432281017303 + } + }, + "else": { + "operation": "boost", + "score": -0.07891983538866043 + } }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.024056240916252136 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.123222216963768 + }, + "else": { + "operation": "boost", + "score": -0.10181386768817902 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.11664365231990814 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10054897516965866 + }, + "else": { + "operation": "boost", + "score": 0.10896947234869003 + } }, "else": { "operation": "boost", - "score": -0.05763304606080055 + "score": 0.08084532618522644 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.036476779729127884 - }, - "else": { - "operation": "boost", - "score": -2.1929075717926025 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 249.0, - "then": { - "operation": "boost", - "score": 0.0843239575624466 - }, - "else": { - "operation": "boost", - "score": -0.14946699142456055 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 178.5, - "then": { - "operation": "boost", - "score": 0.02171245403587818 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148.5, - "then": { - "operation": "boost", - "score": 0.127778559923172 - }, - "else": { - "operation": "boost", - "score": 0.07850000262260437 - } - } - }, - "else": { - "operation": "boost", - "score": -0.21517546474933624 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 488.5, - "then": { - "operation": "boost", - "score": 0.109553262591362 - }, - "else": { - "operation": "boost", - "score": -0.0777750089764595 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 370.5, - "then": { - "operation": "boost", - "score": 0.07116031646728516 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 184.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.13616862893104553 - }, - "else": { - "operation": "boost", - "score": 0.1225530356168747 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.0, - "then": { - "operation": "boost", - "score": -0.20671959221363068 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 137.0, - "then": { - "operation": "boost", - "score": 0.2391093373298645 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121.5, - "then": { - "operation": "boost", - "score": -0.4780237376689911 - }, - "else": { - "operation": "boost", - "score": 0.12865231931209564 - } - } - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.12404785305261612 - }, - "else": { - "operation": "boost", - "score": -0.10153726488351822 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.006859892513602972 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": 0.04468744993209839 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.10291524976491928 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.12306199222803116 - }, - "else": { - "operation": "boost", - "score": 0.15798071026802063 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08248329162597656 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.0692971795797348 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, - "then": { - "operation": "boost", - "score": 0.10241318494081497 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.21442362666130066 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1602676659822464 - }, - "else": { - "operation": "boost", - "score": 0.27072811126708984 - } - }, - "else": { - "operation": "boost", - "score": 0.10174012184143066 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0588640421628952 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.10401852428913116 - }, - "else": { - "operation": "boost", - "score": 0.011087562888860703 - } - } - } - } - } - } + "operation": "boost", + "score": -0.02848714031279087 } }, + "else": { + "operation": "boost", + "score": -1.0812541246414185 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10548123717308044 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.019472122192382812 + "score": 0.011429959908127785 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08545906841754913 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11862265318632126 - }, - "else": { - "operation": "boost", - "score": -0.301787793636322 - } - } - }, - "else": { - "operation": "boost", - "score": -0.09391450136899948 - } - }, - "else": { - "operation": "boost", - "score": 0.04020227864384651 - } + "operation": "boost", + "score": 0.03656627982854843 } } } }, "else": { "operation": "boost", - "score": 0.10262931138277054 + "score": 0.008305622264742851 } - }, - "else": { - "operation": "boost", - "score": 0.013460252434015274 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.013953527435660362 + }, + "else": { + "operation": "boost", + "score": 0.0013938592746853828 + } + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 947.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.0938367173075676 + "score": 0.11266156286001205 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": -0.035231683403253555 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.06189578399062157 - }, - "else": { - "operation": "boost", - "score": 0.13116565346717834 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03431965783238411 - } + "operation": "boost", + "score": 0.06319790333509445 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Other", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03699225187301636 + "score": -0.0015383388381451368 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.025116905570030212 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, - "then": { - "operation": "boost", - "score": 0.2210206389427185 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "boost", - "score": -0.16643939912319183 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "boost", - "score": 0.10368507355451584 - }, - "else": { - "operation": "boost", - "score": -0.03467744588851929 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.0, - "then": { - "operation": "boost", - "score": 0.10459866374731064 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0840344950556755 - }, - "else": { - "operation": "boost", - "score": -0.1405518651008606 - } - }, - "else": { - "operation": "boost", - "score": -0.16974686086177826 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11870185285806656 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.0, - "then": { - "operation": "boost", - "score": 0.017313197255134583 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.19548073410987854 - }, - "else": { - "operation": "boost", - "score": 0.19816450774669647 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04854409769177437 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.21595795452594757 - }, - "else": { - "operation": "boost", - "score": -0.004740554839372635 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.035989124327898026 - } - } + "operation": "boost", + "score": 0.017983974888920784 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.0030946361366659403 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.06448911130428314 + "score": 0.08496406674385071 }, "else": { - "operation": "boost", - "score": -0.009410233236849308 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10620223730802536 + }, + "else": { + "operation": "boost", + "score": -0.10354144126176834 + } } - }, - "else": { - "operation": "boost", - "score": -0.03687388077378273 } } } }, "else": { - "operation": "boost", - "score": 0.0033876204397529364 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17462460696697235 - }, - "else": { - "operation": "boost", - "score": -0.06662417948246002 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 1.732500641082879e-05 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.003028303384780884 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.15364684164524078 + "score": -0.11262723803520203 }, "else": { "operation": "boost", - "score": 0.25574514269828796 + "score": 0.16177920997142792 } }, "else": { "operation": "boost", - "score": 0.022938229143619537 + "score": -0.13782308995723724 } }, "else": { - "operation": "boost", - "score": -0.011502997018396854 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05294949561357498 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.027691425755620003 + }, + "else": { + "operation": "boost", + "score": 4.164293204667047e-05 + } + } } }, "else": { "operation": "boost", - "score": 0.028989968821406364 + "score": -0.000640995625872165 } - }, - "else": { - "operation": "boost", - "score": 0.015743335708975792 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Constructor", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.006298573222011328 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.1017257422208786 + "score": 0.2748804986476898 }, "else": { "operation": "boost", - "score": 0.026314804330468178 + "score": 0.12583594024181366 } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + } + }, + "else": { + "operation": "boost", + "score": -0.048694759607315063 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Type", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.03372820094227791 - }, - "else": { - "operation": "boost", - "score": -0.0499877892434597 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.0266452357172966 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.09210959821939468 + "score": -0.008004069328308105 }, "else": { "operation": "boost", - "score": 0.08751055598258972 + "score": 0.17825835943222046 } }, "else": { + "operation": "boost", + "score": 0.02618134208023548 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.07791076600551605 + "score": 0.07446007430553436 }, "else": { + "operation": "boost", + "score": 0.022749394178390503 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06327665597200394 + }, + "else": { + "operation": "boost", + "score": -0.10483184456825256 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_EnumTag", "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": -0.0040351832285523415 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0655573159456253 + "score": 0.20257768034934998 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05843434855341911 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.17119383811950684 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.2772600054740906 - }, - "else": { - "operation": "boost", - "score": 0.11019840836524963 - } - } - } + "operation": "boost", + "score": -0.042878296226263046 } - }, - "else": { - "operation": "boost", - "score": -0.6035733222961426 } } } } + }, + "else": { + "operation": "boost", + "score": -0.011791698634624481 } - } - }, - "else": { - "operation": "boost", - "score": -0.030052881687879562 - } - }, - "else": { - "operation": "boost", - "score": -0.007929716259241104 - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06807418912649155 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.004855211824178696 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.009175770916044712 + "score": -0.10128659754991531 }, "else": { - "operation": "boost", - "score": -0.044456083327531815 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.5664917826652527 + }, + "else": { + "operation": "boost", + "score": -0.0435347743332386 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "boost", + "score": -0.3066834807395935 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14503.0, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.46834471821784973 + "score": 0.06281653046607971 }, "else": { - "operation": "boost", - "score": 0.07741569727659225 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": -0.4542044401168823 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.027569517493247986 + }, + "else": { + "operation": "boost", + "score": -0.02630799449980259 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1035563126206398 + }, + "else": { + "operation": "boost", + "score": -0.06951580941677094 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.011874448508024216 + } } }, "else": { "operation": "boost", - "score": 0.19294607639312744 + "score": -0.13298185169696808 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": -0.18924929201602936 + }, + "else": { + "operation": "boost", + "score": 0.05120014399290085 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12394887208938599 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08317942172288895 + "score": -0.10362043976783752 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.03526495769619942 + "score": 0.023188743740320206 }, "else": { - "operation": "boost", - "score": -1.966653823852539 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.08757364004850388 - }, - "else": { - "operation": "boost", - "score": 0.07479264587163925 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.04032896086573601 + }, + "else": { + "operation": "boost", + "score": -0.5251564979553223 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.009426930919289589 + }, + "else": { + "operation": "boost", + "score": 0.04172290861606598 + } + } + } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.04150928184390068 + }, + "else": { + "operation": "boost", + "score": 0.07050983607769012 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.013762333430349827 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14172135293483734 + }, + "else": { + "operation": "boost", + "score": 0.2448912113904953 + } }, "else": { "operation": "boost", - "score": 0.031975433230400085 + "score": 0.056889958679676056 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.004237506538629532 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.0470869280397892 + "score": 0.300592839717865 }, "else": { + "operation": "boost", + "score": 0.015560587868094444 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0057405708357691765 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.006378361023962498 + }, + "else": { + "operation": "boost", + "score": 0.0002680967445485294 + } + }, + "else": { + "operation": "boost", + "score": -0.06617840379476547 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.010928072966635227 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.037185512483119965 - }, - "else": { - "operation": "boost", - "score": 0.12757045030593872 - } + "operation": "boost", + "score": 0.12769454717636108 }, "else": { "operation": "boost", - "score": 0.14266616106033325 + "score": 0.797773540019989 } + }, + "else": { + "operation": "boost", + "score": -0.12692321836948395 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.24611681699752808 - }, - "else": { - "operation": "boost", - "score": 0.0910455659031868 - } + "operation": "boost", + "score": 0.018351895734667778 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07017568498849869 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06319020688533783 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11581774055957794 + }, + "else": { + "operation": "boost", + "score": 0.12008335441350937 + } + } }, "else": { "operation": "boost", - "score": 0.09719358384609222 + "score": 0.023111119866371155 } } } }, + "else": { + "operation": "boost", + "score": -0.10707085579633713 + } + } + } + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14642858505249023, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.23443223536014557, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3245614171028137, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "boost", + "score": 0.021701300516724586 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07038748264312744 + "score": -0.17321671545505524 }, "else": { "operation": "boost", - "score": -0.11173708736896515 + "score": 0.07532765716314316 } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08837592601776123 + }, + "else": { + "operation": "boost", + "score": -0.07437805831432343 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10811302810907364 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22252747416496277, + "then": { + "operation": "boost", + "score": 0.11044221371412277 + }, + "else": { + "operation": "boost", + "score": 0.08070756494998932 + } } } }, "else": { + "operation": "boost", + "score": 0.002672858303412795 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2728275656700134 + }, + "else": { + "operation": "boost", + "score": 0.0029972258489578962 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.12865129113197327 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.028714284300804138 - }, - "else": { - "operation": "boost", - "score": -0.14887316524982452 - } + "operation": "boost", + "score": -0.035731468349695206 }, "else": { "operation": "boost", - "score": -0.09091237932443619 + "score": 0.047551434487104416 } }, "else": { "operation": "boost", - "score": 0.02871757559478283 + "score": 0.04291671887040138 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1472999006509781 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.1359235942363739 + }, + "else": { + "operation": "boost", + "score": 0.1481594741344452 } }, "else": { "operation": "boost", - "score": 0.0006702806567773223 + "score": 0.04213515669107437 } + }, + "else": { + "operation": "boost", + "score": -0.012835810892283916 } } + } + }, + "else": { + "operation": "boost", + "score": -0.029688207432627678 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.006733829155564308 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.037397485226392746 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.0065246582962572575 + }, + "else": { + "operation": "boost", + "score": -0.06062892824411392 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.10770323872566223 + }, + "else": { + "operation": "boost", + "score": 0.2579324245452881 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0030043472070246935 + } + }, + "else": { + "operation": "boost", + "score": -0.13042831420898438 + } + }, + "else": { + "operation": "boost", + "score": 0.00430239038541913 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.0036323312669992447 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.06049693003296852 + "score": 0.001433235825970769 }, "else": { + "operation": "boost", + "score": -0.013461374677717686 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01835550367832184 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "boost", + "score": -0.12788823246955872 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 36.5, + "threshold": 14552.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "boost", - "score": 0.037463437765836716 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14581738412380219 - }, - "else": { - "operation": "boost", - "score": -0.10769367218017578 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0020317945163697004 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11569949984550476 - }, - "else": { - "operation": "boost", - "score": -0.10214801877737045 - } - } + "operation": "boost", + "score": 0.0723816454410553 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06460803747177124 + "score": -0.01893812231719494 }, "else": { - "operation": "boost", - "score": 0.06324028223752975 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.004780441056936979 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.05276767164468765 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { + "operation": "boost", + "score": 0.018852531909942627 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "boost", - "score": -0.12799367308616638 + "score": -0.019732270389795303 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.34246620535850525 - }, - "else": { - "operation": "boost", - "score": 0.06602393835783005 - } + "operation": "boost", + "score": -0.15940602123737335 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": -0.0938490554690361 }, "else": { "operation": "boost", - "score": 0.02359831891953945 + "score": 0.06485901027917862 } - }, - "else": { - "operation": "boost", - "score": 0.07990877330303192 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15775418281555176 - }, - "else": { - "operation": "boost", - "score": 0.033546652644872665 } }, "else": { "operation": "boost", - "score": -0.07253467291593552 + "score": -0.021776815876364708 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { - "operation": "boost", - "score": 0.016869371756911278 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.06687229126691818 + "score": 0.02668612077832222 }, "else": { "operation": "boost", - "score": 0.019568277522921562 + "score": -0.036322422325611115 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1055283397436142 - }, - "else": { - "operation": "boost", - "score": 0.11049284040927887 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.005159960128366947 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": 0.08120295405387878 + }, + "else": { + "operation": "boost", + "score": -0.38497471809387207 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.060661762952804565, "then": { "operation": "boost", - "score": 0.025257233530282974 + "score": -0.054955609142780304 }, "else": { "operation": "boost", - "score": 0.05452549830079079 + "score": 0.27775922417640686 } }, "else": { "operation": "boost", - "score": -0.01368767861276865 + "score": 0.07029920816421509 } - }, - "else": { - "operation": "boost", - "score": 0.024448905140161514 } } } - }, - "else": { - "operation": "boost", - "score": -0.016318337991833687 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.03951631113886833 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 231.5, + "feature": "FractionNameInContext", + "threshold": 0.060661762952804565, + "then": { + "operation": "boost", + "score": 0.006742463447153568 + }, + "else": { + "operation": "boost", + "score": 0.18413367867469788 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 234.0, + "threshold": 363.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 385.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 390.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24370.0, + "threshold": 1570.0, "then": { "operation": "boost", - "score": 0.07497244328260422 + "score": 0.21896860003471375 }, "else": { "operation": "boost", - "score": 0.030592693015933037 + "score": 0.05693446472287178 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 348.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.12989969551563263 - }, - "else": { - "operation": "boost", - "score": 0.020879192277789116 - } - }, - "else": { - "operation": "boost", - "score": 0.08723988384008408 - } + "operation": "boost", + "score": 0.007501464337110519 } }, "else": { "operation": "boost", - "score": -0.0038913642056286335 + "score": 0.15292787551879883 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.10065226256847382 - }, - "else": { - "operation": "boost", - "score": 0.1363212615251541 - } + "operation": "boost", + "score": -0.02056458592414856 + } + }, + "else": { + "operation": "boost", + "score": 0.0804295688867569 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1141.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": -0.09039556235074997 + }, + "else": { + "operation": "boost", + "score": -0.42899444699287415 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12429366260766983 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.021694505587220192 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.12557491660118103 - }, - "else": { - "operation": "boost", - "score": 0.084744393825531 - } - }, - "else": { - "operation": "boost", - "score": 0.08468074351549149 - } - }, - "else": { - "operation": "boost", - "score": 0.11913590133190155 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11280497908592224 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.16719986498355865 - }, - "else": { - "operation": "boost", - "score": -0.10497815161943436 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.009138679131865501 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.0364539697766304 - }, - "else": { - "operation": "boost", - "score": -0.14892715215682983 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.0, - "then": { - "operation": "boost", - "score": 0.1096452921628952 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.4234304428100586 - }, - "else": { - "operation": "boost", - "score": 0.19672620296478271 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11837547272443771 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10777236521244049 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.06685300916433334 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15214113891124725 - }, - "else": { - "operation": "boost", - "score": 0.09965702891349792 - } - }, - "else": { - "operation": "boost", - "score": -0.019931234419345856 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.01700557768344879 - }, - "else": { - "operation": "boost", - "score": -0.1044330894947052 - } - } - } - } + "operation": "boost", + "score": 0.13884972035884857 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.011433849111199379 - }, - "else": { - "operation": "boost", - "score": 0.03740652650594711 - } + "operation": "boost", + "score": -0.005449510645121336 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.09687400609254837 - }, - "else": { - "operation": "boost", - "score": -0.028520731255412102 - } + "operation": "boost", + "score": -0.42579522728919983 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.09024535864591599 - }, - "else": { - "operation": "boost", - "score": 0.02004646509885788 - } + "operation": "boost", + "score": -0.0651792511343956 } } } } + }, + "else": { + "operation": "boost", + "score": 0.024082956835627556 } } }, "else": { - "operation": "boost", - "score": 0.00038580954424105585 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.191347137093544 + }, + "else": { + "operation": "boost", + "score": 0.13444991409778595 + } + }, + "else": { + "operation": "boost", + "score": -0.043691884726285934 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.07590065151453018 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2083333432674408, + "then": { + "operation": "boost", + "score": 0.12770727276802063 + }, + "else": { + "operation": "boost", + "score": 0.16370955109596252 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -1.3002445786725048e-09 + }, + "else": { + "operation": "boost", + "score": 0.11007504910230637 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": -0.0036366076674312353 + }, + "else": { + "operation": "boost", + "score": 0.10925130546092987 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14655284583568573 + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "boost", - "score": -0.04123705253005028 + "score": 0.027505138888955116 }, "else": { + "operation": "boost", + "score": 0.1374935805797577 + } + }, + "else": { + "operation": "boost", + "score": -0.0067269387654960155 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 61.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.5208917856216431 + }, + "else": { + "operation": "boost", + "score": 0.005036272574216127 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.10537387430667877 + }, + "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.8903722167015076 + "score": 0.10469765961170197 }, "else": { + "operation": "boost", + "score": -0.02542676031589508 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.12286043912172318 + }, + "else": { + "operation": "boost", + "score": 0.10374109447002411 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.13301414251327515 + "score": 0.11129564791917801 }, "else": { "operation": "boost", - "score": 0.001492500538006425 + "score": 0.22119590640068054 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.16026712954044342 }, "else": { "operation": "boost", - "score": -0.08247492462396622 + "score": 0.0706552192568779 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1650443971157074 }, "else": { "operation": "boost", - "score": -0.1357921063899994 + "score": -0.09446509182453156 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.10147550702095032 + "score": -0.010798170231282711 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 470.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 4.179494857788086 - }, - "else": { - "operation": "boost", - "score": 0.0 - } + "operation": "boost", + "score": -0.3308092951774597 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 132.0, "then": { - "operation": "boost", - "score": 0.020576437935233116 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.5, + "then": { + "operation": "boost", + "score": 0.10387786477804184 + }, + "else": { + "operation": "boost", + "score": 0.16185446083545685 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.5387771129608154 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.001140847452916205 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.06264018267393112 + }, + "else": { + "operation": "boost", + "score": -0.9128319621086121 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": -0.5979392528533936 + }, + "else": { + "operation": "boost", + "score": -0.12796230614185333 + } + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11758440732955933 + "score": 0.056325480341911316 }, "else": { - "operation": "boost", - "score": 0.13135604560375214 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.6198936700820923 + }, + "else": { + "operation": "boost", + "score": -0.0057829865254461765 + } } } } } } } - }, - "else": { - "operation": "boost", - "score": -0.016232207417488098 } } } + }, + "else": { + "operation": "boost", + "score": -0.01977589540183544 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 32.5, "then": { - "operation": "boost", - "score": 0.02894306369125843 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.14340101182460785 + }, + "else": { + "operation": "boost", + "score": -0.038920432329177856 + } }, "else": { - "operation": "boost", - "score": 0.010404223576188087 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.025252221152186394 + }, + "else": { + "operation": "boost", + "score": 0.059392355382442474 + } } }, "else": { - "operation": "boost", - "score": -0.0010687881149351597 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18465909361839294, + "then": { + "operation": "boost", + "score": 0.03704385086894035 + }, + "else": { + "operation": "boost", + "score": -0.031134815886616707 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23401.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26223.5, + "threshold": 1969.5, "then": { "operation": "boost", - "score": 0.04041058570146561 + "score": 0.1159946545958519 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 76.5, "then": { - "operation": "boost", - "score": 0.11757349967956543 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 221.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 576.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": -0.040404144674539566 + }, + "else": { + "operation": "boost", + "score": -0.5119736790657043 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.021903708577156067 + }, + "else": { + "operation": "boost", + "score": 0.09760361164808273 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 134.5, + "then": { + "operation": "boost", + "score": -0.01671701855957508 + }, + "else": { + "operation": "boost", + "score": 0.1622217893600464 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": -0.903538703918457 + }, + "else": { + "operation": "boost", + "score": -0.015952639281749725 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": -0.26556196808815 + }, + "else": { + "operation": "boost", + "score": 0.001721831620670855 + } + }, + "else": { + "operation": "boost", + "score": -0.2439032346010208 + } + } + } }, "else": { - "operation": "boost", - "score": 0.14888238906860352 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.005114032421261072 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": 0.04874753579497337 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.12387137115001678 + }, + "else": { + "operation": "boost", + "score": -0.0731995552778244 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07223943620920181 + } + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6917.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.1996905505657196 - }, - "else": { - "operation": "boost", - "score": -77.64083862304688 - } - }, - "else": { - "operation": "boost", - "score": -0.00020976568339392543 - } + "operation": "boost", + "score": -0.028937658295035362 } } - }, - "else": { - "operation": "boost", - "score": 0.013153286650776863 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0008366018300876021 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.0160287544131279 - }, - "else": { - "operation": "boost", - "score": -0.13543663918972015 - } + "operation": "boost", + "score": -4.553383405436762e-05 } } }, "else": { "operation": "boost", - "score": -0.0003465033369138837 + "score": -0.0004899075720459223 } }, { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.0024400686379522085 + "score": 0.0043790824711322784 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297177.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.010552647523581982 + "score": 0.030807975679636 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.3100961446762085, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.014570512808859348 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "boost", + "score": -0.13708403706550598 + }, + "else": { + "operation": "boost", + "score": 0.10041848570108414 + } }, "else": { - "operation": "boost", - "score": -0.21327656507492065 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1006852388381958 + "score": 0.03555859252810478 }, "else": { "operation": "boost", - "score": 0.09569509327411652 + "score": -0.012505742721259594 } - }, - "else": { - "operation": "boost", - "score": 0.005484310910105705 } + }, + "else": { + "operation": "boost", + "score": 0.010016510263085365 } } }, "else": { - "operation": "boost", - "score": -0.005065925884991884 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 329.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 621.5, - "then": { - "operation": "boost", - "score": 0.024226421490311623 - }, - "else": { - "operation": "boost", - "score": 0.1151675432920456 - } - }, - "else": { - "operation": "boost", - "score": -0.02185334451496601 - } - }, - "else": { "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope", - "GlobalScope", - "FileScope" + "FileScope", + "FunctionScope" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { - "operation": "boost", - "score": 0.014800726436078548 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": 0.030635716393589973 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.1506742686033249 + }, + "else": { + "operation": "boost", + "score": 0.16461774706840515 + } + } }, "else": { "operation": "boost", - "score": 0.034731440246105194 + "score": -0.036227114498615265 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { - "operation": "boost", - "score": 0.00604663509875536 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.08809497952461243 + }, + "else": { + "operation": "boost", + "score": 0.2510433793067932 + } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "boost", + "score": 0.0832013189792633 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008947998285293579 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.001736943842843175 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11426593363285065 + }, + "else": { + "operation": "boost", + "score": -0.029455378651618958 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09818076342344284 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.07930239289999008 + }, + "else": { + "operation": "boost", + "score": -0.014317609369754791 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { + "operation": "boost", + "score": 0.025309402495622635 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 38.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 45.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.013953210785984993 - }, - "else": { - "operation": "boost", - "score": 0.04901443421840668 - } + "operation": "boost", + "score": 0.08739056438207626 }, "else": { "operation": "boost", - "score": -0.020047632977366447 + "score": 0.2278376668691635 } }, "else": { "operation": "boost", - "score": -0.026062900200486183 + "score": -0.030998365953564644 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.049779925495386124 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "boost", + "score": 0.1216145008802414 + }, + "else": { + "operation": "boost", + "score": 0.01791105419397354 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.18123094737529755 + }, + "else": { + "operation": "boost", + "score": -0.015973111614584923 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03871886804699898 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.019825609400868416 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "boost", + "score": -0.08056733757257462 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "boost", + "score": 0.15080232918262482 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 8.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": -0.1233731359243393 + }, + "else": { + "operation": "boost", + "score": 0.11960706114768982 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.14931921660900116 + }, + "else": { + "operation": "boost", + "score": 0.15200310945510864 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.19046108424663544 + }, + "else": { + "operation": "boost", + "score": 0.05725352093577385 + } + }, + "else": { + "operation": "boost", + "score": 0.041724275797605515 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.20108191668987274 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2817460298538208, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06924717873334885 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { + "operation": "boost", + "score": 0.1319665163755417 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.0772232860326767 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.011183395981788635 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11083454638719559 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.1006685271859169 - }, - "else": { - "operation": "boost", - "score": 0.11584669351577759 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.20476983487606049 - } + "operation": "boost", + "score": 0.0323745496571064 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.03263884037733078 + "score": 0.03706388175487518 }, "else": { "operation": "boost", - "score": 0.11526091396808624 + "score": -0.23877067863941193 } } - }, - "else": { - "operation": "boost", - "score": -0.26442381739616394 } - }, - "else": { - "operation": "boost", - "score": 0.03502590209245682 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { + "operation": "boost", + "score": 0.3968706727027893 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.036602310836315155 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.010443628765642643 + "score": 0.07144642621278763 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.11325732618570328 - }, - "else": { - "operation": "boost", - "score": -0.15193313360214233 - } + "operation": "boost", + "score": 0.1600523740053177 } - }, - "else": { - "operation": "boost", - "score": -0.32403311133384705 } }, "else": { "operation": "boost", - "score": 0.7350807189941406 + "score": 0.018465818837285042 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.033578060567379 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.04585929587483406 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.011314923875033855 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.13539406657218933 - }, - "else": { - "operation": "boost", - "score": 0.0007603028789162636 - } + "operation": "boost", + "score": -0.3136734664440155 }, "else": { "operation": "boost", - "score": 0.1290668100118637 + "score": -0.23735365271568298 } - }, - "else": { - "operation": "boost", - "score": 0.42307406663894653 } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.14778541028499603 - }, - "else": { - "operation": "boost", - "score": 0.09717992693185806 - } - }, - "else": { - "operation": "boost", - "score": 0.02756471373140812 - } - }, - "else": { - "operation": "boost", - "score": -0.10330642759799957 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.06397019326686859 - }, - "else": { - "operation": "boost", - "score": 0.05907880887389183 - } - } + "operation": "boost", + "score": 0.033671244978904724 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.13752193748950958 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.08819503337144852 + }, + "else": { + "operation": "boost", + "score": -0.002174093620851636 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": -1.5582008361816406 + }, + "else": { + "operation": "boost", + "score": -0.12132951617240906 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "boost", + "score": 0.002412287052720785 }, "else": { "operation": "boost", - "score": 0.05440707132220268 + "score": -0.14211629331111908 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.013942532241344452 + "score": 0.017680613324046135 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.088923379778862 - }, - "else": { - "operation": "boost", - "score": -0.026954876258969307 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.25833332538604736, "then": { "operation": "boost", - "score": 0.07023251801729202 + "score": 0.06452850252389908 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 8.0, "then": { "operation": "boost", - "score": 0.059836067259311676 + "score": 0.07288256287574768 }, "else": { - "operation": "boost", - "score": 0.11577632278203964 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1761387586593628 + }, + "else": { + "operation": "boost", + "score": 0.11707542091608047 + } } } + }, + "else": { + "operation": "boost", + "score": -0.20963941514492035 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "boost", + "score": 0.023896194994449615 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10025741904973984 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.16452838480472565 + } + }, + "else": { + "operation": "boost", + "score": 0.0032226149924099445 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.01274335477501154 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03250735253095627 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.11757225543260574 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": -0.3002808690071106 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.0, + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 127.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.03984343260526657 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0027204900979995728 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1081698015332222 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11222895234823227 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8999999761581421, + "then": { + "operation": "boost", + "score": 0.14308123290538788 + }, + "else": { + "operation": "boost", + "score": 0.11011667549610138 + } + }, + "else": { + "operation": "boost", + "score": -0.27925071120262146 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08686311542987823 + } }, "else": { "operation": "boost", - "score": 0.13118195533752441 + "score": -0.015459845773875713 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.6306818127632141, "then": { - "operation": "boost", - "score": -0.07796575874090195 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.21524783968925476 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.029781091958284378 + "score": 0.018193062394857407 }, "else": { "operation": "boost", - "score": 0.09572633355855942 + "score": -0.09147863835096359 } + }, + "else": { + "operation": "boost", + "score": 0.07986506819725037 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08539815992116928 + }, + "else": { + "operation": "boost", + "score": 0.04208461940288544 } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.09266756474971771 + }, + "else": { + "operation": "boost", + "score": 0.05122501775622368 + } } } } + }, + "else": { + "operation": "boost", + "score": -0.009430931881070137 + } + }, + "else": { + "operation": "boost", + "score": 0.007854443043470383 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.05905630812048912 + }, + "else": { + "operation": "boost", + "score": -0.019727516919374466 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.15089809894561768 - }, - "else": { - "operation": "boost", - "score": -0.07437112927436829 - } + "operation": "boost", + "score": 0.04933692887425423 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.08533571660518646 + }, + "else": { + "operation": "boost", + "score": -0.10744447261095047 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 235.5, "then": { "operation": "boost", - "score": 0.05896487459540367 + "score": -0.4037652313709259 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04522773623466492 - }, - "else": { - "operation": "boost", - "score": -0.004246761091053486 - } + "operation": "boost", + "score": 0.16682876646518707 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, "then": { "operation": "boost", - "score": 0.009248413145542145 + "score": 0.10429447144269943 }, "else": { - "operation": "boost", - "score": 0.046814270317554474 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.050411406904459 + }, + "else": { + "operation": "boost", + "score": 0.11749223619699478 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16681337356567383 + }, + "else": { + "operation": "boost", + "score": 0.08723682910203934 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.07763738185167313 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005244896747171879 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.16117152571678162 + }, + "else": { + "operation": "boost", + "score": 0.19074001908302307 + } + } + } + } } } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.019379017874598503 - }, - "else": { - "operation": "boost", - "score": -0.014073362573981285 - } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.009861885569989681 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.027917688712477684 - }, - "else": { - "operation": "boost", - "score": -0.5204707384109497 - } + "operation": "boost", + "score": 0.10831921547651291 }, "else": { "operation": "boost", - "score": -0.14166752994060516 + "score": -0.624600350856781 } + }, + "else": { + "operation": "boost", + "score": 0.018530819565057755 } } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.022736448794603348 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "feature": "FractionNameInContext", + "threshold": 0.7207792401313782, "then": { "operation": "boost", - "score": -1.3581041097640991 + "score": -0.1344747245311737 }, "else": { - "operation": "boost", - "score": -0.0354156419634819 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6547619104385376, + "then": { + "operation": "boost", + "score": 0.10247937589883804 + }, + "else": { + "operation": "boost", + "score": 0.002878654282540083 + } } }, "else": { "operation": "boost", - "score": 0.10436601936817169 + "score": -0.01352731604129076 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10642938315868378 - }, - "else": { - "operation": "boost", - "score": 0.00034292152849957347 - } + "operation": "boost", + "score": -0.009821811690926552 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.0009074579575099051 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13547760248184204 + }, + "else": { + "operation": "boost", + "score": -0.1060049757361412 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { + "operation": "boost", + "score": -0.0011839502258226275 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.09495095908641815 + "score": 0.0019230461912229657 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.10544013231992722 - }, - "else": { - "operation": "boost", - "score": 0.10009827464818954 - } - }, - "else": { - "operation": "boost", - "score": -0.189814493060112 - } + "operation": "boost", + "score": 0.04830247536301613 } - }, - "else": { - "operation": "boost", - "score": -0.0840660110116005 } - }, - "else": { - "operation": "boost", - "score": -0.01055991929024458 } }, "else": { "operation": "boost", - "score": -0.06510976701974869 + "score": -0.003377165412530303 } } + }, + "else": { + "operation": "boost", + "score": -0.15779680013656616 + } + }, + "else": { + "operation": "boost", + "score": -0.00020805506210308522 + } + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.007191034499555826 + }, + "else": { + "operation": "boost", + "score": 0.0015288389986380935 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope" + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0411803238093853 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.02644304931163788 - }, - "else": { - "operation": "boost", - "score": -0.6851146817207336 - } - }, - "else": { - "operation": "boost", - "score": 0.10878200083971024 - } - } + "operation": "boost", + "score": 0.0012364051071926951 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "boost", - "score": -0.013252598233520985 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.6515151262283325, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10131021589040756 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.1243465319275856 - }, - "else": { - "operation": "boost", - "score": 0.2378663271665573 - } - } + "operation": "boost", + "score": -0.06064142286777496 }, "else": { "operation": "if_greater", @@ -269967,3913 +267200,4696 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02532162517309189 + "score": -0.03488261252641678 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06360983103513718 - }, - "else": { - "operation": "boost", - "score": 0.1803228110074997 - } - }, - "else": { - "operation": "boost", - "score": 0.12706013023853302 - } - }, - "else": { - "operation": "boost", - "score": 0.029213694855570793 - } + "operation": "boost", + "score": 0.06743043661117554 } } }, "else": { - "operation": "boost", - "score": 0.011496446095407009 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.03511415421962738 + "score": -0.05571684241294861 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "boost", + "score": -0.004684825427830219 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.00781001104041934 - }, - "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.25119316577911377 - }, - "else": { - "operation": "boost", - "score": -0.1641658991575241 - } + "operation": "boost", + "score": -0.08780594170093536 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.21212908625602722 - }, - "else": { - "operation": "boost", - "score": -0.11154388636350632 - } + "operation": "boost", + "score": 0.11708618700504303 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": -0.0650385245680809 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.08891268074512482 + }, + "else": { + "operation": "boost", + "score": 0.14088085293769836 + } }, "else": { "operation": "boost", - "score": 0.10822399705648422 + "score": -0.0005086538149043918 } }, "else": { "operation": "boost", - "score": 0.018214061856269836 + "score": 0.15264949202537537 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.016832904890179634 }, "else": { "operation": "boost", - "score": 0.005291637033224106 + "score": 0.02204681746661663 } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Keyword", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" + "FileScope" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.005789491347968578 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", - "score": -0.0032456654589623213 + "score": -0.25574013590812683 }, "else": { "operation": "boost", - "score": 0.023147305473685265 + "score": 0.08166270703077316 } + }, + "else": { + "operation": "boost", + "score": 0.12017948180437088 } }, "else": { "operation": "boost", - "score": -0.060669660568237305 + "score": 0.027801718562841415 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.05405690148472786 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.06184849143028259 + "score": 0.09622704237699509 }, "else": { - "operation": "boost", - "score": 0.09464267641305923 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10008955001831055 + }, + "else": { + "operation": "boost", + "score": -0.06616475433111191 + } + }, + "else": { + "operation": "boost", + "score": 0.09938210994005203 + } + }, + "else": { + "operation": "boost", + "score": -0.01927945576608181 + } } }, "else": { "operation": "boost", - "score": 0.09008818119764328 + "score": -0.23969663679599762 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.006165829487144947 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.021338215097784996 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "boost", + "score": -0.008946791291236877 + }, + "else": { + "operation": "boost", + "score": 0.06221044063568115 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.07469461858272552 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.12998969852924347 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1770140528678894 + }, + "else": { + "operation": "boost", + "score": 0.12396284192800522 + } + } }, "else": { "operation": "boost", - "score": -0.02771194465458393 + "score": 0.015324401669204235 } } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.03294089064002037 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.02362982928752899 - }, - "else": { - "operation": "boost", - "score": 0.0327276773750782 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": -0.1067289263010025 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.1534944325685501 - }, - "else": { - "operation": "boost", - "score": -0.11359472572803497 - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.005805002525448799 - }, - "else": { - "operation": "boost", - "score": 0.007184136193245649 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2459.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2469.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": -0.25445178151130676 - }, - "else": { - "operation": "boost", - "score": 0.06194707006216049 - } - }, - "else": { - "operation": "boost", - "score": -0.005044121760874987 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52191.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52893.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06429271399974823 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56010.5, + "operation": "boost", + "score": 0.021581850945949554 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.13746154308319092 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1594514101743698 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10642983764410019 + }, + "else": { + "operation": "boost", + "score": 0.12181830406188965 + } + }, + "else": { + "operation": "boost", + "score": 0.005204018205404282 + } + } }, "else": { "operation": "boost", - "score": 0.14035923779010773 + "score": -0.010654940269887447 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.07164964079856873 }, "else": { "operation": "boost", - "score": 0.15299099683761597 + "score": 0.2507694363594055 } - }, - "else": { - "operation": "boost", - "score": 0.15811240673065186 } } - }, - "else": { - "operation": "boost", - "score": -0.09027489274740219 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.5, + "then": { + "operation": "boost", + "score": -0.09838996082544327 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.03782785311341286 - }, - "else": { - "operation": "boost", - "score": -0.316056489944458 - } + "operation": "boost", + "score": 0.11147382855415344 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.13358068466186523 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.12024819105863571 - }, - "else": { - "operation": "boost", - "score": 0.11920545250177383 - } - } + "operation": "boost", + "score": 0.04930591210722923 }, "else": { - "operation": "boost", - "score": -0.16464141011238098 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7569.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13333.0, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28871.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.10110106319189072 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, "then": { - "operation": "boost", - "score": -0.17188115417957306 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34866.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06749463826417923 + "score": 0.05186007544398308 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33827.0, - "then": { - "operation": "boost", - "score": 0.12229029089212418 - }, - "else": { - "operation": "boost", - "score": 0.10163851827383041 - } + "operation": "boost", + "score": 0.10767263174057007 } - } - }, - "else": { - "operation": "boost", - "score": 0.023349424824118614 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8635.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10480.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": -0.025237826630473137 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.6696428656578064, "then": { "operation": "boost", - "score": 0.04998670518398285 + "score": 0.10303480923175812 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.024774711579084396 + "score": -0.15329496562480927 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11081.5, - "then": { - "operation": "boost", - "score": 0.1123732402920723 - }, - "else": { - "operation": "boost", - "score": 0.11211082339286804 - } + "operation": "boost", + "score": 0.05059902369976044 } } - }, - "else": { - "operation": "boost", - "score": 0.010297494009137154 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8573.5, - "then": { - "operation": "boost", - "score": 0.11638810485601425 - }, - "else": { - "operation": "boost", - "score": 0.0635736808180809 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10880625247955322 - }, - "else": { - "operation": "boost", - "score": 0.07678180187940598 - } } + }, + "else": { + "operation": "boost", + "score": -0.02672327682375908 } }, "else": { + "operation": "boost", + "score": 0.019542384892702103 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50186.0, + "then": { + "operation": "boost", + "score": -0.27487632632255554 + }, + "else": { + "operation": "boost", + "score": -0.008519125171005726 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 81.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83.5, + "then": { + "operation": "boost", + "score": 0.02276836335659027 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4666.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 12.0, "then": { - "operation": "boost", - "score": -0.06603178381919861 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.5570861101150513 + }, + "else": { + "operation": "boost", + "score": -0.13374362885951996 + } }, "else": { + "operation": "boost", + "score": -0.19052083790302277 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4080.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "boost", - "score": 0.10737422108650208 + "score": 0.1036999449133873 }, "else": { "operation": "boost", - "score": 0.034540772438049316 + "score": 0.02469533309340477 } }, "else": { + "operation": "boost", + "score": 0.33949145674705505 + } + }, + "else": { + "operation": "boost", + "score": 0.06504737585783005 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.007551718037575483 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.03835337981581688 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "boost", + "score": -0.033536147326231 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3940.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.3930237889289856 + "score": -0.08444616943597794 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3740.5, + "threshold": 3269.5, "then": { "operation": "boost", - "score": 0.1199222281575203 + "score": 0.00835324265062809 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 83.5, "then": { - "operation": "boost", - "score": 0.10743113607168198 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1296.0, "then": { + "operation": "boost", + "score": -0.11592110246419907 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3079.0, + "threshold": 199.5, "then": { - "operation": "boost", - "score": -0.08714193850755692 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 332.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1113.5, + "then": { + "operation": "boost", + "score": 0.112408846616745 + }, + "else": { + "operation": "boost", + "score": 0.07565334439277649 + } + }, + "else": { + "operation": "boost", + "score": 0.3360001742839813 + } }, "else": { "operation": "boost", - "score": 0.10949040949344635 + "score": -0.0673159658908844 } - }, - "else": { - "operation": "boost", - "score": -0.4568278193473816 } + }, + "else": { + "operation": "boost", + "score": 0.32517534494400024 } }, "else": { - "operation": "boost", - "score": 0.018695656210184097 - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39696.5, - "then": { - "operation": "boost", - "score": -0.11521992087364197 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31541.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 1091.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34973.5, + "threshold": 1152.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36661.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.009024559520184994 + "score": 0.11512981355190277 }, "else": { "operation": "boost", - "score": 0.1125185638666153 + "score": 0.07510538399219513 } }, "else": { "operation": "boost", - "score": -0.05739501491189003 + "score": 0.2054782658815384 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.17232026159763336 - }, - "else": { - "operation": "boost", - "score": 0.0639449879527092 - } + "operation": "boost", + "score": 0.02722848393023014 } - }, - "else": { - "operation": "boost", - "score": 0.09987849742174149 } - }, - "else": { - "operation": "boost", - "score": 0.013080926612019539 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.061743494123220444 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.08365986496210098 + "score": 0.776103675365448 }, "else": { "operation": "boost", - "score": 0.04236747696995735 + "score": 0.0930323675274849 } - }, - "else": { - "operation": "boost", - "score": 0.09384621679782867 } + }, + "else": { + "operation": "boost", + "score": -0.010253913700580597 } + } + } + }, + "else": { + "operation": "boost", + "score": 0.021609660238027573 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0416802354156971 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15389.0, + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20439.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.24016883969306946 + }, + "else": { + "operation": "boost", + "score": 0.008459032513201237 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "boost", - "score": -0.20334933698177338 + "score": -0.010953841730952263 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29071.5, - "then": { - "operation": "boost", - "score": -0.08420618623495102 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07045447081327438 - }, - "else": { - "operation": "boost", - "score": 0.021538112312555313 - } - } + "operation": "boost", + "score": 0.0051690018735826015 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { + "operation": "boost", + "score": 0.20250539481639862 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.32519662380218506 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17997.0, - "then": { - "operation": "boost", - "score": -0.4560227394104004 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15953.0, - "then": { - "operation": "boost", - "score": 0.10809224843978882 - }, - "else": { - "operation": "boost", - "score": 0.06274215131998062 - } - } - }, - "else": { - "operation": "boost", - "score": 0.027486121281981468 - } - } + "operation": "boost", + "score": -0.36199480295181274 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.09581031650304794 + "score": 0.009686306118965149 }, "else": { "operation": "boost", - "score": -0.8110145926475525 + "score": -0.0051134261302649975 } } - }, - "else": { - "operation": "boost", - "score": -0.11700206995010376 } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.014982050284743309 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14575.5, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1745920032262802 - }, - "else": { - "operation": "boost", - "score": 0.12971511483192444 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14830.0, - "then": { - "operation": "boost", - "score": 0.10034305602312088 - }, - "else": { - "operation": "boost", - "score": 0.11390171200037003 - } - }, - "else": { - "operation": "boost", - "score": -0.04680541530251503 - } - } + "operation": "boost", + "score": 0.006006719544529915 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2795.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7550.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9362.5, - "then": { - "operation": "boost", - "score": -0.02081524021923542 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7839.0, - "then": { - "operation": "boost", - "score": 0.11391594260931015 - }, - "else": { - "operation": "boost", - "score": -0.546727180480957 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11877.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12192.5, - "then": { - "operation": "boost", - "score": -0.06922974437475204 - }, - "else": { - "operation": "boost", - "score": 0.14983539283275604 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10239288955926895 - }, - "else": { - "operation": "boost", - "score": -0.5430344939231873 - } - }, - "else": { - "operation": "boost", - "score": -0.13381317257881165 - } - }, - "else": { - "operation": "boost", - "score": -0.31298479437828064 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7473.5, - "then": { - "operation": "boost", - "score": 0.1148066446185112 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5568.0, - "then": { - "operation": "boost", - "score": 0.058509886264801025 - }, - "else": { - "operation": "boost", - "score": -0.005203723441809416 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.038967907428741455 - }, - "else": { - "operation": "boost", - "score": 0.13261355459690094 - } - } + "operation": "boost", + "score": 0.0223537664860487 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6175.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6777.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11273.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.08063694834709167 - }, - "else": { - "operation": "boost", - "score": 0.11808637529611588 - } - }, - "else": { - "operation": "boost", - "score": 0.020566174760460854 - } - }, - "else": { - "operation": "boost", - "score": 0.01442534290254116 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6644.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08109903335571289 - }, - "else": { - "operation": "boost", - "score": 0.12136856466531754 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.111492820084095 - }, - "else": { - "operation": "boost", - "score": 0.079757921397686 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2910.0, - "then": { - "operation": "boost", - "score": 0.012462579645216465 - }, - "else": { - "operation": "boost", - "score": -0.26457729935646057 - } - } + "operation": "boost", + "score": -0.004271680489182472 } } } + }, + "else": { + "operation": "boost", + "score": -0.01713901199400425 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32678.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44699.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.12060762941837311 + "score": 0.012491095811128616 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": -0.0018588851671665907 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33041.5, + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, "then": { "operation": "boost", - "score": 0.039685655385255814 + "score": -0.30579322576522827 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.029411764815449715, "then": { "operation": "boost", - "score": 0.11848372966051102 + "score": -0.011954578571021557 }, "else": { "operation": "boost", - "score": -0.11459625512361526 + "score": -0.08556331694126129 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.0028698768001049757 - }, - "else": { - "operation": "boost", - "score": 0.08920980989933014 - } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24366.0, - "then": { - "operation": "boost", - "score": -0.11261744052171707 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18534.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05430222675204277 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10311765968799591 - }, - "else": { - "operation": "boost", - "score": 0.07260771840810776 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21260.5, - "then": { - "operation": "boost", - "score": 0.1115524023771286 - }, - "else": { - "operation": "boost", - "score": 0.11614754050970078 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04613684490323067 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.0837269201874733 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.0516209751367569 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.007153818849474192 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15708.5, - "then": { - "operation": "boost", - "score": -0.24305488169193268 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11248.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10809896886348724 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15033.0, - "then": { - "operation": "boost", - "score": -0.12574262917041779 - }, - "else": { - "operation": "boost", - "score": 0.13498499989509583 - } - }, - "else": { - "operation": "boost", - "score": 0.09811899811029434 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5034.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9062.5, - "then": { - "operation": "boost", - "score": 0.06894124299287796 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.036926236003637314 - }, - "else": { - "operation": "boost", - "score": 0.10759830474853516 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.035410359501838684 - }, - "else": { - "operation": "boost", - "score": -0.863402783870697 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03271617367863655 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3824.0, - "then": { - "operation": "boost", - "score": -0.07637408375740051 - }, - "else": { - "operation": "boost", - "score": 0.12664274871349335 - } - } - } - } - } - } + "operation": "boost", + "score": -0.0367160364985466 }, "else": { "operation": "boost", - "score": -0.129803866147995 + "score": 0.005387096665799618 } } } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.05191337689757347 + }, + "else": { + "operation": "boost", + "score": -0.002513653365895152 + } + }, + "else": { + "operation": "boost", + "score": 0.016109062358736992 + } }, "else": { "operation": "boost", - "score": 0.00814634095877409 + "score": -0.1002093255519867 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.0013941786019131541 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.054038338363170624 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.023999273777008057 + }, + "else": { + "operation": "boost", + "score": -0.14382703602313995 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007074030116200447 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.01261135283857584 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01382086519151926 + }, + "else": { + "operation": "boost", + "score": -0.03150990977883339 + } + }, + "else": { + "operation": "boost", + "score": -0.052164968103170395 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01309114322066307 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 398484.5, + "then": { + "operation": "boost", + "score": -0.19659751653671265 + }, + "else": { + "operation": "boost", + "score": -0.013261091895401478 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.03302072361111641 + }, + "else": { + "operation": "boost", + "score": 0.01065438985824585 + } + } } } } }, "else": { - "operation": "boost", - "score": -0.003724026959389448 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.10715220868587494 - }, - "else": { - "operation": "boost", - "score": 0.05281812325119972 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.15638306736946106 + }, + "else": { + "operation": "boost", + "score": 0.06307130306959152 + } + }, + "else": { + "operation": "boost", + "score": 0.024465134367346764 + } + }, + "else": { + "operation": "boost", + "score": 0.0018472514348104596 + } + }, + "else": { + "operation": "boost", + "score": 0.10335025936365128 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.04734949395060539 + }, + "else": { + "operation": "boost", + "score": -0.07756617665290833 + } + } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.011051119305193424 - }, - "else": { - "operation": "boost", - "score": -0.07600048184394836 - } } }, "else": { "operation": "boost", - "score": -0.00034280316322110593 + "score": -0.0004717946576420218 } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.18614718317985535, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { "operation": "boost", - "score": 0.0019244570285081863 + "score": 0.10177680104970932 }, "else": { "operation": "boost", - "score": -0.3171546757221222 + "score": 0.03698424622416496 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31292.5, + "operation": "boost", + "score": 0.0036220799665898085 + } + }, + "else": { + "operation": "boost", + "score": 0.009203577414155006 + } + }, + "else": { + "operation": "boost", + "score": 0.13257476687431335 + } + }, + "else": { + "operation": "boost", + "score": -0.0009224828681908548 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4464.5, + "then": { + "operation": "boost", + "score": 0.010247895494103432 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4035.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4210.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4252.5, + "then": { + "operation": "boost", + "score": -0.02593368850648403 + }, + "else": { + "operation": "boost", + "score": 0.11711981147527695 + } + }, + "else": { + "operation": "boost", + "score": -0.1432752162218094 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3997.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.3177371919155121 + }, + "else": { + "operation": "boost", + "score": 0.11248493194580078 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3311.0, + "then": { + "operation": "boost", + "score": -0.21833547949790955 + }, + "else": { + "operation": "boost", + "score": 0.017413429915905 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1342354565858841 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.10036325454711914 + }, + "else": { + "operation": "boost", + "score": 0.04803675040602684 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007124327588826418 + } + }, + "else": { + "operation": "boost", + "score": 0.007065048441290855 + } + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32026.0, + "threshold": 3874.0, "then": { + "operation": "boost", + "score": 0.12241819500923157 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43302.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.007949844934046268 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 52893.5, + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.007753666955977678 + }, + "else": { + "operation": "boost", + "score": -0.06203873082995415 + } + }, + "else": { + "operation": "boost", + "score": 0.000696358853019774 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.0004922975786030293 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02033214457333088 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56010.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62617.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09106514602899551 - }, - "else": { - "operation": "boost", - "score": 0.022835224866867065 - } - }, - "else": { - "operation": "boost", - "score": 0.09943270683288574 - } + "operation": "boost", + "score": 0.1341688632965088 }, "else": { "operation": "boost", - "score": 0.04111986979842186 + "score": -0.02884571999311447 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75566.5, + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.016352398321032524 - }, - "else": { - "operation": "boost", - "score": 0.07193852961063385 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.03303537145256996 + "score": -0.19442018866539001 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57673.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", + "CCC_ClassStructUnion", "CCC_Statement" ], "then": { "operation": "boost", - "score": 0.10638733953237534 + "score": 0.10770638287067413 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.1276673823595047 - }, - "else": { - "operation": "boost", - "score": 0.012342731468379498 - } + "operation": "boost", + "score": 0.02366524003446102 } }, "else": { "operation": "boost", - "score": -0.017432617023587227 + "score": 0.009141098707914352 } } + }, + "else": { + "operation": "boost", + "score": -0.5403812527656555 } } }, "else": { "operation": "boost", - "score": 0.08377189934253693 + "score": 0.023051610216498375 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 26.5, "then": { "operation": "boost", - "score": -0.2946960926055908 + "score": 0.18894246220588684 }, "else": { - "operation": "boost", - "score": 0.10366365313529968 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": -0.013722024857997894 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62498.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.09249580651521683 + "score": 0.24503645300865173 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { - "operation": "boost", - "score": 0.11650906503200531 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10172583907842636 + }, + "else": { + "operation": "boost", + "score": -0.102369524538517 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7333333492279053, + "then": { + "operation": "boost", + "score": -0.523491382598877 + }, + "else": { + "operation": "boost", + "score": -0.03410370647907257 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.875, + "then": { + "operation": "boost", + "score": 0.09618552029132843 + }, + "else": { + "operation": "boost", + "score": 0.03454143553972244 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": -0.0509113147854805 + }, + "else": { + "operation": "boost", + "score": 0.16027319431304932 + } + }, + "else": { + "operation": "boost", + "score": -0.1048215925693512 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02150803431868553 + } + } + } }, "else": { "operation": "boost", - "score": 0.08750510960817337 + "score": 0.007936708629131317 } } + }, + "else": { + "operation": "boost", + "score": 0.017292805016040802 } - }, - "else": { - "operation": "boost", - "score": 0.029627038165926933 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.09989161789417267 - }, - "else": { - "operation": "boost", - "score": -0.06876403093338013 - } - }, - "else": { - "operation": "boost", - "score": -0.06865368783473969 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33449.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.0, - "then": { - "operation": "boost", - "score": -0.4039778709411621 - }, - "else": { - "operation": "boost", - "score": 0.014091435819864273 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "boost", - "score": 0.12230691313743591 + "score": 0.009890188463032246 }, "else": { "operation": "boost", - "score": 0.07129666954278946 + "score": -0.012287947349250317 } } - }, - "else": { - "operation": "boost", - "score": -0.15795683860778809 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Unknown" + ], "then": { - "operation": "boost", - "score": 0.1130000427365303 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.049468033015728 + "score": 0.06370773166418076 }, "else": { + "operation": "boost", + "score": 0.000703765545040369 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.109201580286026 + "score": 0.0594918318092823 }, "else": { "operation": "boost", - "score": -0.001021073549054563 + "score": 0.15751448273658752 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.875, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": -0.2103716880083084 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "boost", - "score": 0.08650339394807816 + "score": 0.08878026902675629 }, "else": { "operation": "boost", - "score": -0.5677974820137024 + "score": 0.042351581156253815 } - }, - "else": { - "operation": "boost", - "score": -0.1412384808063507 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.8999999761581421, "then": { + "operation": "boost", + "score": 0.2516767978668213 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36661.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06582724303007126 + "score": 0.10747905820608139 }, "else": { - "operation": "boost", - "score": 0.11165206134319305 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "boost", + "score": -0.0038914713077247143 + }, + "else": { + "operation": "boost", + "score": 0.032342396676540375 + } } - }, - "else": { - "operation": "boost", - "score": 0.072577565908432 } } - }, - "else": { - "operation": "boost", - "score": 0.03292141854763031 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "Scope", "set": [ - "FunctionScope", "ClassScope", + "FunctionScope", "GlobalScope" ], "then": { + "operation": "boost", + "score": 0.0006269702571444213 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11585824191570282 - }, - "else": { - "operation": "boost", - "score": 0.08748944103717804 - } + "operation": "boost", + "score": 0.09192901849746704 }, "else": { "operation": "boost", - "score": -0.11287416517734528 + "score": -0.023434320464730263 } }, "else": { - "operation": "boost", - "score": 0.07165277749300003 - } - }, - "else": { - "operation": "boost", - "score": -0.17257709801197052 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33937.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1936255246400833 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07472047954797745 + }, + "else": { + "operation": "boost", + "score": -0.02343680150806904 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.02403353340923786 + }, + "else": { + "operation": "boost", + "score": -0.15146182477474213 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { + "operation": "boost", + "score": 0.03822210803627968 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.07725842297077179 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.15458731353282928 + }, + "else": { + "operation": "boost", + "score": -0.01727977767586708 + } + }, + "else": { + "operation": "boost", + "score": -0.0157580878585577 + } + }, + "else": { + "operation": "boost", + "score": 0.01870795153081417 + } + }, + "else": { + "operation": "boost", + "score": -0.03041635826230049 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3100961446762085, "then": { "operation": "boost", - "score": 0.10397421568632126 + "score": 0.048147521913051605 }, "else": { "operation": "boost", - "score": 0.18307898938655853 + "score": -0.11522255092859268 } }, "else": { "operation": "boost", - "score": 0.03671666607260704 + "score": 0.0038328361697494984 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, + "then": { + "operation": "boost", + "score": -0.09047207236289978 }, "else": { "operation": "boost", - "score": -0.17273680865764618 + "score": -0.04003902152180672 } } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08225734531879425 - }, - "else": { - "operation": "boost", - "score": 0.04092106223106384 - } - }, - "else": { - "operation": "boost", - "score": 0.09999288618564606 - } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24366.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.026805054396390915 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20414.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20522.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.025360403582453728 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09587429463863373 + "score": 0.06086413562297821 }, "else": { "operation": "boost", - "score": 0.11582539975643158 + "score": 0.003323004115372896 } }, "else": { "operation": "boost", - "score": 0.06307941675186157 + "score": -0.01984761655330658 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.10030964016914368 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "boost", + "score": 0.08139261603355408 + }, + "else": { + "operation": "boost", + "score": -0.2596028745174408 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "boost", + "score": 0.07359884679317474 + }, + "else": { + "operation": "boost", + "score": -0.01661432720720768 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.061473239213228226 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.21139048039913177 + }, + "else": { + "operation": "boost", + "score": 0.025606026872992516 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09657640755176544 + }, + "else": { + "operation": "boost", + "score": 0.024132974445819855 + } + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22073.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.008150896057486534 + "score": -0.011068685911595821 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, "then": { + "operation": "boost", + "score": 0.09652301669120789 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21996.0, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { + "operation": "boost", + "score": -0.5030319094657898 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11857564747333527 + }, + "else": { + "operation": "boost", + "score": -0.02405446395277977 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05607255920767784 + "score": 0.2903074026107788 }, "else": { "operation": "boost", - "score": 0.11106878519058228 + "score": 0.0040025063790380955 } }, "else": { - "operation": "boost", - "score": 0.04112645983695984 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "boost", + "score": 0.05892309546470642 + }, + "else": { + "operation": "boost", + "score": 0.21664948761463165 + } } }, "else": { "operation": "boost", - "score": -0.12331593781709671 + "score": 0.013232005760073662 } - }, - "else": { - "operation": "boost", - "score": 0.2750869691371918 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.11837613582611084 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12764038145542145 + "score": 0.006993937771767378 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "boost", - "score": 0.11305063217878342 + "score": 0.07603845000267029 }, "else": { "operation": "boost", - "score": -0.42176157236099243 + "score": 0.04777558892965317 } }, "else": { - "operation": "boost", - "score": -0.31419506669044495 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": 0.10236963629722595 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.05738890916109085 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.11494578421115875 + }, + "else": { + "operation": "boost", + "score": 0.1073957085609436 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05797027796506882 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": 0.02639535441994667 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.10889049619436264 + }, + "else": { + "operation": "boost", + "score": 0.05575646832585335 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.06553755700588226 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.5006436109542847 + }, + "else": { + "operation": "boost", + "score": 0.13068798184394836 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01742546632885933 + } } } + }, + "else": { + "operation": "boost", + "score": -0.05266523361206055 } + }, + "else": { + "operation": "boost", + "score": -0.013626650907099247 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.023092560470104218 }, "else": { - "operation": "boost", - "score": -0.021710488945245743 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.0008264699135906994 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01823270693421364 + }, + "else": { + "operation": "boost", + "score": -0.01848263293504715 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.21648608148097992 + }, + "else": { + "operation": "boost", + "score": 0.11282654851675034 + } + }, + "else": { + "operation": "boost", + "score": 0.0031107845716178417 + } + } } } } } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05134141817688942 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.021538201719522476 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 121.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.14936725795269012 + "score": 0.1561160534620285 }, "else": { + "operation": "boost", + "score": 0.012796763330698013 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20345.0, + "operation": "boost", + "score": 0.006376327946782112 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.0049309078603982925 + "score": 0.022808266803622246 }, "else": { "operation": "boost", - "score": 0.11360988020896912 + "score": -0.03507460281252861 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { "operation": "boost", - "score": 0.03306254372000694 + "score": -0.04814942181110382 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.04904739186167717 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.41944748163223267 - }, - "else": { - "operation": "boost", - "score": 0.026746833696961403 - } - } + "operation": "boost", + "score": 0.02568429708480835 } } }, "else": { - "operation": "boost", - "score": -0.0023547462187707424 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10541584342718124 + "score": -0.052023448050022125 }, "else": { - "operation": "boost", - "score": 0.14738331735134125 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.011857856996357441 + }, + "else": { + "operation": "boost", + "score": -0.024699296802282333 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.18490338325500488 - }, - "else": { - "operation": "boost", - "score": 0.13080167770385742 - } + "operation": "boost", + "score": -0.004296578001230955 } - }, - "else": { - "operation": "boost", - "score": -0.08241885900497437 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0006217919290065765 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21786.0, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39111.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.018779195845127106 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40369.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { + "operation": "boost", + "score": -0.00024659206974320114 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": -0.03768032416701317 + }, + "else": { + "operation": "boost", + "score": 0.12412726879119873 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 66.0, + "then": { + "operation": "boost", + "score": 0.08198021352291107 + }, + "else": { + "operation": "boost", + "score": 0.11961319297552109 + } + }, + "else": { + "operation": "boost", + "score": -0.005435221828520298 + } + }, + "else": { + "operation": "boost", + "score": -0.017295369878411293 + } + } + }, + "else": { + "operation": "boost", + "score": -0.13437318801879883 + } + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 55.5, "then": { "operation": "boost", - "score": -0.0027234903536736965 + "score": -0.03345348313450813 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 292981.5, + "threshold": 51.5, "then": { + "operation": "boost", + "score": 0.2755756080150604 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.014303416945040226 + "score": 0.03283674642443657 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.08668447285890579 + "score": 0.094693623483181 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 337965.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.01859564147889614 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.12124619632959366 - }, - "else": { - "operation": "boost", - "score": -1.6483917236328125 - } + "operation": "boost", + "score": 0.30288854241371155 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.2573169767856598 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07102274894714355 + "score": 0.15858472883701324 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.19868230819702148 + "score": -0.11181192845106125 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.14768746495246887 - }, - "else": { - "operation": "boost", - "score": -1.666892170906067 - } + "operation": "boost", + "score": 0.2430713027715683 } } + }, + "else": { + "operation": "boost", + "score": -0.09957689046859741 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85516.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141422.5, - "then": { - "operation": "boost", - "score": -0.05486854165792465 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.041745174676179886 - }, - "else": { - "operation": "boost", - "score": -0.06198028847575188 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13171687722206116 - } } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.05485249310731888 - }, - "else": { - "operation": "boost", - "score": -0.02210906706750393 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": -0.11382563412189484 - }, - "else": { - "operation": "boost", - "score": 0.25470808148384094 - } - }, - "else": { - "operation": "boost", - "score": 0.06247694417834282 } } - }, - "else": { - "operation": "boost", - "score": -0.05481288582086563 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.1033555343747139 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "boost", - "score": 0.022841040045022964 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4305555522441864, + "then": { + "operation": "boost", + "score": 0.06963296979665756 + }, + "else": { + "operation": "boost", + "score": -0.0975569412112236 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.1364806890487671 + }, + "else": { + "operation": "boost", + "score": 0.053728535771369934 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, "then": { - "operation": "boost", - "score": -0.10614126175642014 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.07302875816822052 + }, + "else": { + "operation": "boost", + "score": 0.1120653748512268 + } }, "else": { "operation": "boost", - "score": 0.11366850137710571 + "score": 0.04538460448384285 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21123.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.43282201886177063 + "score": -0.09164302051067352 }, "else": { + "operation": "boost", + "score": -0.17219488322734833 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21492.0, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { - "operation": "boost", - "score": 0.08278928697109222 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.09544993937015533 - }, - "else": { - "operation": "boost", - "score": 0.09165424853563309 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1600242704153061 - } - }, - "else": { - "operation": "boost", - "score": -0.04531959444284439 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.008543040603399277 - } - } - }, - "else": { - "operation": "boost", - "score": -0.003050510073080659 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01137707382440567 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.11046456545591354 - }, - "else": { - "operation": "boost", - "score": 0.11431409418582916 - } - }, - "else": { - "operation": "boost", - "score": -0.26831361651420593 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04920370504260063 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0796804279088974 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": -0.057770732790231705 + }, + "else": { + "operation": "boost", + "score": -0.5156329274177551 + } + }, + "else": { + "operation": "boost", + "score": 0.06957592070102692 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.07614981383085251 + }, + "else": { + "operation": "boost", + "score": 0.039564620703458786 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.021319909021258354 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.13208049535751343 + }, + "else": { + "operation": "boost", + "score": 0.031130582094192505 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06482527405023575 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0028899714816361666 + }, + "else": { + "operation": "boost", + "score": -0.04997211694717407 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.9150100946426392 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3030303120613098, + "then": { + "operation": "boost", + "score": 0.11349374055862427 + }, + "else": { + "operation": "boost", + "score": 0.11735201627016068 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0009545695502310991 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "boost", + "score": 0.02320677973330021 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": 0.12514643371105194 + }, + "else": { + "operation": "boost", + "score": 0.09731817245483398 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00688102887943387 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.10597009211778641 + }, + "else": { + "operation": "boost", + "score": 0.09513063728809357 + } + }, + "else": { + "operation": "boost", + "score": 0.043702755123376846 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.14045922458171844 + }, + "else": { + "operation": "boost", + "score": -0.4479513466358185 + } + }, + "else": { + "operation": "boost", + "score": -0.004938047379255295 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": 0.10194102674722672 + }, + "else": { + "operation": "boost", + "score": 0.02090710587799549 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.037078410387039185 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.04516371339559555 + }, + "else": { + "operation": "boost", + "score": 0.12538614869117737 + } + }, + "else": { + "operation": "boost", + "score": 0.11079856008291245 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.014297941699624062 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.015750279650092125 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08116883039474487, + "then": { + "operation": "boost", + "score": 0.149654820561409 + }, + "else": { + "operation": "boost", + "score": 0.06323083490133286 + } + }, + "else": { + "operation": "boost", + "score": 0.005800396669656038 + } + } + }, + "else": { + "operation": "boost", + "score": -0.026585204526782036 + } + } + } + } + } }, "else": { - "operation": "boost", - "score": 0.08912091702222824 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.19756686687469482 + "score": 0.008781728334724903 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.18906204402446747 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.11154245585203171 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.1210918128490448 + }, + "else": { + "operation": "boost", + "score": 0.07280150055885315 + } + }, + "else": { + "operation": "boost", + "score": -0.05287497490644455 + } }, "else": { - "operation": "boost", - "score": -0.5804339051246643 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0060271527618169785 + }, + "else": { + "operation": "boost", + "score": 0.07414309680461884 + } } - }, - "else": { - "operation": "boost", - "score": 0.042806509882211685 } } - }, - "else": { - "operation": "boost", - "score": 0.0701599195599556 } } } }, "else": { - "operation": "boost", - "score": 0.0021666993852704763 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00024227119865827262 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 549246.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.264944463968277 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "boost", + "score": 0.027793429791927338 + }, + "else": { + "operation": "boost", + "score": 0.010805357247591019 + } + }, + "else": { + "operation": "boost", + "score": -0.01964961178600788 + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.15371762216091156 + "score": 0.011082030832767487 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { - "operation": "boost", - "score": -0.006333341356366873 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { + "operation": "boost", + "score": 0.0823514387011528 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "boost", - "score": 0.0883178561925888 - }, - "else": { - "operation": "boost", - "score": -0.055007968097925186 - } + "operation": "boost", + "score": 0.03360642492771149 }, "else": { "operation": "boost", - "score": -0.029898451641201973 + "score": -0.02430642955005169 } - }, - "else": { - "operation": "boost", - "score": 0.05677603930234909 } + }, + "else": { + "operation": "boost", + "score": -0.002645618049427867 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": 0.06506579369306564 - }, - "else": { - "operation": "boost", - "score": 0.10280074179172516 - } - }, - "else": { - "operation": "boost", - "score": -0.00678854389116168 - } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.005970544181764126 - }, - "else": { - "operation": "boost", - "score": -0.13766084611415863 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Namespace" + "Macro", + "Namespace", + "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0038496372289955616 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.028760729357600212 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.049424923956394196 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06930773705244064 + "score": -0.12799513339996338 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07229241728782654 + "score": -0.005482710897922516 }, "else": { + "operation": "boost", + "score": 0.007057482842355967 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.004188746213912964 + }, + "else": { + "operation": "boost", + "score": 0.04727755859494209 + } + }, + "else": { + "operation": "boost", + "score": -0.10780718177556992 + } + }, + "else": { + "operation": "boost", + "score": 0.04663396626710892 + } + }, + "else": { + "operation": "boost", + "score": -0.05920550599694252 + } + }, + "else": { "operation": "boost", - "score": 0.09023391455411911 + "score": -0.027068641036748886 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, + "then": { + "operation": "boost", + "score": 0.0045654913410544395 + }, + "else": { + "operation": "boost", + "score": 0.06737309694290161 + } }, "else": { "operation": "boost", - "score": 0.08369781821966171 + "score": -0.0757371261715889 } } + }, + "else": { + "operation": "boost", + "score": -0.03437727317214012 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.002546918112784624 + }, + "else": { + "operation": "boost", + "score": 0.008883552625775337 + } } }, "else": { - "operation": "boost", - "score": 0.007392421830445528 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.004626577254384756 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "GlobalScope" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10233376175165176 - }, - "else": { - "operation": "boost", - "score": -0.06369675695896149 - } + "operation": "boost", + "score": -0.008355313912034035 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.014172902330756187 - }, - "else": { - "operation": "boost", - "score": -0.030440034344792366 - } + "operation": "boost", + "score": 0.029123982414603233 } }, "else": { "operation": "boost", - "score": 0.0027049221098423004 + "score": 0.003866686951369047 } }, "else": { "operation": "boost", - "score": -0.05468262359499931 + "score": -0.0062074060551822186 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { + "operation": "boost", + "score": 0.0009847148321568966 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "boost", + "score": -0.0406905822455883 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], "then": { - "operation": "boost", - "score": 0.033111974596977234 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.10916110128164291 - }, - "else": { - "operation": "boost", - "score": 0.09257926046848297 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 749331.5, "then": { - "operation": "boost", - "score": -0.6933717727661133 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.3122960031032562 + }, + "else": { + "operation": "boost", + "score": -0.033365171402692795 + } }, "else": { - "operation": "boost", - "score": 0.150972381234169 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.05610714852809906 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82127.0, + "then": { + "operation": "boost", + "score": 0.0834072157740593 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.0008456968935206532 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.017820855602622032 + }, + "else": { + "operation": "boost", + "score": -0.05817655101418495 + } + } + } + } } }, "else": { "operation": "boost", - "score": 0.07615012675523758 + "score": 0.01127170491963625 } + }, + "else": { + "operation": "boost", + "score": -0.02390456199645996 } + }, + "else": { + "operation": "boost", + "score": -0.0072114490903913975 } - }, - "else": { - "operation": "boost", - "score": -0.33015358448028564 } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01828569918870926 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0004869515832979232 + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.004258192144334316 + }, + "else": { + "operation": "boost", + "score": 0.0013701822608709335 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.04457341507077217 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0008995907846838236 + }, + "else": { + "operation": "boost", + "score": -0.015812719240784645 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, + "then": { + "operation": "boost", + "score": 0.10841835290193558 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.047525495290756226 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.006633542012423277 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198769.5, + "feature": "FractionNameInContext", + "threshold": 0.773809552192688, "then": { "operation": "boost", - "score": -0.5354407429695129 + "score": 0.11093796044588089 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, "then": { "operation": "boost", - "score": -0.2788011133670807 + "score": 0.043306462466716766 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 281.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": -0.05732571333646774 + "score": 0.11061833053827286 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.07009054720401764 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.43560606241226196, + "then": { + "operation": "boost", + "score": 0.002053510397672653 + }, + "else": { + "operation": "boost", + "score": 0.11703576892614365 + } }, "else": { "operation": "boost", - "score": 0.09754377603530884 + "score": 0.023165788501501083 } } } }, "else": { "operation": "boost", - "score": -0.060306597501039505 + "score": -0.009214970283210278 } } } } + } + }, + "else": { + "operation": "boost", + "score": 0.004472353961318731 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.009702064096927643 + }, + "else": { + "operation": "boost", + "score": 0.0013479480985552073 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.038657527416944504 + }, + "else": { + "operation": "boost", + "score": 0.0033819081727415323 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 432212.0, + "threshold": 231028.5, "then": { "operation": "boost", - "score": -0.4765380322933197 + "score": -0.19606399536132812 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 41776.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumReferences", + "threshold": 82127.0, + "then": { + "operation": "boost", + "score": -0.14154264330863953 + }, + "else": { + "operation": "boost", + "score": 0.08121444284915924 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.009594209492206573 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.09901886433362961 + }, + "else": { + "operation": "boost", + "score": -0.019569043070077896 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.005674379877746105 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.19566710293293 + "score": 0.11926163733005524 }, "else": { - "operation": "boost", - "score": 0.08210038393735886 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.14470501244068146 - }, - "else": { - "operation": "boost", - "score": 0.047180525958538055 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.02631578966975212, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 10863.0, "then": { - "operation": "boost", - "score": 0.03304218128323555 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": -0.4762827455997467 + }, + "else": { + "operation": "boost", + "score": -0.06671672314405441 + } }, "else": { "operation": "boost", - "score": -0.1844882369041443 + "score": 0.04920356720685959 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.10188496857881546 - }, - "else": { - "operation": "boost", - "score": 0.11605176329612732 - } + "operation": "boost", + "score": 0.056820787489414215 } - }, - "else": { - "operation": "boost", - "score": -0.08174756169319153 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.0747750774025917 + "score": 0.028773004189133644 }, "else": { - "operation": "boost", - "score": 0.11016970872879028 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4017857313156128, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "boost", + "score": -0.16238345205783844 + }, + "else": { + "operation": "boost", + "score": 0.23028583824634552 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "boost", + "score": 0.1467401087284088 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.06669547408819199 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.26340988278388977 + }, + "else": { + "operation": "boost", + "score": 0.16386863589286804 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006357143633067608 + } + } + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.107292540371418 + "score": -0.09004238247871399 }, "else": { "operation": "boost", - "score": 0.13862237334251404 + "score": 0.018177242949604988 } }, "else": { - "operation": "boost", - "score": -0.23168642818927765 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.0672958642244339 + }, + "else": { + "operation": "boost", + "score": 0.41833874583244324 + } + }, + "else": { + "operation": "boost", + "score": -0.025665948167443275 + } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.23861336708068848 + "score": -0.0055602132342755795 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.42285728454589844 + "score": 0.005201449617743492 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 202.0, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { - "operation": "boost", - "score": 0.12571360170841217 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": 0.06883955001831055 + }, + "else": { + "operation": "boost", + "score": 0.003162878332659602 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.18427735567092896 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09194763004779816 + }, + "else": { + "operation": "boost", + "score": -0.10551732778549194 + } + }, + "else": { + "operation": "boost", + "score": 0.104869045317173 + } + } + } }, "else": { "operation": "boost", - "score": 0.16355963051319122 + "score": 0.029871230944991112 } } }, "else": { "operation": "boost", - "score": -0.24286161363124847 + "score": -0.05848480388522148 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.11291554570198059 - }, - "else": { - "operation": "boost", - "score": -0.9978860020637512 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.09112580120563507 - }, - "else": { - "operation": "boost", - "score": 0.10707499086856842 } - }, - "else": { - "operation": "boost", - "score": 0.2544310986995697 } } }, "else": { - "operation": "boost", - "score": -0.03019639477133751 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06319733709096909 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.18161889910697937 - }, - "else": { - "operation": "boost", - "score": -0.015590827912092209 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.00033507472835481167 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.03852672874927521 - }, - "else": { - "operation": "boost", - "score": -0.09235583990812302 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.04978804290294647 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05363922938704491 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07851678878068924 - }, - "else": { - "operation": "boost", - "score": -0.03482140973210335 - } - }, - "else": { - "operation": "boost", - "score": 0.08788023889064789 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.010821524076163769 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.0007787266513332725 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.12139065563678741 + "score": 0.016057845205068588 }, "else": { "operation": "boost", - "score": -0.10173819214105606 + "score": -0.07187674939632416 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.007268555462360382 - }, - "else": { - "operation": "boost", - "score": 0.08577165007591248 - } + "operation": "boost", + "score": 0.00776870409026742 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63437.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.07810612767934799 }, "else": { "operation": "boost", - "score": 0.025401171296834946 + "score": 0.014919940382242203 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.06779972463846207 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11053092777729034 - }, - "else": { - "operation": "boost", - "score": 0.11075722426176071 - } - } - }, - "else": { - "operation": "boost", - "score": -0.010994750075042248 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.10740459710359573 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": -0.11936046183109283 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.12104195356369019 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": -0.11828576773405075 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06615065038204193 + }, + "else": { + "operation": "boost", + "score": -0.0731235146522522 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": -0.2215394377708435 + }, + "else": { + "operation": "boost", + "score": 0.062234945595264435 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01476798765361309 + } }, "else": { "operation": "boost", - "score": 0.12094075232744217 + "score": 0.003117562737315893 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.0, - "then": { - "operation": "boost", - "score": 0.1110190898180008 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { - "operation": "boost", - "score": -0.22427263855934143 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": 0.09436729550361633 + }, + "else": { + "operation": "boost", + "score": -0.061548423022031784 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.15114310383796692 + "score": 0.08419071137905121 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.08671628683805466 + "score": -0.1327010691165924 }, "else": { "operation": "boost", - "score": 0.004870756063610315 + "score": 0.04896952956914902 } } } @@ -273881,4574 +271897,4522 @@ }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -1.12400484085083 + }, + "else": { + "operation": "boost", + "score": -0.0462660938501358 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.0, + "then": { + "operation": "boost", + "score": 0.1718989759683609 + }, + "else": { + "operation": "boost", + "score": 0.07539788633584976 + } + }, + "else": { + "operation": "boost", + "score": -0.006069194059818983 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.00620965426787734 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "boost", + "score": 0.03243285417556763 + }, + "else": { + "operation": "boost", + "score": 0.11242944002151489 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.017967846244573593 + }, + "else": { + "operation": "boost", + "score": 0.05310693383216858 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.21242661774158478 + }, + "else": { + "operation": "boost", + "score": -0.08143047988414764 + } + } + } + } + }, + "else": { "operation": "boost", - "score": -0.11299606412649155 + "score": -0.0064571453258395195 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.0030040843412280083 + }, + "else": { + "operation": "boost", + "score": 0.01217347290366888 + } + }, + "else": { + "operation": "boost", + "score": -0.005251976661384106 + } + }, + "else": { + "operation": "boost", + "score": 0.0199980940669775 + } + }, + "else": { + "operation": "boost", + "score": -0.007997567765414715 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.01408112421631813 + }, + "else": { + "operation": "boost", + "score": -0.017220495268702507 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { + "operation": "boost", + "score": -0.027490384876728058 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.10819972306489944 + "score": 0.040395841002464294 }, "else": { "operation": "boost", - "score": -0.12013889849185944 + "score": -0.0018560588359832764 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.05317151919007301 }, "else": { "operation": "boost", - "score": 0.12537048757076263 + "score": 0.044086210429668427 } } } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.04213368147611618 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06462769955396652 - } - }, - "else": { - "operation": "boost", - "score": -0.025171570479869843 - } - }, - "else": { - "operation": "boost", - "score": 0.0010674773948267102 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 545.5, - "then": { - "operation": "boost", - "score": -0.10586269199848175 }, "else": { "operation": "boost", - "score": 0.10898718982934952 + "score": -0.0940387174487114 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.0, - "then": { - "operation": "boost", - "score": -0.3558984696865082 - }, - "else": { - "operation": "boost", - "score": 0.14695754647254944 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11245090514421463 - } - }, - "else": { - "operation": "boost", - "score": -0.15105360746383667 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 315.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 548.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { - "operation": "boost", - "score": -0.15373878180980682 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": -0.07155384123325348 + }, + "else": { + "operation": "boost", + "score": -0.011684948578476906 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01529211737215519 + }, + "else": { + "operation": "boost", + "score": -0.056358180940151215 + } + }, + "else": { + "operation": "boost", + "score": -0.005168418399989605 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 471.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.11957104504108429 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.048340052366256714 + }, + "else": { + "operation": "boost", + "score": 0.04969668760895729 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.06055543199181557 + }, + "else": { + "operation": "boost", + "score": 0.032953955233097076 + } + }, + "else": { + "operation": "boost", + "score": -0.9942768812179565 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": -0.014154493808746338 + }, + "else": { + "operation": "boost", + "score": -0.2919263541698456 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.006458897143602371 + }, + "else": { + "operation": "boost", + "score": -0.04844105616211891 + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 341.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.16463883221149445 + "score": -0.011347253806889057 }, "else": { "operation": "boost", - "score": 0.10148146748542786 + "score": 0.00577399879693985 } } } }, "else": { "operation": "boost", - "score": 0.1106511801481247 + "score": 0.0007118361536413431 } - }, - "else": { - "operation": "boost", - "score": 0.014559306204319 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.0005175556871108711 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148.5, + "threshold": 23402.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 23457.0, + "then": { + "operation": "boost", + "score": -0.07829026877880096 + }, + "else": { + "operation": "boost", + "score": -0.38677382469177246 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 226.5, + "threshold": 17663.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 17828.0, "then": { "operation": "boost", - "score": -0.10344807803630829 + "score": -0.10713367164134979 }, "else": { - "operation": "boost", - "score": 0.09663420170545578 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.138849675655365 + }, + "else": { + "operation": "boost", + "score": -0.016145089641213417 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 15623.0, "then": { "operation": "boost", - "score": 0.057256799191236496 + "score": -0.12381922453641891 }, "else": { - "operation": "boost", - "score": 0.1112707182765007 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14541.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.08197347819805145 + }, + "else": { + "operation": "boost", + "score": 0.23682402074337006 + } + }, + "else": { + "operation": "boost", + "score": -0.021753421053290367 + } } } }, "else": { "operation": "boost", - "score": -0.18766431510448456 + "score": -0.05225350335240364 } - }, - "else": { - "operation": "boost", - "score": 0.0037079579196870327 } - }, - "else": { - "operation": "boost", - "score": -0.06326399743556976 } } - }, - "else": { - "operation": "boost", - "score": 0.038780685514211655 } } - }, - "else": { - "operation": "boost", - "score": 0.03589673340320587 } - }, - "else": { - "operation": "boost", - "score": -0.11134029924869537 } + }, + "else": { + "operation": "boost", + "score": -0.007448021322488785 } }, "else": { "operation": "boost", - "score": -0.038584329187870026 + "score": 0.1130964532494545 } } + }, + "else": { + "operation": "boost", + "score": -0.0006425904575735331 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7329.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8931.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14310.5, - "then": { - "operation": "if_greater", + "operation": "boost", + "score": 0.12963318824768066 + }, + "else": { + "operation": "boost", + "score": 0.07435541599988937 + } + }, + "else": { + "operation": "boost", + "score": 0.04554670676589012 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.3564177453517914 + }, + "else": { + "operation": "boost", + "score": 0.21263571083545685 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9375, + "then": { + "operation": "boost", + "score": 0.2144937366247177 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "boost", + "score": 0.00897032581269741 + }, + "else": { + "operation": "boost", + "score": 0.22159311175346375 + } + }, + "else": { + "operation": "boost", + "score": -0.07157766073942184 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.010405119508504868 + }, + "else": { + "operation": "boost", + "score": -0.08496279269456863 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.06760736554861069 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "boost", + "score": 0.08728780597448349 + }, + "else": { + "operation": "boost", + "score": 0.018175238743424416 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.7702137231826782 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07791294902563095 + }, + "else": { + "operation": "boost", + "score": 0.0048200348392128944 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": -0.23310591280460358 + }, + "else": { + "operation": "boost", + "score": -0.02843489870429039 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.002105038845911622 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9444444179534912, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08995359390974045 + }, + "else": { + "operation": "boost", + "score": -0.13693971931934357 + } + }, + "else": { + "operation": "boost", + "score": 0.06768383085727692 + } + }, + "else": { + "operation": "boost", + "score": -0.25577443838119507 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "boost", + "score": -0.07832223176956177 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.22839020192623138 + }, + "else": { + "operation": "boost", + "score": -0.05425574257969856 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03055795468389988 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", "feature": "NumReferences", - "threshold": 15358.5, + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.4338230490684509 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10204746574163437 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26287.0, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { + "operation": "boost", + "score": -0.11523899435997009 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28489.0, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28939.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 318692.5, - "then": { - "operation": "boost", - "score": -0.24114148318767548 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09489196538925171 - }, - "else": { - "operation": "boost", - "score": 0.03576497361063957 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, - "then": { - "operation": "boost", - "score": -0.2600855529308319 - }, - "else": { - "operation": "boost", - "score": -0.01802697405219078 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.021622629836201668 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09398112446069717 - }, - "else": { - "operation": "boost", - "score": 0.11483010649681091 - } - } + "operation": "boost", + "score": 0.053423333913087845 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -1.1725796461105347 - }, - "else": { - "operation": "boost", - "score": -0.12273971736431122 - } + "operation": "boost", + "score": 0.0040865372866392136 } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.010100883431732655 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.4797428548336029 + }, + "else": { + "operation": "boost", + "score": 0.0837491974234581 + } + }, + "else": { + "operation": "boost", + "score": -0.0202270969748497 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.2449132651090622 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11702805012464523 + }, + "else": { + "operation": "boost", + "score": 0.08728593587875366 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04394986107945442 + }, + "else": { + "operation": "boost", + "score": -0.002479705959558487 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02094120718538761 + }, + "else": { + "operation": "boost", + "score": 0.025410538539290428 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06276464462280273 + }, + "else": { + "operation": "boost", + "score": -0.02415715530514717 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.02157369814813137 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 10.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0578371025621891 + }, + "else": { + "operation": "boost", + "score": -0.11549711227416992 + } + }, + "else": { + "operation": "boost", + "score": 0.0016188487643375993 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25182.5, + "then": { + "operation": "boost", + "score": -0.12863294780254364 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24136.5, + "then": { + "operation": "boost", + "score": 0.10386563092470169 + }, + "else": { + "operation": "boost", + "score": 0.10040543228387833 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012004474177956581 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.018768873065710068 }, "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": -2.3410415649414062 + }, + "else": { + "operation": "boost", + "score": 0.11767003685235977 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Variable" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 40755.0, "then": { - "operation": "boost", - "score": 0.12190419435501099 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46936.5, "then": { + "operation": "boost", + "score": 0.049044281244277954 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_Statement" + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10448028892278671 - }, - "else": { - "operation": "boost", - "score": 0.1446147859096527 - } + "operation": "boost", + "score": 0.045422300696372986 }, "else": { "operation": "boost", - "score": 0.05694553628563881 + "score": 0.1647445112466812 } }, "else": { "operation": "boost", - "score": 0.069916270673275 + "score": -0.32118070125579834 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.026842813938856125 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.13820073008537292 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23486.5, + "threshold": 11516.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 20954.0, "then": { "operation": "boost", - "score": -0.11789735406637192 + "score": 0.00350101082585752 }, "else": { - "operation": "boost", - "score": 0.10800046473741531 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12546.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.1335977464914322 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.13604667782783508 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.14935339987277985 + }, + "else": { + "operation": "boost", + "score": 0.1183847188949585 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.08688686043024063 + }, + "else": { + "operation": "boost", + "score": 0.1275615692138672 + } + }, + "else": { + "operation": "boost", + "score": -0.1012069508433342 + } + }, + "else": { + "operation": "boost", + "score": 0.2348020374774933 + } + } + }, + "else": { + "operation": "boost", + "score": -0.22745950520038605 + } + }, + "else": { + "operation": "boost", + "score": 0.03728553280234337 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.11795584112405777 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.1317017674446106 + "score": 0.02416124939918518 }, "else": { - "operation": "boost", - "score": 0.09740115702152252 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5905.5, + "then": { + "operation": "boost", + "score": 0.15713514387607574 + }, + "else": { + "operation": "boost", + "score": 0.06453955173492432 + } } + }, + "else": { + "operation": "boost", + "score": 0.018119895830750465 } } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -1.0621860027313232 - }, - "else": { - "operation": "boost", - "score": 0.003469789167866111 - } } } } }, "else": { "operation": "boost", - "score": -0.6715956926345825 + "score": -0.10215632617473602 } - } - }, - "else": { - "operation": "boost", - "score": -0.06473667919635773 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15147.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.1089276671409607 }, "else": { - "operation": "boost", - "score": 0.07615108042955399 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 266152.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 272339.5, + "then": { + "operation": "boost", + "score": 0.010093514807522297 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07862184941768646 + }, + "else": { + "operation": "boost", + "score": -0.10799015313386917 + } + } + }, + "else": { + "operation": "boost", + "score": -0.006985208950936794 + } } - }, - "else": { - "operation": "boost", - "score": -0.019525377079844475 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.07058478891849518 }, "else": { "operation": "boost", - "score": -0.08260529488325119 + "score": -0.02421608567237854 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1486.0, "then": { + "operation": "boost", + "score": -0.0477195680141449 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 182.0, "then": { - "operation": "boost", - "score": -1.617780089378357 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 254.5, "then": { - "operation": "boost", - "score": 0.04908740893006325 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 618.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.1074204072356224 + }, + "else": { + "operation": "boost", + "score": 0.20745441317558289 + } + }, + "else": { + "operation": "boost", + "score": 0.20203207433223724 + } + }, + "else": { + "operation": "boost", + "score": -0.04260357469320297 + } }, "else": { - "operation": "boost", - "score": -0.8891561627388 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 210.0, + "then": { + "operation": "boost", + "score": 0.28222861886024475 + }, + "else": { + "operation": "boost", + "score": 0.1724250316619873 + } + }, + "else": { + "operation": "boost", + "score": -0.020769542083144188 + } } + }, + "else": { + "operation": "boost", + "score": 0.0034538975451141596 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24370.0, - "then": { - "operation": "boost", - "score": 0.02717312052845955 - }, - "else": { - "operation": "boost", - "score": 0.11264252662658691 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.026387637481093407 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.12039343267679214 + "score": 0.18660195171833038 }, "else": { "operation": "boost", - "score": -0.18646296858787537 + "score": 0.14029347896575928 } + }, + "else": { + "operation": "boost", + "score": 0.04971923306584358 } + }, + "else": { + "operation": "boost", + "score": -0.06741736084222794 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 386.0, "then": { - "operation": "boost", - "score": 0.047594599425792694 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 489.0, + "then": { + "operation": "boost", + "score": -0.1505764275789261 + }, + "else": { + "operation": "boost", + "score": 0.31258076429367065 + } }, "else": { - "operation": "boost", - "score": 0.09924060106277466 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.14024138450622559 + }, + "else": { + "operation": "boost", + "score": -0.30402612686157227 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 223.0, "then": { "operation": "boost", - "score": -0.026530073955655098 + "score": -0.08252658694982529 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 193.0, "then": { "operation": "boost", - "score": -0.07205113768577576 + "score": 0.1406306028366089 }, "else": { "operation": "boost", - "score": 0.09937608242034912 + "score": 0.04601756110787392 } } } } + } + } + }, + "else": { + "operation": "boost", + "score": 0.002814581850543618 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.12304722517728806 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.006675906013697386 + }, + "else": { + "operation": "boost", + "score": -0.010623293928802013 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.06587959080934525 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.05036154016852379 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12802.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27418.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44221.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.027890991419553757 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.12912911176681519 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.150767982006073 + }, + "else": { + "operation": "boost", + "score": 0.21685607731342316 + } }, "else": { "operation": "boost", - "score": 0.05574890598654747 + "score": 0.2273554652929306 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03357306867837906 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.3007591962814331 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.09742517024278641 - }, - "else": { - "operation": "boost", - "score": 0.06287538260221481 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245161.0, - "then": { - "operation": "boost", - "score": -0.9194465279579163 - }, - "else": { - "operation": "boost", - "score": 0.057787202298641205 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10603711009025574 - } + "operation": "boost", + "score": -0.10030188411474228 } + }, + "else": { + "operation": "boost", + "score": 0.2107526808977127 } }, "else": { "operation": "boost", - "score": 0.0044952561147511005 + "score": -0.10064045339822769 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.02794891782104969 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.11812745779752731 - }, - "else": { - "operation": "boost", - "score": -0.2120169997215271 - } - }, - "else": { - "operation": "boost", - "score": 0.11294347792863846 - } - }, - "else": { - "operation": "boost", - "score": -0.027395905926823616 - } - } - }, - "else": { - "operation": "boost", - "score": 0.128351092338562 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1110871359705925 - }, - "else": { - "operation": "boost", - "score": 0.06419187784194946 - } - } + "operation": "boost", + "score": 0.18493026494979858 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30799.5, - "then": { - "operation": "boost", - "score": 0.009166796691715717 - }, - "else": { - "operation": "boost", - "score": 0.10868385434150696 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30936.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34495.0, - "then": { - "operation": "boost", - "score": 0.07193925231695175 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10882297903299332 - }, - "else": { - "operation": "boost", - "score": 0.11823244392871857 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1043701171875 - } - }, - "else": { - "operation": "boost", - "score": -0.18024486303329468 - } - } - }, - "else": { - "operation": "boost", - "score": -0.020913079380989075 - } + "operation": "boost", + "score": -0.10043896734714508 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.02839004062116146 - }, - "else": { - "operation": "boost", - "score": -0.31896698474884033 - } + "operation": "boost", + "score": 0.17835475504398346 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12129.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.11377004534006119 + "score": 0.35819005966186523 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10039.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10335.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.13908341526985168 - }, - "else": { - "operation": "boost", - "score": 0.08319392055273056 - } - }, - "else": { - "operation": "boost", - "score": -0.0697799026966095 - } + "operation": "boost", + "score": -0.20962746441364288 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09549697488546371 - }, - "else": { - "operation": "boost", - "score": 0.19238445162773132 - } + "operation": "boost", + "score": 0.26608192920684814 } } }, "else": { + "operation": "boost", + "score": 0.012313726358115673 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.022365011274814606 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.08641844987869263 + }, + "else": { + "operation": "boost", + "score": 0.11844799667596817 + } + }, + "else": { + "operation": "boost", + "score": -0.011448034085333347 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005291019333526492 + } + } + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015165651217103004 + }, + "else": { + "operation": "boost", + "score": 0.005542821250855923 + } + }, + "else": { + "operation": "boost", + "score": 0.0007689058547839522 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.05879093334078789 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5339366793632507, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8257575631141663, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11477.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09800145030021667 - }, - "else": { - "operation": "boost", - "score": -0.06234924495220184 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11563.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.0834677517414093 - }, - "else": { - "operation": "boost", - "score": 0.06680074334144592 - } - }, - "else": { - "operation": "boost", - "score": 0.13306504487991333 - } - } + "operation": "boost", + "score": -0.17261044681072235 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10607.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11723638325929642 + "score": -0.1025056317448616 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10156.0, + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.014162966050207615 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.0734051987528801 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08496277034282684 - }, - "else": { - "operation": "boost", - "score": 0.1293942779302597 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09850802272558212 - } - }, - "else": { - "operation": "boost", - "score": -0.08064107596874237 - } + "operation": "boost", + "score": 0.15978623926639557 }, "else": { "operation": "boost", - "score": -0.07643213868141174 + "score": 0.11027451604604721 } }, "else": { "operation": "boost", - "score": 0.008382498286664486 + "score": 0.02587844803929329 } } } + }, + "else": { + "operation": "boost", + "score": -0.0050130621530115604 } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16202.0, - "then": { - "operation": "boost", - "score": 0.03607572615146637 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12942.5, + "feature": "FractionNameInContext", + "threshold": 0.5419580936431885, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.027869468554854393 + "score": 0.1314634084701538 }, "else": { "operation": "boost", - "score": 0.17762616276741028 + "score": -0.26420271396636963 } }, "else": { "operation": "boost", - "score": -0.08533131331205368 + "score": 0.1321340948343277 } }, "else": { - "operation": "boost", - "score": 0.015592486597597599 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.10036672651767731 + }, + "else": { + "operation": "boost", + "score": -0.005052131600677967 + } } } }, "else": { - "operation": "boost", - "score": 0.12000680714845657 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32083.5, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10810581594705582 - }, - "else": { - "operation": "boost", - "score": 0.06855403631925583 - } + "operation": "boost", + "score": 0.0704798549413681 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12475.5, - "then": { - "operation": "boost", - "score": -0.12832263112068176 - }, - "else": { - "operation": "boost", - "score": 0.07983597368001938 - } + "operation": "boost", + "score": -0.005726521369069815 } - }, - "else": { - "operation": "boost", - "score": -0.27370280027389526 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8573.5, + "threshold": 76.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8751.0, + "threshold": 298.0, "then": { "operation": "boost", - "score": 0.16062039136886597 + "score": -0.018512627109885216 }, "else": { "operation": "boost", - "score": 0.11587226390838623 + "score": 0.11455193161964417 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumNameInContext", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03324296697974205 - }, - "else": { - "operation": "boost", - "score": 0.12964873015880585 - } - }, - "else": { "operation": "boost", - "score": -0.017583901062607765 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8542.5, - "then": { - "operation": "boost", - "score": 0.111217200756073 - }, - "else": { - "operation": "boost", - "score": -0.002935549942776561 - } + "score": -0.1676350235939026 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.116131491959095 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.06596916913986206 - }, - "else": { - "operation": "boost", - "score": 0.11965706944465637 - } - } - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.6410256624221802, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.107777900993824 + "score": 0.1276484876871109 }, "else": { "operation": "boost", - "score": -0.043770261108875275 + "score": -0.1460229605436325 } }, "else": { "operation": "boost", - "score": -0.026712778955698013 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8213.5, - "then": { - "operation": "boost", - "score": 0.11466765403747559 - }, - "else": { - "operation": "boost", - "score": -0.039201971143484116 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7709.0, - "then": { - "operation": "boost", - "score": -0.31004348397254944 - }, - "else": { - "operation": "boost", - "score": 0.08346317708492279 + "score": 0.07677700370550156 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8668.5, - "then": { - "operation": "boost", - "score": 0.11404082924127579 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.73582923412323 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8055555820465088, + "then": { + "operation": "boost", + "score": 0.14070969820022583 + }, + "else": { + "operation": "boost", + "score": -0.035254642367362976 + } }, "else": { "operation": "boost", - "score": -0.2510635554790497 + "score": 0.03388367220759392 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.09070657193660736 + "score": -0.034074146300554276 }, "else": { - "operation": "boost", - "score": -0.31714561581611633 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "boost", + "score": -0.34560415148735046 + }, + "else": { + "operation": "boost", + "score": 0.0675349161028862 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "boost", + "score": 0.10695923864841461 + }, + "else": { + "operation": "boost", + "score": 0.056153759360313416 + } + }, + "else": { + "operation": "boost", + "score": 0.02313743159174919 + } + } } } } } } } + }, + "else": { + "operation": "boost", + "score": 0.0010247612372040749 } }, "else": { - "operation": "boost", - "score": 0.004626988898962736 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, + "then": { + "operation": "boost", + "score": 0.00653375219553709 + }, + "else": { + "operation": "boost", + "score": 0.025145338848233223 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.009517744183540344 + }, + "else": { + "operation": "boost", + "score": 0.007839771918952465 + } + } } }, "else": { - "operation": "boost", - "score": -0.03147226199507713 - } - }, - "else": { - "operation": "boost", - "score": 0.010888426564633846 - } - }, - "else": { - "operation": "boost", - "score": -0.0002870055614039302 - } - }, - { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 277.0, - "then": { - "operation": "boost", - "score": 0.14794358611106873 - }, - "else": { - "operation": "boost", - "score": -0.060805656015872955 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63355.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.09270725399255753 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 26.5, "then": { + "operation": "boost", + "score": -0.06184544414281845 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.027630774304270744 + "score": 0.03401981294155121 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.05877300351858139 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "boost", - "score": -0.14027515053749084 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { - "operation": "boost", - "score": -0.42699167132377625 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.10933859646320343 + "score": -0.12712863087654114 }, "else": { "operation": "boost", - "score": 0.13393111526966095 + "score": 2.1433277130126953 } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.02157493121922016 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.6354130506515503 }, "else": { - "operation": "boost", - "score": 0.10536052286624908 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 13504.0, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11231318861246109 - }, - "else": { - "operation": "boost", - "score": -0.03213965892791748 - } + "operation": "boost", + "score": -0.311826229095459 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.0, - "then": { - "operation": "boost", - "score": 0.09895189851522446 - }, - "else": { - "operation": "boost", - "score": -0.04739130660891533 - } + "operation": "boost", + "score": -0.1868026703596115 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.20010511577129364 + "score": 0.12770229578018188 }, "else": { "operation": "boost", - "score": -0.10272402316331863 + "score": -0.1776985228061676 } }, - "else": { - "operation": "boost", - "score": 0.09951978921890259 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11775027960538864 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.07686344534158707 + "score": -0.11199715733528137 }, "else": { "operation": "boost", - "score": 0.10352117568254471 + "score": 0.5803961753845215 } } + }, + "else": { + "operation": "boost", + "score": -0.09987008571624756 } } } }, "else": { "operation": "boost", - "score": 0.021591361612081528 + "score": -0.006418031640350819 } - }, - "else": { - "operation": "boost", - "score": -0.17821940779685974 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13855110108852386 - }, - "else": { - "operation": "boost", - "score": 0.12552326917648315 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12191115319728851 - }, - "else": { - "operation": "boost", - "score": 0.09969279170036316 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.02443704381585121 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.24399256706237793 - }, - "else": { - "operation": "boost", - "score": -0.2399294525384903 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2551135718822479 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.19371113181114197 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, "then": { "operation": "boost", - "score": 0.11613620817661285 + "score": 0.008491302840411663 }, "else": { - "operation": "boost", - "score": 0.092868372797966 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.02226955257356167 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.05804747715592384 - }, - "else": { - "operation": "boost", - "score": 0.11050964891910553 - } + "operation": "boost", + "score": 0.004442295059561729 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": -0.1523343175649643 - }, - "else": { - "operation": "boost", - "score": 0.11477971076965332 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.028128651902079582 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.02031880058348179 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.13665416836738586 + "score": 0.17990966141223907 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12296503782272339 + "score": -0.2903726398944855 }, "else": { - "operation": "boost", - "score": -0.14392079412937164 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.009335840120911598 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84795.5, + "then": { + "operation": "boost", + "score": 0.02992892451584339 + }, + "else": { + "operation": "boost", + "score": -0.005045725032687187 + } + } } } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 585.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 44927.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10693183541297913 - }, - "else": { - "operation": "boost", - "score": -0.23792606592178345 - } + "operation": "boost", + "score": 0.020888635888695717 }, "else": { "operation": "boost", - "score": 0.1214355081319809 + "score": -0.09197713434696198 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 412.5, "then": { "operation": "boost", - "score": -0.2301696389913559 + "score": 0.13351145386695862 }, "else": { "operation": "boost", - "score": 0.13132409751415253 + "score": 0.01550234667956829 } } }, "else": { - "operation": "boost", - "score": -0.12330087274312973 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.0894051343202591 + }, + "else": { + "operation": "boost", + "score": 0.05336759239435196 + } + }, + "else": { + "operation": "boost", + "score": -0.0315510630607605 + } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.09077930450439453 - }, - "else": { - "operation": "boost", - "score": 0.0008853496983647346 - } } } - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.037581317126750946 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.006617765408009291 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08865360915660858 - }, - "else": { - "operation": "boost", - "score": 0.21823851764202118 - } - }, - "else": { - "operation": "boost", - "score": -0.046192195266485214 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.019617266952991486 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0364135280251503 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.10080654919147491 - }, - "else": { - "operation": "boost", - "score": -0.16018126904964447 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007896797731518745 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07186882197856903 - }, - "else": { - "operation": "boost", - "score": 0.5786706209182739 - } }, "else": { - "operation": "boost", - "score": 0.011303222738206387 - } - }, - "else": { - "operation": "boost", - "score": 0.009675953537225723 - } - }, - "else": { - "operation": "boost", - "score": 0.0027383421547710896 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05432320386171341 - } - } - }, - "else": { - "operation": "boost", - "score": -0.14818058907985687 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0032182878348976374 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.014813479036092758 - }, - "else": { - "operation": "boost", - "score": -0.4163915514945984 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.11587819457054138 - }, - "else": { - "operation": "boost", - "score": 0.13387419283390045 - } - }, - "else": { - "operation": "boost", - "score": 0.02897081896662712 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11027085036039352 - }, - "else": { - "operation": "boost", - "score": -0.021040260791778564 - } + "score": -0.0012646353570744395 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10415448993444443 + "score": 0.033095233142375946 }, "else": { - "operation": "boost", - "score": 0.12737838923931122 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "boost", + "score": -0.20448505878448486 + }, + "else": { + "operation": "boost", + "score": -0.031674616038799286 + } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, "then": { "operation": "boost", - "score": 0.08307646214962006 + "score": 0.06889665871858597 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11502187699079514 - }, - "else": { - "operation": "boost", - "score": 0.15617425739765167 - } + "operation": "boost", + "score": -0.04956245794892311 } }, "else": { "operation": "boost", - "score": 0.022901147603988647 + "score": 0.006112335715442896 } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.051772166043519974 + "score": 0.008649135008454323 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.08126703649759293 + "score": 0.021404284983873367 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.24628549814224243 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 993748.0, "then": { + "operation": "boost", + "score": -0.4539128839969635 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 57.0, + "threshold": 1656.5, "then": { "operation": "boost", - "score": 0.07526053488254547 + "score": 0.03237038105726242 }, "else": { "operation": "boost", - "score": 0.1225515753030777 + "score": -0.1288416087627411 } - }, - "else": { - "operation": "boost", - "score": 0.07802753150463104 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 432212.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.09088419377803802 + "score": -0.04405752569437027 }, "else": { "operation": "boost", - "score": 0.12400797009468079 + "score": 0.12171981483697891 } }, "else": { "operation": "boost", - "score": 0.09805168211460114 + "score": -0.05538380891084671 } } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05505101755261421 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06495261937379837 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06975090503692627 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.12374754995107651 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.049881983548402786 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12108322232961655 + "score": -0.015155814588069916 }, "else": { "operation": "boost", - "score": 0.1331503540277481 + "score": 0.0660930871963501 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": -0.6758073568344116 }, "else": { "operation": "boost", - "score": -0.029231049120426178 + "score": -0.0519026480615139 } - }, - "else": { - "operation": "boost", - "score": 0.08749526739120483 } - }, - "else": { - "operation": "boost", - "score": 0.024763165041804314 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2271.5, + "then": { + "operation": "boost", + "score": 0.02241710014641285 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.056963417679071426 - }, - "else": { - "operation": "boost", - "score": 0.031781598925590515 - } - }, - "else": { - "operation": "boost", - "score": 0.07682692259550095 - } + "operation": "boost", + "score": 0.03159011900424957 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.07105673104524612 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04895181953907013 - }, - "else": { - "operation": "boost", - "score": 0.025111375376582146 - } - } + "operation": "boost", + "score": -0.02132917381823063 } } + } + }, + "else": { + "operation": "boost", + "score": 0.015784626826643944 + } + }, + "else": { + "operation": "boost", + "score": -0.09283813834190369 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.0011440083617344499 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.33739984035491943 + }, + "else": { + "operation": "boost", + "score": -0.1083933413028717 + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { "operation": "boost", - "score": -0.0455891489982605 + "score": 0.06720636785030365 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.03934329003095627 + "score": -0.008028790354728699 }, "else": { "operation": "boost", - "score": 0.046948984265327454 + "score": -0.050015754997730255 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.0009115125285461545 + "score": 0.009213489480316639 }, "else": { - "operation": "boost", - "score": -0.039769336581230164 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09384074062108994 + }, + "else": { + "operation": "boost", + "score": 0.00939659122377634 + } + }, + "else": { + "operation": "boost", + "score": -0.022735202684998512 + } + }, + "else": { + "operation": "boost", + "score": -0.05176571384072304 + } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.003305490128695965 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.038701944053173065 - }, - "else": { - "operation": "boost", - "score": -0.014779129065573215 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.07987623661756516 - }, - "else": { - "operation": "boost", - "score": 0.026640422642230988 - } }, "else": { "operation": "boost", - "score": -0.002081454498693347 + "score": -0.008764359168708324 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "ClassScope" ], - "then": { - "operation": "boost", - "score": -0.022749802097678185 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.11722911149263382 - }, - "else": { - "operation": "boost", - "score": -0.34689968824386597 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.005245584063231945 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_ParenthesizedExpression" ], "then": { + "operation": "boost", + "score": 0.25004976987838745 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { "operation": "boost", - "score": 0.054243385791778564 + "score": 0.1333635300397873 }, "else": { "operation": "boost", - "score": 0.11791439354419708 + "score": 0.020094627514481544 } - }, - "else": { - "operation": "boost", - "score": -0.0781206265091896 } + }, + "else": { + "operation": "boost", + "score": 0.023756757378578186 } }, "else": { - "operation": "boost", - "score": -0.04722366854548454 - } - } - }, - "else": { - "operation": "boost", - "score": -0.005703703500330448 - } - } - }, - "else": { - "operation": "boost", - "score": -0.000525520765222609 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.0014829770661890507 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0030659001786261797 - }, - "else": { - "operation": "boost", - "score": 0.08233433216810226 - } - }, - "else": { - "operation": "boost", - "score": 0.09836075454950333 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.09359526634216309 - }, - "else": { - "operation": "boost", - "score": 0.03112628124654293 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191.0, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 706.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "boost", - "score": -0.11470934003591537 + "score": 0.07986519485712051 }, "else": { "operation": "boost", - "score": 0.13322442770004272 + "score": -0.11257395893335342 } }, "else": { "operation": "boost", - "score": 0.042784105986356735 + "score": 0.11744293570518494 } }, "else": { - "operation": "boost", - "score": 0.019850503653287888 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, - "then": { - "operation": "boost", - "score": 0.12700653076171875 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.10252285748720169 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 122.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.1897868514060974 + "score": -0.22354725003242493 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.0, - "then": { - "operation": "boost", - "score": 0.6049086451530457 - }, - "else": { - "operation": "boost", - "score": -0.1409142017364502 - } + "operation": "boost", + "score": 0.14584773778915405 } + }, + "else": { + "operation": "boost", + "score": -0.2810101807117462 } } + }, + "else": { + "operation": "boost", + "score": 0.0024569081142544746 } - }, - "else": { - "operation": "boost", - "score": -0.03201901540160179 } }, "else": { "operation": "boost", - "score": 0.028749406337738037 + "score": 0.09836909919977188 } }, "else": { - "operation": "boost", - "score": -0.03619561344385147 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 559.5, + "threshold": 19705.5, "then": { + "operation": "boost", + "score": -0.10852864384651184 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 589.5, + "threshold": 11532.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15370.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 834.0, - "then": { - "operation": "boost", - "score": -0.1592671424150467 - }, - "else": { - "operation": "boost", - "score": 0.16220572590827942 - } - }, - "else": { - "operation": "boost", - "score": -0.04822327941656113 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 830.5, - "then": { - "operation": "boost", - "score": 0.01252567395567894 - }, - "else": { - "operation": "boost", - "score": 0.10167878866195679 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 999.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1258.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2235.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6597.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.11455903947353363 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.11481009423732758 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8674.0, - "then": { - "operation": "boost", - "score": 0.11067979037761688 - }, - "else": { - "operation": "boost", - "score": -0.17359142005443573 - } - }, - "else": { - "operation": "boost", - "score": 0.07455689460039139 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6044.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.36252033710479736 - }, - "else": { - "operation": "boost", - "score": 0.11464734375476837 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4225.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4978.0, - "then": { - "operation": "boost", - "score": -0.10175427049398422 - }, - "else": { - "operation": "boost", - "score": 0.12106145173311234 - } - }, - "else": { - "operation": "boost", - "score": 0.1131841391324997 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2245.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10190563648939133 - }, - "else": { - "operation": "boost", - "score": -0.1718549281358719 - } - }, - "else": { - "operation": "boost", - "score": 0.11638836562633514 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1306433230638504 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1243.5, - "then": { - "operation": "boost", - "score": 0.11830680072307587 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.11622685194015503 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1088.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.1001506969332695 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1219.5, - "then": { - "operation": "boost", - "score": 0.13080532848834991 - }, - "else": { - "operation": "boost", - "score": 0.10760222375392914 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09612846374511719 - } - }, - "else": { - "operation": "boost", - "score": 0.31670746207237244 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.04604402557015419 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06918357312679291 - } - } - }, - "else": { - "operation": "boost", - "score": -0.12618006765842438 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.16739386320114136 + "score": 0.12217681854963303 }, "else": { "operation": "boost", - "score": 0.1271008849143982 + "score": 0.13613219559192657 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23338.0, + "threshold": 12546.5, "then": { "operation": "boost", - "score": -0.10945812612771988 + "score": -0.15692491829395294 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17326.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19434.0, - "then": { - "operation": "boost", - "score": -0.3427664041519165 - }, - "else": { - "operation": "boost", - "score": 0.11225274205207825 - } - }, - "else": { - "operation": "boost", - "score": 0.1833306849002838 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.09713238477706909 - }, - "else": { - "operation": "boost", - "score": -0.04917812719941139 - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2450.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3189.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5077.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5124.0, - "then": { - "operation": "boost", - "score": 0.043705809861421585 - }, - "else": { - "operation": "boost", - "score": 0.12102101743221283 - } - }, - "else": { - "operation": "boost", - "score": -0.09219524264335632 - } + "operation": "boost", + "score": 0.08304569125175476 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2844.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2902.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3017.5, - "then": { - "operation": "boost", - "score": 0.1149035319685936 - }, - "else": { - "operation": "boost", - "score": -0.03400636091828346 - } - }, - "else": { - "operation": "boost", - "score": 0.12309537827968597 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2464.5, - "then": { - "operation": "boost", - "score": 0.017130622640252113 - }, - "else": { - "operation": "boost", - "score": 0.125457301735878 - } - } + "operation": "boost", + "score": 0.1239938959479332 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1656.0, - "then": { - "operation": "boost", - "score": -0.16692885756492615 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1619.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10989313572645187 - }, - "else": { - "operation": "boost", - "score": -0.10790238529443741 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 864.5, - "then": { - "operation": "boost", - "score": -0.08993607759475708 - }, - "else": { - "operation": "boost", - "score": 0.10425969213247299 - } - }, - "else": { - "operation": "boost", - "score": 0.02310439758002758 - } - } - } + "operation": "boost", + "score": -0.10108854621648788 } + }, + "else": { + "operation": "boost", + "score": 0.24048036336898804 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 994.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.0950111448764801 - }, - "else": { - "operation": "boost", - "score": -0.09506994485855103 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.08768893778324127 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 742.5, - "then": { - "operation": "boost", - "score": 0.11980435997247696 }, "else": { "operation": "boost", - "score": 0.05285589396953583 + "score": 0.13176195323467255 } } } }, "else": { "operation": "boost", - "score": 0.012611269019544125 + "score": -0.07388277351856232 } + }, + "else": { + "operation": "boost", + "score": -0.11106114834547043 } }, "else": { + "operation": "boost", + "score": -0.049240678548812866 + } + } + }, + "else": { + "operation": "boost", + "score": -0.072549968957901 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07664259523153305 + }, + "else": { + "operation": "boost", + "score": -0.0003412017540540546 + } + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10696577280759811 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.27619048953056335, + "then": { + "operation": "boost", + "score": 0.03248634934425354 + }, + "else": { + "operation": "boost", + "score": 0.08227382600307465 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006502903066575527 + } + }, + "else": { + "operation": "boost", + "score": 0.001025406294502318 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0007466818206012249 + }, + "else": { + "operation": "boost", + "score": 0.11178795993328094 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": 0.06981803476810455 + }, + "else": { + "operation": "boost", + "score": 0.09477530419826508 + } + }, + "else": { + "operation": "boost", + "score": -0.036123842000961304 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "boost", + "score": 0.09445960074663162 + }, + "else": { + "operation": "boost", + "score": 0.011476516723632812 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.05626047030091286 + }, + "else": { + "operation": "boost", + "score": 0.03555655479431152 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03249881789088249 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.008105127140879631 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.011134203523397446 + }, + "else": { + "operation": "boost", + "score": -0.004336223471909761 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.05841001868247986 + }, + "else": { + "operation": "boost", + "score": -0.020479997619986534 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.005950771737843752 + }, + "else": { + "operation": "boost", + "score": -0.002464119577780366 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 587.5, + "threshold": 882.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 2471.0, "then": { "operation": "boost", - "score": -0.10692309588193893 + "score": 0.06867194920778275 }, "else": { "operation": "boost", - "score": 0.13968107104301453 + "score": 0.13776296377182007 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 567.5, - "then": { - "operation": "boost", - "score": 0.11984860152006149 - }, - "else": { - "operation": "boost", - "score": -0.10600447654724121 - } - }, - "else": { - "operation": "boost", - "score": 0.016801225021481514 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.07924554497003555 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.11600849777460098 - }, - "else": { - "operation": "boost", - "score": 0.3567471206188202 - } - }, - "else": { - "operation": "boost", - "score": 0.04130119830369949 - } - } - } + "operation": "boost", + "score": 0.08218182623386383 } + }, + "else": { + "operation": "boost", + "score": -0.04357446730136871 } }, "else": { + "operation": "boost", + "score": -0.0004433112917467952 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2522.5, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.00792042538523674 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 13428.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.019580548629164696 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 334.0, - "then": { - "operation": "boost", - "score": -0.11612596362829208 - }, - "else": { - "operation": "boost", - "score": 0.10017126053571701 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241.5, - "then": { - "operation": "boost", - "score": -0.13233669102191925 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236.0, - "then": { - "operation": "boost", - "score": 0.13154250383377075 - }, - "else": { - "operation": "boost", - "score": -0.02366204932332039 - } - } - } + "operation": "boost", + "score": 0.01618955470621586 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 166.5, + "threshold": 6955.5, "then": { "operation": "boost", - "score": -0.17112213373184204 + "score": 0.08822289854288101 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 161.5, - "then": { - "operation": "boost", - "score": 0.09853635728359222 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123.0, - "then": { - "operation": "boost", - "score": 0.01523909904062748 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.0562642402946949 - }, - "else": { - "operation": "boost", - "score": 0.11164126545190811 - } - } - }, - "else": { - "operation": "boost", - "score": -0.593458354473114 - } - } + "operation": "boost", + "score": 0.03134620934724808 } } - }, - "else": { - "operation": "boost", - "score": 0.02887973189353943 } + }, + "else": { + "operation": "boost", + "score": -0.0021278795320540667 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234.5, + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11844649165868759 + }, + "else": { + "operation": "boost", + "score": -0.024056408554315567 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005846699699759483 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { + "operation": "boost", + "score": 0.007370860781520605 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 256.5, + "threshold": 383039.5, "then": { "operation": "boost", - "score": 0.037896525114774704 + "score": -0.05498312786221504 }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.005932672414928675 + }, + "else": { + "operation": "boost", + "score": -0.01018136739730835 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 255.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.11089223623275757 - }, - "else": { - "operation": "boost", - "score": -0.11292600631713867 - } + "operation": "boost", + "score": 0.014284585602581501 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10251065343618393 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 105656.5, "then": { "operation": "boost", - "score": -0.2794155180454254 + "score": 0.0851869210600853 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.7943275570869446 + "score": 0.06899033486843109 }, "else": { - "operation": "boost", - "score": 0.1148427352309227 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10919713973999023 + }, + "else": { + "operation": "boost", + "score": -0.10145102441310883 + } + }, + "else": { + "operation": "boost", + "score": 0.013753573410212994 + } } }, "else": { "operation": "boost", - "score": -0.052552588284015656 + "score": -0.009061217308044434 } } + }, + "else": { + "operation": "boost", + "score": 0.007516471669077873 } } + }, + "else": { + "operation": "boost", + "score": 0.0018790953326970339 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.021152131259441376 + "score": -0.001530256005935371 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11562833935022354 - }, - "else": { - "operation": "boost", - "score": 0.06953401118516922 - } - }, - "else": { - "operation": "boost", - "score": 0.047591567039489746 - } - } - }, - "else": { - "operation": "boost", - "score": -0.012590248137712479 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 163.0, - "then": { - "operation": "boost", - "score": -0.16130518913269043 - }, - "else": { - "operation": "boost", - "score": 0.10442865639925003 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 6354.0, "then": { - "operation": "boost", - "score": -0.24792984127998352 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 9366.0, "then": { - "operation": "boost", - "score": 0.00376117299310863 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.09672574698925018 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23209.0, + "then": { + "operation": "boost", + "score": 0.10961496829986572 + }, + "else": { + "operation": "boost", + "score": 0.11251845210790634 + } + }, + "else": { + "operation": "boost", + "score": 0.12618905305862427 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 162.0, + "threshold": 18942.0, "then": { - "operation": "boost", - "score": -0.15510249137878418 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 147.5, + "threshold": 19474.5, "then": { "operation": "boost", - "score": 0.10496004670858383 + "score": 0.014221047051250935 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134.5, - "then": { - "operation": "boost", - "score": -0.3122096657752991 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.026352858170866966 - }, - "else": { - "operation": "boost", - "score": 0.10052326321601868 - } - } + "operation": "boost", + "score": 0.0762505903840065 } + }, + "else": { + "operation": "boost", + "score": -0.09057671576738358 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09166666865348816, + "then": { + "operation": "boost", + "score": 0.13561825454235077 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10601307451725006 + }, + "else": { + "operation": "boost", + "score": 0.11755277216434479 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.010114709846675396 - }, - "else": { - "operation": "boost", - "score": 0.13927271962165833 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.016588326543569565 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03915531933307648 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.01201418973505497 - }, - "else": { - "operation": "boost", - "score": 0.09830807894468307 - } - } - }, - "else": { - "operation": "boost", - "score": 0.00130683823954314 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00042227344238199294 - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0011126826284453273 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.13108155131340027 + "score": -0.2462652623653412 }, "else": { "operation": "boost", - "score": 0.04848538339138031 + "score": -0.05220261588692665 } }, "else": { "operation": "boost", - "score": -0.15060824155807495 + "score": -0.007443028502166271 } }, "else": { - "operation": "boost", - "score": -0.28356197476387024 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.041132230311632156 - }, - "else": { - "operation": "boost", - "score": 0.10426784306764603 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3628.0, + "then": { + "operation": "boost", + "score": -0.0784505233168602 + }, + "else": { + "operation": "boost", + "score": 0.034252241253852844 + } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.0026930232997983694 + "score": 0.017922282218933105 }, "else": { - "operation": "boost", - "score": 0.12764301896095276 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.004245678428560495 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 975.0, + "then": { + "operation": "boost", + "score": 0.04668626934289932 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 824.5, + "then": { + "operation": "boost", + "score": 0.11444955319166183 + }, + "else": { + "operation": "boost", + "score": 0.09348203241825104 + } + } + }, + "else": { + "operation": "boost", + "score": 0.055795978754758835 + } + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08083885163068771 - }, - "else": { - "operation": "boost", - "score": 0.08753617107868195 - } + "operation": "boost", + "score": 0.007234441116452217 } + }, + "else": { + "operation": "boost", + "score": -0.016740083694458008 } - }, - "else": { - "operation": "boost", - "score": -0.14221078157424927 } }, "else": { "operation": "boost", - "score": -0.32329773902893066 + "score": -0.01863454096019268 } }, "else": { - "operation": "boost", - "score": -0.0921948105096817 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", "Type", - "Namespace" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.06687547266483307 - }, - "else": { - "operation": "boost", - "score": -0.10020433366298676 - } - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.08995403349399567 + "score": -0.10713932663202286 }, "else": { "operation": "boost", - "score": 0.2009124457836151 + "score": 0.30036795139312744 } - } - }, - "else": { - "operation": "boost", - "score": -0.04912007227540016 - } - }, - "else": { - "operation": "boost", - "score": -0.06402811408042908 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11400172859430313 }, "else": { "operation": "boost", - "score": 0.2458890825510025 + "score": 0.008120348677039146 } }, "else": { - "operation": "boost", - "score": 0.018444141373038292 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.018895236775279045 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.011811706237494946 - }, - "else": { - "operation": "boost", - "score": 0.1130967065691948 - } - }, - "else": { - "operation": "boost", - "score": -0.30434420704841614 - } + "operation": "boost", + "score": -0.02276710234582424 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0025533856824040413 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": -0.011575077660381794 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.12004285305738449 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.23807848989963531 + }, + "else": { + "operation": "boost", + "score": -0.013265029527246952 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "boost", - "score": -0.24544860422611237 + "score": 0.05088384449481964 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.19305267930030823 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.22597482800483704 - }, - "else": { - "operation": "boost", - "score": 0.1300220638513565 - } - } + "operation": "boost", + "score": 0.023557601496577263 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.018238835036754608 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "boost", + "score": -0.13472598791122437 }, "else": { "operation": "boost", - "score": 0.11667162925004959 + "score": -0.018848232924938202 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 8908.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10517.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.11071505397558212 - }, - "else": { - "operation": "boost", - "score": 0.10999051481485367 - } + "operation": "boost", + "score": 0.02555183134973049 }, "else": { "operation": "boost", - "score": 0.0005025587161071599 + "score": 0.09211058169603348 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 19.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown" - ], + "operation": "boost", + "score": -0.006402449682354927 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": 0.01694534532725811 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.19504573941230774 + "score": 0.02034006640315056 }, "else": { - "operation": "boost", - "score": 0.10005778074264526 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.1220150738954544 + }, + "else": { + "operation": "boost", + "score": 0.02058115229010582 + } + }, + "else": { + "operation": "boost", + "score": 0.0029122577980160713 + } } }, "else": { - "operation": "boost", - "score": 0.11188908666372299 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.014623641967773438 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12142857909202576, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08846729248762131 + }, + "else": { + "operation": "boost", + "score": -0.2477700263261795 + } + }, + "else": { + "operation": "boost", + "score": 0.0990620106458664 + } + }, + "else": { + "operation": "boost", + "score": -0.2773752510547638 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.010564245283603668 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.09969896823167801 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.012991799041628838 + }, + "else": { + "operation": "boost", + "score": -0.20803222060203552 + } + }, + "else": { + "operation": "boost", + "score": -0.015648603439331055 + } + } + }, + "else": { + "operation": "boost", + "score": 0.19342568516731262 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12473561614751816 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": 0.022212818264961243 + }, + "else": { + "operation": "boost", + "score": 0.05693502351641655 + } + } + }, + "else": { + "operation": "boost", + "score": 0.018016787245869637 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": 0.21779631078243256 + }, + "else": { + "operation": "boost", + "score": -0.06958567351102829 + } + }, + "else": { + "operation": "boost", + "score": -0.008691680617630482 + } + } + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.28758206963539124 }, "else": { "operation": "boost", - "score": -0.14905470609664917 + "score": 0.11577123403549194 } }, "else": { "operation": "boost", - "score": 0.008254573680460453 + "score": -0.07612387090921402 } + } + }, + "else": { + "operation": "boost", + "score": 0.006337812636047602 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.0197600144892931 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.01942620798945427 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.004551617428660393 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.004492184147238731 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.038395680487155914 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.9375, "then": { "operation": "boost", - "score": 0.018086303025484085 + "score": 0.13256074488162994 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.08515968918800354 + "score": -0.05857019126415253 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.12297334522008896 - }, - "else": { - "operation": "boost", - "score": 0.11212100833654404 - } + "operation": "boost", + "score": 0.016624048352241516 } }, "else": { - "operation": "boost", - "score": -0.14628155529499054 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.31952351331710815 + }, + "else": { + "operation": "boost", + "score": 0.07940766215324402 + } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.033484622836112976 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08035223186016083 - }, - "else": { - "operation": "boost", - "score": -0.04247983545064926 - } + "operation": "boost", + "score": -0.15061555802822113 } } } @@ -278457,664 +276421,571 @@ }, "else": { "operation": "boost", - "score": 0.007477906066924334 + "score": -0.11174117028713226 } } } } - }, - "else": { - "operation": "boost", - "score": -0.00014054676285013556 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.007872313261032104 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 162.0, - "then": { - "operation": "boost", - "score": 0.027319997549057007 - }, - "else": { - "operation": "boost", - "score": 0.1106143668293953 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 140.5, - "then": { - "operation": "boost", - "score": -0.6600161790847778 - }, - "else": { - "operation": "boost", - "score": -0.02314353920519352 - } - } } } } - }, - "else": { - "operation": "boost", - "score": 0.007766024209558964 } - }, - "else": { + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0015791459009051323 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2390.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", "Unknown", - "Constructor", - "Function" + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5397.0, "then": { - "operation": "boost", - "score": 0.003770767478272319 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 7126.0, "then": { - "operation": "boost", - "score": 0.022069983184337616 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7144.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.003885374404489994 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.16007797420024872 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92429.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101593.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.019880080595612526 + }, + "else": { + "operation": "boost", + "score": -0.1639132797718048 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08287185430526733 + }, + "else": { + "operation": "boost", + "score": -0.020430048927664757 + } + } + }, + "else": { + "operation": "boost", + "score": 0.015537606552243233 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.013723365031182766 + }, + "else": { + "operation": "boost", + "score": -0.03684042766690254 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.17037084698677063 + }, + "else": { + "operation": "boost", + "score": 0.0942467600107193 + } + }, + "else": { + "operation": "boost", + "score": 0.02043198049068451 + } + } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_DotMemberAccess" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.1252843290567398 + "score": -0.010261944495141506 }, "else": { "operation": "boost", - "score": 0.010588440112769604 + "score": -0.12497439980506897 } } }, "else": { "operation": "boost", - "score": 0.028643686324357986 + "score": -0.002526323078200221 } - } - }, - "else": { - "operation": "boost", - "score": -0.03629394620656967 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5315.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06189645454287529 + "score": -0.10083211958408356 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.04082195460796356 - }, - "else": { - "operation": "boost", - "score": 0.12704268097877502 - } + "operation": "boost", + "score": 0.12269385159015656 } }, "else": { "operation": "boost", - "score": 0.11469950526952744 - } - }, - "else": { - "operation": "boost", - "score": -0.10649235546588898 - } - }, - "else": { - "operation": "boost", - "score": 0.04007376730442047 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 267.0, - "then": { - "operation": "boost", - "score": 0.49289724230766296 - }, - "else": { - "operation": "boost", - "score": -0.023838022723793983 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.08945970982313156 - }, - "else": { - "operation": "boost", - "score": -0.02598574198782444 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15918.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "boost", - "score": 0.013590898364782333 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10305453091859818 - }, - "else": { - "operation": "boost", - "score": 0.10530047118663788 - } - }, - "else": { - "operation": "boost", - "score": 0.10729249566793442 - } - }, - "else": { - "operation": "boost", - "score": -0.040783192962408066 + "score": 0.09812329709529877 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03657947853207588 - }, - "else": { - "operation": "boost", - "score": 0.11070871353149414 - } - }, - "else": { - "operation": "boost", - "score": 0.008809611201286316 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.003453671233728528 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4094.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 4972.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.073468878865242 - }, - "else": { - "operation": "boost", - "score": -0.16308417916297913 - } + "operation": "boost", + "score": 0.14213119447231293 }, "else": { "operation": "boost", - "score": -0.006247977260500193 + "score": 0.06064114719629288 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 156.0, + "operation": "boost", + "score": -0.05114929378032684 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.18355968594551086 + "score": 0.223271444439888 }, "else": { "operation": "boost", - "score": 0.10595227777957916 + "score": -0.007780204527080059 } - }, - "else": { - "operation": "boost", - "score": -0.8342272639274597 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 234.0, - "then": { - "operation": "boost", - "score": 0.11028064787387848 - }, - "else": { - "operation": "boost", - "score": -0.1401977837085724 - } - } - }, - "else": { - "operation": "boost", - "score": -0.031238365918397903 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11363227665424347 - }, - "else": { - "operation": "boost", - "score": -0.059861645102500916 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.06126067042350769 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "threshold": 4917.0, "then": { - "operation": "boost", - "score": 0.061292462050914764 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.09901484847068787 + }, + "else": { + "operation": "boost", + "score": 0.13754142820835114 + } }, "else": { - "operation": "boost", - "score": -0.3958820700645447 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.07910459488630295 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 960.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1355.5, - "then": { - "operation": "boost", - "score": -0.1254349648952484 - }, - "else": { - "operation": "boost", - "score": 0.11114445328712463 - } - }, - "else": { - "operation": "boost", - "score": 0.09104075282812119 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 42.0, + "threshold": 4100.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.046441081911325455 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.2231290638446808 + }, + "else": { + "operation": "boost", + "score": 0.15958184003829956 + } }, "else": { - "operation": "boost", - "score": 0.09865635633468628 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4565.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4629.5, + "then": { + "operation": "boost", + "score": 0.08242396265268326 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.04757817089557648 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.13366329669952393 + }, + "else": { + "operation": "boost", + "score": 0.10356330126523972 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0429706871509552 + } } }, "else": { - "operation": "boost", - "score": -0.25347670912742615 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.1558714509010315 + }, + "else": { + "operation": "boost", + "score": 0.0028048246167600155 + } } }, "else": { "operation": "boost", - "score": -0.3635408878326416 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11425712704658508 - }, - "else": { - "operation": "boost", - "score": -0.2681749165058136 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, - "then": { - "operation": "boost", - "score": 0.10341648012399673 - }, - "else": { - "operation": "boost", - "score": 0.0687347948551178 - } + "score": 0.05731843411922455 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3952.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 3978.0, "then": { "operation": "boost", - "score": 0.06895532459020615 + "score": -0.03154255449771881 }, "else": { "operation": "boost", - "score": 0.11302939057350159 + "score": -0.1922687590122223 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.20504413545131683 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 3432.5, "then": { - "operation": "boost", - "score": -1.2592651844024658 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 3864.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 3932.0, "then": { "operation": "boost", - "score": -0.27257469296455383 + "score": 0.092605821788311 + }, + "else": { + "operation": "boost", + "score": -0.08995255082845688 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14428597688674927 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3454.0, + "then": { + "operation": "boost", + "score": 0.09834177792072296 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.12792301177978516 + }, + "else": { + "operation": "boost", + "score": 0.4778553545475006 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05527827888727188 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.18252570927143097 + "score": 0.15990985929965973 }, "else": { "operation": "boost", - "score": 0.09897935390472412 + "score": -0.3822127878665924 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.026372721418738365 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.12988042831420898 + }, + "else": { + "operation": "boost", + "score": 0.16834519803524017 + } }, "else": { "operation": "boost", - "score": -0.6958440542221069 + "score": 0.16444604098796844 } } }, @@ -279122,79 +276993,92 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.054045505821704865 + "score": -0.012575551867485046 }, "else": { "operation": "boost", - "score": 0.13768517971038818 + "score": 0.2348732203245163 } }, "else": { "operation": "boost", - "score": -0.8908320069313049 + "score": -0.006341014988720417 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2501.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 2586.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 2785.5, "then": { "operation": "boost", - "score": -0.10760723054409027 + "score": -0.00509650819003582 }, "else": { - "operation": "boost", - "score": 0.11575817316770554 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.11186978965997696 + }, + "else": { + "operation": "boost", + "score": 0.06330819427967072 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": -0.0911623165011406 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2481.0, + "then": { + "operation": "boost", + "score": 0.128237783908844 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.07435676455497742 + "score": 0.017291897907853127 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 2471.5, "then": { "operation": "boost", - "score": 0.06086302548646927 + "score": 0.11581064760684967 }, "else": { "operation": "boost", - "score": -0.10686174780130386 + "score": 0.09355437755584717 } } } @@ -279204,7153 +277088,6880 @@ } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.5, - "then": { - "operation": "boost", - "score": -0.257757306098938 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "boost", - "score": 0.09890769422054291 - }, - "else": { - "operation": "boost", - "score": -0.011030449531972408 - } - } + "operation": "boost", + "score": 0.1563563048839569 } } } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0010031349956989288 - } - }, - { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.13652417063713074 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07138938456773758 - }, - "else": { - "operation": "boost", - "score": 0.08635368198156357 - } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 2397.5, "then": { - "operation": "boost", - "score": 0.06916245818138123 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.46099480986595154 - }, - "else": { - "operation": "boost", - "score": 0.02008635737001896 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.07861847430467606 - } - }, - "else": { - "operation": "boost", - "score": -0.11660344898700714 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0247713141143322 - }, - "else": { - "operation": "boost", - "score": 0.08399609476327896 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.002026056870818138 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "feature": "NumReferences", + "threshold": 9171.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 75.5, + "threshold": 17454.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17856.5, "then": { "operation": "boost", - "score": 0.09723502397537231 + "score": 0.005795105826109648 }, "else": { "operation": "boost", - "score": -0.20551742613315582 + "score": 0.09020231664180756 } }, "else": { - "operation": "boost", - "score": -0.016408124938607216 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": -0.17137601971626282 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73.5, + "threshold": 24227.5, "then": { "operation": "boost", - "score": 0.07327662408351898 + "score": -0.08295423537492752 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.11283261328935623 - }, - "else": { - "operation": "boost", - "score": 0.23929741978645325 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 23701.5, "then": { - "operation": "boost", - "score": -0.015886416658759117 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_Type" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 23872.5, "then": { "operation": "boost", - "score": 0.04329262301325798 + "score": 0.08846797049045563 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "boost", + "score": 0.09989219158887863 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.08608710765838623 + "score": 0.18732967972755432 }, "else": { "operation": "boost", - "score": 0.10704030841588974 + "score": 0.11936190724372864 } - }, - "else": { - "operation": "boost", - "score": -0.16571053862571716 } } }, "else": { - "operation": "boost", - "score": 0.008229152299463749 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.4846667945384979 + "score": 0.1351759284734726 }, "else": { "operation": "boost", - "score": 0.1076781302690506 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11330174654722214 - }, - "else": { - "operation": "boost", - "score": -0.167428120970726 - } - }, - "else": { - "operation": "boost", - "score": -0.0205352995544672 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.10823383182287216 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.10064862668514252 - }, - "else": { - "operation": "boost", - "score": -0.2170666605234146 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10770215094089508 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.16042672097682953 - }, - "else": { - "operation": "boost", - "score": 0.1125621572136879 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.01666252501308918 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10803039371967316 - }, - "else": { - "operation": "boost", - "score": 0.1143137738108635 - } - } - }, - "else": { - "operation": "boost", - "score": 0.062277309596538544 - } - } + "score": -0.1201157346367836 } } }, "else": { + "operation": "boost", + "score": -0.08512052893638611 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20439.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61387.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 176924.5, "then": { + "operation": "boost", + "score": 0.0066303289495408535 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Symbol" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 163675.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12720297276973724 - }, - "else": { - "operation": "boost", - "score": -0.15922458469867706 - } + "operation": "boost", + "score": 0.1445990800857544 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.12404216825962067 - }, - "else": { - "operation": "boost", - "score": 0.060200221836566925 - } - }, - "else": { - "operation": "boost", - "score": 0.12619896233081818 - } + "operation": "boost", + "score": 0.10637466609477997 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", - "score": -0.12431056797504425 + "score": 0.008423037827014923 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.22127094864845276 + "score": -0.12401001900434494 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.031122339889407158 - }, - "else": { - "operation": "boost", - "score": 0.11165037751197815 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08716744184494019 - }, - "else": { - "operation": "boost", - "score": -0.013276267796754837 - } - }, - "else": { - "operation": "boost", - "score": 0.010321947745978832 - } - } + "operation": "boost", + "score": 0.09480782598257065 } } } }, "else": { "operation": "boost", - "score": 0.032450634986162186 + "score": 0.01279636099934578 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59716.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.21920792758464813 + }, + "else": { + "operation": "boost", + "score": -0.08065730333328247 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], + "operation": "boost", + "score": -0.032317519187927246 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11707014590501785 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.14954879879951477 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "boost", + "score": 0.07087390124797821 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.0701555609703064 + "score": 0.06265241652727127 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.04336750507354736 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06536810100078583 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10549511760473251 - }, - "else": { - "operation": "boost", - "score": -0.10636147111654282 - } - } - } + "operation": "boost", + "score": 0.1662793755531311 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07909636944532394 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.026524176821112633 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10751819610595703 - }, - "else": { - "operation": "boost", - "score": 0.11607499420642853 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.231610506772995 - }, - "else": { - "operation": "boost", - "score": 0.09857508540153503 - } - }, - "else": { - "operation": "boost", - "score": 0.019850362092256546 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.08680617064237595 - }, - "else": { - "operation": "boost", - "score": 0.07146910578012466 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.24954010546207428 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.190725639462471 - }, - "else": { - "operation": "boost", - "score": 0.11109385639429092 - } - }, - "else": { - "operation": "boost", - "score": 0.09771717339754105 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.10120614618062973 - }, - "else": { - "operation": "boost", - "score": 0.1066240444779396 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.0666075274348259 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.04408691078424454 - }, - "else": { - "operation": "boost", - "score": 0.13332802057266235 - } - }, - "else": { - "operation": "boost", - "score": 0.19384004175662994 - } - }, - "else": { - "operation": "boost", - "score": 0.02914039045572281 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03035021387040615 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "boost", - "score": -0.25015997886657715 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.05431463569402695 - }, - "else": { - "operation": "boost", - "score": 0.11983019858598709 - } - }, - "else": { - "operation": "boost", - "score": -0.2717358469963074 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09514368325471878 - }, - "else": { - "operation": "boost", - "score": 0.026617661118507385 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12291610240936279 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.30796077847480774 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11592099815607071 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.041306912899017334 - }, - "else": { - "operation": "boost", - "score": 0.11805906891822815 - } - }, - "else": { - "operation": "boost", - "score": -0.021138230338692665 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10797982662916183 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.02982134371995926 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05051616206765175 - }, - "else": { - "operation": "boost", - "score": 0.10516740381717682 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11348358541727066 - }, - "else": { - "operation": "boost", - "score": -0.06623642891645432 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.07741519808769226 - }, - "else": { - "operation": "boost", - "score": 0.08588660508394241 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.9254810214042664 - }, - "else": { - "operation": "boost", - "score": -0.229216068983078 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.004584428854286671 - } - } + "score": 0.0866374745965004 } } } } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.0, - "then": { - "operation": "boost", - "score": 0.10033006221055984 - }, - "else": { - "operation": "boost", - "score": 0.047186970710754395 - } - }, - "else": { - "operation": "boost", - "score": -0.016199467703700066 - } } } + }, + "else": { + "operation": "boost", + "score": -0.03749651834368706 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6621.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6892.5, + "threshold": 6106.0, "then": { "operation": "boost", - "score": 0.03228959068655968 + "score": 0.02752767503261566 }, "else": { - "operation": "boost", - "score": 0.0965060144662857 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6080.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.15356779098510742 + }, + "else": { + "operation": "boost", + "score": 0.11831367015838623 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.23747633397579193 + }, + "else": { + "operation": "boost", + "score": -0.10473596304655075 + } + } + }, + "else": { + "operation": "boost", + "score": 0.039408739656209946 + } } }, "else": { + "operation": "boost", + "score": -0.01858900487422943 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 475.5, + "threshold": 7773.0, "then": { - "operation": "boost", - "score": -0.11366710066795349 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.03529202938079834 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 8954.5, "then": { "operation": "boost", - "score": -0.029052678495645523 + "score": -0.1716231405735016 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.10962562263011932 + "score": 0.12290336191654205 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.11587221175432205 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8395.0, + "then": { + "operation": "boost", + "score": 0.19578291475772858 + }, + "else": { + "operation": "boost", + "score": 0.18050158023834229 + } }, "else": { "operation": "boost", - "score": -0.028001265600323677 + "score": 0.09486217796802521 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.009750226512551308 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6600.0, "then": { - "operation": "boost", - "score": 0.06755246967077255 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6689.5, + "then": { + "operation": "boost", + "score": 0.16525477170944214 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11480661481618881 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1467350423336029 + }, + "else": { + "operation": "boost", + "score": 0.10250318050384521 + } + } + } }, "else": { "operation": "boost", - "score": -0.012250641360878944 + "score": 0.02167152240872383 } } } + }, + "else": { + "operation": "boost", + "score": -0.01848246157169342 } - }, - "else": { - "operation": "boost", - "score": 0.00016481344937346876 } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.12648726999759674 + }, + "else": { + "operation": "boost", + "score": -0.010306079871952534 + } } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1280205.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09350517392158508 - }, - "else": { - "operation": "boost", - "score": 0.02324928715825081 - } + "operation": "boost", + "score": -0.08667563647031784 + }, + "else": { + "operation": "boost", + "score": 0.032688457518815994 + } + }, + "else": { + "operation": "boost", + "score": -0.018210219219326973 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.007887957617640495 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8161.0, + "then": { + "operation": "boost", + "score": 0.00896135251969099 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7457.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 7813.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 83.5, + "threshold": 8150.0, + "then": { + "operation": "boost", + "score": 0.15589509904384613 + }, + "else": { + "operation": "boost", + "score": -0.015856178477406502 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7731.5, "then": { "operation": "boost", - "score": -0.10117891430854797 + "score": 0.16355739533901215 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9.5, + "threshold": 7661.5, "then": { + "operation": "boost", + "score": -0.1093016192317009 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.1284351944923401 - }, - "else": { - "operation": "boost", - "score": 0.041778892278671265 - } + "operation": "boost", + "score": 0.07790983468294144 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0841783955693245 - }, - "else": { - "operation": "boost", - "score": 0.10722745209932327 - } + "operation": "boost", + "score": 0.14546900987625122 } - }, - "else": { - "operation": "boost", - "score": 0.057400405406951904 } } - }, - "else": { - "operation": "boost", - "score": 0.013083326630294323 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.012602676637470722 - }, - "else": { - "operation": "boost", - "score": 0.07308908551931381 - } + "operation": "boost", + "score": 0.03265361860394478 } } + } + }, + "else": { + "operation": "boost", + "score": -0.048923444002866745 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2368.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -1.0417593717575073 }, "else": { "operation": "boost", - "score": -0.008412761613726616 + "score": -0.11440043896436691 } + }, + "else": { + "operation": "boost", + "score": -0.08040565997362137 } }, "else": { "operation": "boost", - "score": -0.0006514281267300248 + "score": -0.00038719255826435983 } - }, - "else": { - "operation": "boost", - "score": -0.06687980145215988 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7329.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 86511.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8931.0, + "threshold": 245728.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "boost", + "score": -0.25325247645378113 + }, + "else": { + "operation": "boost", + "score": 0.04731578752398491 + } + }, + "else": { + "operation": "boost", + "score": 0.0013880640035495162 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.002159544499590993 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.15737968683242798 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12782.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04577428475022316 + }, + "else": { + "operation": "boost", + "score": 0.06680310517549515 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11702247709035873 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.019355857744812965 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "boost", - "score": 0.005353926215320826 + "score": -0.06624897569417953 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12655.0, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11655451357364655 + "score": -0.04587729647755623 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": 0.10430239886045456 + }, + "else": { + "operation": "boost", + "score": 0.09895510226488113 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": -0.22896620631217957 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.04745645448565483 - }, - "else": { - "operation": "boost", - "score": -0.8455421328544617 - } + "operation": "boost", + "score": 0.2354302853345871 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.05605793744325638 - }, - "else": { - "operation": "boost", - "score": 0.08132252842187881 - } + "operation": "boost", + "score": 0.041522808372974396 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0721949115395546 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "boost", - "score": 0.285317063331604 + "score": -0.30166271328926086 }, "else": { "operation": "boost", - "score": 0.07210563123226166 + "score": -0.05573830008506775 } } } - }, - "else": { - "operation": "boost", - "score": -0.24669089913368225 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14129363000392914 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "boost", + "score": 0.0052520208992064 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.027182137593626976 + }, + "else": { + "operation": "boost", + "score": -0.006105945445597172 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": 0.03935063257813454 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97230.0, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 254260.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03570140153169632 + "score": -0.35645127296447754 }, "else": { - "operation": "boost", - "score": 0.10551467537879944 - } - }, - "else": { - "operation": "boost", - "score": -0.009352530352771282 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": -0.10274117439985275 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Type" + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "operation": "boost", + "score": 0.11923570185899734 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.3347320258617401 + "score": 0.045622024685144424 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.09113325923681259 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29005.0, - "then": { - "operation": "boost", - "score": -0.3158840239048004 - }, - "else": { - "operation": "boost", - "score": 0.100936159491539 - } - } + "operation": "boost", + "score": 0.10921111702919006 }, "else": { "operation": "boost", - "score": 0.047633517533540726 + "score": -0.04681047797203064 } } - }, - "else": { - "operation": "boost", - "score": 0.03126731887459755 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13722.0, + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": -0.03541313484311104 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15981.5, + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -3.4845457077026367 - }, - "else": { - "operation": "boost", - "score": 0.08465130627155304 - } + "operation": "boost", + "score": 0.10095015913248062 }, "else": { "operation": "boost", - "score": -0.10151152312755585 + "score": -0.18911436200141907 } }, "else": { "operation": "boost", - "score": 0.07771018892526627 + "score": 0.09508075565099716 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.022670915350317955 }, "else": { "operation": "boost", - "score": -0.3162260949611664 + "score": -0.16502133011817932 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9406.5, - "then": { - "operation": "boost", - "score": 0.006013138219714165 - }, - "else": { - "operation": "boost", - "score": -0.11592847853899002 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.09052210301160812 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.04173419624567032 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8541.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8751.0, - "then": { - "operation": "boost", - "score": 0.15030264854431152 - }, - "else": { - "operation": "boost", - "score": 0.10968028008937836 - } + "operation": "boost", + "score": 0.07568582147359848 }, "else": { "operation": "boost", - "score": 0.07555744051933289 + "score": 0.02077498286962509 } } } - }, - "else": { + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11829.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12183.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 20296.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8542.5, - "then": { - "operation": "boost", - "score": 0.11029962450265884 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.11046294122934341 - }, - "else": { - "operation": "boost", - "score": -0.1371629536151886 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "threshold": 58073.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.11586657911539078 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.06292439252138138 - }, - "else": { - "operation": "boost", - "score": 0.11798951029777527 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8181.0, - "then": { - "operation": "boost", - "score": 0.1071646511554718 - }, - "else": { - "operation": "boost", - "score": -0.260050892829895 - } - }, - "else": { - "operation": "boost", - "score": -0.023239461705088615 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.13278351724147797 - }, - "else": { - "operation": "boost", - "score": -0.03407619893550873 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8213.5, - "then": { - "operation": "boost", - "score": 0.11272532492876053 - }, - "else": { - "operation": "boost", - "score": -0.029648859053850174 - } - }, - "else": { - "operation": "boost", - "score": -0.004703013226389885 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8668.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07918595522642136 - }, - "else": { - "operation": "boost", - "score": 0.11883532255887985 - } - }, - "else": { - "operation": "boost", - "score": -0.18174302577972412 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 2.9804268706357107e-05 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.010941838845610619 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8161.0, - "then": { - "operation": "boost", - "score": 0.043814778327941895 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.039460401982069016 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7834.5, - "then": { - "operation": "boost", - "score": 0.44075411558151245 - }, - "else": { - "operation": "boost", - "score": 0.39890602231025696 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03908349946141243 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8002.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31517.0, - "then": { - "operation": "boost", - "score": -0.07208351045846939 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27189.0, + "threshold": 1280205.5, "then": { "operation": "boost", - "score": 0.10814107954502106 + "score": -0.0672452375292778 }, "else": { - "operation": "boost", - "score": 0.1039772555232048 - } - } - }, - "else": { - "operation": "boost", - "score": 0.30057641863822937 - } - }, - "else": { - "operation": "boost", - "score": -0.20554961264133453 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.002846933901309967 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7434.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9368.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 57593.5, + "threshold": 267507.5, "then": { - "operation": "boost", - "score": 0.004729022271931171 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273152.0, + "then": { + "operation": "boost", + "score": 0.028869060799479485 + }, + "else": { + "operation": "boost", + "score": 0.07143931090831757 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18573.5, + "threshold": 63360.5, "then": { + "operation": "boost", + "score": -0.005761079955846071 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.1280936300754547 + "score": 0.0741877630352974 }, "else": { "operation": "boost", - "score": 0.1062595546245575 + "score": 0.017071129754185677 } - }, - "else": { - "operation": "boost", - "score": -0.12262364476919174 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.03831495717167854 - }, - "else": { - "operation": "boost", - "score": 0.1001744419336319 - } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.043505940586328506 - }, - "else": { - "operation": "boost", - "score": -0.05269906669855118 - } + "operation": "boost", + "score": -0.03204693645238876 } }, "else": { "operation": "boost", - "score": 0.13587334752082825 + "score": -0.16256868839263916 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18942.0, + "threshold": 43319.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19474.5, + "threshold": 45000.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 50563.0, "then": { - "operation": "boost", - "score": 0.057102516293525696 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.11296183615922928 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.1426984816789627 + }, + "else": { + "operation": "boost", + "score": 0.14729495346546173 + } }, "else": { "operation": "boost", - "score": 0.06531620025634766 + "score": -0.10337964445352554 } + }, + "else": { + "operation": "boost", + "score": -0.17402631044387817 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62576.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Unknown" + ], "then": { - "operation": "boost", - "score": -0.02753720059990883 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 53705.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, - "then": { - "operation": "boost", - "score": 0.0285797156393528 - }, - "else": { - "operation": "boost", - "score": 0.07108030468225479 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.17355823516845703 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.07049217820167542 + "score": 0.1348256915807724 }, "else": { "operation": "boost", - "score": 0.08318104594945908 + "score": 0.0956440418958664 } + }, + "else": { + "operation": "boost", + "score": -0.09887386858463287 } + }, + "else": { + "operation": "boost", + "score": -0.04541151598095894 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20253.5, + "threshold": 47131.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20296.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.024239961057901382 + "score": 0.059555284678936005 }, "else": { - "operation": "boost", - "score": 0.18709148466587067 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.3841157555580139 + "score": 0.11171698570251465 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23488.0, - "then": { - "operation": "boost", - "score": -0.10039415955543518 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09623435139656067 - }, - "else": { - "operation": "boost", - "score": 0.09780397266149521 - } - } + "operation": "boost", + "score": 0.05389577895402908 } - }, - "else": { - "operation": "boost", - "score": -0.07560726255178452 } + }, + "else": { + "operation": "boost", + "score": -0.019218483939766884 } }, "else": { "operation": "boost", - "score": -0.22139011323451996 + "score": -0.18109968304634094 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.12429855018854141 - }, - "else": { - "operation": "boost", - "score": 0.06822185218334198 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.1032600924372673 }, "else": { "operation": "boost", - "score": 0.11284606903791428 + "score": -0.0779196098446846 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9368.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12324.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.10233938694000244 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11847605556249619 + }, + "else": { + "operation": "boost", + "score": 0.08685965090990067 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { + "operation": "boost", + "score": -0.21366189420223236 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.5052392482757568 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.04602586477994919 + }, + "else": { + "operation": "boost", + "score": 0.11747270077466965 + } + }, + "else": { + "operation": "boost", + "score": 0.13141347467899323 + } + } + } + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.23514436185359955 + "score": 0.12163547426462173 }, "else": { "operation": "boost", - "score": -0.9260445237159729 + "score": 0.04454958438873291 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 44315.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7875.5, - "then": { - "operation": "boost", - "score": 0.07390555739402771 - }, - "else": { - "operation": "boost", - "score": -0.11076626181602478 - } + "operation": "boost", + "score": -0.20655345916748047 }, "else": { "operation": "boost", - "score": 0.18270361423492432 + "score": 0.13895678520202637 } } - }, - "else": { - "operation": "boost", - "score": 0.045178692787885666 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.13521896302700043 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -2.398956775665283 - }, - "else": { - "operation": "boost", - "score": 0.02444169670343399 - } - }, - "else": { - "operation": "boost", - "score": -0.11421144008636475 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01086331158876419 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44699.0, - "then": { - "operation": "boost", - "score": -0.07998481392860413 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37670.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 24308.0, "then": { "operation": "boost", - "score": 0.11331918835639954 + "score": -0.017559872940182686 }, "else": { - "operation": "boost", - "score": 0.107644222676754 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10708092153072357 - }, - "else": { - "operation": "boost", - "score": -0.2964493930339813 - } - }, - "else": { - "operation": "boost", - "score": -0.029708590358495712 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7457.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82306.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 90101.0, + "threshold": 24227.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_Symbol" ], - "then": { - "operation": "boost", - "score": 0.08377932757139206 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "boost", - "score": 0.012696568854153156 - }, - "else": { - "operation": "boost", - "score": -0.06303388625383377 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87637.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02631578966975212, "then": { "operation": "boost", - "score": -0.02864597737789154 + "score": 0.0678127259016037 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.21524745225906372 - }, - "else": { - "operation": "boost", - "score": 0.07272022217512131 - } + "operation": "boost", + "score": 0.11896085739135742 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.0, "then": { "operation": "boost", - "score": -0.48587432503700256 + "score": -0.05979914590716362 }, "else": { "operation": "boost", - "score": 0.09135683625936508 + "score": 0.0981503576040268 } } } }, "else": { + "operation": "boost", + "score": 0.0747639611363411 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23685.0, "then": { + "operation": "boost", + "score": -0.13921914994716644 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23608.0, "then": { - "operation": "boost", - "score": -0.019098928198218346 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 23667.0, "then": { "operation": "boost", - "score": -0.3074924647808075 + "score": -0.0004912205040454865 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.10888645052909851 + "score": 0.12296354025602341 }, "else": { "operation": "boost", - "score": 0.07001525908708572 + "score": 0.1252559870481491 } } + }, + "else": { + "operation": "boost", + "score": 0.01880032941699028 } - }, - "else": { - "operation": "boost", - "score": -0.016346676275134087 } + }, + "else": { + "operation": "boost", + "score": -0.11579279601573944 } } - }, - "else": { - "operation": "boost", - "score": 0.015709228813648224 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.10111124813556671 }, "else": { "operation": "boost", - "score": 0.09488743543624878 + "score": -0.026476679369807243 } }, "else": { + "operation": "boost", + "score": 0.048390600830316544 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14408.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110939.5, + "threshold": 15332.0, + "then": { + "operation": "boost", + "score": -0.20384210348129272 + }, + "else": { + "operation": "boost", + "score": 0.08540216088294983 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.05870756134390831 + }, + "else": { + "operation": "boost", + "score": -0.0831647589802742 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14379.0, + "then": { + "operation": "boost", + "score": 0.16816666722297668 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.13774138689041138 + "score": -0.03571648895740509 }, "else": { "operation": "boost", - "score": -0.006861788686364889 + "score": 0.06344368308782578 } } } } }, "else": { - "operation": "boost", - "score": 0.11026639491319656 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.002845478942617774 + }, + "else": { + "operation": "boost", + "score": 0.012547843158245087 + } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0002871798351407051 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224557.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.10261396318674088 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.16751603782176971 + }, + "else": { + "operation": "boost", + "score": -0.08778355270624161 + } + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" + "CCC_Expression", + "CCC_Statement", + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.01402661856263876 + "score": 0.0945366844534874 }, "else": { "operation": "boost", - "score": -0.0047187479212880135 + "score": -0.0498972162604332 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10403.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11704.0, + "then": { + "operation": "boost", + "score": -0.14716526865959167 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11605.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.12377313524484634 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.0621040053665638 + "score": -0.12207634001970291 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.0571601465344429 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.24609962105751038 - }, - "else": { - "operation": "boost", - "score": -0.0658218115568161 - } - }, - "else": { - "operation": "boost", - "score": -0.5836882591247559 - } - } + "operation": "boost", + "score": 0.11211181432008743 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.057440005242824554 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.032796263694763184 + "score": 0.15889781713485718 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": 0.08183471113443375 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0336308628320694 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7957.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8054.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8476.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10795408487319946 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 9263.5, "then": { "operation": "boost", - "score": 0.03200112655758858 + "score": -0.41546547412872314 }, "else": { "operation": "boost", - "score": -0.40902242064476013 + "score": -0.038273077458143234 } + }, + "else": { + "operation": "boost", + "score": -0.025881938636302948 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 8506.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 10208.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.09271013736724854 - }, - "else": { - "operation": "boost", - "score": 0.041284963488578796 - } + "operation": "boost", + "score": -0.094937264919281 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.10471799224615097 + "score": -0.09048451483249664 }, "else": { "operation": "boost", - "score": 0.09397722035646439 + "score": 0.07021412253379822 } } }, "else": { "operation": "boost", - "score": 0.004424034617841244 + "score": -1.113555908203125 } - }, - "else": { - "operation": "boost", - "score": -0.00675103859975934 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 8337.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8374.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.1530240923166275 - }, - "else": { - "operation": "boost", - "score": -0.12232983112335205 - } - }, - "else": { - "operation": "boost", - "score": 0.04969435930252075 - } - }, - "else": { - "operation": "boost", - "score": 0.02842656895518303 - } + "operation": "boost", + "score": 0.18127788603305817 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.002228338271379471 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.1280319094657898 - }, - "else": { - "operation": "boost", - "score": 0.08146420866250992 - } - } + "operation": "boost", + "score": 0.09400704503059387 } }, "else": { "operation": "boost", - "score": -0.17547406256198883 + "score": 0.11521108448505402 } }, "else": { "operation": "boost", - "score": 0.017008451744914055 + "score": 0.1155930683016777 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10295.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.07074002921581268 - }, - "else": { - "operation": "boost", - "score": 0.11032072454690933 - } - }, - "else": { - "operation": "boost", - "score": 0.028174985200166702 - } + "operation": "boost", + "score": 0.30097508430480957 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1650937795639038 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.07965850085020065 - }, - "else": { - "operation": "boost", - "score": 0.10035436600446701 - } - }, - "else": { - "operation": "boost", - "score": -0.09215755015611649 - } - }, - "else": { - "operation": "boost", - "score": 0.06005599722266197 - } - }, - "else": { - "operation": "boost", - "score": -0.19763709604740143 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.03529081866145134 - }, - "else": { - "operation": "boost", - "score": -0.8137394785881042 - } - }, - "else": { - "operation": "boost", - "score": 0.06901320815086365 - } - } - } + "operation": "boost", + "score": -0.10732836276292801 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.05657605081796646 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03240375593304634 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.04859745502471924 - }, - "else": { - "operation": "boost", - "score": 0.07938862591981888 - } - } - }, - "else": { - "operation": "boost", - "score": -0.31142884492874146 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.401966392993927 - }, - "else": { - "operation": "boost", - "score": -0.02231059968471527 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.023198138922452927 - }, - "else": { - "operation": "boost", - "score": 0.08103229850530624 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10394538938999176 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.1986335664987564 - }, - "else": { - "operation": "boost", - "score": 0.10022382438182831 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07451033592224121 - } - } + "operation": "boost", + "score": 0.10978186130523682 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08616385608911514 - }, - "else": { - "operation": "boost", - "score": -0.23554450273513794 - } - }, - "else": { - "operation": "boost", - "score": 0.05084993317723274 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13652096688747406 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.6557489633560181 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.6874833703041077 - }, - "else": { - "operation": "boost", - "score": 1.4760808944702148 - } - }, - "else": { - "operation": "boost", - "score": -0.1220133826136589 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.09414362162351608 - }, - "else": { - "operation": "boost", - "score": -0.20741139352321625 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.06451963633298874 - }, - "else": { - "operation": "boost", - "score": -0.12748420238494873 - } - } - } + "operation": "boost", + "score": -0.09221523255109787 } } }, "else": { "operation": "boost", - "score": 0.013870862312614918 + "score": 0.009429759345948696 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.04405118152499199 + "score": 0.073671855032444 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", - "score": 0.10431929677724838 + "score": 0.13752435147762299 }, "else": { "operation": "boost", - "score": -0.3131501376628876 + "score": 0.10684827715158463 } } + }, + "else": { + "operation": "boost", + "score": 0.06913832575082779 } } + }, + "else": { + "operation": "boost", + "score": -0.0002648808585945517 } - }, - "else": { - "operation": "boost", - "score": -0.023808812722563744 } - }, - "else": { + } + } + }, + { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.08090001344680786 - }, - "else": { - "operation": "boost", - "score": 0.10501088947057724 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.6501142382621765 - }, - "else": { - "operation": "boost", - "score": -0.07447045296430588 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0016129252035170794 + "score": 0.1628972291946411 }, "else": { "operation": "boost", - "score": -0.23069927096366882 + "score": 0.05830458924174309 } }, "else": { "operation": "boost", - "score": 0.08710474520921707 + "score": 1.6656439304351807 } + }, + "else": { + "operation": "boost", + "score": -0.14075420796871185 } + }, + "else": { + "operation": "boost", + "score": -0.14714016020298004 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02852672152221203 - }, - "else": { - "operation": "boost", - "score": 0.047747571021318436 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.031596675515174866 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.17411789298057556 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04024690389633179 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3011460304260254 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07060275226831436 - }, - "else": { - "operation": "boost", - "score": 0.10294072329998016 - } - }, - "else": { - "operation": "boost", - "score": 0.09915022552013397 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10667525976896286 - } - }, - "else": { - "operation": "boost", - "score": -0.10212647914886475 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10822810232639313 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08875591307878494 - }, - "else": { - "operation": "boost", - "score": -0.01632174663245678 - } - } - }, - "else": { - "operation": "boost", - "score": 0.009549867361783981 - } - }, - "else": { - "operation": "boost", - "score": 0.009480662643909454 - } - } - } + "operation": "boost", + "score": -0.027745869010686874 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "boost", - "score": 0.008235620334744453 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.04640104994177818 - }, - "else": { - "operation": "boost", - "score": 0.05213816463947296 - } - }, - "else": { - "operation": "boost", - "score": -0.2413262575864792 - } + "operation": "boost", + "score": 0.0503632053732872 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { "operation": "boost", - "score": -0.002471319632604718 + "score": 0.1365806758403778 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.07132317870855331 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08760581910610199 - }, - "else": { - "operation": "boost", - "score": 0.0 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.1126919761300087 - }, - "else": { - "operation": "boost", - "score": 0.10965163260698318 - } - }, - "else": { - "operation": "boost", - "score": 0.11000984907150269 - } - }, - "else": { - "operation": "boost", - "score": 0.08944042772054672 - } - } + "operation": "boost", + "score": -0.18564774096012115 } } + }, + "else": { + "operation": "boost", + "score": -0.13921838998794556 } }, "else": { "operation": "boost", - "score": -0.045019492506980896 + "score": -0.10944394022226334 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90096.0, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "boost", - "score": 0.0007682097493670881 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89516.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.23430590331554413 - }, - "else": { - "operation": "boost", - "score": 0.08054228872060776 - } + "operation": "boost", + "score": -0.08497529476881027 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": -0.43895044922828674 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.1383601427078247 + "score": 0.11096876859664917 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0803641676902771 + "score": 0.8112882375717163 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.06940591335296631 - }, - "else": { - "operation": "boost", - "score": 0.08638467639684677 - } + "operation": "boost", + "score": 0.017167646437883377 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.09501620382070541 + "score": -0.12241296470165253 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03297015279531479 - }, - "else": { - "operation": "boost", - "score": 0.1396683156490326 - } + "operation": "boost", + "score": 0.1592903733253479 } }, "else": { "operation": "boost", - "score": 0.09125558286905289 + "score": -0.07515055686235428 } - }, - "else": { - "operation": "boost", - "score": 0.03665551543235779 } - }, - "else": { - "operation": "boost", - "score": 0.04137412831187248 } + }, + "else": { + "operation": "boost", + "score": -0.1250087022781372 } + }, + "else": { + "operation": "boost", + "score": -0.16646458208560944 } } } } + }, + "else": { + "operation": "boost", + "score": -0.012494313530623913 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79923.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.004394302144646645 + }, + "else": { + "operation": "boost", + "score": 0.0011546446476131678 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84495.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": -0.08948282897472382 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0017019491642713547 + "score": -0.07752399146556854 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.10037455707788467 - }, - "else": { - "operation": "boost", - "score": -0.45676857233047485 - } + "operation": "boost", + "score": 0.0053776102140545845 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05412977561354637 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0489719994366169 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.1006150022149086 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.028870288282632828 + }, + "else": { + "operation": "boost", + "score": 0.007124442141503096 + } }, "else": { - "operation": "boost", - "score": -0.2617010772228241 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": 0.10086607933044434 + }, + "else": { + "operation": "boost", + "score": 0.14038321375846863 + } + }, + "else": { + "operation": "boost", + "score": 0.00930256862193346 + } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.035371746867895126 - } - }, - "else": { - "operation": "boost", - "score": -0.00011469097080407664 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.04273314028978348 - }, - "else": { - "operation": "boost", - "score": -0.020458951592445374 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.5, - "then": { - "operation": "boost", - "score": 0.036850299686193466 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.11772152781486511 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.012297092005610466 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.0446007214486599 + }, + "else": { + "operation": "boost", + "score": -0.004462672863155603 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.11205210536718369 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5902777910232544, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": 0.04251366853713989 + }, + "else": { + "operation": "boost", + "score": 0.1466081291437149 + } + }, + "else": { + "operation": "boost", + "score": -0.006200640462338924 + } }, "else": { "operation": "boost", - "score": -1.6343845129013062 + "score": -0.01451924443244934 } } } } }, "else": { - "operation": "boost", - "score": -0.0072811977006495 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_SymbolOrNewName" + "FileScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.009446049109101295 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11914.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13286.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.020804692059755325 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13235.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.010692157782614231 - }, - "else": { - "operation": "boost", - "score": 0.11722541600465775 - } - }, - "else": { - "operation": "boost", - "score": 0.8039295673370361 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12735.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13130.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09613945335149765 - }, - "else": { - "operation": "boost", - "score": -0.7856515049934387 - } + "operation": "boost", + "score": -0.14613917469978333 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { "operation": "boost", - "score": 0.08220920711755753 + "score": 0.08695921301841736 }, "else": { "operation": "boost", - "score": 0.1052161231637001 + "score": -0.04317934811115265 } } }, "else": { "operation": "boost", - "score": -0.11932701617479324 + "score": 0.024048442021012306 } }, "else": { - "operation": "boost", - "score": 0.07789953798055649 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.03267310932278633 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 213.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 476.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.07637438178062439 - }, - "else": { - "operation": "boost", - "score": 0.13436463475227356 - } - }, - "else": { - "operation": "boost", - "score": -0.19365918636322021 - } - }, - "else": { - "operation": "boost", - "score": -0.21114756166934967 - } - } - }, - "else": { - "operation": "boost", - "score": -0.012666957452893257 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": -0.06268058717250824 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.1267240047454834 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1336681842803955 + }, + "else": { + "operation": "boost", + "score": 0.05415722727775574 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.11576010286808014 + }, + "else": { + "operation": "boost", + "score": 0.12631572782993317 + } + } + }, + "else": { + "operation": "boost", + "score": 0.021948980167508125 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.035920754075050354 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 204.5, + "then": { + "operation": "boost", + "score": 0.14779268205165863 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.01161388773471117 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.029610443860292435 + }, + "else": { + "operation": "boost", + "score": 0.08102752268314362 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "boost", + "score": -0.05263493210077286 + }, + "else": { + "operation": "boost", + "score": 0.02434641495347023 + } + }, + "else": { + "operation": "boost", + "score": -0.021166017279028893 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.059578388929367065 + }, + "else": { + "operation": "boost", + "score": -0.01406060066074133 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22006605565547943 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.08195924013853073 + }, + "else": { + "operation": "boost", + "score": 0.2852608561515808 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05629972368478775 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1031.0, + "then": { + "operation": "boost", + "score": 6.827642937423661e-05 + }, + "else": { + "operation": "boost", + "score": 0.05710725486278534 + } + }, + "else": { + "operation": "boost", + "score": -0.3132103383541107 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.003711908357217908 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": -0.03562885522842407 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.159428209066391 + }, + "else": { + "operation": "boost", + "score": 0.10165153443813324 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.20824487507343292 + }, + "else": { + "operation": "boost", + "score": -0.033271752297878265 + } + }, + "else": { + "operation": "boost", + "score": -0.13704897463321686 + } + }, + "else": { + "operation": "boost", + "score": 0.014012754894793034 + } + }, + "else": { + "operation": "boost", + "score": 0.1134374663233757 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": 0.14409375190734863 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.03887379914522171 + }, + "else": { + "operation": "boost", + "score": -0.7524662017822266 + } + }, + "else": { + "operation": "boost", + "score": -0.11192993819713593 + } + }, + "else": { + "operation": "boost", + "score": -0.01725548505783081 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.10119857639074326 + }, + "else": { + "operation": "boost", + "score": 0.005959650501608849 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.00463513471186161 + }, + "else": { + "operation": "boost", + "score": -0.3637961447238922 + } + }, + "else": { + "operation": "boost", + "score": -0.49414944648742676 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.13438718020915985 + }, + "else": { + "operation": "boost", + "score": -0.019312238320708275 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.03780914470553398 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09509793668985367 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.0030733859166502953 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.017465075477957726 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.059281863272190094 + }, + "else": { + "operation": "boost", + "score": 0.10291864722967148 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7333333492279053, + "then": { + "operation": "boost", + "score": 0.10782059282064438 + }, + "else": { + "operation": "boost", + "score": -0.2856169641017914 + } + }, + "else": { + "operation": "boost", + "score": -0.06546413153409958 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.056157249957323074 + }, + "else": { + "operation": "boost", + "score": -0.0017490320606157184 + } + } + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.0005501427222043276 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188.0, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { "operation": "boost", - "score": -0.30568575859069824 + "score": -0.30222517251968384 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.0705072358250618 + }, + "else": { + "operation": "boost", + "score": 0.10671738535165787 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3708791136741638, + "then": { + "operation": "boost", + "score": 0.012197231873869896 + }, + "else": { + "operation": "boost", + "score": 0.10209432244300842 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.19459116458892822 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.0, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { "operation": "boost", - "score": 0.11834187060594559 + "score": 0.12589582800865173 }, "else": { "operation": "boost", - "score": 0.12977434694766998 + "score": 0.06657810509204865 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71.0, + "feature": "FractionNameInContext", + "threshold": 0.7916666269302368, "then": { "operation": "boost", - "score": -0.273497998714447 + "score": 0.11032743006944656 }, "else": { "operation": "boost", - "score": 0.15517650544643402 + "score": -0.0038869346026331186 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 181.5, + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { "operation": "boost", - "score": 0.13102905452251434 + "score": -0.13454459607601166 }, "else": { "operation": "boost", - "score": 0.17366145551204681 + "score": -1.1208853721618652 } }, "else": { - "operation": "boost", - "score": -0.04966044798493385 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5192307829856873, + "then": { + "operation": "boost", + "score": -0.0004221016715746373 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.11181201785802841 + }, + "else": { + "operation": "boost", + "score": 0.09520462900400162 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6076923608779907, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6794872283935547, + "then": { + "operation": "boost", + "score": -0.010180031880736351 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10757581889629364 + }, + "else": { + "operation": "boost", + "score": -0.016616294160485268 + } + }, + "else": { + "operation": "boost", + "score": 0.13630810379981995 + } + }, + "else": { + "operation": "boost", + "score": -0.04952898994088173 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.09257571399211884 + }, + "else": { + "operation": "boost", + "score": -0.10961279273033142 + } + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.016552133485674858 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.09119603782892227 + "score": 0.0003199976054020226 }, "else": { "operation": "boost", - "score": 0.06571311503648758 + "score": 0.11074768751859665 } - }, - "else": { - "operation": "boost", - "score": -0.36607253551483154 } } }, "else": { "operation": "boost", - "score": 0.0010508231353014708 + "score": -0.00752274738624692 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.020403288304805756 + "score": 0.030685530975461006 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 749331.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.0057678367011249065 + "score": -0.056388139724731445 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 432212.0, + "operation": "boost", + "score": -0.3743409216403961 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005493570351973176 + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.08226734399795532 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.2845557928085327 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": -0.1738778054714203 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 1.9181666374206543 + }, + "else": { + "operation": "boost", + "score": 0.2224234789609909 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, + "then": { + "operation": "boost", + "score": 0.22152991592884064 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.06354673206806183 + "score": -0.07510426640510559 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.08925972133874893 - }, - "else": { - "operation": "boost", - "score": 0.10181920230388641 - } + "operation": "boost", + "score": 0.20260323584079742 } }, "else": { + "operation": "boost", + "score": -0.11586343497037888 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07686062902212143 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.06601214408874512 + "score": 0.18304668366909027 }, "else": { "operation": "boost", - "score": -0.15870875120162964 + "score": 0.18971829116344452 } + }, + "else": { + "operation": "boost", + "score": 0.07245475053787231 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.2978511452674866 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.004124297294765711 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.4540286958217621 - }, - "else": { - "operation": "boost", - "score": -2.564284563064575 - } - } + "operation": "boost", + "score": 0.09187445789575577 }, "else": { "operation": "boost", - "score": 0.04746823012828827 + "score": -0.316211074590683 } - }, - "else": { - "operation": "boost", - "score": -0.14997825026512146 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06691091507673264 + "score": 0.0002647716028150171 }, "else": { "operation": "boost", - "score": -0.17183853685855865 + "score": 0.1191425547003746 } } } }, "else": { + "operation": "boost", + "score": 0.41988539695739746 + } + }, + "else": { + "operation": "boost", + "score": 0.00398485129699111 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350855.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10150964558124542 - }, - "else": { - "operation": "boost", - "score": 0.038358256220817566 - } + "operation": "boost", + "score": 0.08948712795972824 }, "else": { "operation": "boost", - "score": -0.027318241074681282 + "score": 0.024885915219783783 } + }, + "else": { + "operation": "boost", + "score": 0.1189127266407013 } + }, + "else": { + "operation": "boost", + "score": -0.03882857784628868 } + }, + "else": { + "operation": "boost", + "score": -0.08307340741157532 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.3722943663597107, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4780219793319702, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, "then": { - "operation": "boost", - "score": 0.01557349693030119 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1288488358259201 + }, + "else": { + "operation": "boost", + "score": 0.12125435471534729 + } }, "else": { "operation": "boost", - "score": -0.08667731285095215 + "score": 0.008523405529558659 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Namespace" - ], + "operation": "boost", + "score": 0.12612506747245789 + } + }, + "else": { + "operation": "boost", + "score": -0.20189595222473145 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53063.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 64.0, + "threshold": 278454.0, + "then": { + "operation": "boost", + "score": 0.021024011075496674 + }, + "else": { + "operation": "boost", + "score": 0.0375521257519722 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6920.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1690.0, + "threshold": 7253.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 7343.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.02284466102719307 + }, + "else": { + "operation": "boost", + "score": 0.051849015057086945 + } + }, + "else": { + "operation": "boost", + "score": 0.0975448414683342 + } + }, + "else": { + "operation": "boost", + "score": -0.14443090558052063 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2165.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350855.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.12633377313613892 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 25.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.054575107991695404 - }, - "else": { - "operation": "boost", - "score": 0.10222864896059036 - } + "operation": "boost", + "score": -0.005728548392653465 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.1269841343164444, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "boost", - "score": 0.11760672926902771 + "score": 0.07919805496931076 }, "else": { "operation": "boost", - "score": 0.0034943840000778437 + "score": -0.17143061757087708 } }, "else": { "operation": "boost", - "score": -0.19201722741127014 + "score": 0.17298929393291473 } } - }, - "else": { - "operation": "boost", - "score": 0.018279774114489555 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1978.0, - "then": { - "operation": "boost", - "score": 0.09601341933012009 - }, - "else": { - "operation": "boost", - "score": 0.050108570605516434 - } + "operation": "boost", + "score": -0.033644210547208786 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { "operation": "boost", - "score": 0.03991551697254181 + "score": 0.0026732091791927814 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29630.5, + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, "then": { - "operation": "boost", - "score": 0.10789406299591064 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5905.5, + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { "operation": "boost", - "score": -0.3142884075641632 + "score": 0.08263815939426422 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3232.5, - "then": { - "operation": "boost", - "score": 0.13977959752082825 - }, - "else": { - "operation": "boost", - "score": -0.6920813322067261 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.10859410464763641 - }, - "else": { - "operation": "boost", - "score": 0.08031724393367767 - } - } + "operation": "boost", + "score": 0.14083704352378845 } - } + }, + "else": { + "operation": "boost", + "score": 0.04461875185370445 + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.06483691930770874 + "score": 0.05421411618590355 }, "else": { "operation": "boost", - "score": -0.04726943373680115 + "score": -0.2790871262550354 } }, "else": { + "operation": "boost", + "score": 0.04879254847764969 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 923.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "boost", - "score": -0.30949169397354126 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.06784225255250931 + }, + "else": { + "operation": "boost", + "score": -7.526709079742432 + } + }, + "else": { + "operation": "boost", + "score": 0.02348477952182293 + } }, "else": { "operation": "boost", - "score": 0.03278085216879845 + "score": 0.06604573130607605 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.01595480367541313 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.15754912793636322 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2774731516838074 + "score": 0.09547124058008194 }, "else": { "operation": "boost", - "score": -0.7251617312431335 + "score": -0.0622495599091053 } + }, + "else": { + "operation": "boost", + "score": -0.1380155384540558 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.20592327415943146 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, "then": { "operation": "boost", - "score": 0.08982017636299133 + "score": 0.0 }, "else": { "operation": "boost", - "score": 0.1012154147028923 + "score": 0.09078745543956757 } + }, + "else": { + "operation": "boost", + "score": 0.018169421702623367 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 465.0, + "then": { + "operation": "boost", + "score": 0.12683117389678955 }, "else": { "operation": "boost", - "score": 0.04548928514122963 + "score": 0.014474011026322842 } }, "else": { - "operation": "boost", - "score": 0.10092336684465408 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.027672860771417618 + }, + "else": { + "operation": "boost", + "score": -0.17180581390857697 + } } - }, - "else": { - "operation": "boost", - "score": 0.013703142292797565 } } } - }, - "else": { - "operation": "boost", - "score": 0.09482893347740173 } - }, - "else": { - "operation": "boost", - "score": -0.06839060038328171 } + }, + "else": { + "operation": "boost", + "score": -0.010867305099964142 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace" + "CCC_ClassOrStructTag", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.05686352401971817 + }, + "else": { + "operation": "boost", + "score": 0.018705639988183975 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 94.5, + "threshold": 172.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 320.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 431.5, - "then": { - "operation": "boost", - "score": -0.3657907545566559 - }, - "else": { - "operation": "boost", - "score": 0.1291450560092926 - } - }, - "else": { - "operation": "boost", - "score": -0.20658378303050995 - } + "operation": "boost", + "score": -0.04580859839916229 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 540.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.12309613078832626 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.050751376897096634 - }, - "else": { - "operation": "boost", - "score": -0.7547285556793213 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 163.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 562.5, - "then": { - "operation": "boost", - "score": 0.108636274933815 - }, - "else": { - "operation": "boost", - "score": -0.12365040928125381 - } - }, - "else": { - "operation": "boost", - "score": 0.10757913440465927 - } - } + "operation": "boost", + "score": 0.00034906304790638387 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.5, - "then": { - "operation": "boost", - "score": -0.05437741428613663 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124.5, - "then": { - "operation": "boost", - "score": 0.10593632608652115 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17352396249771118 - }, - "else": { - "operation": "boost", - "score": 0.2597881257534027 - } - } - }, - "else": { - "operation": "boost", - "score": -0.19798709452152252 - } - } + "operation": "boost", + "score": 0.1411786675453186 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.0, + "operation": "boost", + "score": 0.01582501269876957 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 25995.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.28326138854026794 - }, - "else": { - "operation": "boost", - "score": 0.1053261086344719 - } + "operation": "boost", + "score": 0.10760220885276794 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.11108193546533585 + "score": -0.003998941741883755 }, "else": { "operation": "boost", - "score": 0.3387133777141571 + "score": 0.021525869145989418 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.0062139201909303665 - }, - "else": { - "operation": "boost", - "score": 0.10381554067134857 - } + "operation": "boost", + "score": -0.22048144042491913 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.1160583645105362 + "score": 0.1739915907382965 }, "else": { "operation": "boost", - "score": -0.08277030289173126 + "score": 0.004353020805865526 } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10609369724988937 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.36115437746047974 - }, - "else": { - "operation": "boost", - "score": -0.1817041039466858 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.5, - "then": { - "operation": "boost", - "score": -0.11986604332923889 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { "operation": "boost", - "score": 0.09971196949481964 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.0, - "then": { - "operation": "boost", - "score": -0.19149574637413025 - }, - "else": { - "operation": "boost", - "score": 0.1331404447555542 - } + "score": -0.09032976627349854 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 25.5, "then": { "operation": "boost", - "score": -0.01479509100317955 + "score": 0.10580545663833618 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 194.5, + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.005216841120272875 + "score": -0.05889769643545151 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11177805066108704 + "score": 0.016480306163430214 }, "else": { "operation": "boost", - "score": 0.030193991959095 + "score": 0.08945570886135101 } } } }, "else": { + "operation": "boost", + "score": 0.008115834556519985 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7333333492279053, + "then": { + "operation": "boost", + "score": 0.10764473676681519 + }, + "else": { + "operation": "boost", + "score": -0.15500158071517944 + } + }, + "else": { "operation": "boost", - "score": -0.31386277079582214 + "score": -0.027835015207529068 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.24863113462924957 + }, + "else": { + "operation": "boost", + "score": -0.03637691214680672 + } }, "else": { "operation": "boost", - "score": 0.05918824300169945 + "score": -0.16693739593029022 } } - }, - "else": { - "operation": "boost", - "score": -0.21687090396881104 } } } - }, - "else": { + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, - "then": { - "operation": "boost", - "score": 0.018443288281559944 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13631659746170044 - }, - "else": { - "operation": "boost", - "score": -0.15710371732711792 - } - } + "operation": "boost", + "score": 0.16464751958847046 }, "else": { "operation": "boost", - "score": -0.02680337429046631 + "score": 0.07111292332410812 } + }, + "else": { + "operation": "boost", + "score": -0.09880881756544113 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0004267723415978253 + }, + "else": { + "operation": "boost", + "score": -0.3806741237640381 } } }, "else": { "operation": "boost", - "score": 0.0014763042563572526 + "score": 0.006580534391105175 } - } - }, - "else": { - "operation": "boost", - "score": -0.0004431523266248405 - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.002825578209012747 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.02353634685277939 + "score": -0.040437985211610794 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0008349312702193856 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.09844845533370972 - }, - "else": { - "operation": "boost", - "score": 0.03159825876355171 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 375849.5, + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0649876669049263 + "score": 0.0647948607802391 }, "else": { "operation": "boost", - "score": 0.09310455620288849 + "score": 0.019370021298527718 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.28543782234191895 - }, - "else": { - "operation": "boost", - "score": 0.09057794511318207 - } + "operation": "boost", + "score": -0.0038263630121946335 } }, "else": { "operation": "boost", - "score": 0.08911927789449692 + "score": 0.035271111875772476 } }, "else": { "operation": "boost", - "score": 0.0026577410753816366 + "score": -0.01871034875512123 } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01131226122379303 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.003889070823788643 + }, + "else": { + "operation": "boost", + "score": -0.017558054998517036 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.6168844699859619 + "score": 0.018327578902244568 }, "else": { + "operation": "boost", + "score": 0.006287842057645321 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.11071616411209106 + "score": -0.11453621834516525 }, "else": { "operation": "boost", - "score": 0.21887102723121643 + "score": 0.11580952256917953 } }, "else": { - "operation": "boost", - "score": 0.011933735571801662 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04729814454913139 - }, - "else": { - "operation": "boost", - "score": -0.03193579614162445 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.0, "then": { - "operation": "boost", - "score": -0.01595795527100563 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "boost", + "score": 0.08090190589427948 + }, + "else": { + "operation": "boost", + "score": -0.46494078636169434 + } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 92.5, "then": { "operation": "boost", - "score": 0.018051689490675926 + "score": -0.08583423495292664 }, "else": { "operation": "boost", - "score": 0.10760246217250824 + "score": 0.01755615510046482 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.010161833837628365 }, "else": { "operation": "boost", - "score": 0.01935068890452385 + "score": -0.01188009325414896 } } } - }, - "else": { - "operation": "boost", - "score": -0.06384909152984619 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.0036925182212144136 + "score": -0.07131873816251755 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.007939757779240608 + "score": 0.1325504183769226 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": -0.039516616612672806 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.13180071115493774 + }, + "else": { + "operation": "boost", + "score": 0.1783190220594406 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope" + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { "operation": "boost", - "score": 0.10446176677942276 + "score": 0.09683210402727127 }, "else": { "operation": "boost", - "score": 0.17019899189472198 + "score": 0.1294133961200714 } }, "else": { "operation": "boost", - "score": 0.05886504799127579 + "score": 0.08553757518529892 } }, "else": { "operation": "boost", - "score": 0.014889082871377468 + "score": 0.07211495190858841 } }, "else": { "operation": "boost", - "score": -0.03813396021723747 + "score": 0.1526464968919754 } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.04740780591964722 + "score": 0.0535174235701561 }, "else": { + "operation": "boost", + "score": -0.045600973069667816 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01855573058128357 + } + } + }, + "else": { + "operation": "boost", + "score": -0.037399422377347946 + } + } + } + }, + "else": { + "operation": "boost", + "score": -3.514939089654945e-05 + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.0019622324034571648 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.08183973282575607 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0013000506442040205 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.02718961611390114 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1178647130727768 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16154596209526062 - }, - "else": { - "operation": "boost", - "score": 0.13539353013038635 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 31.0, "then": { - "operation": "boost", - "score": -0.11093797534704208 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 225.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 367.5, + "then": { + "operation": "boost", + "score": -0.015241309069097042 + }, + "else": { + "operation": "boost", + "score": 0.13296179473400116 + } + }, + "else": { + "operation": "boost", + "score": -0.16373887658119202 + } + }, + "else": { + "operation": "boost", + "score": 0.12728846073150635 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.00809276383370161 + }, + "else": { + "operation": "boost", + "score": 0.10314234346151352 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12516309320926666 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.12888680398464203 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.09914827346801758 + }, + "else": { + "operation": "boost", + "score": 0.09033436328172684 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.24932228028774261 + "score": 0.14083489775657654 }, "else": { "operation": "boost", - "score": 0.13226456940174103 + "score": -0.2494281530380249 } } } + }, + "else": { + "operation": "boost", + "score": 0.030444545671343803 } + }, + "else": { + "operation": "boost", + "score": 0.13083255290985107 } } + } + }, + "else": { + "operation": "boost", + "score": 0.0327092707157135 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.008050516247749329 }, "else": { + "operation": "boost", + "score": -0.3462420403957367 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10805249959230423 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "boost", - "score": -0.03846360370516777 + "score": -0.024703316390514374 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.08829008042812347 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1882621794939041 + }, + "else": { + "operation": "boost", + "score": -0.10020695626735687 + } }, "else": { "operation": "boost", - "score": -0.14611020684242249 + "score": -0.16011196374893188 } } - }, - "else": { - "operation": "boost", - "score": -0.14385314285755157 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "boost", - "score": -0.18595321476459503 + "score": 0.06545967608690262 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "boost", - "score": -0.12759210169315338 + "score": 0.1303878128528595 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.10029661655426025 - }, - "else": { - "operation": "boost", - "score": 0.12043821066617966 - } + "operation": "boost", + "score": 0.09281592816114426 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": -0.0725422203540802 + }, + "else": { + "operation": "boost", + "score": 0.09373608976602554 + } + }, + "else": { + "operation": "boost", + "score": -0.09129447489976883 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "boost", + "score": 0.034455589950084686 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { "operation": "boost", - "score": -0.21864619851112366 + "score": 0.9207162857055664 }, "else": { "operation": "boost", - "score": 0.08825137466192245 + "score": -0.10013549029827118 } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03724037483334541 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4678.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4906.0, + "then": { + "operation": "boost", + "score": 0.01661170832812786 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4889.0, + "then": { + "operation": "boost", + "score": 0.1373916119337082 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.12122182548046112 + }, + "else": { + "operation": "boost", + "score": 0.04612603783607483 + } }, "else": { "operation": "boost", - "score": -0.0425318107008934 + "score": 0.016907520592212677 } + }, + "else": { + "operation": "boost", + "score": -0.07561205327510834 } } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10244596749544144 + "score": -0.025330036878585815 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.011700581759214401 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { "operation": "boost", - "score": -0.0017417800845578313 + "score": 0.009662303142249584 }, "else": { - "operation": "boost", - "score": 0.06646394729614258 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": 0.10678664594888687 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.08405160903930664 + }, + "else": { + "operation": "boost", + "score": 0.13634788990020752 + } + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.037028249353170395 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.061688102781772614 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.058216799050569534 + }, + "else": { + "operation": "boost", + "score": -0.4261806905269623 + } + }, + "else": { + "operation": "boost", + "score": -0.060602568089962006 + } + } }, "else": { "operation": "boost", - "score": -0.09951991587877274 + "score": -0.0013095642207190394 } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.00522504560649395 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.12431174516677856 }, "else": { "operation": "boost", - "score": 0.011600990779697895 + "score": -0.05982527881860733 } } - }, - "else": { - "operation": "boost", - "score": -0.01601114124059677 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.464102566242218, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.027059823274612427 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": 0.00013957603368908167 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.01016057189553976 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.06361626833677292 + "score": 0.0331585556268692 }, "else": { - "operation": "boost", - "score": -0.3718186616897583 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Other" + "Variable" ], "then": { "operation": "boost", - "score": 0.016243116930127144 + "score": 0.10097155719995499 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": 0.032254960387945175 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013042803853750229 + } + }, + "else": { + "operation": "boost", + "score": -0.03788170963525772 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2899159789085388, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.012289895676076412 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0028690476901829243 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.032565437257289886 - }, - "else": { - "operation": "boost", - "score": 0.09579051285982132 - } + "operation": "boost", + "score": 0.12324308604001999 }, "else": { "operation": "boost", - "score": -0.22054894268512726 + "score": -0.15321199595928192 } }, "else": { + "operation": "boost", + "score": -0.13879233598709106 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, + "then": { + "operation": "boost", + "score": 0.0962359756231308 + }, + "else": { + "operation": "boost", + "score": 0.011165488511323929 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.02927916683256626 + "score": -0.9742901921272278 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.07396718114614487 - }, - "else": { - "operation": "boost", - "score": 0.09772950410842896 - } + "operation": "boost", + "score": -0.12959636747837067 } + }, + "else": { + "operation": "boost", + "score": -0.030741654336452484 } + }, + "else": { + "operation": "boost", + "score": -0.015079222619533539 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.049398425966501236 + "score": -0.12990206480026245 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "boost", - "score": -0.13013607263565063 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.11834114789962769 - }, - "else": { - "operation": "boost", - "score": 0.06733831763267517 - } + "operation": "boost", + "score": 0.10915037244558334 }, "else": { "operation": "boost", - "score": 0.03216751664876938 + "score": 0.21335381269454956 } + }, + "else": { + "operation": "boost", + "score": 0.07551127672195435 } } + }, + "else": { + "operation": "boost", + "score": -0.07084082812070847 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.02067176252603531 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10690542310476303 - }, - "else": { - "operation": "boost", - "score": 0.045768097043037415 - } + "operation": "boost", + "score": 0.08483901619911194 }, "else": { "operation": "boost", - "score": 0.03300366550683975 + "score": -0.3475892245769501 } + }, + "else": { + "operation": "boost", + "score": -0.06110970303416252 } }, "else": { - "operation": "boost", - "score": -0.04585503041744232 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09833134710788727 + }, + "else": { + "operation": "boost", + "score": 0.014177682809531689 + } } + } + }, + "else": { + "operation": "boost", + "score": 0.12191174179315567 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.10639622807502747 }, "else": { + "operation": "boost", + "score": 0.07294964790344238 + } + }, + "else": { + "operation": "boost", + "score": -0.016324257478117943 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.26491230726242065, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.14984093606472015 + "score": 0.06307024508714676 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08834864944219589 - }, - "else": { - "operation": "boost", - "score": 0.09556233137845993 - } - }, - "else": { - "operation": "boost", - "score": -0.023091496899724007 - } + "operation": "boost", + "score": 1.2139091491699219 } }, - "else": { - "operation": "boost", - "score": -0.04135599359869957 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.15926794707775116 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.018250806257128716 - }, - "else": { - "operation": "boost", - "score": -0.671301007270813 - } + "operation": "boost", + "score": -0.18013787269592285 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.020119424909353256 + "score": -0.03556406870484352 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.09320497512817383 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.9543269872665405 + "score": 0.15897442400455475 }, "else": { "operation": "boost", - "score": -0.052907269448041916 + "score": 0.16393856704235077 } - }, - "else": { - "operation": "boost", - "score": -1.3377625942230225 } } } } + }, + "else": { + "operation": "boost", + "score": 0.11899885535240173 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { + "operation": "boost", + "score": -0.368541419506073 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.16410866379737854 + "score": 0.08843564987182617 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.10461770743131638 - }, - "else": { - "operation": "boost", - "score": 0.08817116916179657 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.05015985667705536 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11392252147197723 - }, - "else": { - "operation": "boost", - "score": 0.06502211093902588 - } - }, - "else": { - "operation": "boost", - "score": 0.002782676136121154 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09493739902973175 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.10966924577951431 - }, - "else": { - "operation": "boost", - "score": -0.07995171844959259 - } - }, - "else": { - "operation": "boost", - "score": 0.0416053831577301 - } - }, - "else": { - "operation": "boost", - "score": -0.1826210469007492 - } - } + "operation": "boost", + "score": -0.015928832814097404 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0862356573343277 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.11696869879961014 + }, + "else": { + "operation": "boost", + "score": 0.011286339722573757 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.039736926555633545 + "score": 0.019786635413765907 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.023381253704428673 - }, - "else": { - "operation": "boost", - "score": -0.7602447867393494 - } - }, - "else": { - "operation": "boost", - "score": 0.02892441488802433 - } + "operation": "boost", + "score": -0.03306048735976219 }, "else": { "operation": "boost", - "score": -0.022060833871364594 + "score": -0.28658631443977356 } } } } } + }, + "else": { + "operation": "boost", + "score": -0.0005773149314336479 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.19730572402477264 + }, + "else": { + "operation": "boost", + "score": -0.005604174919426441 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "boost", + "score": -0.009074127301573753 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.0012410692870616913 + "score": 0.21895720064640045 }, "else": { "operation": "boost", - "score": -0.026271454989910126 + "score": -0.31672027707099915 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, "then": { "operation": "boost", - "score": -0.014712007716298103 + "score": 0.06038466840982437 }, "else": { "operation": "boost", - "score": -0.044457800686359406 + "score": -0.0954047217965126 } } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { - "operation": "boost", - "score": 0.10749462246894836 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.12440714240074158 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.02515452541410923 + "score": 0.004646541550755501 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74561.0, + "operation": "boost", + "score": -0.40602612495422363 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.02099578268826008 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": 0.03870204836130142 + }, + "else": { + "operation": "boost", + "score": 0.09451586753129959 + } }, "else": { "operation": "boost", - "score": 0.07339314371347427 + "score": 0.08160076290369034 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10158223658800125 }, "else": { "operation": "boost", - "score": 0.11538608372211456 + "score": -0.04289716109633446 } } }, "else": { - "operation": "boost", - "score": -0.017429599538445473 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.3783389627933502 + "score": -0.0009996771113947034 }, "else": { - "operation": "boost", - "score": 0.08048123866319656 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.01889335736632347 + }, + "else": { + "operation": "boost", + "score": -0.012058894149959087 + } } - }, - "else": { - "operation": "boost", - "score": 0.09465155750513077 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.34291374683380127 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, "then": { "operation": "boost", - "score": -0.015567269176244736 + "score": -0.0006612091674469411 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "boost", - "score": 0.006973198149353266 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.006657186429947615 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.05003092437982559 + }, + "else": { + "operation": "boost", + "score": 0.15214383602142334 + } }, "else": { "operation": "boost", - "score": 0.10220754891633987 + "score": 0.02643747255206108 } + }, + "else": { + "operation": "boost", + "score": -0.009027051739394665 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10010270029306412 - }, - "else": { - "operation": "boost", - "score": -0.12431074678897858 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.032472163438797 - }, - "else": { - "operation": "boost", - "score": 0.10024742782115936 - } - } } } } }, "else": { "operation": "boost", - "score": -0.0009913243120536208 + "score": -0.0004503066884353757 } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2459.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "boost", + "score": 0.0015698514180257916 + }, + "else": { + "operation": "boost", + "score": -0.026169227436184883 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3550.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.18805551528930664 + }, + "else": { + "operation": "boost", + "score": 0.11473853141069412 + } + }, + "else": { + "operation": "boost", + "score": -0.01659565605223179 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { + "operation": "boost", + "score": -0.0002196401183027774 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", "CCC_Namespace", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 320998.0, + "threshold": 98.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 13172.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.037875182926654816 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.07666965574026108 - }, - "else": { - "operation": "boost", - "score": 0.09013295918703079 - } - } + "operation": "boost", + "score": 0.10961351543664932 }, "else": { "operation": "boost", - "score": 0.10637218505144119 + "score": -0.02945902571082115 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7778.5, - "then": { - "operation": "boost", - "score": 0.016089236363768578 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10713700205087662 - }, - "else": { - "operation": "boost", - "score": 0.08618320524692535 - } - } + "operation": "boost", + "score": 0.10452169924974442 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14761.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.10014621168375015 - }, - "else": { - "operation": "boost", - "score": 0.07745000720024109 - } - }, - "else": { - "operation": "boost", - "score": -0.10855929553508759 - } - }, - "else": { - "operation": "boost", - "score": -0.1486285775899887 - } + "operation": "boost", + "score": -0.024531971663236618 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37076.5, - "then": { - "operation": "boost", - "score": 0.04154248163104057 - }, - "else": { - "operation": "boost", - "score": 0.10890340059995651 - } - }, - "else": { - "operation": "boost", - "score": 0.045621804893016815 - } + "operation": "boost", + "score": 0.13835372030735016 } }, "else": { "operation": "boost", - "score": -0.41158854961395264 + "score": -0.04584111273288727 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6152.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.06212332472205162 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.0642022117972374 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.08266789466142654 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 144.5, + "then": { + "operation": "boost", + "score": 0.08235512673854828 + }, + "else": { + "operation": "boost", + "score": 0.1431225836277008 + } + } }, "else": { "operation": "boost", - "score": -0.04909931868314743 + "score": -0.17810429632663727 } - }, - "else": { - "operation": "boost", - "score": 0.11243002861738205 } } }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85.5, + "then": { + "operation": "boost", + "score": -0.014908390119671822 + }, + "else": { + "operation": "boost", + "score": 0.13290774822235107 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14347989857196808 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.007710252422839403 + }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.03629221394658089 + }, + "else": { + "operation": "boost", + "score": -0.02187894843518734 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85.5, + "then": { + "operation": "boost", + "score": 0.016094675287604332 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" ], "then": { + "operation": "boost", + "score": 0.15806150436401367 + }, + "else": { + "operation": "boost", + "score": 0.05974334478378296 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01254106406122446 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16660.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_ParenthesizedExpression" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { - "operation": "boost", - "score": 0.04690919071435928 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69539.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.0412602424621582 + "score": -0.01417490653693676 }, "else": { + "operation": "boost", + "score": 0.05875037610530853 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 81.0, "then": { "operation": "boost", - "score": 0.007995772175490856 + "score": -0.24949190020561218 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.8623164296150208 - }, - "else": { - "operation": "boost", - "score": 0.04417629539966583 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.00835697166621685 - }, - "else": { - "operation": "boost", - "score": -0.21973657608032227 - } - } + "operation": "boost", + "score": 0.11104032397270203 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08904803544282913 }, "else": { - "operation": "boost", - "score": -0.2741762697696686 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13172.0, + "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14599.5, + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 26.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.025570955127477646 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15569.5, - "then": { - "operation": "boost", - "score": 0.11969128251075745 - }, - "else": { - "operation": "boost", - "score": 0.0773523598909378 - } - } + "operation": "boost", + "score": -0.06200921908020973 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.039194460958242416 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.028373733162879944 - }, - "else": { - "operation": "boost", - "score": 0.08950023353099823 - } - } + "operation": "boost", + "score": -0.2684653103351593 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14441.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.111517995595932 + "score": 0.12003965675830841 }, "else": { "operation": "boost", - "score": 0.10256063938140869 + "score": -0.11450950056314468 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9090.0, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "boost", - "score": -0.06361326575279236 + "score": -0.5139454007148743 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7105.0, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.02781509980559349 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.12344542890787125 - }, - "else": { - "operation": "boost", - "score": 0.07534017413854599 - } - } + "operation": "boost", + "score": 0.29392507672309875 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.01913699321448803 - }, - "else": { - "operation": "boost", - "score": 0.10662314295768738 - } + "operation": "boost", + "score": -0.22670748829841614 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.06716786324977875 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.10187544673681259 - }, - "else": { - "operation": "boost", - "score": 0.02882930263876915 - } - } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32270.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.015450295060873032 - }, - "else": { - "operation": "boost", - "score": 0.07982542365789413 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.3027057349681854 + "score": 0.0035778486635535955 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24366.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24604.5, + "feature": "FileProximityDistanceCost", + "threshold": 31.5, "then": { "operation": "boost", - "score": -0.058898571878671646 + "score": 0.0978415384888649 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -1.244766354560852 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.032625868916511536 + }, + "else": { + "operation": "boost", + "score": 0.07372309267520905 + } }, "else": { "operation": "boost", - "score": -0.21156924962997437 + "score": 0.017156032845377922 } } }, "else": { "operation": "boost", - "score": 0.005417082458734512 + "score": 0.008328322321176529 } } + }, + "else": { + "operation": "boost", + "score": 0.004619233775883913 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": 0.11620106548070908 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ParenthesizedExpression" ], "then": { - "operation": "boost", - "score": 0.09941917657852173 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.11924096941947937 + }, + "else": { + "operation": "boost", + "score": 0.13898922502994537 + } }, "else": { - "operation": "boost", - "score": 0.01690451055765152 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.5, + "then": { + "operation": "boost", + "score": 0.16994202136993408 + }, + "else": { + "operation": "boost", + "score": 0.03532861918210983 + } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5126.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7036.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7497.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8844.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], "then": { - "operation": "boost", - "score": 0.006660331040620804 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Symbol" + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8573.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8751.0, - "then": { - "operation": "boost", - "score": 0.14348922669887543 - }, - "else": { - "operation": "boost", - "score": 0.11003460735082626 - } + "operation": "boost", + "score": -0.1011156290769577 }, "else": { "operation": "boost", - "score": 0.07088711112737656 + "score": 0.12329006940126419 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 22.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.09314531832933426 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.5, + "then": { + "operation": "boost", + "score": 0.036774322390556335 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.0, + "then": { + "operation": "boost", + "score": 0.15857046842575073 + }, + "else": { + "operation": "boost", + "score": 0.11077111959457397 + } + } }, "else": { "operation": "boost", - "score": 0.11228463053703308 + "score": 0.03151136264204979 } }, "else": { - "operation": "boost", - "score": 0.030611377209424973 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.27782392501831055 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.1060100793838501 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.1434461623430252 + }, + "else": { + "operation": "boost", + "score": 0.21617302298545837 + } + } }, "else": { "operation": "boost", - "score": 0.13132824003696442 + "score": 0.052141908556222916 } }, "else": { - "operation": "boost", - "score": -0.10727773606777191 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.11393596976995468 + }, + "else": { + "operation": "boost", + "score": 0.15546204149723053 + } } - }, - "else": { - "operation": "boost", - "score": -0.016996344551444054 } + }, + "else": { + "operation": "boost", + "score": -0.04087620973587036 } } + }, + "else": { + "operation": "boost", + "score": -0.027129309251904488 } }, - "else": { - "operation": "boost", - "score": -0.12094520777463913 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6977.0, - "then": { - "operation": "boost", - "score": 0.11713580042123795 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.04073944687843323 - }, - "else": { - "operation": "boost", - "score": -0.13351579010486603 - } + "operation": "boost", + "score": -0.035299524664878845 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6683.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.008490953594446182 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6644.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.11091358214616776 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.01053405087441206 + }, + "else": { + "operation": "boost", + "score": -0.21624267101287842 + } + }, + "else": { + "operation": "boost", + "score": 0.002524977782741189 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.052159152925014496 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": -0.2592405080795288 + }, + "else": { + "operation": "boost", + "score": -1.647055745124817 + } + }, + "else": { + "operation": "boost", + "score": -0.09494395554065704 + } + }, + "else": { + "operation": "boost", + "score": -4.203240871429443 + } + }, + "else": { + "operation": "boost", + "score": -0.16178536415100098 + } }, "else": { "operation": "boost", - "score": 0.14743511378765106 + "score": -0.0039512524381279945 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.030897868797183037 + "score": -0.043763283640146255 }, "else": { "operation": "boost", - "score": 0.12274851649999619 + "score": -0.33380764722824097 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.046745460480451584 + }, + "else": { + "operation": "boost", + "score": 0.04576680436730385 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.023117467761039734 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.01881643757224083 + }, + "else": { + "operation": "boost", + "score": 0.16276989877223969 + } + }, + "else": { + "operation": "boost", + "score": 0.19009891152381897 + } + }, + "else": { + "operation": "boost", + "score": 0.0640990287065506 + } } + }, + "else": { + "operation": "boost", + "score": 0.008000737987458706 } } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.10574585944414139 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.001377115142531693 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.025712210685014725 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.06830970197916031 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.03842854127287865 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.41770097613334656 + }, + "else": { + "operation": "boost", + "score": 0.07812429219484329 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.10802284628152847 + }, + "else": { + "operation": "boost", + "score": 0.10694526880979538 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "boost", + "score": -0.025037109851837158 + }, + "else": { + "operation": "boost", + "score": 0.07566382735967636 + } + }, + "else": { + "operation": "boost", + "score": -0.04753834754228592 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.16356733441352844 + }, + "else": { + "operation": "boost", + "score": 0.12757772207260132 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05236360803246498 + } + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6644.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.10642664134502411 + "score": -0.07325921207666397 }, "else": { "operation": "boost", - "score": -0.13642992079257965 + "score": -0.5732429027557373 } }, "else": { "operation": "boost", - "score": -0.1243208572268486 + "score": -0.04624509438872337 } } } } } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.03063422441482544 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10625500231981277 - }, - "else": { - "operation": "boost", - "score": -0.1309879869222641 - } + "operation": "boost", + "score": -0.04761342331767082 }, "else": { "operation": "boost", - "score": -0.06706073135137558 + "score": -0.04738247022032738 } } } @@ -286358,1064 +283969,823 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3159.5, + "threshold": 75.5, "then": { + "operation": "boost", + "score": -0.09330887347459793 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3276.5, - "then": { - "operation": "boost", - "score": -0.04017873480916023 - }, - "else": { - "operation": "boost", - "score": 0.10899953544139862 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3188.0, + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3540.0, + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.1295752078294754 + "score": 0.005094265099614859 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": -0.04702761024236679 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.12241631001234055 - }, - "else": { - "operation": "boost", - "score": -0.05364382639527321 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07862360775470734 - }, - "else": { - "operation": "boost", - "score": 0.1029561385512352 - } - } + "operation": "boost", + "score": -0.02085546776652336 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3498.0, - "then": { - "operation": "boost", - "score": 0.11910708993673325 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3363.0, - "then": { - "operation": "boost", - "score": -0.05219866335391998 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3259.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.13397717475891113 - }, - "else": { - "operation": "boost", - "score": 0.05561196431517601 - } - }, - "else": { - "operation": "boost", - "score": 0.01882539689540863 - } - } - } + "operation": "boost", + "score": -0.10320945084095001 }, "else": { "operation": "boost", - "score": -0.1631678342819214 + "score": -0.560924232006073 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.17016731202602386 }, "else": { "operation": "boost", - "score": 0.12744170427322388 + "score": 0.02117915078997612 } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10243455320596695 - }, - "else": { - "operation": "boost", - "score": 0.050119418650865555 - } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2469.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.32145923376083374 + }, + "else": { + "operation": "boost", + "score": 0.06813764572143555 + } + }, + "else": { + "operation": "boost", + "score": 0.04184844717383385 + } + }, + "else": { + "operation": "boost", + "score": -0.009845281019806862 + } + }, + "else": { + "operation": "boost", + "score": -0.07317391782999039 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3141.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.2636476755142212 + "score": 0.0003773478383664042 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { + "operation": "boost", + "score": -0.08279967308044434 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.0509699322283268 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { + "operation": "boost", + "score": 0.09911011159420013 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.13647301495075226 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0651959627866745, "then": { "operation": "boost", - "score": 0.11791567504405975 + "score": 0.135684996843338 }, "else": { "operation": "boost", - "score": 0.035105083137750626 + "score": -0.163718119263649 } + }, + "else": { + "operation": "boost", + "score": 0.12916474044322968 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2997.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3048.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11602914333343506 - }, - "else": { - "operation": "boost", - "score": -0.07342595607042313 - } + "operation": "boost", + "score": -0.05325932055711746 }, "else": { "operation": "boost", - "score": 0.11678127199411392 + "score": 0.1143479198217392 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2739.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.07902020961046219 - }, - "else": { - "operation": "boost", - "score": -0.1335853934288025 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2671.0, - "then": { - "operation": "boost", - "score": 0.12995092570781708 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11492031812667847 - }, - "else": { - "operation": "boost", - "score": -0.03596928343176842 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.001504627987742424 - }, - "else": { - "operation": "boost", - "score": -0.37194597721099854 - } - } + "operation": "boost", + "score": -0.10080849379301071 } + }, + "else": { + "operation": "boost", + "score": -0.0017763368086889386 } } - }, - "else": { - "operation": "boost", - "score": -0.17611229419708252 } } - }, - "else": { - "operation": "boost", - "score": 0.0955280140042305 } } } } }, "else": { - "operation": "boost", - "score": -0.0005410931771621108 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0002878682571463287 + }, + "else": { + "operation": "boost", + "score": -0.002118696691468358 + } } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 600.5, + "then": { + "operation": "boost", + "score": 0.0093486737459898 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "boost", - "score": 0.010425308719277382 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4651.0, + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15980.0, + "operation": "boost", + "score": -0.005718646105378866 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.06002621352672577 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07419348508119583 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.054733019322156906 + }, + "else": { + "operation": "boost", + "score": 0.06907465308904648 + } + }, + "else": { + "operation": "boost", + "score": -0.19908030331134796 + } + }, + "else": { + "operation": "boost", + "score": 0.08023257553577423 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06760859489440918 + } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Symbol" + "ClassScope", + "FileScope", + "FunctionScope" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.12357226759195328 + "score": 0.10438854247331619 }, "else": { "operation": "boost", - "score": 0.11442457139492035 + "score": -0.039642687886953354 } }, "else": { "operation": "boost", - "score": 0.06889516115188599 + "score": -0.12296272069215775 } } - }, - "else": { - "operation": "boost", - "score": -0.10972477495670319 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10726407915353775 - }, - "else": { - "operation": "boost", - "score": -0.0689210593700409 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.0942753478884697 }, "else": { - "operation": "boost", - "score": -0.1959427446126938 - } - }, - "else": { - "operation": "boost", - "score": -0.08881086856126785 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00030225960654206574 - } - }, - { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.0006344494759105146 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.0026608342304825783 + "score": 0.022573197260499 }, "else": { - "operation": "boost", - "score": -0.34576794505119324 - } - }, - "else": { - "operation": "boost", - "score": -0.07751334458589554 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 12.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.0, - "then": { - "operation": "boost", - "score": 0.10308516025543213 - }, - "else": { - "operation": "boost", - "score": -0.06509009748697281 - } + "operation": "boost", + "score": 0.04222717881202698 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, "then": { "operation": "boost", - "score": -0.036885373294353485 + "score": -0.2590634822845459 }, "else": { - "operation": "boost", - "score": 0.13454116880893707 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05204559490084648 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.1080460399389267 + "score": -0.007008852902799845 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.09350764006376266 + "score": 0.10804522037506104 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.1393755078315735 - }, - "else": { - "operation": "boost", - "score": -0.10079355537891388 - } + "operation": "boost", + "score": 0.09308794140815735 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.07714098691940308 + "score": -0.32694023847579956 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.10090146958827972 - }, - "else": { - "operation": "boost", - "score": 0.11345087736845016 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { "operation": "boost", - "score": 0.10284260660409927 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08790045976638794 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.01656191051006317 - }, - "else": { - "operation": "boost", - "score": -0.4720199704170227 - } - } + "score": -0.04561280831694603 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.027344726026058197 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10520272701978683 }, "else": { "operation": "boost", - "score": -0.08174259960651398 + "score": 0.01473263930529356 } } } - }, - "else": { - "operation": "boost", - "score": 0.007408101111650467 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05122195929288864 - }, - "else": { - "operation": "boost", - "score": 0.11648062616586685 - } + "operation": "boost", + "score": -0.007352417800575495 }, "else": { "operation": "boost", - "score": 0.04268068075180054 + "score": -0.14208245277404785 } }, "else": { "operation": "boost", - "score": -0.022888561710715294 + "score": -0.0033449504990130663 } } } + } + }, + "else": { + "operation": "boost", + "score": 0.0071859355084598064 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0067710913717746735 + }, + "else": { + "operation": "boost", + "score": 0.0008542333380319178 + } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.010492376983165741 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 619.5, + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08284295350313187 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 782.5, - "then": { - "operation": "boost", - "score": -0.04234965145587921 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.012503090314567089 - }, - "else": { - "operation": "boost", - "score": -0.9177517294883728 - } - }, - "else": { - "operation": "boost", - "score": -0.12851545214653015 - } - } - } + "operation": "boost", + "score": 0.0003716560313478112 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.10706236958503723 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.14137108623981476 - }, - "else": { - "operation": "boost", - "score": 0.028126342222094536 - } - } + "operation": "boost", + "score": -0.22746212780475616 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.029175005853176117 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1390291303396225 - }, - "else": { - "operation": "boost", - "score": 0.10880408436059952 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12999580800533295 - }, - "else": { - "operation": "boost", - "score": -0.27597206830978394 - } - } + "operation": "boost", + "score": 0.005869329907000065 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.2321428656578064, "then": { "operation": "boost", - "score": -0.19712156057357788 + "score": 0.12731197476387024 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.4032265841960907 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.12858246266841888 - }, - "else": { - "operation": "boost", - "score": 0.3902466595172882 - } - } + "operation": "boost", + "score": -0.48633357882499695 } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08913086354732513 + }, + "else": { + "operation": "boost", + "score": 0.12639740109443665 + } } }, "else": { - "operation": "boost", - "score": -0.011552898213267326 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.14669975638389587 + }, + "else": { + "operation": "boost", + "score": 0.026388294994831085 + } } } }, "else": { - "operation": "boost", - "score": 0.03361406922340393 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3174856901168823 + }, + "else": { + "operation": "boost", + "score": 0.07721609622240067 + } } }, "else": { - "operation": "boost", - "score": -0.1405564248561859 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.037481747567653656 + }, + "else": { + "operation": "boost", + "score": -0.07403559982776642 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 94.5, + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.024696946144104004 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 384.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -1.0637089014053345 + "score": 0.03399323299527168 }, "else": { - "operation": "boost", - "score": -0.12468789517879486 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.056660089641809464 + }, + "else": { + "operation": "boost", + "score": -0.01637306995689869 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.6505228281021118 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.4887821674346924 + }, + "else": { + "operation": "boost", + "score": 0.12423679232597351 + } + } + } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.530044436454773 - }, - "else": { - "operation": "boost", - "score": 0.0402182899415493 - } + "operation": "boost", + "score": -0.05516073852777481 } - }, - "else": { - "operation": "boost", - "score": -0.08329572528600693 } }, "else": { "operation": "boost", - "score": -0.2628426253795624 + "score": -0.15441212058067322 } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.029411764815449715, "then": { "operation": "boost", - "score": 0.4157874584197998 + "score": 0.013785628601908684 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11127671599388123 + "score": -0.029829930514097214 }, "else": { "operation": "boost", - "score": 0.04162727668881416 + "score": -0.12230260670185089 } } }, @@ -287424,1729 +284794,2806 @@ "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Namespace", "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.10023993253707886 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.10416930168867111 - }, - "else": { - "operation": "boost", - "score": 0.15960706770420074 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.024723181501030922 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.9285714626312256, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": -0.03002716414630413 + }, + "else": { + "operation": "boost", + "score": 0.11433979868888855 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11712241172790527 + "score": -0.05958883836865425 }, "else": { "operation": "boost", - "score": 0.12167350947856903 + "score": -0.5537791848182678 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.11140148341655731 - }, - "else": { - "operation": "boost", - "score": -0.05974140018224716 - } - } - }, - "else": { - "operation": "boost", - "score": 0.028268828988075256 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11155829578638077 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10221507400274277 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 175.0, + "then": { + "operation": "boost", + "score": -0.027896951884031296 + }, + "else": { + "operation": "boost", + "score": 0.13511787354946136 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.1932443380355835 + }, + "else": { + "operation": "boost", + "score": 0.015189955942332745 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.06909868866205215 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.231143593788147 + }, + "else": { + "operation": "boost", + "score": 0.1520043909549713 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.10098337382078171 + }, + "else": { + "operation": "boost", + "score": 0.06917709857225418 + } + }, + "else": { + "operation": "boost", + "score": -0.004219743888825178 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.040273964405059814 + }, + "else": { + "operation": "boost", + "score": 0.15448905527591705 + } + }, + "else": { + "operation": "boost", + "score": -0.015628686174750328 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -1.538496494293213 + }, + "else": { + "operation": "boost", + "score": -0.07324158400297165 + } + } }, "else": { - "operation": "boost", - "score": -0.046723347157239914 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.04412982612848282 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": -0.09777303040027618 + }, + "else": { + "operation": "boost", + "score": 0.10506048798561096 + } + } + }, + "else": { + "operation": "boost", + "score": 0.021408826112747192 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 338.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 405.5, + "then": { + "operation": "boost", + "score": 0.10332449525594711 + }, + "else": { + "operation": "boost", + "score": 0.12214314937591553 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09835702180862427 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18465909361839294, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.11441827565431595 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": 0.019315699115395546 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08714047074317932 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.027904583141207695 + }, + "else": { + "operation": "boost", + "score": -0.19655434787273407 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.011628526262938976 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06432846933603287 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.1082359328866005 + }, + "else": { + "operation": "boost", + "score": 0.10491137206554413 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06455555558204651 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11832991987466812 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.0, + "then": { + "operation": "boost", + "score": 0.11649978905916214 + }, + "else": { + "operation": "boost", + "score": -0.28456056118011475 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.18726889789104462 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.22771266102790833 + }, + "else": { + "operation": "boost", + "score": 0.02736043557524681 + } + }, + "else": { + "operation": "boost", + "score": 0.20018112659454346 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.13508643209934235 + }, + "else": { + "operation": "boost", + "score": -0.14048103988170624 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.05152406916022301 + }, + "else": { + "operation": "boost", + "score": 0.13130705058574677 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.5226296782493591 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "boost", + "score": -0.011940712109208107 + }, + "else": { + "operation": "boost", + "score": 0.11551302671432495 + } + }, + "else": { + "operation": "boost", + "score": 0.016778966411948204 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.5137034058570862 + }, + "else": { + "operation": "boost", + "score": -0.03961320221424103 + } + }, + "else": { + "operation": "boost", + "score": 0.003606738056987524 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "boost", + "score": -0.23563332855701447 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.2095276117324829 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.19238796830177307 + }, + "else": { + "operation": "boost", + "score": 0.05715037137269974 + } + }, + "else": { + "operation": "boost", + "score": -0.01822209171950817 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04637090861797333 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.08037032932043076 + }, + "else": { + "operation": "boost", + "score": 0.09269392490386963 + } + } + }, + "else": { + "operation": "boost", + "score": 0.021673614159226418 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0057175192050635815 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118.5, + "then": { + "operation": "boost", + "score": 0.12494479864835739 + }, + "else": { + "operation": "boost", + "score": 0.03350884094834328 + } + }, + "else": { + "operation": "boost", + "score": -0.028346432372927666 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02411036193370819 + } + } } }, "else": { + "operation": "boost", + "score": 0.0033262467477470636 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "boost", - "score": -0.032830026000738144 + "score": -0.11312220990657806 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { - "operation": "boost", - "score": 0.020481903105974197 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": -0.038662102073431015 + }, + "else": { + "operation": "boost", + "score": 0.0939270481467247 + } }, "else": { "operation": "boost", - "score": -0.07862704247236252 + "score": -0.07939958572387695 } } + }, + "else": { + "operation": "boost", + "score": -0.002386899432167411 } } } } } } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": -0.0002672868431545794 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005431039608083665 + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.0023998143151402473 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1889880895614624, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.464102566242218, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 332.0, + "feature": "NumNameInContext", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3616.0, + "operation": "boost", + "score": -0.2908034920692444 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4219.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.5822276473045349 - }, - "else": { - "operation": "boost", - "score": 0.06768777966499329 - } - }, - "else": { - "operation": "boost", - "score": 0.06858779489994049 - } + "operation": "boost", + "score": 0.01262893807142973 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4099.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.1146240159869194 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.087323859333992 + }, + "else": { + "operation": "boost", + "score": 0.01287981029599905 + } + }, + "else": { + "operation": "boost", + "score": 0.03481624275445938 + } }, "else": { - "operation": "boost", - "score": 0.10869736969470978 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7333333492279053, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05581042170524597 + }, + "else": { + "operation": "boost", + "score": -0.4659261405467987 + } + }, + "else": { + "operation": "boost", + "score": 0.015046442858874798 + } } }, "else": { "operation": "boost", - "score": -0.10076704621315002 + "score": 0.05027381330728531 } } }, "else": { + "operation": "boost", + "score": 0.01061435230076313 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, + "then": { + "operation": "boost", + "score": 0.017251862213015556 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], + "then": { + "operation": "boost", + "score": 0.05380208417773247 + }, + "else": { + "operation": "boost", + "score": -0.009869984351098537 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 523.0, + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.046843502670526505 + "score": -0.01665065810084343 }, "else": { "operation": "boost", - "score": 0.0839371457695961 + "score": 0.11057206988334656 } }, "else": { "operation": "boost", - "score": -0.041479095816612244 + "score": -0.04172493517398834 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 325.5, - "then": { - "operation": "boost", - "score": 0.10012137144804001 - }, - "else": { - "operation": "boost", - "score": 0.05066218599677086 - } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { - "operation": "boost", - "score": 0.12475356459617615 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.013142767362296581 + "score": 0.03394465520977974 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.1081915944814682 + "score": 0.11769061535596848 }, "else": { "operation": "boost", - "score": -0.23700694739818573 + "score": -0.03369014337658882 } } + }, + "else": { + "operation": "boost", + "score": -0.016757875680923462 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006672906689345837 + }, + "else": { + "operation": "boost", + "score": -0.019308820366859436 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.03213135153055191 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, "then": { - "operation": "boost", - "score": 0.0034022785257548094 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.109808050096035 + }, + "else": { + "operation": "boost", + "score": -0.012845069169998169 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ArrowMemberAccess" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.13055290281772614 - }, - "else": { - "operation": "boost", - "score": 0.1731124371290207 - } - }, - "else": { - "operation": "boost", - "score": 0.12855902314186096 - } + "operation": "boost", + "score": 0.028656721115112305 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "operation": "boost", + "score": 0.00876912847161293 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.22252747416496277, "then": { "operation": "boost", - "score": 0.1296328604221344 + "score": -0.02349153906106949 }, "else": { - "operation": "boost", - "score": 0.04908344894647598 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12030099332332611 + "score": -0.04469350352883339 }, "else": { - "operation": "boost", - "score": 0.1317444145679474 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1284123808145523 + }, + "else": { + "operation": "boost", + "score": -0.13075435161590576 + } } }, "else": { "operation": "boost", - "score": 0.05167331174015999 + "score": -0.002637619851157069 } - }, - "else": { - "operation": "boost", - "score": 0.06697706878185272 } + }, + "else": { + "operation": "boost", + "score": -0.04605161026120186 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.11010280251502991 + }, + "else": { + "operation": "boost", + "score": -0.01980600878596306 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4373.0, + "then": { + "operation": "boost", + "score": 0.07765993475914001 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.12194763869047165 + "score": 0.05725986883044243 }, "else": { "operation": "boost", - "score": 0.12040217220783234 + "score": 0.1579316258430481 } }, "else": { "operation": "boost", - "score": 0.03326638042926788 + "score": -0.16059565544128418 } }, "else": { "operation": "boost", - "score": 0.055362243205308914 + "score": -0.0502685010433197 } + }, + "else": { + "operation": "boost", + "score": 0.0022420636378228664 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "boost", + "score": -0.016110779717564583 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "boost", - "score": -0.05344850942492485 + "score": 0.21246100962162018 }, "else": { "operation": "boost", - "score": 0.04151182994246483 + "score": -0.11956819891929626 } } - }, - "else": { - "operation": "boost", - "score": 0.01360639464110136 } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.07552118599414825 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.11493261903524399 - }, - "else": { - "operation": "boost", - "score": 0.006017992272973061 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.10801494121551514 + "score": 0.0037298761308193207 }, "else": { - "operation": "boost", - "score": 0.118426114320755 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12125874310731888 + "score": -0.024918444454669952 }, "else": { - "operation": "boost", - "score": 0.0766822025179863 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.10753193497657776 - }, - "else": { - "operation": "boost", - "score": -1.4092622995376587 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.2799776792526245 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 7779.5, "then": { "operation": "boost", - "score": 0.6899611353874207 + "score": -0.26649343967437744 }, "else": { - "operation": "boost", - "score": -0.31851717829704285 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11653025448322296 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 292.0, "then": { - "operation": "boost", - "score": -0.10156445950269699 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.1060326024889946 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 348.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.11960968375205994 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 505.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 871.5, + "then": { + "operation": "boost", + "score": 0.09162599593400955 + }, + "else": { + "operation": "boost", + "score": 0.23363518714904785 + } + }, + "else": { + "operation": "boost", + "score": 0.037500396370887756 + } + } + }, + "else": { + "operation": "boost", + "score": 0.19652284681797028 + } }, "else": { "operation": "boost", - "score": 0.0731588825583458 + "score": 0.027354011312127113 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.4916507303714752 }, "else": { - "operation": "boost", - "score": -0.14290349185466766 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "boost", + "score": 0.14306530356407166 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.6473594903945923 + }, + "else": { + "operation": "boost", + "score": -0.14175710082054138 + } + } + }, + "else": { + "operation": "boost", + "score": 0.21033698320388794 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": -0.05081554502248764 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.18837563693523407 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.21830515563488007 + }, + "else": { + "operation": "boost", + "score": -0.10010270029306412 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "boost", + "score": 0.11096891760826111 + }, + "else": { + "operation": "boost", + "score": 0.20120231807231903 + } + }, + "else": { + "operation": "boost", + "score": 0.023826545104384422 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 124.5, + "then": { + "operation": "boost", + "score": 0.10072046518325806 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.03447794169187546 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.14147382974624634 + }, + "else": { + "operation": "boost", + "score": -0.024659277871251106 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03416929021477699 + } } } + }, + "else": { + "operation": "boost", + "score": 0.027160540223121643 } - }, - "else": { - "operation": "boost", - "score": -0.12307945638895035 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.007886955514550209 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 8458.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 11877.5, "then": { - "operation": "boost", - "score": -0.05007816106081009 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85554.5, + "then": { + "operation": "boost", + "score": 0.09891252219676971 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62576.5, + "then": { + "operation": "boost", + "score": -0.19067633152008057 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19905.0, + "then": { + "operation": "boost", + "score": 0.10819415748119354 + }, + "else": { + "operation": "boost", + "score": -0.11660310626029968 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12625.5, + "then": { + "operation": "boost", + "score": -0.12792618572711945 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.15358221530914307 + }, + "else": { + "operation": "boost", + "score": -0.028555629774928093 + } + } + } + } + } }, "else": { "operation": "boost", - "score": 0.11904498934745789 + "score": -0.21825702488422394 } }, "else": { - "operation": "boost", - "score": -0.009624226950109005 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6350.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.18595488369464874 + }, + "else": { + "operation": "boost", + "score": -0.10031209141016006 + } + }, + "else": { + "operation": "boost", + "score": -0.02361833117902279 + } } } } + }, + "else": { + "operation": "boost", + "score": -0.0022301606368273497 } } }, "else": { - "operation": "boost", - "score": 0.007970655336976051 - } - } - }, - "else": { - "operation": "boost", - "score": 0.002090038964524865 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2459.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22368.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.02984604984521866 + "score": 0.0031150963623076677 }, "else": { "operation": "boost", - "score": -0.008205424062907696 + "score": -0.001190840033814311 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02388046309351921 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18672.5, + "threshold": 3079.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace" - ], + "operation": "boost", + "score": 0.014766136184334755 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2910.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.1533389389514923 + }, + "else": { + "operation": "boost", + "score": -0.5340169072151184 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": -0.006850854493677616 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.09194037318229675 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20414.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.003170775016769767 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 34.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21207.0, + "threshold": 36.5, "then": { "operation": "boost", - "score": -1.0192757844924927 + "score": 0.06949739158153534 }, "else": { "operation": "boost", - "score": 0.14964279532432556 + "score": 0.11987397819757462 } }, "else": { "operation": "boost", - "score": 0.10916098952293396 + "score": -0.024480240419507027 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20039.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.09028788655996323 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.10649062693119049 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.10037349164485931 + }, + "else": { + "operation": "boost", + "score": 1.1575425863265991 + } + }, + "else": { + "operation": "boost", + "score": 0.24977746605873108 + } + } }, "else": { "operation": "boost", - "score": 0.08496444672346115 + "score": -0.11624858528375626 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10201117396354675 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18751.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.11445538699626923 + "score": 0.11553031951189041 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "boost", + "score": 0.17376309633255005 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.060661762952804565, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 535.0, "then": { - "operation": "boost", - "score": 0.04152444377541542 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "boost", + "score": -0.15918132662773132 + }, + "else": { + "operation": "boost", + "score": 0.0929400697350502 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20157.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.13266776502132416 + "score": -0.0018703830428421497 }, "else": { "operation": "boost", - "score": 0.07750340551137924 + "score": 0.018677376210689545 } } }, "else": { - "operation": "boost", - "score": -0.16366365551948547 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.28385597467422485 + }, + "else": { + "operation": "boost", + "score": -0.06510742008686066 + } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20487.0, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "boost", + "score": -0.06941196322441101 + }, + "else": { + "operation": "boost", + "score": 0.12364352494478226 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 255.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 308.0, "then": { "operation": "boost", - "score": 0.10788322240114212 + "score": 0.04750756174325943 }, "else": { "operation": "boost", - "score": -0.11932200938463211 + "score": 0.11992069333791733 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.11524982005357742 + "score": -0.2464544028043747 }, "else": { - "operation": "boost", - "score": -0.06272171437740326 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.1384194791316986 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7571429014205933, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.5032300353050232 + }, + "else": { + "operation": "boost", + "score": -0.032597772777080536 + } + }, + "else": { + "operation": "boost", + "score": 0.045102231204509735 + } + }, + "else": { + "operation": "boost", + "score": 0.00030028310720808804 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.06931395828723907 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19792.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.013748367317020893 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.11608508974313736 + "score": 0.0012439857237040997 }, "else": { - "operation": "boost", - "score": -0.07339909672737122 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11286569386720657 - }, - "else": { - "operation": "boost", - "score": 0.07668208330869675 - } - }, - "else": { - "operation": "boost", - "score": -0.16294331848621368 - } + "operation": "boost", + "score": -0.08539123088121414 }, "else": { "operation": "boost", - "score": -0.003643566742539406 + "score": 0.13189734518527985 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20039.5, + "threshold": 4.5, "then": { + "operation": "boost", + "score": -0.04247039183974266 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21065.0, + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1251102089881897 - }, - "else": { - "operation": "boost", - "score": -0.12938638031482697 - } + "operation": "boost", + "score": 0.06091887876391411 }, "else": { "operation": "boost", - "score": -0.26403915882110596 + "score": 0.017074966803193092 } }, "else": { - "operation": "boost", - "score": 0.0406438447535038 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11378508806228638 + }, + "else": { + "operation": "boost", + "score": 0.0470300056040287 + } } - }, - "else": { - "operation": "boost", - "score": 0.10768400132656097 } + }, + "else": { + "operation": "boost", + "score": 0.005684926640242338 } - }, - "else": { - "operation": "boost", - "score": 0.021025976166129112 } } } } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0004315527621656656 + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10722141712903976 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, + "then": { + "operation": "boost", + "score": 0.06922072917222977 + }, + "else": { + "operation": "boost", + "score": 0.019606221467256546 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 34.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.0008722975035198033 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.05206291377544403 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.2279384285211563 + }, + "else": { + "operation": "boost", + "score": 0.09006232023239136 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": 0.11858274787664413 + }, + "else": { + "operation": "boost", + "score": -0.037897732108831406 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": -0.10055999457836151 + }, + "else": { + "operation": "boost", + "score": 0.017016345635056496 + } + } + } }, "else": { - "operation": "boost", - "score": -0.08275913447141647 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0288372989743948 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.013248772360384464 + }, + "else": { + "operation": "boost", + "score": 0.013923813588917255 + } + } } }, "else": { + "operation": "boost", + "score": -0.13042153418064117 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { "operation": "boost", - "score": -0.06366360932588577 + "score": 0.3246951401233673 }, "else": { + "operation": "boost", + "score": -0.15823285281658173 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5777778029441833, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.11428626626729965 + "score": 0.1388341635465622 }, "else": { "operation": "boost", - "score": 0.14807188510894775 + "score": 0.2176845818758011 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08116883039474487, + "then": { + "operation": "boost", + "score": 0.15066276490688324 + }, + "else": { + "operation": "boost", + "score": -0.10029854625463486 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "boost", + "score": 0.0723554864525795 + }, + "else": { + "operation": "boost", + "score": 0.22161033749580383 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.06521189212799072 } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4641.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.03500879555940628 + "score": 0.0025685816071927547 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3803.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10663345456123352 + "score": 0.1369817554950714 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.5897219777107239 - }, - "else": { - "operation": "boost", - "score": 0.08665508031845093 - } + "operation": "boost", + "score": -0.017793135717511177 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6360.5, + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.01750786416232586 + }, + "else": { + "operation": "boost", + "score": -0.010015549138188362 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6390.5, + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.03063778392970562 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8266.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9244.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.038687098771333694 + "score": 0.09251265972852707 }, "else": { + "operation": "boost", + "score": -0.024939442053437233 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0951366201043129 - }, - "else": { - "operation": "boost", - "score": 0.10718460381031036 - } + "operation": "boost", + "score": 0.02305373176932335 }, "else": { "operation": "boost", - "score": 0.09480433166027069 + "score": 0.12230200320482254 } - } - }, - "else": { - "operation": "boost", - "score": 0.005507347639650106 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11416418850421906 }, "else": { "operation": "boost", - "score": 0.10378746688365936 + "score": 0.07059439271688461 } - }, - "else": { - "operation": "boost", - "score": 0.040026016533374786 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6080.0, - "then": { - "operation": "boost", - "score": -0.5080410838127136 - }, - "else": { - "operation": "boost", - "score": 0.01039116270840168 - } + "operation": "boost", + "score": 0.012301044538617134 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.01349787600338459 + }, + "else": { + "operation": "boost", + "score": -0.0009468593052588403 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6406.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6676.0, + "feature": "FractionNameInContext", + "threshold": 0.03708791360259056, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28548.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10904.0, + "threshold": 34205.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.07222270965576172 - }, - "else": { - "operation": "boost", - "score": 0.08475401997566223 - } - }, - "else": { - "operation": "boost", - "score": -0.008974677883088589 - } + "operation": "boost", + "score": -0.02623867802321911 + }, + "else": { + "operation": "boost", + "score": 0.12404869496822357 + } + }, + "else": { + "operation": "boost", + "score": -0.126961812376976 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27669.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.12202149629592896 }, "else": { + "operation": "boost", + "score": -0.07729370146989822 + } + }, + "else": { + "operation": "boost", + "score": 9.733585102367215e-07 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10448.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10810.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11663348227739334 + "score": 0.026345031335949898 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.09890850633382797 + "score": 0.05257096141576767 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10654.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10555911064147949 + "score": 0.0696931853890419 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.0989418551325798 - }, - "else": { - "operation": "boost", - "score": 0.11614633351564407 - } + "operation": "boost", + "score": 0.0983470231294632 } }, "else": { "operation": "boost", - "score": -0.1168680191040039 + "score": -0.10010881721973419 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": 0.08501588553190231 + }, + "else": { + "operation": "boost", + "score": 0.04666462913155556 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.11260402202606201 + }, + "else": { + "operation": "boost", + "score": 0.02629994787275791 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006919031962752342 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.25833332538604736, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.10314061492681503 - }, - "else": { - "operation": "boost", - "score": 0.03995857387781143 - } + "operation": "boost", + "score": 0.02646353468298912 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7569.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.13378971815109253 + "score": 0.01496877707540989 }, "else": { "operation": "boost", - "score": 0.119156114757061 + "score": 0.1321757286787033 } }, "else": { "operation": "boost", - "score": 0.06030729040503502 + "score": 0.02833867073059082 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7369.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.22774703800678253 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8232.5, - "then": { - "operation": "boost", - "score": -0.16420969367027283 - }, - "else": { - "operation": "boost", - "score": 0.1148296594619751 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0820426344871521 - }, - "else": { - "operation": "boost", - "score": 0.09778451174497604 - } - } - }, - "else": { - "operation": "boost", - "score": -0.02782095968723297 - } + "operation": "boost", + "score": 0.03704103082418442 }, "else": { "operation": "boost", - "score": -0.04185833781957626 + "score": -0.05551521107554436 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9279.0, - "then": { - "operation": "boost", - "score": -0.13841097056865692 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7845.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8420.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.09625356644392014 - }, - "else": { - "operation": "boost", - "score": 0.11643092334270477 - } - }, - "else": { - "operation": "boost", - "score": -0.11745794117450714 - } - }, - "else": { - "operation": "boost", - "score": -0.16106219589710236 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8292.0, - "then": { - "operation": "boost", - "score": -0.021011311560869217 - }, - "else": { - "operation": "boost", - "score": 0.11436206847429276 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11395349353551865 - }, - "else": { - "operation": "boost", - "score": 0.05483260005712509 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00821286253631115 - } - } + "operation": "boost", + "score": 0.01960700936615467 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16932.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.10821074992418289 }, "else": { "operation": "boost", - "score": 0.12386365979909897 + "score": -0.03874490037560463 } - }, - "else": { - "operation": "boost", - "score": -0.01604125089943409 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.0380374975502491 + "score": 0.017890769988298416 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13189.5, + "threshold": 36.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13858.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18214.0, + "threshold": 118.5, "then": { "operation": "boost", - "score": 0.13731348514556885 + "score": -0.037381310015916824 }, "else": { "operation": "boost", - "score": -0.10845309495925903 + "score": 0.1739487648010254 } }, "else": { "operation": "boost", - "score": 0.11125697195529938 + "score": 0.06856631487607956 } }, "else": { - "operation": "boost", - "score": 0.09628321975469589 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.27871835231781006 + }, + "else": { + "operation": "boost", + "score": 0.06167158484458923 + } } } }, "else": { - "operation": "boost", - "score": -0.017114335671067238 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7360.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.06980974227190018 + "score": -0.0006484161713160574 }, "else": { - "operation": "boost", - "score": 0.10891716182231903 - } - }, - "else": { - "operation": "boost", - "score": -0.004869378171861172 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7250.5, - "then": { - "operation": "boost", - "score": 0.11863864213228226 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7101.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7119.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.045820266008377075 + "score": -0.36476844549179077 }, "else": { "operation": "boost", - "score": 0.11892156302928925 + "score": -1.0598613023757935 } - }, - "else": { - "operation": "boost", - "score": -0.016371307894587517 } } } @@ -289154,1219 +287601,1532 @@ }, "else": { "operation": "boost", - "score": 0.008378828875720501 + "score": -0.12597864866256714 } }, "else": { + "operation": "boost", + "score": 0.2574666142463684 + } + }, + "else": { + "operation": "boost", + "score": -0.0033991269301623106 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017764346674084663 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.31111112236976624, + "then": { + "operation": "boost", + "score": 0.3247864842414856 + }, + "else": { + "operation": "boost", + "score": 0.13360968232154846 + } + }, + "else": { + "operation": "boost", + "score": 0.011670217849314213 + } + }, + "else": { + "operation": "boost", + "score": 0.033448051661252975 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004238346591591835 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -4.0113209252012894e-05 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0014401260996237397 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.1286102682352066 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6642.0, + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.13891412317752838 + "score": 0.03146045282483101 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6418.5, - "then": { - "operation": "boost", - "score": 0.09280383586883545 - }, - "else": { - "operation": "boost", - "score": 0.1315479725599289 - } - }, - "else": { - "operation": "boost", - "score": -0.11213743686676025 - } + "operation": "boost", + "score": 0.1906302273273468 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.05535529553890228 - }, - "else": { - "operation": "boost", - "score": 0.11637281626462936 - } + "operation": "boost", + "score": -0.03472286835312843 }, "else": { "operation": "boost", - "score": -0.009186173789203167 + "score": 0.17415539920330048 } }, "else": { - "operation": "boost", - "score": 0.22767598927021027 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6638.0, - "then": { - "operation": "boost", - "score": 0.11255329847335815 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6555.5, - "then": { - "operation": "boost", - "score": -0.454751193523407 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6526.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.13140086829662323 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 35.5, "then": { - "operation": "boost", - "score": 0.13217505812644958 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 157.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": -0.11872942000627518 + }, + "else": { + "operation": "boost", + "score": 0.2706958055496216 + } + }, + "else": { + "operation": "boost", + "score": 0.1173536479473114 + } }, "else": { "operation": "boost", - "score": 0.250222772359848 + "score": -0.38608500361442566 } + }, + "else": { + "operation": "boost", + "score": -0.038340017199516296 } } } + }, + "else": { + "operation": "boost", + "score": -0.0007034283480606973 } }, + "else": { + "operation": "boost", + "score": 0.029393691569566727 + } + }, + "else": { + "operation": "boost", + "score": -0.013912294059991837 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.008816235698759556 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 30.5, + "then": { + "operation": "boost", + "score": 0.10214408487081528 + }, + "else": { + "operation": "boost", + "score": -0.015209892764687538 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.2284097820520401 + }, + "else": { + "operation": "boost", + "score": 0.02129141241312027 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1825.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4347.0, + "then": { + "operation": "boost", + "score": -0.11774760484695435 + }, + "else": { + "operation": "boost", + "score": 0.36678585410118103 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.24568337202072144 + "score": -1.0649813475538394e-08 }, "else": { "operation": "boost", - "score": 0.005057146772742271 + "score": 0.11516879498958588 } }, + "else": { + "operation": "boost", + "score": -0.02023705467581749 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.17237882316112518 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6495.0, + "threshold": 28.5, "then": { - "operation": "boost", - "score": -0.012454461306333542 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145.0, + "then": { + "operation": "boost", + "score": 0.07579604536294937 + }, + "else": { + "operation": "boost", + "score": -0.02349531091749668 + } }, "else": { - "operation": "boost", - "score": 0.10732364654541016 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.206670343875885 + }, + "else": { + "operation": "boost", + "score": 0.07988572120666504 + } } } + }, + "else": { + "operation": "boost", + "score": 0.015390807762742043 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.011557512916624546 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07099901884794235 + "score": -0.12578079104423523 }, "else": { "operation": "boost", - "score": 0.11709584295749664 + "score": 0.12615419924259186 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.027285929769277573 - }, - "else": { - "operation": "boost", - "score": 0.10433246195316315 - } + "operation": "boost", + "score": 0.06281812489032745 } - }, - "else": { + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09176483750343323 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2478.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.005380767397582531 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2470.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.10795573145151138 + }, + "else": { + "operation": "boost", + "score": -0.002794134197756648 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, "then": { - "operation": "boost", - "score": 0.41574493050575256 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.13277655839920044 + }, + "else": { + "operation": "boost", + "score": 0.1594735085964203 + } }, "else": { "operation": "boost", - "score": -0.2895142734050751 + "score": 0.08310799300670624 } }, "else": { "operation": "boost", - "score": 0.10095170885324478 + "score": 0.012876680120825768 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.11082595586776733 }, "else": { "operation": "boost", - "score": 0.047852881252765656 + "score": -0.02544553019106388 } } + }, + "else": { + "operation": "boost", + "score": 0.047397416085004807 } + }, + "else": { + "operation": "boost", + "score": -0.10268067568540573 } } + }, + "else": { + "operation": "boost", + "score": -0.012716282159090042 } } }, "else": { - "operation": "boost", - "score": -0.0010643479181453586 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0021510941442102194 + }, + "else": { + "operation": "boost", + "score": -0.0005485553992912173 + } } - }, - "else": { - "operation": "boost", - "score": 0.009970094077289104 } - }, - "else": { - "operation": "boost", - "score": -0.0003128302050754428 } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45000.0, + "threshold": 600.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.2902987599372864 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55726.0, + "threshold": 2291.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.005633901804685593 + "score": 0.05845693126320839 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "boost", + "score": 0.005740271415561438 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Function" + "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 74638.5, + "threshold": 655.5, "then": { + "operation": "boost", + "score": 0.03968232870101929 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": -0.08548428863286972 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06802322715520859 - }, - "else": { - "operation": "boost", - "score": 0.08630716055631638 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1266481876373291 - } - }, - "else": { - "operation": "boost", - "score": 0.09792877733707428 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.03760049492120743 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81569.0, - "then": { - "operation": "boost", - "score": -0.13899670541286469 - }, - "else": { - "operation": "boost", - "score": 0.1149369329214096 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06713894009590149 - } - } + "operation": "boost", + "score": -0.13532456755638123 }, "else": { "operation": "boost", - "score": -0.1924077421426773 + "score": 0.11430465430021286 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": -0.2322511374950409 }, "else": { + "operation": "boost", + "score": 0.002666893880814314 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59248.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.07709601521492004 + "score": 0.08454901725053787 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 57673.0, + "threshold": 901.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.16756704449653625 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11511214822530746 - }, - "else": { - "operation": "boost", - "score": 0.1438698023557663 - } - } + "operation": "boost", + "score": 0.028440823778510094 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 853.0, "then": { "operation": "boost", - "score": -0.12151088565587997 + "score": 0.11001583933830261 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.009298094548285007 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10867258906364441 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10479336977005005 - }, - "else": { - "operation": "boost", - "score": -0.32709574699401855 - } - } - } + "operation": "boost", + "score": 0.07821109890937805 } } } + }, + "else": { + "operation": "boost", + "score": 0.021420419216156006 } }, "else": { "operation": "boost", - "score": -0.046996843069791794 + "score": 0.034910134971141815 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 670.0, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 84493.0, + "threshold": 792.0, "then": { + "operation": "boost", + "score": 0.003486678237095475 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 781.5, + "then": { + "operation": "boost", + "score": -0.7282330989837646 + }, + "else": { + "operation": "boost", + "score": -0.09986767172813416 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.010976889170706272 + }, + "else": { + "operation": "boost", + "score": -0.28979921340942383 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 667.0, + "then": { + "operation": "boost", + "score": 0.13603109121322632 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 611.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 616.0, "then": { "operation": "boost", - "score": -0.012308821082115173 + "score": 0.06155373901128769 }, "else": { + "operation": "boost", + "score": 0.190138041973114 + } + }, + "else": { + "operation": "boost", + "score": -0.29959163069725037 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09307359158992767, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.049726974219083786 + }, + "else": { + "operation": "boost", + "score": 0.038555800914764404 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.14962415397167206 + "score": 0.1594974249601364 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.11897441744804382 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { "operation": "boost", - "score": 0.1061973050236702 + "score": 0.029865456745028496 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.029294369742274284 + }, + "else": { + "operation": "boost", + "score": 0.11228181421756744 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", - "score": -0.1909065693616867 + "score": -0.24182891845703125 }, "else": { "operation": "boost", - "score": 0.08030099421739578 + "score": -1.439780831336975 } + }, + "else": { + "operation": "boost", + "score": 0.002371876733377576 } } } + }, + "else": { + "operation": "boost", + "score": -0.00965686235576868 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": -0.06877932697534561 + }, + "else": { + "operation": "boost", + "score": 0.003699900582432747 + } + }, + "else": { + "operation": "boost", + "score": 0.010116344317793846 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": 0.038592398166656494 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04655719920992851 + }, + "else": { + "operation": "boost", + "score": 0.14689743518829346 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04188990220427513 + }, + "else": { + "operation": "boost", + "score": -0.03718927502632141 + } + } + }, + "else": { + "operation": "boost", + "score": -0.032093875110149384 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.08441556245088577 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.09258376061916351 + }, + "else": { + "operation": "boost", + "score": 0.024379590526223183 + } + }, + "else": { + "operation": "boost", + "score": -0.007060345262289047 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0067806788720190525 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014226988889276981 + }, + "else": { + "operation": "boost", + "score": 0.005106438882648945 + } + }, + "else": { + "operation": "boost", + "score": 0.0004773197288159281 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.002101888647302985 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.34954750537872314, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { + "operation": "boost", + "score": -0.010142644867300987 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FractionNameInContext", + "threshold": 0.5419580936431885, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.017228977754712105 + "score": 0.13229314982891083 }, "else": { "operation": "boost", - "score": -1.1174371242523193 + "score": 0.08581309020519257 } }, - "else": { - "operation": "boost", - "score": 0.04278680682182312 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08784643560647964 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.16383150219917297 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11681276559829712 - }, - "else": { - "operation": "boost", - "score": 0.03950215503573418 - } - } + "operation": "boost", + "score": 0.09716729074716568 }, "else": { "operation": "boost", - "score": -0.19075259566307068 + "score": 0.009300321340560913 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75566.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.3779761791229248, "then": { "operation": "boost", - "score": 0.0015545382630079985 + "score": 0.11343957483768463 }, "else": { "operation": "boost", - "score": 0.0744422972202301 + "score": 0.10947487503290176 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.07977208495140076 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.026244422420859337 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0036030018236488104 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.00288037839345634 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.1072666347026825 - }, - "else": { - "operation": "boost", - "score": -0.5624719262123108 - } - } - }, - "else": { - "operation": "boost", - "score": 0.021471839398145676 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57673.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07461884617805481 - }, - "else": { - "operation": "boost", - "score": -0.08101769536733627 - } - }, - "else": { - "operation": "boost", - "score": -0.02581111341714859 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57673.0, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.126206636428833 - }, - "else": { - "operation": "boost", - "score": 0.09695029258728027 - } - }, - "else": { - "operation": "boost", - "score": 0.03691907227039337 - } - }, - "else": { - "operation": "boost", - "score": -0.5416139364242554 - } - }, - "else": { - "operation": "boost", - "score": 0.00546486908569932 - } - } + "operation": "boost", + "score": 0.09113278239965439 } } }, + "else": { + "operation": "boost", + "score": -0.13599367439746857 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.004153701476752758 + }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.37292933464050293 - }, - "else": { - "operation": "boost", - "score": 0.10322726517915726 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.01601097360253334 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.07116677612066269 + }, + "else": { + "operation": "boost", + "score": -0.1588008999824524 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.10734102874994278 + "score": 0.09111828356981277 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62498.5, - "then": { - "operation": "boost", - "score": 0.06273055076599121 - }, - "else": { - "operation": "boost", - "score": 0.11577289551496506 - } - }, - "else": { - "operation": "boost", - "score": 0.03822246566414833 - } + "operation": "boost", + "score": -0.06774980574846268 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, - "then": { - "operation": "boost", - "score": -0.25773242115974426 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08816909790039062 + "score": -0.12828077375888824 }, "else": { "operation": "boost", - "score": -0.2354000210762024 + "score": 0.021155986934900284 } } - }, - "else": { - "operation": "boost", - "score": -0.07286463677883148 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09556388109922409 }, "else": { "operation": "boost", - "score": -0.021687597036361694 + "score": -0.0032904697582125664 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10104583203792572 + "score": -0.06685402244329453 }, "else": { "operation": "boost", - "score": -0.135724738240242 + "score": -0.00394678907468915 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.14104215800762177 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.21387779712677002 + "score": -0.019997959956526756 }, "else": { "operation": "boost", - "score": 0.24964866042137146 + "score": 0.15352216362953186 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.0691312626004219 }, "else": { "operation": "boost", - "score": 0.15660344064235687 + "score": -0.0913688912987709 } - }, - "else": { - "operation": "boost", - "score": -0.10565377026796341 } } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": -0.0002473389613442123 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01616525836288929 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "boost", - "score": -0.1314399540424347 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "boost", - "score": -0.11533404141664505 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.07128043472766876 + "score": 0.0010975097538903356 }, "else": { - "operation": "boost", - "score": 0.13187924027442932 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 24.0, + "then": { + "operation": "boost", + "score": -0.06996390968561172 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10236725211143494 + }, + "else": { + "operation": "boost", + "score": -0.01254893559962511 + } + } } }, "else": { - "operation": "boost", - "score": 0.2574588656425476 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.017415866255760193 + }, + "else": { + "operation": "boost", + "score": -0.048724401742219925 + } } }, "else": { - "operation": "boost", - "score": 0.19348646700382233 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.007526626344770193 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1446511447429657 - }, - "else": { - "operation": "boost", - "score": 0.08096186816692352 - } + "operation": "boost", + "score": 0.1420649141073227 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50371.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.12954485416412354 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11884228140115738 - }, - "else": { - "operation": "boost", - "score": 0.11649461090564728 - } - } + "operation": "boost", + "score": 0.12472458928823471 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11589598655700684 - }, - "else": { - "operation": "boost", - "score": 0.12429917603731155 - } - }, - "else": { - "operation": "boost", - "score": -0.05174802616238594 - } - }, - "else": { - "operation": "boost", - "score": 0.17246246337890625 - } + "operation": "boost", + "score": -0.04446372017264366 } } }, "else": { "operation": "boost", - "score": -0.25499263405799866 + "score": 0.022598231211304665 } }, "else": { "operation": "boost", - "score": 0.1866176575422287 + "score": -0.02544759027659893 } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47131.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.01911989040672779 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11143455654382706 - }, - "else": { - "operation": "boost", - "score": 0.012570698745548725 - } + "operation": "boost", + "score": -0.08956863731145859 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.06591964513063431 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05435521900653839 - }, - "else": { - "operation": "boost", - "score": 0.07127110660076141 - } - } + "operation": "boost", + "score": 0.024447649717330933 } - }, - "else": { - "operation": "boost", - "score": -0.1627863496541977 } }, "else": { "operation": "boost", - "score": 0.10410407930612564 + "score": -0.038815878331661224 } + }, + "else": { + "operation": "boost", + "score": -0.0014432307798415422 } } }, @@ -290374,1839 +289134,1885 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08787643164396286 - }, - "else": { - "operation": "boost", - "score": 0.10808151215314865 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.1548532098531723 - }, - "else": { - "operation": "boost", - "score": 1.5101317167282104 - } - } + "operation": "boost", + "score": 0.042740676552057266 }, "else": { "operation": "boost", - "score": -0.13194440305233002 + "score": -0.001280769007280469 } }, "else": { "operation": "boost", - "score": -0.11093426495790482 + "score": -0.020655812695622444 } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Macro" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06340867280960083 - }, - "else": { - "operation": "boost", - "score": 0.1096707284450531 - } + "operation": "boost", + "score": -0.963269054889679 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.05849257856607437 - }, - "else": { - "operation": "boost", - "score": 0.1140109971165657 - } + "operation": "boost", + "score": 0.029230089858174324 }, "else": { "operation": "boost", - "score": 0.3009549081325531 + "score": -0.29439520835876465 } } }, "else": { "operation": "boost", - "score": 0.028677286580204964 + "score": 0.08773145079612732 } }, "else": { "operation": "boost", - "score": 0.07102930545806885 + "score": 0.06221161037683487 } }, "else": { - "operation": "boost", - "score": 0.04941555857658386 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.021425215527415276 + }, + "else": { + "operation": "boost", + "score": -0.028288112953305244 + } + }, + "else": { + "operation": "boost", + "score": -0.003273008856922388 + } } }, - "else": { - "operation": "boost", - "score": -0.1057472825050354 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46094.0, - "then": { - "operation": "boost", - "score": -0.02437111921608448 - }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, "then": { - "operation": "boost", - "score": 0.09592633694410324 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.12050057202577591 + "score": 0.027495307847857475 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "boost", - "score": 0.10428933799266815 + "score": 0.3678223788738251 }, "else": { "operation": "boost", - "score": 0.02632182091474533 + "score": -0.12876762449741364 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.13873206079006195 - }, - "else": { - "operation": "boost", - "score": -0.12919187545776367 - } + "operation": "boost", + "score": 0.013169505633413792 } - } - }, - "else": { - "operation": "boost", - "score": -0.15028971433639526 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.050893932580947876 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.07569621503353119 - }, - "else": { - "operation": "boost", - "score": 0.10627882927656174 - } - }, - "else": { - "operation": "boost", - "score": -0.11768745630979538 - } - }, - "else": { - "operation": "boost", - "score": 0.12014567106962204 - } - }, - "else": { - "operation": "boost", - "score": 0.06059421971440315 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00017533040954731405 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57410.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61318.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, - "then": { - "operation": "boost", - "score": 0.004652010276913643 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73859.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.08703722059726715 }, "else": { - "operation": "boost", - "score": 0.11745379865169525 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12089184671640396 + }, + "else": { + "operation": "boost", + "score": 0.001060498645529151 + } } }, "else": { "operation": "boost", - "score": 0.08361630141735077 + "score": -0.02540510706603527 } - }, - "else": { - "operation": "boost", - "score": -0.10999248176813126 } }, "else": { - "operation": "boost", - "score": -0.1388789713382721 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08524066209793091 + "score": -0.10699359327554703 }, "else": { "operation": "boost", - "score": 0.06431389600038528 + "score": -0.0064981915056705475 } }, "else": { "operation": "boost", - "score": -0.032425541430711746 + "score": -0.08878757059574127 } - }, - "else": { - "operation": "boost", - "score": -0.03432999923825264 } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Namespace", + "Operator" + ], + "then": { + "operation": "boost", + "score": 0.01546049490571022 + }, + "else": { + "operation": "boost", + "score": -0.02250467613339424 + } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11538337916135788 - }, - "else": { - "operation": "boost", - "score": 0.10971347242593765 - } + "operation": "boost", + "score": 0.028369508683681488 }, "else": { "operation": "boost", - "score": 0.12205076217651367 + "score": 0.007286466658115387 } }, "else": { - "operation": "boost", - "score": 0.14593325555324554 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 432212.0, + "then": { + "operation": "boost", + "score": 0.11608416587114334 + }, + "else": { + "operation": "boost", + "score": -0.0037945357616990805 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -1.5353137254714966 - }, - "else": { - "operation": "boost", - "score": 0.020786816254258156 - } + "operation": "boost", + "score": 0.008006243966519833 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": 0.0028881465550512075 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11229343712329865 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.008372673764824867 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08718075603246689 - }, - "else": { - "operation": "boost", - "score": 0.12761607766151428 - } - }, - "else": { - "operation": "boost", - "score": 0.0847851112484932 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, - "then": { - "operation": "boost", - "score": -0.7764049768447876 - }, - "else": { - "operation": "boost", - "score": 0.07182060927152634 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -6.986021995544434 - }, - "else": { - "operation": "boost", - "score": 0.0568409338593483 - } - } - } - } + "operation": "boost", + "score": -0.0020104157738387585 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.039038367569446564 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.12761887907981873 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.100342757999897 - }, - "else": { - "operation": "boost", - "score": 0.13354001939296722 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10748142749071121 - } - } + "operation": "boost", + "score": 0.009667964652180672 }, "else": { - "operation": "boost", - "score": -0.19386409223079681 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.0868106260895729 + "score": 0.003847751533612609 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.01898382045328617 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, + "feature": "FractionNameInContext", + "threshold": 0.2863636612892151, "then": { "operation": "boost", - "score": 0.10875410586595535 + "score": -0.008026424795389175 }, "else": { "operation": "boost", - "score": 0.09329473227262497 + "score": -7.0407304763793945 } + }, + "else": { + "operation": "boost", + "score": -0.130849227309227 } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.7520674467086792 - }, - "else": { - "operation": "boost", - "score": 0.07963547855615616 - } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11682417243719101 - }, - "else": { - "operation": "boost", - "score": 0.03925266116857529 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.13546112179756165 }, "else": { "operation": "boost", - "score": -0.020680787041783333 + "score": -0.019162192940711975 } } } } } - }, - "else": { - "operation": "boost", - "score": -0.05105435475707054 } }, "else": { + "operation": "boost", + "score": 0.00019438250456005335 + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.001424298039637506 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2396.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07955066859722137 - }, - "else": { - "operation": "boost", - "score": 0.129465714097023 - } - }, - "else": { - "operation": "boost", - "score": 0.0979628637433052 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.05147432163357735 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.14990685880184174 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.3740459382534027 - }, - "else": { - "operation": "boost", - "score": 4.051187515258789 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.06328748166561127 - }, - "else": { - "operation": "boost", - "score": 0.15015733242034912 - } - }, - "else": { - "operation": "boost", - "score": -0.10491697490215302 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.12919940054416656 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11157489567995071 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, - "then": { - "operation": "boost", - "score": 0.15892864763736725 - }, - "else": { - "operation": "boost", - "score": 0.10312923789024353 - } - }, - "else": { - "operation": "boost", - "score": 0.14960524439811707 - } - } - } - } - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2397.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45940.0, + "threshold": 5397.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 8200.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 8445.0, "then": { - "operation": "boost", - "score": -0.2525664269924164 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010578149929642677 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.013323524966835976 + }, + "else": { + "operation": "boost", + "score": -0.01616618037223816 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06757905334234238 + }, + "else": { + "operation": "boost", + "score": -0.20146392285823822 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205376.5, + "then": { + "operation": "boost", + "score": 0.032146524637937546 + }, + "else": { + "operation": "boost", + "score": 0.014987103641033173 + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51235.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 8347.5, "then": { - "operation": "boost", - "score": 0.07649464160203934 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": -0.10033552348613739 + }, + "else": { + "operation": "boost", + "score": 0.223653182387352 + } + }, + "else": { + "operation": "boost", + "score": -0.10189343243837357 + } + }, + "else": { + "operation": "boost", + "score": 0.31481093168258667 + } }, "else": { "operation": "boost", - "score": 0.14037805795669556 + "score": 0.17830395698547363 } }, "else": { "operation": "boost", - "score": -0.1288444548845291 + "score": 0.010154003277420998 } } }, "else": { - "operation": "boost", - "score": -0.17707262933254242 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.012202988378703594 + }, + "else": { + "operation": "boost", + "score": -0.09551037847995758 + } } }, "else": { "operation": "boost", - "score": -0.002822215436026454 + "score": -0.0178639218211174 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 5315.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_Statement", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1402774304151535 + "score": -0.10075896233320236 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10660528391599655 - }, - "else": { - "operation": "boost", - "score": 0.10722541064023972 - } + "operation": "boost", + "score": 0.11793170869350433 } }, "else": { "operation": "boost", - "score": 0.10433872044086456 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": 1.9874733686447144 - }, - "else": { - "operation": "boost", - "score": 0.07233064621686935 + "score": 0.09639054536819458 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, - "then": { - "operation": "boost", - "score": 0.0989314392209053 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50371.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 3432.5, "then": { - "operation": "boost", - "score": 0.024940049275755882 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3864.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 4094.0, "then": { - "operation": "boost", - "score": 0.11245232820510864 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4972.0, + "then": { + "operation": "boost", + "score": -0.009655253030359745 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4917.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.09477139264345169 + }, + "else": { + "operation": "boost", + "score": 0.13112927973270416 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4100.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.22438882291316986 + }, + "else": { + "operation": "boost", + "score": 0.156686469912529 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4565.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4751.0, + "then": { + "operation": "boost", + "score": -0.0007179211243055761 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.022776488214731216 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4629.5, + "then": { + "operation": "boost", + "score": 0.07806669175624847 + }, + "else": { + "operation": "boost", + "score": 0.12966518104076385 + } + }, + "else": { + "operation": "boost", + "score": 0.11105719208717346 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.036550045013427734 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.15471284091472626 + }, + "else": { + "operation": "boost", + "score": 0.0013326747575774789 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05290678143501282 + } + } + } }, "else": { "operation": "boost", - "score": 0.11674322187900543 + "score": -0.06585178524255753 } }, "else": { - "operation": "boost", - "score": 0.09506946057081223 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.07008079439401627 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10828143358230591 + "score": 0.14009234309196472 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 3527.0, + "then": { + "operation": "boost", + "score": 0.08722924441099167 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.1551651805639267 + }, + "else": { + "operation": "boost", + "score": 0.17572832107543945 + } + }, + "else": { + "operation": "boost", + "score": 0.10868111997842789 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.050107311457395554 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16390782594680786 + }, + "else": { + "operation": "boost", + "score": -0.25018584728240967 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.15537357330322266 + "score": 0.10215838253498077 }, "else": { "operation": "boost", - "score": 0.09330936521291733 + "score": 0.15297982096672058 } } }, "else": { "operation": "boost", - "score": -0.04703279957175255 + "score": 0.10043483227491379 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2501.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2586.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2785.5, + "then": { + "operation": "boost", + "score": -0.006022676359862089 + }, + "else": { + "operation": "boost", + "score": 0.06312263011932373 } }, "else": { "operation": "boost", - "score": 0.15227964520454407 + "score": -0.08732689917087555 } }, "else": { - "operation": "boost", - "score": 0.07166149467229843 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.148252934217453 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2481.0, "then": { "operation": "boost", - "score": 0.08111384510993958 + "score": 0.127282053232193 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.04381415247917175 + "score": 0.00650007463991642 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 2471.5, "then": { "operation": "boost", - "score": 0.1847732812166214 + "score": 0.11419027298688889 }, "else": { - "operation": "boost", - "score": 0.05911604315042496 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2421.0, + "then": { + "operation": "boost", + "score": 0.11266788095235825 + }, + "else": { + "operation": "boost", + "score": 0.1336616575717926 + } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00185683136805892 - }, - "else": { - "operation": "boost", - "score": 0.06278721988201141 - } } - }, - "else": { - "operation": "boost", - "score": -0.16091430187225342 } }, "else": { "operation": "boost", - "score": 0.10378964245319366 + "score": 0.14582201838493347 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08593820780515671 - }, - "else": { - "operation": "boost", - "score": 0.10799949616193771 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.1373944729566574 - }, - "else": { - "operation": "boost", - "score": 0.46745210886001587 - } - } + "operation": "boost", + "score": -0.06050194427371025 }, "else": { "operation": "boost", - "score": -0.13795490562915802 + "score": -0.0023377605248242617 } - }, - "else": { - "operation": "boost", - "score": -0.11195701360702515 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor" - ], - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 1280205.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.4735482633113861 - }, - "else": { - "operation": "boost", - "score": 0.12192407995462418 - } - }, - "else": { - "operation": "boost", - "score": -0.028749313205480576 - } - }, - "else": { - "operation": "boost", - "score": 0.10874810814857483 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.054599594324827194 - }, - "else": { - "operation": "boost", - "score": 0.11280345171689987 - } - }, - "else": { - "operation": "boost", - "score": 0.21769873797893524 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.025912538170814514 - }, - "else": { - "operation": "boost", - "score": 0.06705784797668457 - } - } + "operation": "boost", + "score": -0.07126197218894958 }, "else": { "operation": "boost", - "score": 0.04485302045941353 + "score": 0.030161846429109573 } }, "else": { - "operation": "boost", - "score": -0.10238359868526459 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46094.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13235.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50563.0, + "threshold": 13324.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16817.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 18769.5, "then": { - "operation": "boost", - "score": 0.013823915272951126 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 19345.0, "then": { - "operation": "boost", - "score": -0.11287268251180649 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27874.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29053.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29460.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30061.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32671.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34582.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { + "operation": "boost", + "score": -0.03215525671839714 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.12086441367864609 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.039391230791807175 + }, + "else": { + "operation": "boost", + "score": 0.09585598856210709 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0549299381673336 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35805.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41506.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76763.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87637.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.0, + "then": { + "operation": "boost", + "score": 0.05569455027580261 + }, + "else": { + "operation": "boost", + "score": -0.20857661962509155 + } + }, + "else": { + "operation": "boost", + "score": 0.08356720209121704 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.036568280309438705 + }, + "else": { + "operation": "boost", + "score": -0.26826030015945435 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07699470967054367 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59076.5, + "then": { + "operation": "boost", + "score": -0.0787549614906311 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, + "then": { + "operation": "boost", + "score": 0.07146653532981873 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51828.5, + "then": { + "operation": "boost", + "score": -0.2911071479320526 + }, + "else": { + "operation": "boost", + "score": 0.011288527399301529 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11415217071771622 + } + }, + "else": { + "operation": "boost", + "score": -0.22883881628513336 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33610.5, + "then": { + "operation": "boost", + "score": 0.046756528317928314 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.11127164214849472 + }, + "else": { + "operation": "boost", + "score": 0.1330050826072693 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.5516344904899597 + }, + "else": { + "operation": "boost", + "score": 0.0062875947915017605 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.45813247561454773 + }, + "else": { + "operation": "boost", + "score": -0.12629002332687378 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09719782322645187 + } + }, + "else": { + "operation": "boost", + "score": -0.39616864919662476 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28604.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.1620003879070282 + }, + "else": { + "operation": "boost", + "score": 0.1635686159133911 + } + }, + "else": { + "operation": "boost", + "score": 0.07815387845039368 + } + }, + "else": { + "operation": "boost", + "score": 0.027139395475387573 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20345.0, + "then": { + "operation": "boost", + "score": -0.07535776495933533 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.12158913165330887 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, + "then": { + "operation": "boost", + "score": -0.28540584444999695 + }, + "else": { + "operation": "boost", + "score": 0.06562275439500809 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19968.0, + "then": { + "operation": "boost", + "score": 0.04260384291410446 + }, + "else": { + "operation": "boost", + "score": -0.20758554339408875 + } + } + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 19203.5, "then": { - "operation": "boost", - "score": 0.12145405262708664 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.12706327438354492 + }, + "else": { + "operation": "boost", + "score": 0.16661019623279572 + } }, "else": { - "operation": "boost", - "score": 0.2272113412618637 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18885.0, + "then": { + "operation": "boost", + "score": -0.18262363970279694 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.11597904562950134 + }, + "else": { + "operation": "boost", + "score": -0.01277067419141531 + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.14406967163085938 } }, "else": { - "operation": "boost", - "score": -0.2061801254749298 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 13805.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 49850.5, + "threshold": 13884.5, "then": { - "operation": "boost", - "score": 0.10101586580276489 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46972.0, + "threshold": 16793.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.07654022425413132 + "score": 0.14321352541446686 }, "else": { "operation": "boost", - "score": -0.23720631003379822 + "score": -0.04325033724308014 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 15079.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 15565.0, "then": { - "operation": "boost", - "score": 0.054211776703596115 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16420.5, + "then": { + "operation": "boost", + "score": -0.1653883457183838 + }, + "else": { + "operation": "boost", + "score": 0.08203519135713577 + } }, "else": { "operation": "boost", - "score": 0.15102164447307587 + "score": -0.059744879603385925 } }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14845.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11915253847837448 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14962.0, + "then": { + "operation": "boost", + "score": 0.13298079371452332 + }, + "else": { + "operation": "boost", + "score": -0.13319674134254456 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00012432194489520043 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { "operation": "boost", - "score": -0.11489814519882202 + "score": 0.03663242980837822 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13842.0, + "then": { + "operation": "boost", + "score": 0.3380003571510315 + }, + "else": { + "operation": "boost", + "score": 0.10213132947683334 + } } + }, + "else": { + "operation": "boost", + "score": -0.03725532442331314 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.18900862336158752 - }, - "else": { - "operation": "boost", - "score": -0.0018304219702258706 - } + "operation": "boost", + "score": -0.035530418157577515 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.0, "then": { "operation": "boost", - "score": -0.5483795404434204 + "score": 0.2307373285293579 }, "else": { "operation": "boost", - "score": -0.1636817902326584 + "score": 0.22586886584758759 } + }, + "else": { + "operation": "boost", + "score": -0.11029400676488876 } } }, "else": { - "operation": "boost", - "score": -0.11290477961301804 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.09434407204389572 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7076.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7145.0, + "then": { + "operation": "boost", + "score": 0.04345818981528282 + }, + "else": { + "operation": "boost", + "score": 0.22944845259189606 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6592.0, + "then": { + "operation": "boost", + "score": -0.5982512831687927 + }, + "else": { + "operation": "boost", + "score": 0.003919155802577734 + } + } + }, + "else": { + "operation": "boost", + "score": -0.013002108782529831 + } }, "else": { "operation": "boost", - "score": 0.11169496178627014 + "score": -0.05251917243003845 } - }, - "else": { - "operation": "boost", - "score": -0.015342934057116508 } + }, + "else": { + "operation": "boost", + "score": -0.11734238266944885 } - }, - "else": { - "operation": "boost", - "score": -0.029774783179163933 } } + }, + "else": { + "operation": "boost", + "score": 0.11587418615818024 } + }, + "else": { + "operation": "boost", + "score": 0.008145561441779137 } + }, + "else": { + "operation": "boost", + "score": -0.0003427371848374605 } - }, - "else": { - "operation": "boost", - "score": -0.0001784097112249583 } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.0025088773109018803 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07707984745502472 - }, - "else": { - "operation": "boost", - "score": 0.1237017810344696 - } - }, - "else": { - "operation": "boost", - "score": 0.08564302325248718 - } - }, - "else": { - "operation": "boost", - "score": 0.11300083994865417 - } + "operation": "boost", + "score": 0.016761943697929382 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.04623691737651825 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.14119671285152435 - }, - "else": { - "operation": "boost", - "score": 0.28811630606651306 - } - }, - "else": { - "operation": "boost", - "score": 0.0755339190363884 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10461778193712234 - } + "operation": "boost", + "score": 0.042243070900440216 } }, "else": { + "operation": "boost", + "score": 0.0066510653123259544 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.12931962311267853 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.1109347864985466 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.1505088210105896 + "score": 0.027996502816677094 }, "else": { - "operation": "boost", - "score": 0.09360408782958984 - } - }, - "else": { - "operation": "boost", - "score": 0.10028702765703201 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "boost", - "score": -0.2868068218231201 + "score": -0.04400177672505379 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.07229796051979065 + "score": 0.13467256724834442 }, "else": { - "operation": "boost", - "score": 0.11997708678245544 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.10039757192134857 + }, + "else": { + "operation": "boost", + "score": 0.14356133341789246 + } } }, "else": { "operation": "boost", - "score": -0.1012093722820282 + "score": 0.07677490264177322 } } - }, - "else": { - "operation": "boost", - "score": -0.174350768327713 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, "then": { "operation": "boost", - "score": -0.0045111277140676975 + "score": -0.03940398991107941 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.13882383704185486 + "score": -0.15064765512943268 }, "else": { "operation": "boost", - "score": 0.1046372577548027 + "score": -0.6606543064117432 } }, "else": { - "operation": "boost", - "score": 0.10394002497196198 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0033736564218997955 + }, + "else": { + "operation": "boost", + "score": -0.8177648782730103 + } + }, + "else": { + "operation": "boost", + "score": -0.021054374054074287 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.32017946243286133 + "score": 0.03299345076084137 }, "else": { - "operation": "boost", - "score": 0.062303245067596436 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.027973970398306847 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.002690085442736745 + }, + "else": { + "operation": "boost", + "score": -0.029241040349006653 + } + } } } } @@ -292214,1849 +291020,1426 @@ }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.10371602326631546 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "boost", + "score": -0.01576012186706066 + }, + "else": { + "operation": "boost", + "score": -0.7118356823921204 + } }, "else": { - "operation": "boost", - "score": -0.23192457854747772 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.02292700670659542 + }, + "else": { + "operation": "boost", + "score": -0.14917245507240295 + } + }, + "else": { + "operation": "boost", + "score": 0.022038957104086876 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.02331049181520939 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "boost", + "score": 0.020652292296290398 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.07118792086839676 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.19098521769046783 + }, + "else": { + "operation": "boost", + "score": 0.16739048063755035 + } + }, + "else": { + "operation": "boost", + "score": 0.034705471247434616 + } }, "else": { + "operation": "boost", + "score": -0.013584508560597897 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.0, "then": { "operation": "boost", - "score": 0.035152729600667953 + "score": 0.1219634860754013 }, "else": { "operation": "boost", - "score": 0.06399407237768173 + "score": 0.25759631395339966 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "boost", + "score": 0.03392840921878815 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.012564141303300858 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.04538140073418617 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.25192469358444214 + }, + "else": { + "operation": "boost", + "score": -0.03130703046917915 + } + }, + "else": { + "operation": "boost", + "score": 0.010968301445245743 + } + } + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": 0.07766610383987427 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.0016451382543891668 + "score": -0.025998856872320175 }, "else": { "operation": "boost", - "score": 0.06294160336256027 + "score": 0.16898994147777557 } } - }, - "else": { - "operation": "boost", - "score": 0.10676082968711853 } }, "else": { "operation": "boost", - "score": 0.1190202385187149 + "score": 0.06798003613948822 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.08367250114679337 + "score": 0.004226201679557562 }, "else": { "operation": "boost", - "score": 0.10788735747337341 + "score": 0.01991972140967846 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { - "operation": "boost", - "score": 0.13577619194984436 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.29634934663772583 + }, + "else": { + "operation": "boost", + "score": -0.03189654275774956 + } }, "else": { "operation": "boost", - "score": 0.3700982928276062 + "score": -0.003060518065467477 } } - }, - "else": { - "operation": "boost", - "score": -0.13102716207504272 } - }, - "else": { - "operation": "boost", - "score": -0.10467901080846786 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, "then": { + "operation": "boost", + "score": -0.012101301923394203 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumNameInContext", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.08992621302604675 + "score": -0.01636001281440258 }, "else": { "operation": "boost", - "score": 0.040841713547706604 + "score": 0.13127565383911133 } - }, - "else": { - "operation": "boost", - "score": -0.09923283755779266 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46094.0, + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50563.0, + "threshold": 294.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 332.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.01861785352230072 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 712.0, "then": { "operation": "boost", - "score": -0.11156768351793289 + "score": 0.043758392333984375 }, "else": { "operation": "boost", - "score": 0.11745845526456833 + "score": 0.11434526741504669 } + }, + "else": { + "operation": "boost", + "score": -0.11193759739398956 } }, "else": { "operation": "boost", - "score": -0.19768323004245758 + "score": 0.12211597710847855 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 49850.5, + "threshold": 50.5, "then": { "operation": "boost", - "score": 0.0987117812037468 + "score": 0.11548103392124176 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46972.0, - "then": { - "operation": "boost", - "score": -0.03774164989590645 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.050808098167181015 - }, - "else": { - "operation": "boost", - "score": 0.13150231540203094 - } - }, - "else": { - "operation": "boost", - "score": -0.10423970222473145 - } - } + "operation": "boost", + "score": 0.036711689084768295 } }, "else": { "operation": "boost", - "score": 0.035481639206409454 + "score": 0.0011163550661876798 } }, "else": { "operation": "boost", - "score": -0.1913919299840927 + "score": -0.107187919318676 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45617.0, + "threshold": 8769.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.0926065444946289 + "score": 0.23654349148273468 }, "else": { "operation": "boost", - "score": 0.1084149181842804 + "score": 0.05325585603713989 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4860.5, "then": { + "operation": "boost", + "score": -0.11600128561258316 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 363.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 415.5, "then": { "operation": "boost", - "score": 0.07141455262899399 + "score": 0.02662748284637928 }, "else": { - "operation": "boost", - "score": 0.0901193767786026 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.034020159393548965 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 398.5, + "then": { + "operation": "boost", + "score": 0.12623871862888336 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.037383630871772766 + }, + "else": { + "operation": "boost", + "score": 0.10954996198415756 + } + } + } } }, "else": { "operation": "boost", - "score": -0.04223497584462166 + "score": 0.014859075658023357 } - }, - "else": { - "operation": "boost", - "score": -0.20336401462554932 } } } }, "else": { - "operation": "boost", - "score": -0.10232371091842651 - } - }, - "else": { - "operation": "boost", - "score": -0.025350017473101616 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.03390425816178322 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05806632712483406 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.08882758021354675 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.17142857611179352, "then": { "operation": "boost", - "score": 0.062032002955675125 + "score": 0.13993403315544128 }, "else": { "operation": "boost", - "score": 0.08508305996656418 + "score": -0.007692300248891115 } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0078915199264884 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": 0.004106199834495783 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.1114841029047966 - }, - "else": { - "operation": "boost", - "score": 0.128191739320755 - } + "operation": "boost", + "score": -0.2867049276828766 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.038851380348205566 + "score": -0.061085741966962814 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.14768265187740326 - }, - "else": { - "operation": "boost", - "score": -0.1556587517261505 - } - }, - "else": { - "operation": "boost", - "score": 0.04983769357204437 - } - }, - "else": { - "operation": "boost", - "score": -0.0037963639479130507 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.21291767060756683 + "score": 0.17913556098937988 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.0034490376710891724 + "score": -0.22337552905082703 }, "else": { "operation": "boost", - "score": 0.09964624047279358 + "score": 0.17922407388687134 } }, "else": { "operation": "boost", - "score": -0.10337429493665695 + "score": -0.057575371116399765 } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.14415332674980164 - }, - "else": { - "operation": "boost", - "score": -0.0711580440402031 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011603347025811672 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2880.5, - "then": { - "operation": "boost", - "score": -0.042001236230134964 - }, - "else": { - "operation": "boost", - "score": 0.08346503227949142 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10188090056180954 - } - }, - "else": { - "operation": "boost", - "score": -0.051212914288043976 } } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "boost", + "score": -0.00960214901715517 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.0, "then": { + "operation": "boost", + "score": 0.13462136685848236 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.11736910045146942 + "score": -0.2238750457763672 }, "else": { - "operation": "boost", - "score": 0.025244319811463356 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4065934121608734, + "then": { + "operation": "boost", + "score": 0.2263505607843399 + }, + "else": { + "operation": "boost", + "score": 0.0933539867401123 + } } }, "else": { - "operation": "boost", - "score": 0.13949540257453918 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06155204027891159 + }, + "else": { + "operation": "boost", + "score": -0.12284883111715317 + } } }, "else": { - "operation": "boost", - "score": 0.024430034682154655 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.42121633887290955 + }, + "else": { + "operation": "boost", + "score": -0.15522056818008423 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6931818127632141, + "then": { + "operation": "boost", + "score": 0.19227783381938934 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.0007593804621137679 + "score": 0.07031866908073425 }, "else": { "operation": "boost", - "score": -0.10931634902954102 + "score": 0.13423453271389008 } } - }, - "else": { - "operation": "boost", - "score": 0.0656266063451767 } }, "else": { - "operation": "boost", - "score": 0.020495561882853508 - } - }, - "else": { - "operation": "boost", - "score": -0.01274182554334402 - } - }, - "else": { - "operation": "boost", - "score": 0.02636006474494934 - } - }, - "else": { - "operation": "boost", - "score": -0.019442081451416016 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 426.5, - "then": { - "operation": "boost", - "score": 0.024279223755002022 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07326837629079819 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { - "operation": "boost", - "score": -0.079692043364048 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "boost", + "score": 0.010052516125142574 + }, + "else": { + "operation": "boost", + "score": 0.12689325213432312 + } + }, + "else": { + "operation": "boost", + "score": 0.1515788733959198 + } }, "else": { "operation": "boost", - "score": 0.10312933474779129 + "score": -0.026994189247488976 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0786970779299736 }, "else": { "operation": "boost", - "score": -0.4010354280471802 + "score": -0.06305299699306488 } } - } - }, - "else": { - "operation": "boost", - "score": -0.038596611469984055 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.025860577821731567 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.005988071672618389 + "score": -0.06432821601629257 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12699712812900543 + "score": -0.031045766547322273 }, "else": { - "operation": "boost", - "score": 0.06899964809417725 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.10645414888858795 + }, + "else": { + "operation": "boost", + "score": -1.8488991260528564 + } + }, + "else": { + "operation": "boost", + "score": -0.00919303297996521 + } + }, + "else": { + "operation": "boost", + "score": 0.06614407896995544 + } } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.035160914063453674 - }, - "else": { - "operation": "boost", - "score": -0.10288263112306595 - } - }, - "else": { - "operation": "boost", - "score": -0.021366465836763382 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.11399231851100922 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.06699591130018234 + "score": 0.14197291433811188 }, "else": { "operation": "boost", - "score": 0.10614235699176788 + "score": -0.07121063768863678 } }, "else": { - "operation": "boost", - "score": -0.003748284885659814 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.3673512041568756 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.2268056571483612 + }, + "else": { + "operation": "boost", + "score": 0.05861598625779152 + } + }, + "else": { + "operation": "boost", + "score": 0.018067626282572746 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07594712823629379 + } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03476792946457863 - }, - "else": { - "operation": "boost", - "score": -0.10725698620080948 - } + "operation": "boost", + "score": 0.05588735640048981 } - }, - "else": { - "operation": "boost", - "score": -0.8604269623756409 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2325.0, + "threshold": 23.5, "then": { - "operation": "boost", - "score": -0.0951065719127655 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.08630499243736267 + }, + "else": { + "operation": "boost", + "score": -2.334617853164673 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 382.0, + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.0960458517074585 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.10841409116983414 + "score": -0.006432475056499243 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.5, - "then": { - "operation": "boost", - "score": -0.31901994347572327 - }, - "else": { - "operation": "boost", - "score": 0.0661940947175026 - } + "operation": "boost", + "score": 0.09393750876188278 } + }, + "else": { + "operation": "boost", + "score": 0.0027278230991214514 } } } - }, - "else": { - "operation": "boost", - "score": -0.053366903215646744 } } } } - }, - "else": { - "operation": "boost", - "score": -0.0007171322358772159 } }, "else": { - "operation": "boost", - "score": -0.0020938694942742586 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, - "then": { - "operation": "boost", - "score": 0.0024762488901615143 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52191.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52893.5, + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": 0.025451533496379852 + }, + "else": { + "operation": "boost", + "score": 0.009986631572246552 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04937702789902687 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.11228322237730026 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.15906639397144318 - }, - "else": { - "operation": "boost", - "score": 0.1165936216711998 - } - } - } + "operation": "boost", + "score": 0.08219082653522491 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53793.5, - "then": { - "operation": "boost", - "score": -0.23334987461566925 - }, - "else": { - "operation": "boost", - "score": 0.08607526868581772 - } + "operation": "boost", + "score": 0.12393384426832199 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0844583660364151 - }, - "else": { - "operation": "boost", - "score": 0.06616829335689545 - } + "operation": "boost", + "score": -0.008326399140059948 }, "else": { "operation": "boost", - "score": -0.12071814388036728 + "score": 0.06959941238164902 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.031243404373526573 + "score": 0.0998588502407074 }, "else": { + "operation": "boost", + "score": -0.036956798285245895 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7126.0, + "then": { + "operation": "boost", + "score": -0.15128396451473236 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9285714626312256, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.00396716920658946 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10893280804157257 + "score": -0.3253145217895508 }, "else": { "operation": "boost", - "score": 0.11351688951253891 + "score": -0.08138682693243027 } - }, - "else": { - "operation": "boost", - "score": 0.09252933412790298 } }, "else": { "operation": "boost", - "score": -0.10174600780010223 + "score": 0.02201133593916893 } + }, + "else": { + "operation": "boost", + "score": -0.30017155408859253 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.10913858562707901 + "score": 0.02590089850127697 }, "else": { "operation": "boost", - "score": -0.2684631943702698 + "score": -0.0025835814885795116 } - }, - "else": { - "operation": "boost", - "score": 0.04845018312335014 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + } + } + }, + "else": { + "operation": "boost", + "score": -0.00014565260789822787 + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.11246698349714279 + "score": -0.19097135961055756 }, "else": { + "operation": "boost", + "score": -0.05306994169950485 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.5982142686843872, "then": { + "operation": "boost", + "score": -0.07421154528856277 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10006517171859741 + "score": 0.0682876780629158 }, "else": { - "operation": "boost", - "score": 0.14829295873641968 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08151865005493164 - }, - "else": { - "operation": "boost", - "score": 0.1096639558672905 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.13209940493106842 - }, - "else": { - "operation": "boost", - "score": 0.2612631618976593 - } - } + "operation": "boost", + "score": 0.12589839100837708 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "boost", - "score": 0.004301621578633785 + "score": -0.12299036234617233 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.11047748476266861 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1142498180270195 - }, - "else": { - "operation": "boost", - "score": -0.11820590496063232 - } - } + "operation": "boost", + "score": 0.08150483667850494 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09685681015253067 - }, - "else": { - "operation": "boost", - "score": -0.11555061489343643 - } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.031858544796705246 + "score": -0.31188902258872986 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.1049414649605751 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.011272563599050045 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03313888609409332 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.05186571180820465 - }, - "else": { - "operation": "boost", - "score": 0.06547456234693527 - } - }, - "else": { - "operation": "boost", - "score": -0.10094743967056274 - } - } - } - } + "operation": "boost", + "score": -0.3117418885231018 }, "else": { "operation": "boost", - "score": 0.02421341836452484 + "score": 0.11903754621744156 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "boost", + "score": -0.0722692459821701 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46972.0, + "feature": "FractionNameInContext", + "threshold": 0.38181817531585693, "then": { "operation": "boost", - "score": -0.2388119399547577 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09830786287784576 - }, - "else": { - "operation": "boost", - "score": -0.2629566788673401 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.3873385190963745 - }, - "else": { - "operation": "boost", - "score": -0.022557176649570465 - } - }, - "else": { - "operation": "boost", - "score": 0.1121138408780098 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0678257867693901 - }, - "else": { - "operation": "boost", - "score": 0.08780355006456375 - } - }, - "else": { - "operation": "boost", - "score": -0.15896688401699066 - } - } - }, - "else": { - "operation": "boost", - "score": -0.17286764085292816 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10148660838603973 - }, - "else": { - "operation": "boost", - "score": 0.07658649235963821 - } - }, - "else": { - "operation": "boost", - "score": -0.022603441029787064 - } - }, - "else": { - "operation": "boost", - "score": -0.059975601732730865 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0931411013007164 - }, - "else": { - "operation": "boost", - "score": 0.10221483558416367 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47841.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.029418662190437317 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": -0.11542519927024841 - }, - "else": { - "operation": "boost", - "score": 0.09776361286640167 - } - } + "score": 0.055116210132837296 }, "else": { "operation": "boost", - "score": 0.015040401369333267 + "score": 0.09410201013088226 } }, "else": { "operation": "boost", - "score": -0.028411677107214928 + "score": -0.16894470155239105 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45618.0, + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "boost", - "score": -0.28125059604644775 + "score": 0.003520180704072118 }, "else": { "operation": "boost", - "score": 0.06294083595275879 + "score": -0.18921582400798798 } }, "else": { "operation": "boost", - "score": -0.21939319372177124 + "score": 0.038685645908117294 } - }, - "else": { - "operation": "boost", - "score": 0.01572791486978531 } } } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { + "operation": "boost", + "score": 0.06050966680049896 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.14924325048923492 + "score": 0.06824678182601929 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08163640648126602 + "score": -0.02309909090399742 }, "else": { "operation": "boost", - "score": -0.1355830878019333 + "score": -0.11099335551261902 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01374448649585247 + }, + "else": { + "operation": "boost", + "score": 0.005069504026323557 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0007693638908676803 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.0009566816152073443 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.004539038520306349 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2234.0, + "then": { + "operation": "boost", + "score": 0.02301556058228016 + }, + "else": { + "operation": "boost", + "score": -0.01777484081685543 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0057458942756056786 + }, + "else": { + "operation": "boost", + "score": -0.12587980926036835 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.027053387835621834 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.13839493691921234 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.09318668395280838 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.01976037584245205 + }, + "else": { + "operation": "boost", + "score": 0.09175543487071991 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09786312282085419 + }, + "else": { + "operation": "boost", + "score": 0.0038376119919121265 + } + } }, "else": { - "operation": "boost", - "score": -0.21535570919513702 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.008108402602374554 + }, + "else": { + "operation": "boost", + "score": -0.10283182561397552 + } } + }, + "else": { + "operation": "boost", + "score": 0.03474026545882225 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05986829102039337 + "score": -0.036018241196870804 }, "else": { "operation": "boost", - "score": 0.10106601566076279 + "score": 0.06397317349910736 } }, "else": { - "operation": "boost", - "score": 0.11529373377561569 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": 0.04495181143283844 + }, + "else": { + "operation": "boost", + "score": -0.03113177791237831 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.0039760032668709755 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71608.5, + "then": { + "operation": "boost", + "score": 0.1824890375137329 }, "else": { "operation": "boost", - "score": -0.06392844021320343 + "score": -0.04719759151339531 } } } @@ -294064,546 +292447,930 @@ }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0009065884514711797 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_UnionTag", - "CCC_Symbol" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.018470117822289467 + "score": -0.4698115885257721 }, "else": { "operation": "boost", - "score": 0.00531742861494422 + "score": -0.19409850239753723 } }, "else": { + "operation": "boost", + "score": -0.07361036539077759 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.002963850973173976 + "score": 0.03732950612902641 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Constructor", - "Namespace" - ], + "operation": "boost", + "score": -0.0318160243332386 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.026526866480708122 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03189212828874588 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.04491439834237099 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06831411272287369 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05075547844171524 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.05376245453953743 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05482763424515724 - }, - "else": { - "operation": "boost", - "score": 0.11072346568107605 - } - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.025161609053611755 - } - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 272339.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.01191626861691475 - }, - "else": { - "operation": "boost", - "score": -0.8378230929374695 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05990159884095192 - }, - "else": { - "operation": "boost", - "score": -0.1963401734828949 - } - } + "operation": "boost", + "score": 0.015306545421481133 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.099054254591465 - }, - "else": { - "operation": "boost", - "score": 0.015265372581779957 - } - }, - "else": { - "operation": "boost", - "score": -0.07144612818956375 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.054296303540468216 - }, - "else": { - "operation": "boost", - "score": 0.10771392285823822 - } - } + "operation": "boost", + "score": 0.06719866394996643 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0033702098298817873 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10125155001878738 - }, - "else": { - "operation": "boost", - "score": 0.07628054916858673 - } - } + "operation": "boost", + "score": -0.004695728421211243 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.21666662395000458 + "score": 0.01998378522694111 }, "else": { "operation": "boost", - "score": 0.0730644017457962 + "score": 0.05974849686026573 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10170945525169373 - }, - "else": { - "operation": "boost", - "score": 0.04137731343507767 - } - }, - "else": { - "operation": "boost", - "score": -0.2969943881034851 - } + "operation": "boost", + "score": -0.00822021160274744 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.09336747974157333 + "score": 0.03334979712963104 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10094273835420609 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03177500516176224 - }, - "else": { - "operation": "boost", - "score": 0.10537619888782501 - } - }, - "else": { - "operation": "boost", - "score": -0.2989765405654907 - } - } + "operation": "boost", + "score": -0.03799315169453621 } } }, "else": { - "operation": "boost", - "score": -0.059991154819726944 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07791754603385925 - }, - "else": { - "operation": "boost", - "score": 0.10452084988355637 - } + "operation": "boost", + "score": -0.062694251537323 }, "else": { "operation": "boost", - "score": 0.05040108785033226 + "score": 0.06684665381908417 } }, "else": { "operation": "boost", - "score": 0.016338763758540154 + "score": 0.020040661096572876 } }, "else": { + "operation": "boost", + "score": 0.01821235939860344 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "boost", + "score": 0.1367885023355484 + }, + "else": { + "operation": "boost", + "score": -0.022914614528417587 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11166251450777054 - }, - "else": { - "operation": "boost", - "score": -0.014916523359715939 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.04290100932121277 + "score": -0.16217255592346191 }, "else": { "operation": "boost", - "score": -0.01510439533740282 + "score": 0.03434860706329346 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07215309143066406 - }, - "else": { - "operation": "boost", - "score": -0.04347705841064453 - } + "operation": "boost", + "score": 0.04556003585457802 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "boost", - "score": -0.13552676141262054 + "score": -0.06434717029333115 }, "else": { - "operation": "boost", - "score": -0.009353257715702057 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": 0.08037745952606201 + }, + "else": { + "operation": "boost", + "score": 0.03565562888979912 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.04831327125430107 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.06133405491709709 + }, + "else": { + "operation": "boost", + "score": 0.12593522667884827 + } + }, + "else": { + "operation": "boost", + "score": 0.02539801225066185 + } + } + } } } } + }, + "else": { + "operation": "boost", + "score": -0.10515747219324112 } }, "else": { - "operation": "boost", - "score": 0.008759884163737297 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.03249618038535118 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9285714626312256, + "then": { + "operation": "boost", + "score": 0.10365908592939377 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "boost", + "score": 0.0205735694617033 + }, + "else": { + "operation": "boost", + "score": -0.154652938246727 + } + }, + "else": { + "operation": "boost", + "score": 0.030171891674399376 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007087789010256529 + } + }, + "else": { + "operation": "boost", + "score": -0.10478688776493073 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.0195343978703022 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.045815609395504 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8888888955116272, + "then": { + "operation": "boost", + "score": -0.46564728021621704 + }, + "else": { + "operation": "boost", + "score": 0.02107827551662922 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.036691825836896896 + }, + "else": { + "operation": "boost", + "score": 0.08872316777706146 + } + }, + "else": { + "operation": "boost", + "score": -0.001314240973442793 + } + }, + "else": { + "operation": "boost", + "score": -0.014796852134168148 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.09599999338388443 + }, + "else": { + "operation": "boost", + "score": -0.09652026742696762 + } + }, + "else": { + "operation": "boost", + "score": -0.01248097326606512 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.22859834134578705 + }, + "else": { + "operation": "boost", + "score": 0.05262508988380432 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.18595875799655914 + }, + "else": { + "operation": "boost", + "score": -0.03739553689956665 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.0666014701128006 + }, + "else": { + "operation": "boost", + "score": 0.005093300249427557 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.002612990327179432 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 882.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2471.0, + "then": { + "operation": "boost", + "score": 0.06913898140192032 + }, + "else": { + "operation": "boost", + "score": 0.13559606671333313 + } + }, + "else": { + "operation": "boost", + "score": 0.07980038225650787 + } + }, + "else": { + "operation": "boost", + "score": -0.03900943696498871 + } + }, + "else": { + "operation": "boost", + "score": -0.0002716723829507828 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12304327636957169 + }, + "else": { + "operation": "boost", + "score": 0.034550610929727554 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 943.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 954.5, + "then": { + "operation": "boost", + "score": 0.01548346970230341 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 952.5, + "then": { + "operation": "boost", + "score": 0.18322046101093292 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 948.0, + "then": { + "operation": "boost", + "score": -0.1390133798122406 + }, + "else": { + "operation": "boost", + "score": 0.10147099941968918 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019075820222496986 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.03198067843914032 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.09941305965185165 + }, + "else": { + "operation": "boost", + "score": 0.057631660252809525 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03545185551047325 + } + }, + "else": { + "operation": "boost", + "score": -0.001678325468674302 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.013391693122684956 + "score": 0.6586479544639587 }, "else": { "operation": "boost", - "score": -0.2549056112766266 + "score": 0.3106181025505066 } + }, + "else": { + "operation": "boost", + "score": 0.02041831612586975 } + }, + "else": { + "operation": "boost", + "score": -0.009163454174995422 } } } }, "else": { "operation": "boost", - "score": -0.08257732540369034 + "score": -0.020449763163924217 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 458944.5, + "then": { + "operation": "boost", + "score": 0.08188340067863464 }, "else": { "operation": "boost", - "score": -0.008827724494040012 + "score": 0.005004150792956352 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.00555049953982234 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.01600510999560356 + }, + "else": { + "operation": "boost", + "score": 0.0017189803766086698 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.005012028850615025 + }, + "else": { + "operation": "boost", + "score": -0.000916011689696461 + } + } } } } @@ -294612,403 +293379,436 @@ } }, { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0021298343781381845 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52191.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.016069352626800537 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { + "operation": "boost", + "score": 0.11173947900533676 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.0, "then": { - "operation": "boost", - "score": 0.04699995741248131 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.10646212100982666 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.07018791139125824 + }, + "else": { + "operation": "boost", + "score": 0.10723060369491577 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.0, "then": { "operation": "boost", - "score": 0.1253780871629715 + "score": 0.10878775268793106 }, "else": { "operation": "boost", - "score": 0.1129627525806427 + "score": 0.02224036119878292 } } + }, + "else": { + "operation": "boost", + "score": -0.6405038237571716 } + } + } + }, + "else": { + "operation": "boost", + "score": 0.005768056493252516 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.126866415143013 }, "else": { "operation": "boost", - "score": -0.051896460354328156 + "score": -0.030954455956816673 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52893.5, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0606209971010685 + "score": 0.09147374331951141 }, "else": { "operation": "boost", - "score": -0.09993122518062592 + "score": 0.006286268122494221 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.02104800008237362 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.1070016399025917 - }, - "else": { - "operation": "boost", - "score": 0.11197250336408615 - } - }, - "else": { - "operation": "boost", - "score": 0.0909932404756546 - } - }, - "else": { - "operation": "boost", - "score": -0.10133535414934158 - } - } + "operation": "boost", + "score": -0.06593437492847443 } } }, "else": { + "operation": "boost", + "score": -0.16027575731277466 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3722943663597107, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.4780219793319702, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, "then": { - "operation": "boost", - "score": 0.10837358981370926 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12584461271762848 + }, + "else": { + "operation": "boost", + "score": 0.11846151202917099 + } }, "else": { "operation": "boost", - "score": -0.22446170449256897 + "score": 0.00947555247694254 } }, "else": { "operation": "boost", - "score": 0.050039779394865036 + "score": 0.10543958842754364 } + }, + "else": { + "operation": "boost", + "score": -0.1175939291715622 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "Namespace" ], "then": { + "operation": "boost", + "score": 0.0274175014346838 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, + "feature": "FractionNameInContext", + "threshold": 0.5192307829856873, "then": { - "operation": "boost", - "score": -0.11130452156066895 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1000591292977333 - }, - "else": { - "operation": "boost", - "score": 0.14473600685596466 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07893981039524078 - }, - "else": { - "operation": "boost", - "score": 0.1098533496260643 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.1295604705810547 - }, - "else": { - "operation": "boost", - "score": 0.12425052374601364 - } - } + "operation": "boost", + "score": 0.08275974541902542 }, "else": { "operation": "boost", - "score": -0.26286348700523376 + "score": 0.11881951987743378 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_Statement", + "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.062369950115680695 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.017741011455655098 + "score": 0.10395807772874832 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.10933378338813782 - }, - "else": { - "operation": "boost", - "score": 0.11006833612918854 - } + "operation": "boost", + "score": -0.06148221716284752 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.341708779335022 + }, + "else": { + "operation": "boost", + "score": 0.02006513439118862 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.09472520649433136 + "score": 0.059805311262607574 }, "else": { "operation": "boost", - "score": -0.10218559950590134 + "score": 0.10017135739326477 } } + }, + "else": { + "operation": "boost", + "score": -0.15886029601097107 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { - "operation": "boost", - "score": -0.02796274796128273 - }, - "else": { - "operation": "boost", - "score": 0.031612787395715714 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Expression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.13953116536140442 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.043490976095199585 + }, + "else": { + "operation": "boost", + "score": 0.03245511278510094 + } }, "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09664233773946762 + }, + "else": { + "operation": "boost", + "score": -0.0023458204232156277 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.0757497251033783 + "score": 0.005949998740106821 }, "else": { "operation": "boost", - "score": -0.12911589443683624 + "score": -0.1474505513906479 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.09909836947917938 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.053832877427339554 + "score": -0.022749921306967735 }, "else": { "operation": "boost", - "score": 0.09894530475139618 + "score": -0.13700830936431885 } }, "else": { - "operation": "boost", - "score": 0.11469823867082596 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.10421282798051834 + }, + "else": { + "operation": "boost", + "score": -0.14511673152446747 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.003234793432056904 } }, "else": { "operation": "boost", - "score": -0.0560782290995121 + "score": 0.0024254960007965565 } } } @@ -295016,661 +293816,507 @@ }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 31.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": 0.0004489492566790432 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.005849302746355534 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 4812.0, "then": { "operation": "boost", - "score": -0.030620109289884567 + "score": -1.7572919130325317 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.05226927250623703 + "score": 0.06201707944273949 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.05003878474235535 - }, - "else": { - "operation": "boost", - "score": 0.0785905197262764 - } + "operation": "boost", + "score": -0.06275684386491776 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": -0.007542268838733435 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.012290406972169876 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.01888909935951233 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { "operation": "boost", - "score": -0.08468936383724213 + "score": -0.04852517321705818 }, "else": { "operation": "boost", - "score": -0.016451891511678696 + "score": 0.001931900973431766 } }, "else": { "operation": "boost", - "score": -0.015063953585922718 + "score": -0.11859222501516342 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.05199561268091202 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.11574782431125641 + "score": 0.026684341952204704 }, "else": { - "operation": "boost", - "score": -0.15115578472614288 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.0, + "then": { + "operation": "boost", + "score": 0.1191338300704956 + }, + "else": { + "operation": "boost", + "score": 0.09714923053979874 + } + }, + "else": { + "operation": "boost", + "score": 0.07146166265010834 + } } }, "else": { - "operation": "boost", - "score": 0.0024275665637105703 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.011122805997729301 + }, + "else": { + "operation": "boost", + "score": -0.0061476221308112144 + } } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.019728554412722588 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.020172150805592537 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.0956818088889122 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.010537962429225445 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.07195115834474564 + "score": -0.042494118213653564 }, "else": { "operation": "boost", - "score": 0.04714867100119591 + "score": -0.7990759611129761 } + }, + "else": { + "operation": "boost", + "score": 0.004007006995379925 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, + "then": { + "operation": "boost", + "score": 0.1233164593577385 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.016644541174173355 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.0966123566031456 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "boost", + "score": -0.03627915307879448 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.30623140931129456 + }, + "else": { + "operation": "boost", + "score": 0.10978518426418304 + } + } + } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.040111470967531204 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.12529560923576355 + }, + "else": { + "operation": "boost", + "score": 0.12809839844703674 + } + }, + "else": { + "operation": "boost", + "score": -0.10087589919567108 + } }, "else": { "operation": "boost", - "score": -0.03425687551498413 + "score": 0.07268539816141129 } } } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.10836916416883469 - }, - "else": { - "operation": "boost", - "score": 0.08000630140304565 - } - }, - "else": { - "operation": "boost", - "score": 0.006203519646078348 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.02707890421152115 - }, - "else": { - "operation": "boost", - "score": -0.4405210614204407 - } - } + "operation": "boost", + "score": -0.05705644562840462 } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.1433713734149933 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.08946972340345383 + "score": 0.1356637179851532 }, "else": { "operation": "boost", - "score": 0.014945494942367077 + "score": 0.12097529321908951 } - }, - "else": { - "operation": "boost", - "score": -0.06416908651590347 } }, "else": { "operation": "boost", - "score": -0.013301610015332699 + "score": -0.017143461853265762 } } + }, + "else": { + "operation": "boost", + "score": -0.008316421881318092 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "boost", + "score": 0.08993998914957047 + }, + "else": { + "operation": "boost", + "score": 0.019410137087106705 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.018479792401194572 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.21458065509796143 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.03553083911538124 + "score": 0.11081758886575699 }, "else": { "operation": "boost", - "score": 0.15297438204288483 + "score": 0.05447147786617279 } }, "else": { "operation": "boost", - "score": -0.024479741230607033 + "score": -0.015414971858263016 } + }, + "else": { + "operation": "boost", + "score": -0.09576379507780075 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.0027551574166864157 + "score": 0.08766436576843262 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1304665356874466 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.12330363690853119 - }, - "else": { - "operation": "boost", - "score": 0.09681470692157745 - } - } + "operation": "boost", + "score": -0.07576968520879745 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ParenthesizedExpression" ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11886945366859436 - }, - "else": { - "operation": "boost", - "score": -0.336605966091156 - } - }, - "else": { - "operation": "boost", - "score": 0.06420346349477768 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.015297935344278812 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, "then": { "operation": "boost", - "score": -0.01633737049996853 + "score": 0.12483696639537811 }, "else": { - "operation": "boost", - "score": 0.1015944555401802 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1029600277543068 + "score": 0.07950972765684128 }, "else": { "operation": "boost", - "score": 0.11559586971998215 - } - }, - "else": { - "operation": "boost", - "score": 0.029060887172818184 - } - }, - "else": { - "operation": "boost", - "score": 0.02567414380609989 - } - }, - "else": { - "operation": "boost", - "score": 0.01458948478102684 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09875456988811493 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11909658461809158 - }, - "else": { - "operation": "boost", - "score": 0.028000421822071075 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11842668801546097 - }, - "else": { - "operation": "boost", - "score": -0.07554042339324951 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03411908447742462 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11308007687330246 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11058933287858963 - }, - "else": { - "operation": "boost", - "score": 0.10877928137779236 - } - } - }, - "else": { - "operation": "boost", - "score": 0.042333655059337616 - } - }, - "else": { - "operation": "boost", - "score": 0.042430102825164795 - } - } + "score": 0.1626531034708023 } }, "else": { "operation": "boost", - "score": -0.006567520089447498 + "score": 0.05780541151762009 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.051991090178489685 + "score": -0.13931049406528473 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.11342611908912659 - }, - "else": { - "operation": "boost", - "score": 0.12562507390975952 - } + "operation": "boost", + "score": 0.043826013803482056 } } } @@ -295678,3475 +294324,4143 @@ } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": -0.09785770624876022 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.07970612496137619 + }, + "else": { + "operation": "boost", + "score": 0.005907642189413309 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04163951054215431 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.01687496155500412 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.010896947234869003 + }, + "else": { + "operation": "boost", + "score": -0.017379572615027428 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.01223739329725504 + }, + "else": { + "operation": "boost", + "score": -0.048393070697784424 + } + }, + "else": { + "operation": "boost", + "score": 0.017098117619752884 + } + }, + "else": { + "operation": "boost", + "score": 0.000395089213270694 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.00034445500932633877 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02623855322599411 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06444449722766876 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { + "operation": "boost", + "score": 0.024650702252984047 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.12179415673017502 - }, - "else": { - "operation": "boost", - "score": -0.0007285083411261439 - } + "operation": "boost", + "score": -0.16398277878761292 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10198889672756195 + "score": -0.008147562853991985 }, "else": { - "operation": "boost", - "score": 0.04110679030418396 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.24238087236881256 + }, + "else": { + "operation": "boost", + "score": 0.051461149007081985 + } } }, "else": { "operation": "boost", - "score": 0.13086001574993134 + "score": 0.0056886812672019005 } } - }, - "else": { - "operation": "boost", - "score": -0.01506817527115345 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.048770472407341 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 434.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.061771273612976074 + "score": -0.1697850227355957 }, "else": { - "operation": "boost", - "score": 0.1067177951335907 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.09150722622871399 + }, + "else": { + "operation": "boost", + "score": 0.05914769321680069 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "boost", + "score": 0.07113759219646454 + }, + "else": { + "operation": "boost", + "score": -0.0357479453086853 + } + }, + "else": { + "operation": "boost", + "score": 0.04632994905114174 + } + } } - } - }, - "else": { - "operation": "boost", - "score": -0.019679885357618332 - } - }, - "else": { - "operation": "boost", - "score": -0.020748674869537354 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.002829896751791239 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 261.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 308.5, - "then": { - "operation": "boost", - "score": 0.050016868859529495 }, "else": { "operation": "boost", - "score": 0.1093577966094017 + "score": 0.017934713512659073 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { - "operation": "boost", - "score": -0.2909981608390808 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": 0.10845571011304855 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.0, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { "operation": "boost", - "score": -0.04054215922951698 + "score": 0.1168825700879097 }, "else": { "operation": "boost", - "score": 0.10431835800409317 + "score": -0.1255345344543457 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { "operation": "boost", - "score": -0.11169867217540741 + "score": 0.033524688333272934 }, "else": { - "operation": "boost", - "score": 0.09529092162847519 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.09006315469741821 + }, + "else": { + "operation": "boost", + "score": 0.05699494108557701 + } } }, "else": { "operation": "boost", - "score": 0.06678686290979385 + "score": 0.18539486825466156 } + }, + "else": { + "operation": "boost", + "score": 0.013871636241674423 } } } + }, + "else": { + "operation": "boost", + "score": 0.006505582481622696 } } + }, + "else": { + "operation": "boost", + "score": -0.0015645847888663411 } }, "else": { "operation": "boost", - "score": 0.003411918645724654 + "score": -0.0026514455676078796 } - }, - "else": { - "operation": "boost", - "score": -0.02552991919219494 } } - }, - "else": { - "operation": "boost", - "score": -0.0006614733138121665 } - }, - "else": { - "operation": "boost", - "score": -0.002080228878185153 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.002021051710471511 + "score": 0.0023936734069138765 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52191.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.07179487496614456, "then": { - "operation": "boost", - "score": 0.03925583139061928 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "boost", - "score": 0.10350647568702698 + "score": 0.0036352071911096573 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.12170543521642685 - }, - "else": { - "operation": "boost", - "score": 0.1097479909658432 - } + "operation": "boost", + "score": 0.09761406481266022 } + }, + "else": { + "operation": "boost", + "score": 0.12542009353637695 } }, "else": { - "operation": "boost", - "score": -0.04719622805714607 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07393289357423782 + }, + "else": { + "operation": "boost", + "score": 0.014972803182899952 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52893.5, + "feature": "FractionNameInContext", + "threshold": 0.060661762952804565, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { - "operation": "boost", - "score": 0.07625479251146317 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.02231592684984207 + "score": -0.12014688551425934 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.053110040724277496 - }, - "else": { - "operation": "boost", - "score": 0.19672761857509613 - } + "operation": "boost", + "score": 0.004839787259697914 } + }, + "else": { + "operation": "boost", + "score": -0.09477794915437698 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], "then": { "operation": "boost", - "score": -0.019083362072706223 + "score": 0.11714442074298859 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.10501892864704132 - }, - "else": { - "operation": "boost", - "score": 0.10963042825460434 - } - }, - "else": { - "operation": "boost", - "score": 0.08895883709192276 - } - }, - "else": { - "operation": "boost", - "score": -0.10120993107557297 - } + "operation": "boost", + "score": 0.08090243488550186 } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.10760954767465591 - }, - "else": { - "operation": "boost", - "score": -0.1805730015039444 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.060661762952804565, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.02390589751303196 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10894297063350677 - }, - "else": { - "operation": "boost", - "score": 0.09887635707855225 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10716363787651062 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 46.5, "then": { "operation": "boost", - "score": -0.05713518708944321 + "score": 0.11210723966360092 }, "else": { "operation": "boost", - "score": 0.11903303116559982 + "score": -0.025019844993948936 } }, "else": { - "operation": "boost", - "score": 0.10101723670959473 - } - }, - "else": { - "operation": "boost", - "score": -0.03505382314324379 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 155.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 176.5, "then": { "operation": "boost", - "score": -0.1169593334197998 + "score": 0.03469441458582878 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, - "then": { - "operation": "boost", - "score": 0.1257636547088623 - }, - "else": { - "operation": "boost", - "score": -0.13885675370693207 - } + "operation": "boost", + "score": 0.17697270214557648 } }, "else": { - "operation": "boost", - "score": 0.05812850967049599 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 109.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.10517048835754395 - }, - "else": { - "operation": "boost", - "score": -0.19257064163684845 - } + "operation": "boost", + "score": -0.32620036602020264 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { - "operation": "boost", - "score": 0.012673157267272472 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 31.5, "then": { - "operation": "boost", - "score": 0.08985140919685364 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.0, + "then": { + "operation": "boost", + "score": -0.03215835615992546 + }, + "else": { + "operation": "boost", + "score": 0.13345789909362793 + } }, "else": { "operation": "boost", - "score": 0.11173875629901886 + "score": -0.07802461832761765 } + }, + "else": { + "operation": "boost", + "score": 0.09427805989980698 } } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": -0.35606396198272705 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.34285715222358704, + "then": { + "operation": "boost", + "score": 0.08122458308935165 + }, + "else": { + "operation": "boost", + "score": 0.0019977441988885403 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": -0.035833511501550674 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53478.0, + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.15749847888946533 + "score": 0.09643833339214325 }, "else": { "operation": "boost", - "score": 0.12295616418123245 + "score": 0.13762690126895905 } + }, + "else": { + "operation": "boost", + "score": 0.06650491803884506 } } - }, - "else": { - "operation": "boost", - "score": 1.5974023342132568 } } }, "else": { - "operation": "boost", - "score": 0.0014131860807538033 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11090686172246933 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, - "then": { - "operation": "boost", - "score": -0.11054067313671112 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10005316138267517 - }, - "else": { - "operation": "boost", - "score": 0.13801875710487366 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, "then": { "operation": "boost", - "score": 0.07584599405527115 + "score": 0.056313976645469666 }, "else": { "operation": "boost", - "score": 0.10994135588407516 + "score": -0.18994572758674622 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, "then": { - "operation": "boost", - "score": 0.12660382688045502 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": 0.010959500446915627 + }, + "else": { + "operation": "boost", + "score": -0.034212980419397354 + } }, "else": { - "operation": "boost", - "score": 0.1219019815325737 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.03787824511528015 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.052840519696474075 + }, + "else": { + "operation": "boost", + "score": 0.09823383390903473 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.08563650399446487 + }, + "else": { + "operation": "boost", + "score": 0.05266236513853073 + } + }, + "else": { + "operation": "boost", + "score": 0.010603108443319798 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.01718827523291111 + }, + "else": { + "operation": "boost", + "score": 0.05406845360994339 + } + }, + "else": { + "operation": "boost", + "score": 0.008142282254993916 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.014474408701062202 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08784998953342438 + }, + "else": { + "operation": "boost", + "score": -0.04900076985359192 + } + } + } + } } } }, "else": { - "operation": "boost", - "score": -0.24044907093048096 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.14853426814079285 + }, + "else": { + "operation": "boost", + "score": -0.01868933066725731 + } + }, + "else": { + "operation": "boost", + "score": -0.4372553825378418 + } + }, + "else": { + "operation": "boost", + "score": -0.014298654161393642 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.14949187636375427 + }, + "else": { + "operation": "boost", + "score": 0.02838829904794693 + } + }, + "else": { + "operation": "boost", + "score": 0.10854696482419968 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": -0.06198849529027939 + }, + "else": { + "operation": "boost", + "score": 0.13018269836902618 + } + } + } } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.11707065999507904 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": -0.07169853150844574 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0513157919049263, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.008075808174908161 + "score": 0.012463482096791267 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.10839614272117615 + "score": 0.005144220311194658 }, "else": { - "operation": "boost", - "score": 0.1068584993481636 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.02225196361541748 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.00395863875746727 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.023346323519945145 + }, + "else": { + "operation": "boost", + "score": -0.18098771572113037 + } + }, + "else": { + "operation": "boost", + "score": -0.017575932666659355 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.15488660335540771 + }, + "else": { + "operation": "boost", + "score": -0.4895264804363251 + } + }, + "else": { + "operation": "boost", + "score": -0.21437352895736694 + } + }, + "else": { + "operation": "boost", + "score": 0.08569202572107315 + } + } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { - "operation": "boost", - "score": 0.09264113754034042 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": 0.14747647941112518 + }, + "else": { + "operation": "boost", + "score": -0.10109812766313553 + } + }, + "else": { + "operation": "boost", + "score": -0.04002372920513153 + } + }, + "else": { + "operation": "boost", + "score": 0.002023829845711589 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.015611646696925163 + }, + "else": { + "operation": "boost", + "score": -0.07668623328208923 + } + } }, "else": { "operation": "boost", - "score": -0.10896036028862 + "score": 0.004516717977821827 } } + }, + "else": { + "operation": "boost", + "score": -0.4186485707759857 } - } - }, - "else": { - "operation": "boost", - "score": 0.0222114697098732 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 48488.5, + "threshold": 31650.5, "then": { - "operation": "boost", - "score": -0.13605047762393951 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": -0.8027863502502441 + }, + "else": { + "operation": "boost", + "score": -0.11412588506937027 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.06790827959775925 + "score": 0.10989920049905777 }, "else": { "operation": "boost", - "score": -0.13412067294120789 + "score": -0.0032268427312374115 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": -0.07627254724502563 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.0961642637848854 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.12137919664382935 + }, + "else": { + "operation": "boost", + "score": 0.05889340862631798 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05052567645907402 - }, - "else": { - "operation": "boost", - "score": 0.09661832451820374 - } + "operation": "boost", + "score": -0.2132037878036499 }, "else": { "operation": "boost", - "score": 0.11334946751594543 + "score": 0.04047465696930885 } } } }, "else": { "operation": "boost", - "score": -0.0027919779531657696 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.21353879570960999 - }, - "else": { - "operation": "boost", - "score": -0.06059994176030159 + "score": -0.019721388816833496 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34194.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.09057972580194473 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.022959206253290176 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.10896818339824677 - }, - "else": { - "operation": "boost", - "score": -0.20136815309524536 - } + "operation": "boost", + "score": -0.005928004160523415 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "boost", - "score": -0.03727278485894203 + "score": 0.13676293194293976 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.08613656461238861 - }, - "else": { - "operation": "boost", - "score": 0.11385894566774368 - } + "operation": "boost", + "score": 0.2206984907388687 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "boost", - "score": -0.03942803293466568 + "score": 0.006539280992001295 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { "operation": "boost", - "score": 0.12299884110689163 + "score": -0.05640764907002449 }, "else": { "operation": "boost", - "score": -0.2086666226387024 + "score": 0.05659661442041397 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.2358483523130417 + }, + "else": { + "operation": "boost", + "score": -0.0014166005421429873 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "boost", - "score": -0.2355956733226776 + "score": -0.017709804698824883 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "boost", - "score": -0.37009701132774353 + "score": 0.12257714569568634 }, "else": { "operation": "boost", - "score": 0.09866248816251755 + "score": -0.09725379198789597 } } }, "else": { "operation": "boost", - "score": -0.07760737836360931 + "score": -0.09243419021368027 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3100961446762085, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": -0.0007932678563520312 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.11245398223400116 - }, - "else": { - "operation": "boost", - "score": -0.3149472177028656 - } + "operation": "boost", + "score": -0.004769188817590475 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.07548188418149948 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08578184247016907 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": -0.005583953578025103 + }, + "else": { + "operation": "boost", + "score": -0.24018049240112305 + } + }, + "else": { + "operation": "boost", + "score": -0.5150572657585144 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.13747663795948029 + }, + "else": { + "operation": "boost", + "score": -0.015902671962976456 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "boost", + "score": -0.04010014608502388 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.005376963876187801 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12731434404850006 + }, + "else": { + "operation": "boost", + "score": 0.09400618821382523 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08606245368719101 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10933471471071243 + }, + "else": { + "operation": "boost", + "score": 0.14646023511886597 + } + }, + "else": { + "operation": "boost", + "score": -0.23103654384613037 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10635976493358612 + }, + "else": { + "operation": "boost", + "score": -0.1248604878783226 + } + }, + "else": { + "operation": "boost", + "score": -0.10021282732486725 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12095711380243301 + } + } + } + } + } + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 279.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "NumReferences", + "threshold": 322.0, "then": { "operation": "boost", - "score": 0.12256407737731934 + "score": 0.08001777529716492 }, "else": { "operation": "boost", - "score": 0.11410635709762573 + "score": 0.12738628685474396 } }, "else": { - "operation": "boost", - "score": 0.09570889919996262 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 100.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 122.5, + "then": { + "operation": "boost", + "score": -0.050303418189287186 + }, + "else": { + "operation": "boost", + "score": -0.4456690847873688 + } + }, + "else": { + "operation": "boost", + "score": 0.011804426088929176 + } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4017857313156128, + "then": { + "operation": "boost", + "score": -0.11704318970441818 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.028648225590586662 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.1014537587761879 - }, - "else": { - "operation": "boost", - "score": -16.69675636291504 - } - } + "operation": "boost", + "score": 0.1447104662656784 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11236118525266647 + "score": 0.16685901582241058 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.08755147457122803 - }, - "else": { - "operation": "boost", - "score": 0.029904965311288834 - } + "operation": "boost", + "score": -0.16192422807216644 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2970588207244873, + "then": { + "operation": "boost", + "score": 0.014478473924100399 }, "else": { "operation": "boost", - "score": -0.0065123094245791435 + "score": -1.1286030712653883e-05 } } } - }, - "else": { - "operation": "boost", - "score": -0.20501375198364258 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.0004561660753097385 + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.040935419499874115 + }, + "else": { + "operation": "boost", + "score": 0.009533368051052094 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33508.5, + "feature": "FractionNameInContext", + "threshold": 0.18614718317985535, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1279817670583725 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10921952873468399 - }, - "else": { - "operation": "boost", - "score": -0.10808490961790085 - } - } + "operation": "boost", + "score": 0.008987843990325928 + }, + "else": { + "operation": "boost", + "score": 0.08431673794984818 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.08349606394767761 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.1448960155248642 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.16950000822544098 + "score": 0.03609589859843254 }, "else": { "operation": "boost", - "score": 0.17244696617126465 + "score": 0.08997037261724472 } + }, + "else": { + "operation": "boost", + "score": -0.042201776057481766 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.12845173478126526 + } + } + }, + "else": { + "operation": "boost", + "score": -0.000581488711759448 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 270.5, + "then": { + "operation": "boost", + "score": 0.007620325777679682 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 35.0, + "then": { + "operation": "boost", + "score": 0.0011918003438040614 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.07634949684143066 + "score": -0.1052994579076767 }, "else": { - "operation": "boost", - "score": 0.1361626535654068 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.1269424855709076 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.08307185024023056 + }, + "else": { + "operation": "boost", + "score": 0.13099414110183716 + } + } } }, "else": { + "operation": "boost", + "score": 0.005149543285369873 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.31111112236976624, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.08747958391904831 - }, - "else": { - "operation": "boost", - "score": 0.13733558356761932 - } + "operation": "boost", + "score": 0.21243254840373993 }, "else": { "operation": "boost", - "score": 0.04230313003063202 + "score": 0.1264914870262146 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, "then": { "operation": "boost", - "score": -0.01977074146270752 + "score": 0.14265114068984985 }, "else": { "operation": "boost", - "score": 0.11791300773620605 + "score": -0.10556041449308395 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11895690858364105 - }, - "else": { - "operation": "boost", - "score": -0.10786619037389755 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1911729872226715 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.011528143659234047 - }, - "else": { - "operation": "boost", - "score": 0.11038696020841599 - } - }, - "else": { - "operation": "boost", - "score": 0.12045193463563919 - } - }, - "else": { - "operation": "boost", - "score": 0.09625700861215591 - } - }, - "else": { - "operation": "boost", - "score": 0.09463291615247726 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.1021847203373909 - }, - "else": { - "operation": "boost", - "score": 0.052454959601163864 - } - }, - "else": { - "operation": "boost", - "score": 0.01931159198284149 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33282.5, - "then": { - "operation": "boost", - "score": -0.17032289505004883 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.0008571849321015179 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.030162999406456947 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.003734458237886429 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3001.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3313.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.002288965741172433 + "score": -0.1559167504310608 }, "else": { "operation": "boost", - "score": 0.12298686802387238 + "score": 0.06629685312509537 } }, "else": { - "operation": "boost", - "score": -0.03336794674396515 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.10217153280973434 + }, + "else": { + "operation": "boost", + "score": 0.3516521453857422 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.11428362131118774 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 0.07760509103536606 + }, + "else": { + "operation": "boost", + "score": 0.2116803526878357 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.2940122187137604 + }, + "else": { + "operation": "boost", + "score": -0.22034068405628204 + } + } + } } }, "else": { "operation": "boost", - "score": 0.03860820084810257 + "score": -0.17619606852531433 } }, + "else": { + "operation": "boost", + "score": 0.01492992788553238 + } + }, + "else": { + "operation": "boost", + "score": 0.03033219464123249 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.07042773067951202 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08916940540075302 + }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "boost", + "score": 0.013177214190363884 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.04747464507818222 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11599990725517273 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.0, + "then": { + "operation": "boost", + "score": -0.049125563353300095 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05536012724041939 + }, + "else": { + "operation": "boost", + "score": 0.12610803544521332 + } + }, + "else": { + "operation": "boost", + "score": -0.0892113745212555 + } + }, + "else": { + "operation": "boost", + "score": 0.06183479353785515 + } + } + } }, "else": { "operation": "boost", - "score": -0.14775879681110382 + "score": 0.05112472176551819 } - }, - "else": { - "operation": "boost", - "score": 0.02179938741028309 } } }, "else": { "operation": "boost", - "score": 0.028381306678056717 + "score": 0.014969650655984879 } } } - }, - "else": { - "operation": "boost", - "score": 0.00619508558884263 } }, "else": { - "operation": "boost", - "score": 0.0009012313676066697 - } - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32538.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": -0.0045210616663098335 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33610.5, + "threshold": 87.5, "then": { + "operation": "boost", + "score": 0.15063460171222687 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07410646975040436 - }, - "else": { - "operation": "boost", - "score": 0.02928837575018406 - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41673.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.09719032794237137 + "score": 0.07325243949890137 }, "else": { - "operation": "boost", - "score": -0.00164173380471766 - } - }, - "else": { - "operation": "boost", - "score": -0.1479800045490265 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12481680512428284 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33155.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.1077769547700882 + "score": 0.20195864140987396 }, "else": { "operation": "boost", - "score": 0.06299874931573868 + "score": -0.02440602146089077 } - }, - "else": { - "operation": "boost", - "score": 0.11719724535942078 } }, "else": { "operation": "boost", - "score": -0.7941709756851196 + "score": 0.1503009796142578 } + }, + "else": { + "operation": "boost", + "score": 0.04375426098704338 } } }, "else": { + "operation": "boost", + "score": -0.009936350397765636 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0339815728366375 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.040990691632032394 - }, - "else": { - "operation": "boost", - "score": 0.09607437998056412 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10124228894710541 - } + "operation": "boost", + "score": 0.1292262226343155 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 236336.5, + "threshold": 24.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.09625118970870972 - }, - "else": { - "operation": "boost", - "score": -0.12822267413139343 - } + "operation": "boost", + "score": 0.10776345431804657 }, "else": { "operation": "boost", - "score": -0.14578159153461456 + "score": 0.1016918420791626 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.05555868521332741 + "score": -0.44257381558418274 }, "else": { "operation": "boost", - "score": 0.09925760328769684 + "score": -0.01435721293091774 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38518.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": 0.011541541665792465 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40902.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134893.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.10879696160554886 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 127271.0, + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "operation": "boost", + "score": 0.08942238241434097 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.13223040103912354 + "score": -0.02695496194064617 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.13331559300422668 + "score": -0.32009291648864746 }, "else": { "operation": "boost", - "score": -0.11440254002809525 + "score": -0.017638683319091797 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11135905236005783 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9285714626312256, + "then": { + "operation": "boost", + "score": 0.07927703857421875 + }, + "else": { + "operation": "boost", + "score": 0.021025720983743668 + } + }, + "else": { + "operation": "boost", + "score": -0.1471971869468689 + } + }, + "else": { + "operation": "boost", + "score": -0.004108244553208351 + } } + }, + "else": { + "operation": "boost", + "score": -0.9297444224357605 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 99880.5, + "threshold": 227.5, "then": { - "operation": "boost", - "score": -0.1394236832857132 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.10663723945617676 + "score": -0.46434369683265686 }, "else": { "operation": "boost", - "score": 0.2094457596540451 + "score": 0.033303938806056976 } }, "else": { "operation": "boost", - "score": 0.04564337804913521 + "score": -0.6885370016098022 } + }, + "else": { + "operation": "boost", + "score": 0.02190626785159111 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 259.5, "then": { "operation": "boost", - "score": 0.5461077690124512 + "score": -0.20367278158664703 }, "else": { "operation": "boost", - "score": -0.10479623824357986 + "score": -0.006630588788539171 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, + "then": { + "operation": "boost", + "score": 0.029213888570666313 }, "else": { "operation": "boost", - "score": -0.04374891519546509 + "score": 0.00802908930927515 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.041376274079084396 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Other", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10123127698898315 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -3.192453145980835 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13942307233810425, + "then": { + "operation": "boost", + "score": -0.05240829661488533 + }, + "else": { + "operation": "boost", + "score": 0.1265980303287506 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.12327428162097931 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.16842664778232574 + }, + "else": { + "operation": "boost", + "score": -0.6300734877586365 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.06350620090961456 + }, + "else": { + "operation": "boost", + "score": 0.13605773448944092 + } + }, + "else": { + "operation": "boost", + "score": 0.009425912983715534 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.029982034116983414 + } }, "else": { "operation": "boost", - "score": 0.1029479131102562 + "score": 0.004019299056380987 } }, "else": { "operation": "boost", - "score": 0.04968545213341713 + "score": -0.011328726075589657 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.024009421467781067 + "score": 0.010162760503590107 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.009930022992193699 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.41546744108200073 + "score": 0.10218507051467896 }, "else": { "operation": "boost", - "score": 0.11275716125965118 + "score": -0.20295628905296326 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.08405157178640366 + "score": 0.015458962880074978 }, "else": { "operation": "boost", - "score": 0.06051088124513626 + "score": 0.09808187931776047 } } + }, + "else": { + "operation": "boost", + "score": -0.05467453971505165 } } }, "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14971162378787994 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "boost", + "score": -0.03753180429339409 + }, + "else": { + "operation": "boost", + "score": 0.10136879235506058 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": 0.07349462062120438 + }, + "else": { + "operation": "boost", + "score": -0.0061818077228963375 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12793231010437012 + }, + "else": { + "operation": "boost", + "score": 0.01778516359627247 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.01910940371453762 + }, + "else": { + "operation": "boost", + "score": 0.09057392179965973 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.08494862914085388 + }, + "else": { + "operation": "boost", + "score": -0.20364828407764435 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11771223694086075 + } + }, + "else": { + "operation": "boost", + "score": 0.0011509853648021817 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.04774262756109238 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.10416953265666962 + }, + "else": { + "operation": "boost", + "score": -0.17122940719127655 + } + } + }, + "else": { + "operation": "boost", + "score": -0.000348642555763945 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.18030481040477753 + }, + "else": { + "operation": "boost", + "score": -0.09843675792217255 + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.016633305698633194 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { "operation": "boost", - "score": 0.05562581866979599 + "score": 0.134978249669075 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5419580936431885, + "then": { + "operation": "boost", + "score": -0.004827295895665884 + }, + "else": { + "operation": "boost", + "score": 0.09684329479932785 + } } + }, + "else": { + "operation": "boost", + "score": -0.136802539229393 } }, "else": { "operation": "boost", - "score": -0.004770119208842516 + "score": 0.0014296574518084526 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 72.5, "then": { - "operation": "boost", - "score": 0.04861968755722046 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.2179282009601593 + }, + "else": { + "operation": "boost", + "score": -0.025112763047218323 + } }, "else": { - "operation": "boost", - "score": 0.059232816100120544 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.09126845002174377 + }, + "else": { + "operation": "boost", + "score": 0.061176691204309464 + } } }, "else": { "operation": "boost", - "score": 0.028113756328821182 + "score": 0.01722889207303524 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.05899772047996521 + "score": -0.00803742092102766 }, "else": { "operation": "boost", - "score": 0.014726178720593452 + "score": -0.11171837151050568 } } } - }, - "else": { - "operation": "boost", - "score": 0.00762323709204793 } + }, + "else": { + "operation": "boost", + "score": 0.0005870084860362113 } + }, + "else": { + "operation": "boost", + "score": -0.09124784916639328 } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09406394511461258 + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245728.5, + "then": { + "operation": "boost", + "score": -0.23462611436843872 + }, + "else": { + "operation": "boost", + "score": 0.08226261287927628 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132310.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": -0.7532874345779419 }, "else": { "operation": "boost", - "score": -0.021570244804024696 + "score": -0.25537431240081787 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32026.0, + "threshold": 86511.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 107411.0, "then": { - "operation": "boost", - "score": -0.13598299026489258 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123410.5, + "then": { + "operation": "boost", + "score": 0.12539398670196533 + }, + "else": { + "operation": "boost", + "score": -0.13638193905353546 + } }, "else": { "operation": "boost", - "score": 0.06898240000009537 + "score": 0.06537142395973206 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31515.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10224578529596329 - }, - "else": { - "operation": "boost", - "score": 0.06590266525745392 - } - }, - "else": { - "operation": "boost", - "score": -0.3831841051578522 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25175.0, + "feature": "FractionNameInContext", + "threshold": 0.2752525210380554, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29099.0, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.10866563022136688 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04646608978509903 + }, + "else": { + "operation": "boost", + "score": -0.021474678069353104 + } }, "else": { - "operation": "boost", - "score": 0.06556006520986557 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10690402239561081 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": -0.1454131156206131 - }, - "else": { - "operation": "boost", - "score": 0.09885057806968689 - } - } + "operation": "boost", + "score": -0.3623816668987274 }, "else": { "operation": "boost", - "score": -0.02819335088133812 + "score": -0.010647068731486797 } - }, - "else": { - "operation": "boost", - "score": -0.018560878932476044 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.24042171239852905 - }, - "else": { - "operation": "boost", - "score": 0.05607692897319794 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04704712703824043 - } - }, - "else": { - "operation": "boost", - "score": -0.10588689893484116 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.05886850878596306 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29460.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30221.5, - "then": { - "operation": "boost", - "score": -0.17462517321109772 - }, - "else": { - "operation": "boost", - "score": 0.07568149268627167 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3265434205532074 - }, - "else": { - "operation": "boost", - "score": -0.5102341771125793 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28239.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1069948598742485 - }, - "else": { - "operation": "boost", - "score": -0.029604805633425713 - } - }, - "else": { - "operation": "boost", - "score": 0.10419655591249466 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28239.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31879.0, - "then": { - "operation": "boost", - "score": -0.42888325452804565 - }, - "else": { - "operation": "boost", - "score": 0.08144137263298035 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.09080211073160172 + "score": 0.052454087883234024 }, "else": { - "operation": "boost", - "score": 0.07353940606117249 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, + "then": { + "operation": "boost", + "score": 0.07431089133024216 + }, + "else": { + "operation": "boost", + "score": 0.014389673247933388 + } } } }, "else": { - "operation": "boost", - "score": -0.025112923234701157 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.4070860743522644 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.5337142944335938 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26223.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "boost", + "score": 0.05438344180583954 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, "then": { "operation": "boost", - "score": 0.09164924919605255 + "score": 0.13381344079971313 }, "else": { "operation": "boost", - "score": -0.126066192984581 + "score": -0.029935065656900406 } }, "else": { "operation": "boost", - "score": 0.08941129595041275 + "score": -0.36074888706207275 } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.00046089591342024505 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.6515151262283325, "then": { - "operation": "boost", - "score": 0.09828509390354156 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.12856066226959229 + }, + "else": { + "operation": "boost", + "score": -0.1156025156378746 + } }, "else": { - "operation": "boost", - "score": 0.04881748929619789 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.0817093625664711 + }, + "else": { + "operation": "boost", + "score": -0.024425992742180824 + } } } } - } - }, - "else": { - "operation": "boost", - "score": 0.10986679792404175 - } - } - }, - "else": { - "operation": "boost", - "score": -0.005014016292989254 - } - }, - "else": { - "operation": "boost", - "score": -0.2065330296754837 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26223.5, - "then": { - "operation": "boost", - "score": -0.050117213279008865 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25461.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.11513452231884003 - }, - "else": { - "operation": "boost", - "score": 0.16065415740013123 - } - }, - "else": { - "operation": "boost", - "score": -0.20799237489700317 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.01908307895064354 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20345.0, - "then": { - "operation": "boost", - "score": 0.022088568657636642 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09905426949262619 - }, - "else": { - "operation": "boost", - "score": 0.12759356200695038 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.15252265334129333 - }, - "else": { - "operation": "boost", - "score": -0.2021108716726303 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1768517643213272 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10663135349750519 - }, - "else": { - "operation": "boost", - "score": 0.11188330501317978 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19827.5, - "then": { - "operation": "boost", - "score": 0.03923153132200241 }, "else": { - "operation": "boost", - "score": 0.11752546578645706 - } - }, - "else": { - "operation": "boost", - "score": 0.0522361695766449 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3571794331073761 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19827.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.1364465206861496 + "score": -0.010547208599746227 }, "else": { "operation": "boost", - "score": 0.039011433720588684 + "score": -0.027221238240599632 } - }, - "else": { - "operation": "boost", - "score": -0.3233402967453003 - } - }, - "else": { - "operation": "boost", - "score": -0.07203520089387894 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.08534416556358337 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.017036404460668564 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.10151181370019913 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11046796292066574 - }, - "else": { - "operation": "boost", - "score": 0.10391656309366226 } } }, "else": { "operation": "boost", - "score": -0.2223345935344696 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19203.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1014443039894104 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.003321316558867693 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.21841853857040405 - }, - "else": { - "operation": "boost", - "score": 0.11460813134908676 - } - } - }, - "else": { - "operation": "boost", - "score": -0.19285982847213745 - } + "score": 0.002679207129403949 } }, "else": { - "operation": "boost", - "score": 0.04416775330901146 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.03513042628765106 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21311.0, - "then": { - "operation": "boost", - "score": 0.10669150203466415 - }, - "else": { - "operation": "boost", - "score": -0.527614951133728 - } - }, - "else": { - "operation": "boost", - "score": -0.10576687008142471 - } - } - }, - "else": { - "operation": "boost", - "score": 0.013351277448236942 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0002175923145841807 - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.00027679899358190596 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.006042052526026964 - }, - "else": { - "operation": "boost", - "score": -0.10347583144903183 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.10897192358970642 - }, - "else": { - "operation": "boost", - "score": 0.15446262061595917 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9948.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16649.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35664.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38757.0, + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44616.0, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.011643914505839348 + "score": -0.037610866129398346 }, "else": { "operation": "boost", - "score": 0.09866471588611603 + "score": 0.10854913294315338 } }, - "else": { - "operation": "boost", - "score": -0.7819960117340088 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.022976407781243324 - }, - "else": { - "operation": "boost", - "score": 0.08480694144964218 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22180.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01714138127863407 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24179.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.06355147808790207 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.6169354915618896 + }, + "else": { + "operation": "boost", + "score": 0.1354673206806183 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119.0, + "then": { + "operation": "boost", + "score": -0.13865923881530762 + }, + "else": { + "operation": "boost", + "score": 0.019620392471551895 + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.48426318168640137 + "score": 0.15581050515174866 }, "else": { - "operation": "boost", - "score": -1.450974941253662 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": 0.061307068914175034 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": 0.0024414199870079756 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.11014396697282791 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.061930395662784576 + }, + "else": { + "operation": "boost", + "score": 0.09124241769313812 + } + } + } + } } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19121.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { + "operation": "boost", + "score": 0.024337144568562508 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "boost", - "score": 0.11554112285375595 + "score": -0.2712242901325226 }, "else": { "operation": "boost", - "score": 0.12377896159887314 + "score": 0.07591740787029266 } }, "else": { - "operation": "boost", - "score": -0.1760498434305191 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008589666336774826 + }, + "else": { + "operation": "boost", + "score": -0.034798718988895416 + } } - }, - "else": { - "operation": "boost", - "score": -0.049094121903181076 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32947.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09189572185277939 - }, - "else": { - "operation": "boost", - "score": -0.012685306370258331 - } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31879.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.10525072365999222 - }, - "else": { - "operation": "boost", - "score": 0.12265193462371826 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.00789732951670885 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18215.0, + "feature": "FractionNameInContext", + "threshold": 0.03125, "then": { + "operation": "boost", + "score": 0.018734483048319817 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.09656433761119843 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1116.5, + "then": { + "operation": "boost", + "score": 0.012241164222359657 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.10049274563789368 + }, + "else": { + "operation": "boost", + "score": 0.1298830360174179 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.04569248855113983 + }, + "else": { + "operation": "boost", + "score": -0.0931900292634964 + } + }, + "else": { + "operation": "boost", + "score": 0.09213025122880936 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23401.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.07854576408863068 + "score": 0.059822868555784225 }, "else": { - "operation": "boost", - "score": -0.468962699174881 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01442671101540327 + }, + "else": { + "operation": "boost", + "score": 0.08987148851156235 + } + }, + "else": { + "operation": "boost", + "score": 0.09336844831705093 + } } } - }, - "else": { - "operation": "boost", - "score": -0.11214805394411087 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.05572151020169258 - }, - "else": { - "operation": "boost", - "score": -1.0983994007110596 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.37957435846328735 - }, - "else": { - "operation": "boost", - "score": 0.10492227971553802 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13821.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15798.0, - "then": { - "operation": "boost", - "score": -0.10364165157079697 - }, - "else": { - "operation": "boost", - "score": 0.0920475497841835 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0010590020101517439 - }, - "else": { - "operation": "boost", - "score": 0.07560700178146362 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13545.0, - "then": { - "operation": "boost", - "score": -0.1369585543870926 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12017.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12435.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": -0.16799312829971313 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.0, + "then": { + "operation": "boost", + "score": -0.1796569526195526 + }, + "else": { + "operation": "boost", + "score": -2.181929111480713 + } + }, + "else": { + "operation": "boost", + "score": -0.16595707833766937 + } + } + }, + "else": { "operation": "boost", - "score": -0.22246991097927094 - }, - "else": { - "operation": "boost", - "score": 0.13260243833065033 + "score": 0.021356020122766495 } }, "else": { - "operation": "boost", - "score": -0.18325573205947876 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.30208542943000793 + }, + "else": { + "operation": "boost", + "score": 0.03537433221936226 + } + }, + "else": { + "operation": "boost", + "score": 0.04006754979491234 + } } - }, - "else": { - "operation": "boost", - "score": 0.07404986768960953 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11609.5, + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { - "operation": "boost", - "score": -0.32573115825653076 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": 0.09459325671195984 + }, + "else": { + "operation": "boost", + "score": 0.02954268828034401 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.16240674257278442 + }, + "else": { + "operation": "boost", + "score": -0.11939654499292374 + } + }, + "else": { + "operation": "boost", + "score": 0.01104403380304575 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.09409070014953613 + }, + "else": { + "operation": "boost", + "score": 0.05026036128401756 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.14989382028579712 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "boost", + "score": 0.08775847405195236 + }, + "else": { + "operation": "boost", + "score": -0.12388940900564194 + } + }, + "else": { + "operation": "boost", + "score": 0.06771861016750336 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.7012214660644531 + } + } + } }, "else": { - "operation": "boost", - "score": 0.07316327840089798 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02777777798473835, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82.5, + "then": { + "operation": "boost", + "score": 0.06740076094865799 + }, + "else": { + "operation": "boost", + "score": -0.3477479815483093 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.11990141123533249 + }, + "else": { + "operation": "boost", + "score": 0.054465651512145996 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.011200747452676296 + }, + "else": { + "operation": "boost", + "score": -0.6314622759819031 + } + } } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9195.0, - "then": { - "operation": "boost", - "score": -0.10950691252946854 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9017.5, - "then": { - "operation": "boost", - "score": 0.10373110324144363 - }, - "else": { - "operation": "boost", - "score": 0.009365562349557877 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": -0.02099059894680977 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -1.4856001138687134 - }, - "else": { - "operation": "boost", - "score": -0.03490452095866203 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11038855463266373 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.2869742214679718 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0636105090379715 - }, - "else": { - "operation": "boost", - "score": -0.2375057488679886 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.1049206405878067 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.02546328492462635 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.14279456436634064 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.05691658332943916 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.1490122675895691 + }, + "else": { + "operation": "boost", + "score": -0.6398957371711731 + } + } + } + } }, "else": { - "operation": "boost", - "score": 0.10671047121286392 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 66.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 100.5, + "then": { + "operation": "boost", + "score": 0.06333131343126297 + }, + "else": { + "operation": "boost", + "score": 0.10726804286241531 + } + }, + "else": { + "operation": "boost", + "score": 0.00619496451690793 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 0.03894590586423874 + }, + "else": { + "operation": "boost", + "score": -0.6201540231704712 + } + }, + "else": { + "operation": "boost", + "score": 0.12950149178504944 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11571872234344482 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.15589961409568787 + }, + "else": { + "operation": "boost", + "score": 0.015184520743787289 + } + } + } + } } }, "else": { "operation": "boost", - "score": -0.023091452196240425 + "score": -0.21585331857204437 } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.38432809710502625 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32538.0, - "then": { - "operation": "boost", - "score": 0.004704170394688845 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.019309530034661293 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.18893134593963623 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.19751206040382385 }, "else": { - "operation": "boost", - "score": -1.0510250329971313 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06590069830417633 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31515.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.06326786428689957 - }, - "else": { - "operation": "boost", - "score": -0.34630918502807617 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25175.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25286.5, + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.06441908329725266 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.007781712803989649 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17142857611179352, + "then": { + "operation": "boost", + "score": -0.32367175817489624 + }, + "else": { + "operation": "boost", + "score": 0.14912641048431396 + } + } + } + }, + "else": { "operation": "boost", - "score": -0.029339905828237534 + "score": -0.05774294584989548 + } + }, + "else": { + "operation": "boost", + "score": -0.12278439849615097 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12042666226625443 + }, + "else": { + "operation": "boost", + "score": 0.10741671919822693 + } + }, + "else": { + "operation": "boost", + "score": 0.03717067092657089 + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.18441839516162872 + "score": -0.003659683745354414 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.03149963542819023 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25536.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26697.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.18110710382461548 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.09737895429134369 - }, - "else": { - "operation": "boost", - "score": -0.0016548112034797668 - } - } + "operation": "boost", + "score": 0.12705089151859283 }, "else": { "operation": "boost", - "score": 0.1016603335738182 + "score": -0.10264649242162704 } }, "else": { "operation": "boost", - "score": -0.11101038753986359 + "score": -0.14125990867614746 } + }, + "else": { + "operation": "boost", + "score": -0.2590993046760559 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28035.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.09639633446931839 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "boost", - "score": 0.09930337220430374 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.14202336966991425 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.006500485818833113 + }, + "else": { + "operation": "boost", + "score": -0.12505871057510376 + } + } }, "else": { - "operation": "boost", - "score": -0.24384310841560364 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.16313885152339935 + }, + "else": { + "operation": "boost", + "score": 0.0004054139426443726 + } } - }, - "else": { - "operation": "boost", - "score": -0.18377794325351715 } } } @@ -299154,3100 +298468,3387 @@ }, "else": { "operation": "boost", - "score": 0.015066242776811123 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0028470128308981657 - }, - "else": { - "operation": "boost", - "score": 0.09999001026153564 - } - }, - "else": { - "operation": "boost", - "score": -0.5333085060119629 + "score": 0.0070806704461574554 } } - }, - "else": { - "operation": "boost", - "score": -0.033321984112262726 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.0016521790530532598 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.014171992428600788 + }, + "else": { + "operation": "boost", + "score": -0.02258406952023506 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 440.0, + "then": { + "operation": "boost", + "score": 0.10429558157920837 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.03205511346459389 }, "else": { "operation": "boost", - "score": -0.08820342272520065 + "score": 0.04887514188885689 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.0767202377319336 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": -0.015389584004878998 + }, + "else": { + "operation": "boost", + "score": 0.008346988819539547 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04076884686946869 - }, - "else": { - "operation": "boost", - "score": 0.10837584733963013 - } + "operation": "boost", + "score": 0.0029440410435199738 }, "else": { "operation": "boost", - "score": -0.4919912815093994 + "score": 0.02054184302687645 } } } } } - }, - "else": { - "operation": "boost", - "score": -0.017152998596429825 } + }, + "else": { + "operation": "boost", + "score": -0.12611067295074463 } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00014373898738995194 + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.07387746125459671 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Symbol" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20345.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.016018282622098923 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, "then": { + "operation": "boost", + "score": 0.18319617211818695 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Statement" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06173580884933472 - }, - "else": { - "operation": "boost", - "score": 0.137326180934906 - } + "operation": "boost", + "score": 0.23443906009197235 }, "else": { + "operation": "boost", + "score": 0.21368153393268585 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22325.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.3088398277759552 - }, - "else": { - "operation": "boost", - "score": 0.0858515202999115 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.010825074277818203 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08525371551513672 - }, - "else": { - "operation": "boost", - "score": 0.14008572697639465 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10504280030727386 - } - } + "operation": "boost", + "score": -0.06976243108510971 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20665.0, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { "operation": "boost", - "score": -0.8357316255569458 + "score": 0.17433467507362366 }, "else": { "operation": "boost", - "score": 0.25090736150741577 + "score": 0.2203027904033661 } }, "else": { "operation": "boost", - "score": -0.07484520971775055 + "score": 0.0664755254983902 } } + }, + "else": { + "operation": "boost", + "score": -0.10986989736557007 } - }, - "else": { - "operation": "boost", - "score": -0.2664927542209625 } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.12023665010929108 }, "else": { "operation": "boost", - "score": 0.03237846493721008 + "score": -0.07479357719421387 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "boost", - "score": 0.09689514338970184 + "score": 0.04718611389398575 }, "else": { - "operation": "boost", - "score": 0.12209930270910263 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.1803392469882965 + }, + "else": { + "operation": "boost", + "score": 0.07640504837036133 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { - "operation": "boost", - "score": 0.14843876659870148 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.11255067586898804 + }, + "else": { + "operation": "boost", + "score": -0.12976481020450592 + } + }, + "else": { + "operation": "boost", + "score": -0.5813613533973694 + } + }, + "else": { + "operation": "boost", + "score": 0.09250286221504211 + } }, "else": { "operation": "boost", - "score": -0.206853985786438 + "score": -0.31775882840156555 } } }, "else": { "operation": "boost", - "score": 0.15134292840957642 + "score": 0.3755891025066376 } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.026960918679833412 + "score": 0.076621413230896 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20150.0, - "then": { - "operation": "boost", - "score": -0.1896388679742813 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10581912845373154 - }, - "else": { - "operation": "boost", - "score": 0.10216780006885529 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19827.5, - "then": { - "operation": "boost", - "score": 0.03666568174958229 - }, - "else": { - "operation": "boost", - "score": 0.11669766902923584 - } - }, - "else": { - "operation": "boost", - "score": 0.04895352944731712 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.29938235878944397 - }, - "else": { - "operation": "boost", - "score": 0.11811843514442444 - } - }, - "else": { - "operation": "boost", - "score": -0.01093908492475748 - } - }, - "else": { - "operation": "boost", - "score": -0.06636527925729752 - } - } - }, - "else": { - "operation": "boost", - "score": -0.02434728667140007 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.007918983697891235 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.09928238391876221 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1084311380982399 - }, - "else": { - "operation": "boost", - "score": 0.10354270786046982 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2004418522119522 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03747617453336716 - } - } + "operation": "boost", + "score": -0.021237842738628387 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08852212876081467 - }, - "else": { - "operation": "boost", - "score": 0.04685702174901962 - } + "operation": "boost", + "score": 0.08380327373743057 }, "else": { "operation": "boost", - "score": 0.02771328203380108 + "score": 0.004547647200524807 } }, "else": { "operation": "boost", - "score": 0.011752794496715069 + "score": -0.06328992545604706 } } } }, "else": { - "operation": "boost", - "score": -0.0005938521353527904 - } - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, "then": { + "operation": "boost", + "score": 0.08302593231201172 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.0028170200530439615 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0026990517508238554 - }, - "else": { - "operation": "boost", - "score": -0.04753834754228592 - } - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62087.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.012111459858715534 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.10569348931312561 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.05776000767946243 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.039640121161937714 + }, + "else": { + "operation": "boost", + "score": 0.014405385591089725 + } + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": 0.0902586579322815 + }, + "else": { + "operation": "boost", + "score": -0.06785425543785095 + } + }, + "else": { + "operation": "boost", + "score": -0.1122840940952301 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.0023251702077686787 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { "operation": "boost", - "score": 0.04359079524874687 + "score": 0.07934573292732239 }, "else": { "operation": "boost", - "score": 0.09269299358129501 + "score": 0.12532153725624084 } }, "else": { "operation": "boost", - "score": -0.043395694345235825 + "score": 0.04460955038666725 } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ParenthesizedExpression", + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.005250841844826937 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.016036611050367355 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, "then": { "operation": "boost", - "score": -0.0022357471752911806 + "score": -0.06703820824623108 }, "else": { - "operation": "boost", - "score": 0.023766275495290756 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.07839348912239075 + }, + "else": { + "operation": "boost", + "score": 0.04220842942595482 + } } }, "else": { + "operation": "boost", + "score": 0.034630514681339264 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3369.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.02676590345799923 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.07179487496614456, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.5, + "threshold": 153.0, "then": { "operation": "boost", - "score": -0.7164533734321594 + "score": 0.19229644536972046 }, "else": { - "operation": "boost", - "score": 0.10887526720762253 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.046524111181497574 + }, + "else": { + "operation": "boost", + "score": -0.09509819000959396 + } } }, "else": { "operation": "boost", - "score": -0.011393863707780838 + "score": 0.06820198148488998 } }, "else": { "operation": "boost", - "score": 0.008128178305923939 + "score": -0.6634150147438049 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.1144154742360115 + }, + "else": { + "operation": "boost", + "score": -0.7759310603141785 + } + }, + "else": { + "operation": "boost", + "score": 0.04120289161801338 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "boost", + "score": 0.06900434195995331 + }, + "else": { + "operation": "boost", + "score": 0.0011402418604120612 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.17590242624282837 + }, + "else": { + "operation": "boost", + "score": 0.03595633804798126 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.3410343825817108 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 156.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 246.0, - "then": { - "operation": "boost", - "score": -0.018170202150940895 - }, - "else": { - "operation": "boost", - "score": 0.08472174406051636 - } - }, - "else": { - "operation": "boost", - "score": -0.0841427892446518 - } + "operation": "boost", + "score": 0.0637090876698494 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1980247050523758 + "score": 0.14558200538158417 }, "else": { "operation": "boost", - "score": -0.024399301037192345 + "score": 0.10741616040468216 } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11030615866184235 + }, + "else": { + "operation": "boost", + "score": 0.13757382333278656 + } }, "else": { + "operation": "boost", + "score": -0.03384235501289368 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08705823123455048 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.22076627612113953 - }, - "else": { - "operation": "boost", - "score": 0.13318543136119843 - } - } - }, - "else": { - "operation": "boost", - "score": -0.20223072171211243 - } - }, - "else": { - "operation": "boost", - "score": 0.01843658648431301 - } + "operation": "boost", + "score": -0.060934290289878845 }, "else": { "operation": "boost", - "score": 0.0032323964405804873 + "score": -0.9224581122398376 } + }, + "else": { + "operation": "boost", + "score": 0.07081438601016998 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.07568979263305664 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.01811552606523037 + }, + "else": { + "operation": "boost", + "score": 0.1501011997461319 + } }, "else": { - "operation": "boost", - "score": -0.05168270319700241 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.11965915560722351 + }, + "else": { + "operation": "boost", + "score": -0.005075254011899233 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "boost", - "score": -0.7334324717521667 + "score": -0.01629951223731041 + }, + "else": { + "operation": "boost", + "score": 0.13772785663604736 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.06692445278167725 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.1022844985127449 + "score": 0.1292629837989807 }, "else": { "operation": "boost", - "score": -0.4125252962112427 + "score": 0.03221553564071655 } } + } + }, + "else": { + "operation": "boost", + "score": 0.003055540844798088 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08369428664445877 + }, + "else": { + "operation": "boost", + "score": 0.035655491054058075 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11654140800237656 }, "else": { "operation": "boost", - "score": -0.24730738997459412 + "score": -0.18253254890441895 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { - "operation": "boost", - "score": -0.11314134299755096 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02650037221610546 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.11038614064455032 + }, + "else": { + "operation": "boost", + "score": -0.010832400992512703 + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.057040221989154816 + "score": 0.125234454870224 }, "else": { "operation": "boost", - "score": -0.07281878590583801 + "score": -0.11010566353797913 } } } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.6229572296142578 + }, + "else": { + "operation": "boost", + "score": -0.10580018907785416 + } } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.014202316291630268 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 304083.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 768345.5, + "then": { + "operation": "boost", + "score": 0.11918766796588898 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.36379528045654297 + }, + "else": { + "operation": "boost", + "score": 0.01276054885238409 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03134969249367714 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17326.5, "then": { "operation": "boost", - "score": 0.031970374286174774 + "score": 0.017972704023122787 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 145.5, + "threshold": 16469.0, "then": { "operation": "boost", - "score": -0.014004210010170937 + "score": -0.7482934594154358 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { + "operation": "boost", + "score": -0.06307145208120346 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 137.5, + "operation": "boost", + "score": 0.004922092892229557 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": -0.1852056235074997 + "score": 0.11490678042173386 }, "else": { "operation": "boost", - "score": 0.11911056190729141 + "score": 0.10772676020860672 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13188302516937256 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.018499203026294708 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.11866720765829086 - }, - "else": { - "operation": "boost", - "score": 0.0007044454687274992 - } - } + "operation": "boost", + "score": -0.4337118864059448 } }, "else": { "operation": "boost", - "score": -0.21194028854370117 + "score": -0.021765490993857384 } - }, - "else": { - "operation": "boost", - "score": 0.011560493148863316 } } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.02534254640340805 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.6561558842658997 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Statement" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.012874465435743332 - }, - "else": { - "operation": "boost", - "score": 0.1339205950498581 - } + "operation": "boost", + "score": 0.09774956852197647 }, "else": { "operation": "boost", - "score": 0.005868602078408003 + "score": 0.12173520773649216 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, "then": { - "operation": "boost", - "score": -0.08062451332807541 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10203276574611664 + }, + "else": { + "operation": "boost", + "score": 0.04144538566470146 + } }, "else": { "operation": "boost", - "score": -0.02010677382349968 + "score": 0.025565672665834427 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 175.0, "then": { + "operation": "boost", + "score": 0.048342470079660416 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 132.5, + "threshold": 147.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 161.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2183.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4080.0, - "then": { - "operation": "boost", - "score": 0.04865462705492973 - }, - "else": { - "operation": "boost", - "score": 0.09822956472635269 - } - }, - "else": { - "operation": "boost", - "score": -0.04155762866139412 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.8407748937606812 - }, - "else": { - "operation": "boost", - "score": 0.10935230553150177 - } - } + "operation": "boost", + "score": -0.28476592898368835 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "boost", - "score": -0.3095194697380066 - }, - "else": { - "operation": "boost", - "score": -0.024082016199827194 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10311874002218246 - }, - "else": { - "operation": "boost", - "score": 0.008208034560084343 - } + "score": 0.00021425083104986697 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "boost", - "score": 0.1258840411901474 + "score": -0.25123390555381775 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12065129727125168 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.09930787980556488 - }, - "else": { - "operation": "boost", - "score": -0.02181210182607174 - } - } + "operation": "boost", + "score": -0.24619022011756897 }, "else": { - "operation": "boost", - "score": 0.05234040319919586 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.0008067915332503617 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.18577730655670166 + "score": 0.1328791379928589 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10285641252994537 + "score": 0.1544123888015747 }, "else": { "operation": "boost", - "score": 0.05370555445551872 + "score": -0.05546201765537262 } } + }, + "else": { + "operation": "boost", + "score": -0.007209479808807373 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.019595304504036903 + "score": 0.14356952905654907 }, "else": { "operation": "boost", - "score": -0.09395354241132736 + "score": -0.013235644437372684 } + }, + "else": { + "operation": "boost", + "score": -0.11890233308076859 } } } } + }, + "else": { + "operation": "boost", + "score": 0.007395100314170122 } } - }, - "else": { - "operation": "boost", - "score": -0.01614421419799328 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16677415370941162 + }, + "else": { + "operation": "boost", + "score": 0.05756356567144394 + } + }, + "else": { + "operation": "boost", + "score": -0.02861224301159382 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, "then": { "operation": "boost", - "score": -0.03397110104560852 + "score": 0.05482359975576401 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { "operation": "boost", - "score": 0.008894229307770729 + "score": 0.1283283233642578 }, "else": { "operation": "boost", - "score": -0.13102243840694427 + "score": -0.183660626411438 } } }, "else": { "operation": "boost", - "score": -0.06901729851961136 + "score": -0.13418367505073547 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.1115562915802002 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012310924008488655 + } + }, + "else": { + "operation": "boost", + "score": -8.324447117047384e-05 + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.07128550112247467 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": 0.18521267175674438 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.15150751173496246 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "boost", - "score": 0.050278499722480774 + "score": 0.0028417420107871294 }, "else": { "operation": "boost", - "score": 0.008745432831346989 + "score": 0.1894560307264328 } }, "else": { "operation": "boost", - "score": -0.08319851756095886 + "score": -0.06461894512176514 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05145297944545746 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": 0.18211033940315247 + }, + "else": { + "operation": "boost", + "score": 0.19563716650009155 } }, + "else": { + "operation": "boost", + "score": 0.04487187787890434 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "boost", + "score": 0.10835906118154526 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.01610437221825123 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 359896.0, - "then": { - "operation": "boost", - "score": 0.1278890073299408 - }, - "else": { - "operation": "boost", - "score": 0.008931558579206467 - } + "operation": "boost", + "score": -0.04092175513505936 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.036060530692338943 - }, - "else": { - "operation": "boost", - "score": -0.017287397757172585 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.056696195155382156 - }, - "else": { - "operation": "boost", - "score": 0.006473137065768242 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11683782935142517 - }, - "else": { - "operation": "boost", - "score": 0.07990569621324539 - } - }, - "else": { - "operation": "boost", - "score": 0.11465925723314285 - } + "operation": "boost", + "score": 0.11332927644252777 }, "else": { "operation": "boost", - "score": 0.03440427407622337 + "score": -0.22274288535118103 } - }, - "else": { - "operation": "boost", - "score": 0.06308375298976898 } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.06770483404397964 + }, + "else": { + "operation": "boost", + "score": -0.019344504922628403 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.024985849857330322 + }, + "else": { + "operation": "boost", + "score": 0.0024406127631664276 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5590277910232544, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": -0.07493839412927628 }, "else": { "operation": "boost", - "score": 0.0011337555479258299 + "score": 0.14124920964241028 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.012149897404015064 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.12079812586307526 + }, + "else": { + "operation": "boost", + "score": -0.1048375815153122 + } + }, + "else": { + "operation": "boost", + "score": 0.02785797044634819 + } } } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2752525210380554, "then": { - "operation": "boost", - "score": -0.04528150334954262 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.003042042488232255 + "score": -0.09638497978448868 }, "else": { "operation": "boost", - "score": -0.06865804642438889 + "score": 0.00905695278197527 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.0, + "operation": "boost", + "score": 0.10982731729745865 + }, + "else": { + "operation": "boost", + "score": -0.01582574099302292 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4017857313156128, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.007009149994701147 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { "operation": "boost", - "score": 0.10095661878585815 + "score": 0.1032308042049408 }, "else": { "operation": "boost", - "score": -0.6481800079345703 + "score": -0.2746085524559021 } }, "else": { - "operation": "boost", - "score": 0.08201935887336731 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.12555323541164398 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.10887037962675095 + }, + "else": { + "operation": "boost", + "score": 0.16267284750938416 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.06476277858018875 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.18852218985557556 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.005376605782657862 + }, + "else": { + "operation": "boost", + "score": 0.12276171147823334 + } + }, + "else": { + "operation": "boost", + "score": 0.03321918845176697 + } + } + } + } + } } - }, - "else": { - "operation": "boost", - "score": -0.25196534395217896 } }, "else": { "operation": "boost", - "score": 0.09830311685800552 + "score": 0.037079401314258575 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "boost", + "score": 0.002293594414368272 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.21855397522449493 + }, + "else": { + "operation": "boost", + "score": -0.10116057842969894 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.006581497378647327 + }, + "else": { + "operation": "boost", + "score": 0.08567014336585999 + } + } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02872585877776146 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15045495331287384 }, "else": { "operation": "boost", - "score": -0.016515858471393585 + "score": 0.11385831236839294 } }, "else": { "operation": "boost", - "score": 0.11668667197227478 + "score": 0.020340178161859512 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" ], "then": { + "operation": "boost", + "score": 0.01912982389330864 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1854536533355713 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.23303167521953583, + "then": { + "operation": "boost", + "score": -0.19021378457546234 + }, + "else": { + "operation": "boost", + "score": 0.07117893546819687 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23.5, + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.021061616018414497 + "score": 0.055365778505802155 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.11408265680074692 - }, - "else": { - "operation": "boost", - "score": 0.08969686180353165 - } + "operation": "boost", + "score": 0.19766934216022491 } }, "else": { "operation": "boost", - "score": -0.02130432054400444 + "score": 0.08225294947624207 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.11231893301010132 - }, - "else": { - "operation": "boost", - "score": 0.0909404307603836 - } + "operation": "boost", + "score": -0.30694714188575745 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.2939301133155823 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.34463417530059814 - }, - "else": { - "operation": "boost", - "score": 0.08433831483125687 - } + "operation": "boost", + "score": 0.09403527528047562 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03405708819627762 - }, - "else": { - "operation": "boost", - "score": -0.10541443526744843 - } + "operation": "boost", + "score": -0.20629161596298218 } + }, + "else": { + "operation": "boost", + "score": -0.017778819426894188 } } } - }, - "else": { - "operation": "boost", - "score": -0.03231161832809448 } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297177.5, - "then": { - "operation": "boost", - "score": -0.008722597733139992 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.039050620049238205 }, "else": { - "operation": "boost", - "score": -0.07227066904306412 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.06635073572397232 + "score": 0.0357237383723259 }, "else": { "operation": "boost", - "score": 0.09637418389320374 + "score": -0.009482743218541145 } - }, - "else": { - "operation": "boost", - "score": 0.0037142287474125624 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.004244958516210318 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04694633185863495 - }, - "else": { - "operation": "boost", - "score": 0.02646108902990818 - } - } - }, - "else": { - "operation": "boost", - "score": -0.003200339851900935 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0048749144189059734 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01166597381234169 - }, - "else": { - "operation": "boost", - "score": 0.06572400778532028 - } - } - }, - "else": { - "operation": "boost", - "score": -0.01111754309386015 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0010641446569934487 - } - }, - { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Operator" + ], "then": { "operation": "boost", - "score": -0.014412764459848404 + "score": 0.03348710760474205 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05605660751461983 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0787934809923172 - }, - "else": { - "operation": "boost", - "score": 0.0807112380862236 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.006987827364355326 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ParenthesizedExpression" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" ], "then": { + "operation": "boost", + "score": -0.02015146054327488 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { - "operation": "boost", - "score": -0.146385058760643 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.037757519632577896 + }, + "else": { + "operation": "boost", + "score": -0.18356336653232574 + } }, "else": { - "operation": "boost", - "score": 0.04384787380695343 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.079160675406456 + "score": -0.06052621826529503 }, "else": { "operation": "boost", - "score": -0.8892221450805664 + "score": 0.0426308810710907 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": 0.11646933853626251 }, "else": { "operation": "boost", - "score": 0.11754801124334335 + "score": -0.05212235450744629 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.016587238758802414 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1819852888584137, + "then": { + "operation": "boost", + "score": 0.02934025414288044 + }, + "else": { + "operation": "boost", + "score": -0.5126950740814209 + } + }, + "else": { + "operation": "boost", + "score": -0.0038909141439944506 + } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03600252419710159 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.0584319531917572 + }, + "else": { + "operation": "boost", + "score": 0.10772497206926346 + } + }, + "else": { + "operation": "boost", + "score": -0.0022501349449157715 + } }, "else": { "operation": "boost", - "score": -0.0998569130897522 + "score": -0.042123597115278244 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 54.5, + "threshold": 49.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.10789617151021957 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.11676270514726639 + "score": -0.17342890799045563 }, "else": { + "operation": "boost", + "score": 0.033964380621910095 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { "operation": "boost", - "score": -0.12644465267658234 + "score": 0.1537722498178482 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { "operation": "boost", - "score": 0.002747832564637065 + "score": -0.04366285726428032 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.12908215820789337 + "score": 0.07335149496793747 }, "else": { "operation": "boost", - "score": 0.07457523047924042 + "score": 0.11988359689712524 } } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7250000238418579, + "then": { + "operation": "boost", + "score": -1.63064706325531 + }, + "else": { + "operation": "boost", + "score": -0.025935404002666473 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": -0.4389355182647705 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4305555522441864, + "then": { + "operation": "boost", + "score": 0.07605664432048798 + }, + "else": { + "operation": "boost", + "score": -0.03305544704198837 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06349124014377594 + }, + "else": { + "operation": "boost", + "score": -0.22372175753116608 + } + }, + "else": { + "operation": "boost", + "score": 0.11699933558702469 + } + }, + "else": { + "operation": "boost", + "score": 0.06756901741027832 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.17179693281650543 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.24495472013950348 + "score": 0.07606672495603561 }, "else": { "operation": "boost", - "score": 0.10426837205886841 + "score": -0.21277792751789093 } }, "else": { "operation": "boost", - "score": 0.005372007377445698 + "score": 0.048496875911951065 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.023241402581334114 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11488129198551178 + "score": 0.11786769330501556 }, "else": { "operation": "boost", - "score": 0.030833356082439423 + "score": 0.04296271875500679 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11326320469379425 }, "else": { "operation": "boost", - "score": 0.10658983141183853 + "score": -0.004220801405608654 } - }, - "else": { - "operation": "boost", - "score": -0.101736880838871 } } } + }, + "else": { + "operation": "boost", + "score": -0.014850818552076817 } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.1304989755153656 - }, - "else": { - "operation": "boost", - "score": -0.13074424862861633 - } + "operation": "boost", + "score": 0.009508082643151283 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.012700696475803852 - }, - "else": { - "operation": "boost", - "score": -0.050258032977581024 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, "then": { - "operation": "boost", - "score": -0.006096061319112778 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.031625788658857346 + }, + "else": { + "operation": "boost", + "score": 0.036055877804756165 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3244180977344513 - }, - "else": { - "operation": "boost", - "score": 0.10565035790205002 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11369853466749191 - }, - "else": { - "operation": "boost", - "score": -0.07390407472848892 - } - } + "operation": "boost", + "score": 0.0776815265417099 }, "else": { "operation": "boost", - "score": 0.11728863418102264 + "score": 0.1244947537779808 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04693758487701416 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.08525485545396805 - }, - "else": { - "operation": "boost", - "score": -0.35100609064102173 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.2719312906265259 - }, - "else": { - "operation": "boost", - "score": 0.003316278802230954 - } - } - } + "operation": "boost", + "score": 0.018756110221147537 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "boost", + "score": 0.05738869681954384 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.011716301552951336 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.035222165286540985 + "score": -0.06061749532818794 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, "then": { "operation": "boost", - "score": 0.025480138137936592 + "score": 0.08091767877340317 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { - "operation": "boost", - "score": -0.04670265316963196 - }, - "else": { - "operation": "boost", - "score": -0.11638084053993225 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.022614311426877975 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.15004995465278625 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11783327162265778 - }, - "else": { - "operation": "boost", - "score": 0.05894634127616882 - } - } - }, - "else": { - "operation": "boost", - "score": -0.14344114065170288 - } + "operation": "boost", + "score": -0.12490499019622803 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11100815236568451 + "score": 0.04176581650972366 }, "else": { "operation": "boost", - "score": 0.09541548043489456 + "score": 0.16840475797653198 } } + }, + "else": { + "operation": "boost", + "score": -0.03598840534687042 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, + "then": { + "operation": "boost", + "score": 0.011411257088184357 }, "else": { "operation": "boost", - "score": -0.0013598862569779158 + "score": 0.1008872240781784 } } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "boost", + "score": -0.03730209916830063 + }, + "else": { + "operation": "boost", + "score": 0.03691767156124115 + } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type" + ], "then": { "operation": "boost", - "score": -0.2044491022825241 + "score": 0.023401794955134392 }, "else": { - "operation": "boost", - "score": -0.5456435084342957 + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.2663816213607788 + }, + "else": { + "operation": "boost", + "score": -0.08759929984807968 + } + }, + "else": { + "operation": "boost", + "score": -0.016465436667203903 + } } }, "else": { "operation": "boost", - "score": 0.0006042178720235825 + "score": -0.02593507617712021 } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3775.5, + "then": { + "operation": "boost", + "score": 0.0698801800608635 + }, + "else": { + "operation": "boost", + "score": 0.0025992807932198048 + } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": -0.004202173091471195 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00022224019630812109 + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09307359158992767, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "boost", + "score": 0.0015182921197265387 + }, + "else": { + "operation": "boost", + "score": -0.02775740623474121 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.13543497025966644 + }, + "else": { + "operation": "boost", + "score": 0.02707040309906006 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2390.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6708.0, + "then": { + "operation": "boost", + "score": -3.874232334055705e-06 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6494.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.01247369684278965 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6604.5, + "then": { + "operation": "boost", + "score": 0.11426930129528046 + }, + "else": { + "operation": "boost", + "score": 0.1367977410554886 + } }, "else": { - "operation": "boost", - "score": -0.005197540856897831 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11392082273960114 + }, + "else": { + "operation": "boost", + "score": 0.06227399781346321 + } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", "CCC_Type" ], "then": { "operation": "boost", - "score": 0.05044139176607132 + "score": 0.1337660253047943 }, "else": { - "operation": "boost", - "score": -0.01386462152004242 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6652.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.1423722803592682 + }, + "else": { + "operation": "boost", + "score": 0.13054975867271423 + } + }, + "else": { + "operation": "boost", + "score": -0.05327189341187477 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "boost", - "score": 0.0722571611404419 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": -0.6605071425437927 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.3358222544193268 + }, + "else": { + "operation": "boost", + "score": 0.06328912824392319 + } + } }, "else": { "operation": "boost", - "score": -0.032365262508392334 + "score": 0.05486714094877243 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 6360.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FractionNameInContext", + "threshold": 0.06281501054763794, "then": { + "operation": "boost", + "score": 0.09090439975261688 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 245161.0, + "threshold": 6388.5, "then": { "operation": "boost", - "score": -0.008574661798775196 + "score": 0.09062378853559494 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.1039302796125412 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2533.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2814.0, "then": { + "operation": "boost", + "score": -0.05716109648346901 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.10101009905338287, "then": { "operation": "boost", - "score": -0.7367027997970581 + "score": 0.06989220529794693 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 2722.5, "then": { - "operation": "boost", - "score": 0.11167822778224945 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2734.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.08988340198993683 + "score": 0.021351903676986694 }, "else": { "operation": "boost", - "score": 0.023328006267547607 + "score": -1.7968758344650269 } }, "else": { "operation": "boost", - "score": -0.1092785894870758 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07191532105207443 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.02401733584702015 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.10053097456693649 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 381517.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.05999613553285599 - }, - "else": { - "operation": "boost", - "score": -1.2128745317459106 - } - }, - "else": { - "operation": "boost", - "score": 0.049457233399152756 - } + "score": -2.478522777557373 } }, "else": { "operation": "boost", - "score": -0.4161752760410309 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 381517.0, - "then": { - "operation": "boost", - "score": -0.8855460286140442 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.11223690956830978 - }, - "else": { - "operation": "boost", - "score": 0.09483110904693604 - } - }, - "else": { - "operation": "boost", - "score": -0.0036206713411957026 - } + "score": -0.07326314598321915 } } - }, - "else": { - "operation": "boost", - "score": -0.0048116096295416355 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1623108983039856 - }, - "else": { - "operation": "boost", - "score": -0.031907819211483 - } - }, - "else": { - "operation": "boost", - "score": -0.21431861817836761 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.026370586827397346 + "score": 0.03330662474036217 }, "else": { "operation": "boost", - "score": -0.3781226575374603 + "score": -0.35621580481529236 } } }, "else": { - "operation": "boost", - "score": 0.015576930716633797 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.07146667689085007 + }, + "else": { + "operation": "boost", + "score": 0.12270418554544449 + } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2476.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 3370.5, "then": { - "operation": "boost", - "score": 0.033351462334394455 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 5339.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 6008.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 6106.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "boost", - "score": 0.07770910859107971 + "score": -0.04797689989209175 }, "else": { - "operation": "boost", - "score": -0.11805037409067154 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6374.5, + "then": { + "operation": "boost", + "score": -0.10791786015033722 + }, + "else": { + "operation": "boost", + "score": 0.13799159228801727 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.10112662613391876 + "score": 0.1437888741493225 }, "else": { "operation": "boost", - "score": -1.2225909233093262 + "score": 0.11265795677900314 } } }, "else": { - "operation": "boost", - "score": -0.012631651014089584 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.1406605988740921 + }, + "else": { + "operation": "boost", + "score": 0.17535671591758728 + } + }, + "else": { + "operation": "boost", + "score": 0.12981726229190826 + } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.09092079102993011 + "score": 0.011228172108530998 }, "else": { "operation": "boost", - "score": 0.116029292345047 + "score": -2.1979475021362305 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11028186231851578 - }, - "else": { - "operation": "boost", - "score": 0.01858699321746826 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 5294.5, "then": { - "operation": "boost", - "score": -0.07736318558454514 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.1006784588098526 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.1297450065612793 + }, + "else": { + "operation": "boost", + "score": 0.10366339981555939 + } + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": -0.2559110224246979 + "score": 0.05397460609674454 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.02615673653781414 + "score": -0.05150702968239784 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.09534895420074463 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 4124.0, "then": { - "operation": "boost", - "score": 0.10275302082300186 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4166.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.1571211814880371 + }, + "else": { + "operation": "boost", + "score": 0.10068019479513168 + } + }, + "else": { + "operation": "boost", + "score": -0.021071521565318108 + } + }, + "else": { + "operation": "boost", + "score": 0.14535902440547943 + } }, "else": { "operation": "boost", - "score": 0.06757719069719315 + "score": 0.016482418403029442 } + }, + "else": { + "operation": "boost", + "score": -0.014595367945730686 } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3351.5, + "then": { + "operation": "boost", + "score": -0.27632394433021545 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2622.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3904.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03867905214428902 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2550.5, "then": { - "operation": "boost", - "score": 0.11519208550453186 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.04129726439714432 + }, + "else": { + "operation": "boost", + "score": 0.8549372553825378 + } }, "else": { "operation": "boost", - "score": 0.06635088473558426 + "score": 0.12668997049331665 } + }, + "else": { + "operation": "boost", + "score": 0.06881655007600784 } }, "else": { "operation": "boost", - "score": -0.029296724125742912 + "score": -0.027818752452731133 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2474.0, + "then": { + "operation": "boost", + "score": 0.1367071568965912 }, "else": { - "operation": "boost", - "score": -0.06871769577264786 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.10314103960990906 + }, + "else": { + "operation": "boost", + "score": -0.005811640061438084 + } } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 242.0, + "threshold": 2943.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 765.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 830.5, - "then": { - "operation": "boost", - "score": 0.04775385186076164 - }, - "else": { - "operation": "boost", - "score": -0.7906782627105713 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 619.5, - "then": { - "operation": "boost", - "score": 0.12278055399656296 - }, - "else": { - "operation": "boost", - "score": 0.024904832243919373 - } - }, - "else": { - "operation": "boost", - "score": 0.07030005007982254 - } - } + "operation": "boost", + "score": 0.04109447821974754 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.01699988543987274 - }, - "else": { - "operation": "boost", - "score": -0.06546232104301453 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 145.5, + "threshold": 2535.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2694.0, "then": { - "operation": "boost", - "score": -0.4000582993030548 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.1436345875263214 + }, + "else": { + "operation": "boost", + "score": 0.14271579682826996 + } }, "else": { "operation": "boost", - "score": -2.0699143409729004 + "score": -0.07253601402044296 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 121.5, + "threshold": 2481.0, "then": { "operation": "boost", - "score": 0.09051056951284409 + "score": 0.12645301222801208 }, "else": { "operation": "boost", - "score": 0.026560338214039803 + "score": -0.10010379552841187 } } + }, + "else": { + "operation": "boost", + "score": 0.14758066833019257 } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03894011676311493 - }, - "else": { - "operation": "boost", - "score": -0.01780949905514717 - } + "operation": "boost", + "score": -0.004486845340579748 } } } @@ -302255,3719 +301856,4633 @@ } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, "then": { "operation": "boost", - "score": 0.006817126180976629 + "score": -0.06747034937143326 }, "else": { "operation": "boost", - "score": -0.005930924788117409 + "score": 0.026772823184728622 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.002969286637380719 - }, - "else": { - "operation": "boost", - "score": -0.009936890564858913 - } - }, - "else": { - "operation": "boost", - "score": -0.002193744294345379 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0004847196687478572 - } - }, - "else": { - "operation": "boost", - "score": -0.0016964878886938095 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25184.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26864.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28180.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 224557.0, + "threshold": 13235.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13324.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.19576920568943024 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.10911203175783157 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.040122270584106445 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10033727437257767 - }, - "else": { - "operation": "boost", - "score": -0.12018615007400513 - } - } - } - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 820317.5, + "threshold": 16817.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1074118.5, + "threshold": 18769.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.012517380528151989 - }, - "else": { - "operation": "boost", - "score": -0.008301163092255592 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "feature": "NumReferences", + "threshold": 19345.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.06094193458557129 - }, - "else": { - "operation": "boost", - "score": 0.07389459758996964 - } - }, - "else": { - "operation": "boost", - "score": 0.07894423604011536 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 27874.5, "then": { - "operation": "boost", - "score": 0.057412173599004745 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 29053.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 29460.5, "then": { - "operation": "boost", - "score": 0.04015248641371727 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30061.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32671.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40902.5, + "then": { + "operation": "boost", + "score": -0.006687142886221409 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40078.5, + "then": { + "operation": "boost", + "score": 0.11102434992790222 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34582.0, + "then": { + "operation": "boost", + "score": -0.18423229455947876 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33610.5, + "then": { + "operation": "boost", + "score": 0.04385150969028473 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10637932270765305 + }, + "else": { + "operation": "boost", + "score": 0.14446015655994415 + } + } + }, + "else": { + "operation": "boost", + "score": -0.021310560405254364 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1377364993095398 + } + }, + "else": { + "operation": "boost", + "score": 0.09323474019765854 + } }, "else": { + "operation": "boost", + "score": -0.36767733097076416 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28604.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 28939.5, "then": { "operation": "boost", - "score": -0.029082857072353363 + "score": 0.08176694065332413 }, "else": { - "operation": "boost", - "score": -0.22383418679237366 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.15568190813064575 + }, + "else": { + "operation": "boost", + "score": 0.15265198051929474 + } } + }, + "else": { + "operation": "boost", + "score": 0.023858169093728065 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20345.0, + "then": { + "operation": "boost", + "score": -0.06815442442893982 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.0318157859146595 + "score": 0.1200193390250206 }, "else": { "operation": "boost", - "score": 0.10758604109287262 + "score": 0.03971268981695175 } }, "else": { "operation": "boost", - "score": -0.024015579372644424 + "score": -0.003887808881700039 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": -0.018568281084299088 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01688479445874691 }, "else": { - "operation": "boost", - "score": -0.4869035482406616 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19203.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.12650124728679657 + }, + "else": { + "operation": "boost", + "score": 0.16761577129364014 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18885.0, + "then": { + "operation": "boost", + "score": -0.17799849808216095 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.11293952167034149 + }, + "else": { + "operation": "boost", + "score": -0.011831436306238174 + } + } + } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.48003441095352173 }, "else": { "operation": "boost", - "score": 0.027522793039679527 + "score": -0.1381049007177353 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97230.0, + "threshold": 13805.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10390252619981766 - }, - "else": { - "operation": "boost", - "score": 0.0465371310710907 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 36980.0, - "then": { - "operation": "boost", - "score": -0.12483083456754684 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09740544110536575 - }, - "else": { - "operation": "boost", - "score": 0.02651919424533844 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "boost", - "score": 0.005391511134803295 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "threshold": 15079.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30061.5, - "then": { - "operation": "boost", - "score": -0.035623449832201004 - }, - "else": { - "operation": "boost", - "score": 0.06732653081417084 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "threshold": 15565.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15687.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 16793.5, "then": { - "operation": "boost", - "score": 0.008456042967736721 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.1252603828907013 + "score": 0.13649584352970123 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.11114731431007385 - }, - "else": { - "operation": "boost", - "score": 0.11983220279216766 - } - }, - "else": { - "operation": "boost", - "score": -0.021851247176527977 - } - }, - "else": { - "operation": "boost", - "score": -0.0019197211368009448 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10942717641592026 - }, - "else": { - "operation": "boost", - "score": 0.06347320973873138 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { "operation": "boost", - "score": 0.044244568794965744 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06412011384963989 - }, - "else": { - "operation": "boost", - "score": 0.09697183221578598 - } + "score": -0.040926188230514526 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33451.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11109161376953125 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06392008811235428 - }, - "else": { - "operation": "boost", - "score": 0.1790025681257248 - } - } + "operation": "boost", + "score": 0.07771372050046921 }, "else": { "operation": "boost", - "score": 0.0008473021443933249 + "score": -0.13674096763134003 } } }, + "else": { + "operation": "boost", + "score": 0.08950873464345932 + } + }, + "else": { + "operation": "boost", + "score": -0.056149598211050034 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14845.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11736533045768738 + }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0578865148127079 + "score": 0.11553268134593964 }, "else": { "operation": "boost", - "score": -0.036729276180267334 + "score": -0.13093720376491547 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10120397806167603 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14176.0, "then": { "operation": "boost", - "score": -0.10034690797328949 + "score": -0.1866273283958435 }, "else": { "operation": "boost", - "score": 0.26597148180007935 + "score": 0.09888190776109695 } } - }, - "else": { - "operation": "boost", - "score": -0.06612683832645416 } }, "else": { "operation": "boost", - "score": 0.016109244897961617 + "score": -0.03721986711025238 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27682.0, - "then": { - "operation": "boost", - "score": 0.11514627188444138 }, "else": { - "operation": "boost", - "score": -0.4114331305027008 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.0, "then": { "operation": "boost", - "score": 0.0019719155970960855 + "score": 0.16906419396400452 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1034558042883873 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": -0.6836487650871277 - }, - "else": { - "operation": "boost", - "score": 0.09031753242015839 - } - } + "operation": "boost", + "score": 0.22005346417427063 } }, "else": { "operation": "boost", - "score": -0.5702822208404541 + "score": -0.10892517864704132 } - }, - "else": { - "operation": "boost", - "score": -0.2971321642398834 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10796187072992325 + "score": -0.06810490787029266 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10636324435472488 - }, - "else": { - "operation": "boost", - "score": -0.12431108206510544 - } + "operation": "boost", + "score": -0.0033267736434936523 } - }, - "else": { - "operation": "boost", - "score": -0.36266660690307617 } }, + "else": { + "operation": "boost", + "score": -0.11279362440109253 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.00697467103600502 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8161.0, + "then": { + "operation": "boost", + "score": 0.009343365207314491 + }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7457.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11328788101673126 - }, - "else": { - "operation": "boost", - "score": 0.14138925075531006 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 7813.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25940.5, + "threshold": 8150.0, "then": { "operation": "boost", - "score": -0.18554921448230743 + "score": 0.15158778429031372 }, "else": { "operation": "boost", - "score": 0.4724576473236084 + "score": -0.01630363240838051 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 7731.5, "then": { + "operation": "boost", + "score": 0.15032565593719482 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 7661.5, "then": { + "operation": "boost", + "score": -0.0995996817946434 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.1117578074336052 - }, - "else": { - "operation": "boost", - "score": 0.11634249985218048 - } + "operation": "boost", + "score": 0.07621867954730988 }, "else": { "operation": "boost", - "score": 0.03168267011642456 + "score": 0.1383035033941269 } - }, - "else": { - "operation": "boost", - "score": -0.02725602686405182 } - }, - "else": { - "operation": "boost", - "score": 0.10743792355060577 } } + }, + "else": { + "operation": "boost", + "score": 0.030124586075544357 } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.005378338973969221 + "score": 0.03886666148900986 }, "else": { "operation": "boost", - "score": -0.010789294727146626 + "score": -0.08134359866380692 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2368.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.12450715154409409 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.19025078415870667 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.47089213132858276 + }, + "else": { + "operation": "boost", + "score": -0.10664258897304535 + } }, "else": { "operation": "boost", - "score": 0.12830929458141327 + "score": -0.09294426441192627 } - }, - "else": { - "operation": "boost", - "score": -0.09694735705852509 } + }, + "else": { + "operation": "boost", + "score": -0.0003398969420231879 } - }, - "else": { + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Symbol" + "Constructor", + "Function", + "Keyword", + "Macro", + "Type", + "Variable" ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01936095952987671 + }, + "else": { + "operation": "boost", + "score": 0.0040427870117127895 + } + }, + "else": { + "operation": "boost", + "score": -0.021863743662834167 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20345.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": 0.027394382283091545 + }, + "else": { + "operation": "boost", + "score": -0.0027056222315877676 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { "operation": "boost", - "score": 0.09202833473682404 + "score": -0.8485381603240967 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.27745646238327026 - }, - "else": { - "operation": "boost", - "score": -0.00374954123981297 - } + "operation": "boost", + "score": 0.0784241259098053 } }, "else": { "operation": "boost", - "score": 0.023071832954883575 + "score": 0.12158642709255219 } }, "else": { - "operation": "boost", - "score": -0.07841986417770386 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.03383218124508858 + }, + "else": { + "operation": "boost", + "score": -0.06338576227426529 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { + "operation": "boost", + "score": -0.10666576772928238 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22957.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.14553745090961456 - }, - "else": { - "operation": "boost", - "score": 0.07525160163640976 - } + "operation": "boost", + "score": -0.023904383182525635 }, "else": { "operation": "boost", - "score": 0.09380579739809036 + "score": -0.13939835131168365 } }, "else": { "operation": "boost", - "score": 0.019561665132641792 + "score": 0.12282302975654602 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 365.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04944198951125145 - }, - "else": { - "operation": "boost", - "score": 0.13270632922649384 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "feature": "NumReferences", + "threshold": 385.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20487.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.6112586259841919 + "score": 0.08776383846998215 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.284547358751297 - }, - "else": { - "operation": "boost", - "score": -0.16835801303386688 - } + "operation": "boost", + "score": -0.13985460996627808 } }, "else": { "operation": "boost", - "score": 0.016445279121398926 + "score": -1.0542540550231934 } + }, + "else": { + "operation": "boost", + "score": -0.015675639733672142 } + }, + "else": { + "operation": "boost", + "score": -0.2446300983428955 } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.006928531918674707 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3682255744934082 }, "else": { "operation": "boost", - "score": 0.006605330388993025 + "score": -0.008105081506073475 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, - "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.018518518656492233, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09856479614973068 - }, - "else": { - "operation": "boost", - "score": 0.11980900913476944 - } + "operation": "boost", + "score": -0.005238381680101156 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.14461782574653625 + "score": -0.05972979590296745 }, "else": { - "operation": "boost", - "score": -0.1101173534989357 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.047779109328985214 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10356276482343674 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": 0.10275030136108398 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.005799292586743832 + }, + "else": { + "operation": "boost", + "score": -0.06384143233299255 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.05316401645541191 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.042431846261024475 + }, + "else": { + "operation": "boost", + "score": -0.08560650795698166 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07001741230487823 + } + } + } } } }, "else": { - "operation": "boost", - "score": 0.1297493875026703 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.2732391357421875 + "score": 0.028370654210448265 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.042684487998485565 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20000.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.001902248477563262 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12246359884738922 + "score": -0.07124879956245422 }, "else": { "operation": "boost", - "score": 0.036639951169490814 + "score": 0.020272042602300644 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.016102192923426628 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.20418226718902588 + "score": 0.07316364347934723 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07267118990421295 + "score": 0.0981588289141655 }, "else": { "operation": "boost", - "score": 0.1117396429181099 + "score": -0.012093956582248211 } } } } } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.506714940071106 + "score": -0.07735264301300049 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { "operation": "boost", - "score": -0.17654521763324738 + "score": 0.06540066003799438 }, "else": { "operation": "boost", - "score": 0.088651642203331 + "score": 0.10615776479244232 } }, "else": { "operation": "boost", - "score": -0.0023156972602009773 + "score": 0.05000218749046326 } } }, "else": { - "operation": "boost", - "score": 0.10413626581430435 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.00948649737983942 + }, + "else": { + "operation": "boost", + "score": 0.10513680428266525 + } } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02680112235248089 + "score": 0.019271621480584145 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.17309193313121796 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10821636766195297 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19827.5, - "then": { - "operation": "boost", - "score": 0.06074473634362221 - }, - "else": { - "operation": "boost", - "score": 0.11592978984117508 - } - }, - "else": { - "operation": "boost", - "score": 0.08718041330575943 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04640482738614082 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.14031246304512024 - }, - "else": { - "operation": "boost", - "score": -0.04771795868873596 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.017146514728665352 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.09453095495700836 - }, - "else": { - "operation": "boost", - "score": 0.10651775449514389 - } - }, - "else": { - "operation": "boost", - "score": -0.5432167053222656 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.34548279643058777 + "score": 0.06560314446687698 }, "else": { "operation": "boost", - "score": -0.002582325367256999 + "score": 0.10810854285955429 } + }, + "else": { + "operation": "boost", + "score": -0.054789211601018906 } + }, + "else": { + "operation": "boost", + "score": -0.02546512894332409 } } } + }, + "else": { + "operation": "boost", + "score": -0.020593145862221718 } } } }, "else": { "operation": "boost", - "score": 0.021413862705230713 + "score": 0.08598975837230682 } } }, "else": { - "operation": "boost", - "score": -0.00022388073557522148 - } - }, - { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 277.0, + "feature": "FractionNameInContext", + "threshold": 0.8541666269302368, "then": { - "operation": "boost", - "score": 0.1400744467973709 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.08363334834575653 + }, + "else": { + "operation": "boost", + "score": -0.06460016220808029 + } + }, + "else": { + "operation": "boost", + "score": -0.42723432183265686 + } + }, + "else": { + "operation": "boost", + "score": 0.03718556836247444 + } }, "else": { - "operation": "boost", - "score": -0.04112422838807106 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": 0.0775347650051117 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.08868597447872162 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "boost", + "score": 0.10312934964895248 + }, + "else": { + "operation": "boost", + "score": -0.25414830446243286 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12174779921770096 + "score": 0.11427266895771027 }, "else": { + "operation": "boost", + "score": -0.08900338411331177 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1077289804816246 + "score": -0.12269314378499985 }, "else": { - "operation": "boost", - "score": -0.019398318603634834 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.03617284446954727 + }, + "else": { + "operation": "boost", + "score": 0.08710368722677231 + } + }, + "else": { + "operation": "boost", + "score": -0.028459656983613968 + } } + }, + "else": { + "operation": "boost", + "score": 0.087054543197155 } + }, + "else": { + "operation": "boost", + "score": 0.005270833615213633 } }, "else": { + "operation": "boost", + "score": 0.016734670847654343 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10969644784927368 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.019829943776130676 + }, + "else": { + "operation": "boost", + "score": 0.002945809857919812 + } + }, + "else": { + "operation": "boost", + "score": -0.1438738852739334 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.0009173642029054463 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, "then": { + "operation": "boost", + "score": 0.036549389362335205 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 1280205.5, "then": { + "operation": "boost", + "score": -0.06712494790554047 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.003755465615540743 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.5, + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.05604347586631775 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.0, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { - "operation": "boost", - "score": 0.05977306887507439 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.09275482594966888 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.27932724356651306 + }, + "else": { + "operation": "boost", + "score": 0.0148008419200778 + } + }, + "else": { + "operation": "boost", + "score": 0.04808541387319565 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { "operation": "boost", - "score": 0.14615048468112946 + "score": -0.04338842257857323 }, "else": { "operation": "boost", - "score": 0.06127196177840233 + "score": 0.05871729180216789 } } + }, + "else": { + "operation": "boost", + "score": -0.027369387447834015 + } + } + }, + "else": { + "operation": "boost", + "score": 0.018457861617207527 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.013038813136518002 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.0, + "then": { + "operation": "boost", + "score": -0.6216436624526978 + }, + "else": { + "operation": "boost", + "score": -0.08112737536430359 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.19454243779182434 + "score": 0.018892919644713402 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.0839160829782486, "then": { "operation": "boost", - "score": -0.299567848443985 + "score": 0.3084905445575714 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09156773239374161 - }, - "else": { - "operation": "boost", - "score": 0.10484350472688675 - } - }, - "else": { - "operation": "boost", - "score": 0.11844876408576965 - } + "operation": "boost", + "score": -0.057741858065128326 } }, "else": { - "operation": "boost", - "score": 0.05946531519293785 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.038555167615413666 + }, + "else": { + "operation": "boost", + "score": 0.10882753878831863 + } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11582613736391068 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 4.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.15441149473190308 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 10.0, + "then": { + "operation": "boost", + "score": 0.14212140440940857 + }, + "else": { + "operation": "boost", + "score": 0.02790191024541855 + } }, "else": { - "operation": "boost", - "score": 0.11945070326328278 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16206.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94786.0, + "then": { + "operation": "boost", + "score": 0.0014118080725893378 + }, + "else": { + "operation": "boost", + "score": -0.10097400844097137 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7946.0, + "then": { + "operation": "boost", + "score": 0.08419424295425415 + }, + "else": { + "operation": "boost", + "score": 0.0055386065505445 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03316589072346687 + } } } + }, + "else": { + "operation": "boost", + "score": 0.025468936190009117 } - }, - "else": { - "operation": "boost", - "score": -0.023366471752524376 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5230.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.013848211616277695 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.07614503055810928 + "score": 0.022534204646945 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09122985601425171 + "score": 0.10628576576709747 }, "else": { "operation": "boost", - "score": -0.10437978059053421 + "score": 0.10743087530136108 } }, "else": { "operation": "boost", - "score": 0.1144028976559639 + "score": 0.11662889271974564 } } - }, - "else": { - "operation": "boost", - "score": -0.10874655842781067 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10308852046728134 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.11124583333730698 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.07285165786743164 + "score": -0.013118123635649681 }, "else": { "operation": "boost", - "score": -0.7299579977989197 + "score": 0.03755487501621246 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 22610.5, + "threshold": 269.0, "then": { "operation": "boost", - "score": -0.014667797833681107 + "score": -0.2010090947151184 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.27199122309684753 + "score": -0.0008764421218074858 }, "else": { - "operation": "boost", - "score": -0.26804426312446594 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.12416515499353409 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { - "operation": "boost", - "score": -0.07859598100185394 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": -0.31674981117248535 + }, + "else": { + "operation": "boost", + "score": -0.5668542385101318 + } + }, + "else": { + "operation": "boost", + "score": -0.07313496619462967 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11914780735969543 + "score": 0.5984421968460083 }, "else": { - "operation": "boost", - "score": 0.10751335322856903 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": -0.003977784421294928 + }, + "else": { + "operation": "boost", + "score": -0.06119612976908684 + } } } - }, - "else": { - "operation": "boost", - "score": -0.12259835749864578 } } } - }, - "else": { - "operation": "boost", - "score": -0.010110598988831043 } } + }, + "else": { + "operation": "boost", + "score": 0.010166878812015057 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47907.0, + "operation": "boost", + "score": 0.00848524272441864 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.02763502672314644 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23188.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.009427987970411777 + }, + "else": { + "operation": "boost", + "score": -0.14167682826519012 + } + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 21951.5, "then": { "operation": "boost", - "score": 0.10642696171998978 + "score": 0.12034722417593002 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.09972960501909256 + "score": -0.0015964774647727609 }, "else": { "operation": "boost", - "score": 0.05970760062336922 + "score": 0.012698935344815254 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.057259451597929, + "then": { + "operation": "boost", + "score": 0.004842444323003292 + }, + "else": { + "operation": "boost", + "score": -0.03025197796523571 + } }, "else": { "operation": "boost", - "score": -0.10228735208511353 + "score": -0.022734418511390686 } } }, "else": { "operation": "boost", - "score": 0.002507341792806983 + "score": -0.009737391956150532 } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": 0.00023052006145007908 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04926171153783798 + }, + "else": { + "operation": "boost", + "score": 0.0041206455789506435 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.028144868090748787 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3100961446762085, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumNameInContext", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.07633604109287262 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20988.0, - "then": { - "operation": "boost", - "score": 0.0665389820933342 - }, - "else": { - "operation": "boost", - "score": -0.11165913939476013 - } - } + "operation": "boost", + "score": 0.13893242180347443 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "boost", + "score": 0.029902417212724686 + } + }, + "else": { + "operation": "boost", + "score": -0.01056070625782013 + } + }, + "else": { + "operation": "boost", + "score": 0.009251846000552177 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00017717760056257248 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.23697957396507263 + }, + "else": { + "operation": "boost", + "score": 0.050165604799985886 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.09154843538999557 + }, + "else": { + "operation": "boost", + "score": -0.008111266419291496 + } + } + }, + "else": { + "operation": "boost", + "score": -0.023045750334858894 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.11176493018865585 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015543865971267223 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, + "then": { + "operation": "boost", + "score": 0.0008462637197226286 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06871715188026428 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10464126616716385 + }, + "else": { + "operation": "boost", + "score": 0.07314834743738174 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007021393161267042 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": 0.028150243684649467 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.035485148429870605 + }, + "else": { + "operation": "boost", + "score": 0.11148256808519363 + } + }, + "else": { + "operation": "boost", + "score": 0.0007513374439440668 + } + } + }, + "else": { + "operation": "boost", + "score": -0.18581613898277283 + } + } + } }, "else": { + "operation": "boost", + "score": -0.005034881643950939 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_Statement" ], "then": { "operation": "boost", - "score": 0.8495534658432007 + "score": 0.04980679973959923 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.00571161974221468 + }, + "else": { + "operation": "boost", + "score": -0.06348571181297302 + } + }, + "else": { + "operation": "boost", + "score": 0.032361067831516266 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6515151262283325, + "then": { + "operation": "boost", + "score": -0.08836278319358826 + }, + "else": { + "operation": "boost", + "score": 0.01232109684497118 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.00895602535456419 }, "else": { "operation": "boost", - "score": 0.040087759494781494 + "score": 0.10547942668199539 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.15803325176239014 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 37.0, "then": { + "operation": "boost", + "score": -0.016224386170506477 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 34.5, + "then": { + "operation": "boost", + "score": 0.39183929562568665 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "boost", + "score": 0.15654230117797852 + }, + "else": { + "operation": "boost", + "score": 0.10188979655504227 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.057244379073381424 + }, + "else": { + "operation": "boost", + "score": -0.03710944205522537 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.08450291305780411 + }, + "else": { + "operation": "boost", + "score": -0.06051163002848625 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.0, + "threshold": 235.5, + "then": { + "operation": "boost", + "score": -0.3228762447834015 + }, + "else": { + "operation": "boost", + "score": 0.16186118125915527 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 440.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.09357529878616333 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "boost", + "score": 0.112153559923172 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.18033123016357422 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03282530978322029 + }, + "else": { + "operation": "boost", + "score": 0.28828829526901245 + } + } + } }, "else": { "operation": "boost", - "score": -0.13712544739246368 + "score": 0.05268118530511856 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.04256065934896469 + "score": 0.07338651269674301 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09425998479127884 - }, - "else": { - "operation": "boost", - "score": 0.13264474272727966 - } + "operation": "boost", + "score": -0.005888373591005802 }, "else": { "operation": "boost", - "score": 0.05392639338970184 + "score": 0.11058959364891052 } }, + "else": { + "operation": "boost", + "score": -0.08792800456285477 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7638888955116272, + "then": { + "operation": "boost", + "score": 0.12477650493383408 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.11164649575948715 + }, + "else": { + "operation": "boost", + "score": -0.22721299529075623 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "boost", + "score": 0.011006336659193039 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.1681545525789261 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.11355345696210861 + }, + "else": { + "operation": "boost", + "score": -0.26199033856391907 + } }, "else": { - "operation": "boost", - "score": 0.40778711438179016 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12025395035743713 + }, + "else": { + "operation": "boost", + "score": -0.19220396876335144 + } } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.058480747044086456 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50.0, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11521207541227341 + "score": 0.0072936262004077435 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.22814267873764038 + "score": 0.13469667732715607 }, "else": { "operation": "boost", - "score": 0.10752992331981659 + "score": 0.18188031017780304 } } } - }, - "else": { - "operation": "boost", - "score": -0.16901233792304993 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, "then": { "operation": "boost", - "score": 0.13186943531036377 + "score": 0.04994199424982071 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.10657919198274612 - }, - "else": { - "operation": "boost", - "score": 0.12197785079479218 - } + "operation": "boost", + "score": 0.03969987854361534 }, "else": { "operation": "boost", - "score": 0.13166847825050354 + "score": 0.11122771352529526 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.11113514006137848 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.12315621227025986 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.0, + "then": { + "operation": "boost", + "score": 0.01903945952653885 + }, + "else": { + "operation": "boost", + "score": 0.3533018231391907 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.4942832589149475 + }, + "else": { + "operation": "boost", + "score": -0.004970814101397991 + } + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.09061479568481445 + "score": 0.12396177649497986 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11276565492153168 + "score": 0.122235007584095 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, "then": { "operation": "boost", - "score": -0.004314585123211145 + "score": 0.08834719657897949 }, "else": { "operation": "boost", - "score": 0.10182283073663712 + "score": -0.03514654561877251 } } } } } + }, + "else": { + "operation": "boost", + "score": -0.09005290269851685 } - }, - "else": { - "operation": "boost", - "score": -0.07308098673820496 } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7207792401313782, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.5274680852890015 + }, + "else": { + "operation": "boost", + "score": -0.06498347967863083 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6515151262283325, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.4493461549282074 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.11939424276351929 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0863301157951355 + }, + "else": { + "operation": "boost", + "score": 0.17300787568092346 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 1.864938735961914 + }, + "else": { + "operation": "boost", + "score": 0.0026234148535877466 + } + } }, "else": { - "operation": "boost", - "score": -0.08850392699241638 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09260845184326172 + }, + "else": { + "operation": "boost", + "score": -0.17406749725341797 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1182965561747551 + }, + "else": { + "operation": "boost", + "score": -0.11416883766651154 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2636973261833191 + } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.5, + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.09688885509967804 + "score": 0.11506112664937973 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09876066446304321 + "score": 0.07066556066274643 }, "else": { "operation": "boost", - "score": 0.03941700980067253 + "score": -0.08994075655937195 } } } } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03607690706849098 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.002713852096349001 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Unknown", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.07344246655702591 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.8836507797241211 }, "else": { - "operation": "boost", - "score": -0.08575249463319778 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.566068708896637 - }, - "else": { - "operation": "boost", - "score": -0.1184995099902153 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0457756482064724 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.01508607342839241 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 50.5, "then": { + "operation": "boost", + "score": -0.15759088099002838 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.11291475594043732 + "score": 0.10743884742259979 }, "else": { "operation": "boost", - "score": 0.13361407816410065 + "score": -0.024048859253525734 } - }, - "else": { - "operation": "boost", - "score": 0.023361900821328163 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { + "operation": "boost", + "score": 0.1590130627155304 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04839726537466049 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.08183428645133972 + "score": 0.035983163863420486 }, "else": { "operation": "boost", - "score": 0.12003489583730698 + "score": -0.18901698291301727 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.07786242663860321 + "score": -0.03764206916093826 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10952333360910416 - }, - "else": { - "operation": "boost", - "score": 0.14309346675872803 - } + "operation": "boost", + "score": 0.11842133849859238 } - }, - "else": { - "operation": "boost", - "score": 0.014752237126231194 } } } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00875724758952856 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 282.5, + "then": { + "operation": "boost", + "score": -0.018672650679945946 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 279.5, + "then": { + "operation": "boost", + "score": 0.11179936677217484 + }, + "else": { + "operation": "boost", + "score": 0.07704594731330872 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 26.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.820609986782074 + }, + "else": { + "operation": "boost", + "score": -0.10024746507406235 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { "operation": "boost", - "score": 0.05342867970466614 + "score": 0.017222750931978226 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.07143474370241165 + "score": -0.8637441396713257 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.0, - "then": { - "operation": "boost", - "score": -0.23711907863616943 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11396299302577972 - }, - "else": { - "operation": "boost", - "score": 0.07436404377222061 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.08992923051118851 - }, - "else": { - "operation": "boost", - "score": 0.12377000600099564 - } - }, - "else": { - "operation": "boost", - "score": 0.08653023838996887 - } - } - } + "operation": "boost", + "score": -0.03235962241888046 } } - }, - "else": { - "operation": "boost", - "score": 0.0623636320233345 } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "boost", + "score": 0.04021335020661354 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.0589970164000988 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1528625786304474 + }, + "else": { + "operation": "boost", + "score": -0.2491654008626938 + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.06753301620483398 + "score": 0.11357545107603073 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10491642355918884 - }, - "else": { - "operation": "boost", - "score": 0.08514373749494553 - } + "operation": "boost", + "score": 0.09989733248949051 }, "else": { "operation": "boost", - "score": 0.009207948110997677 + "score": 0.06252136826515198 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement", - "CCC_UnionTag" - ], + "operation": "boost", + "score": 0.031953904777765274 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13226298987865448 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.00680284108966589 - }, - "else": { - "operation": "boost", - "score": 0.06468179076910019 - } + "operation": "boost", + "score": 0.10700327903032303 }, "else": { "operation": "boost", - "score": 0.02742479369044304 + "score": 0.02484029345214367 } } }, "else": { - "operation": "boost", - "score": 0.0310814268887043 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.11304660886526108 + }, + "else": { + "operation": "boost", + "score": 0.04061947390437126 + } } - }, - "else": { - "operation": "boost", - "score": -0.005829721689224243 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.00726738478988409 + }, + "else": { + "operation": "boost", + "score": 0.024970028549432755 + } } }, - "else": { - "operation": "boost", - "score": 0.0008434552000835538 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.01520537305623293 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.011868756264448166 + "score": -0.10115126520395279 }, "else": { "operation": "boost", - "score": -0.022824382409453392 + "score": 0.12791599333286285 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.042311061173677444 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.14001192152500153 - }, - "else": { - "operation": "boost", - "score": -0.04225775972008705 - } - }, - "else": { - "operation": "boost", - "score": 0.015372871421277523 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10580737888813019 - }, - "else": { - "operation": "boost", - "score": 0.12078577280044556 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03168753534555435 - } + "operation": "boost", + "score": -0.0034516144078224897 } } } }, "else": { "operation": "boost", - "score": -5.1435225032037124e-05 + "score": -0.0001821554178604856 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2389.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { + "operation": "boost", + "score": 0.0015335313510149717 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0067800129763782024 + }, + "else": { + "operation": "boost", + "score": -0.006142050959169865 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62180.0, + "feature": "FractionNameInContext", + "threshold": 0.4833333492279053, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03310784325003624 - }, - "else": { - "operation": "boost", - "score": -0.004719079937785864 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141422.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.019048606976866722 + "score": 0.0025434517301619053 }, "else": { - "operation": "boost", - "score": -0.2639353275299072 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 140040.0, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", "CCC_TopLevel" ], + "then": { + "operation": "boost", + "score": 0.1516694277524948 + }, + "else": { + "operation": "boost", + "score": 0.040323346853256226 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": 0.0011110324412584305 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0955863893032074 + "score": -0.031184367835521698 }, "else": { "operation": "boost", - "score": -0.48887914419174194 + "score": 0.011372246779501438 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.1108425110578537 + "score": 0.012828816659748554 }, "else": { - "operation": "boost", - "score": 0.10166231542825699 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.012472604401409626 + }, + "else": { + "operation": "boost", + "score": -0.030014030635356903 + } } } }, - "else": { - "operation": "boost", - "score": -0.04566184803843498 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, - "then": { - "operation": "boost", - "score": 0.01046594325453043 - }, - "else": { - "operation": "boost", - "score": 0.09415601193904877 - } - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80424.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.04027732461690903 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09608425945043564 + }, + "else": { + "operation": "boost", + "score": -0.5691443681716919 + } + }, + "else": { + "operation": "boost", + "score": 0.14297643303871155 + } }, "else": { "operation": "boost", - "score": 0.04093145951628685 + "score": -0.00448828749358654 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73859.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10851415991783142 + "score": 0.015516201965510845 }, "else": { - "operation": "boost", - "score": 0.03603697195649147 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" + "Variable" ], "then": { + "operation": "boost", + "score": 0.09803344309329987 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.75, "then": { "operation": "boost", - "score": 0.03146488592028618 + "score": 0.17491638660430908 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.04298793897032738 - }, - "else": { - "operation": "boost", - "score": 0.09425278007984161 - } + "operation": "boost", + "score": -0.37766242027282715 } - }, - "else": { - "operation": "boost", - "score": -0.17026780545711517 } - }, - "else": { - "operation": "boost", - "score": -0.0488477498292923 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.021578503772616386 }, "else": { "operation": "boost", - "score": -0.09732650220394135 + "score": 0.0006179400952532887 } } + }, + "else": { + "operation": "boost", + "score": -0.14467893540859222 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2417.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4641.5, - "then": { - "operation": "boost", - "score": -0.04316575825214386 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3803.5, - "then": { - "operation": "boost", - "score": 0.10659342259168625 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.5983622074127197 - }, - "else": { - "operation": "boost", - "score": 0.08541683852672577 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.020884785801172256 - } + "operation": "boost", + "score": -0.02302723191678524 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04899050295352936 - }, - "else": { - "operation": "boost", - "score": 0.11277218163013458 - } + "operation": "boost", + "score": -0.0013942912919446826 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.08733847737312317 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.04446640610694885, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1558704376220703, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7591.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, "then": { - "operation": "boost", - "score": -0.019318021833896637 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48585.5, + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09423080086708069 - }, - "else": { - "operation": "boost", - "score": 0.09858328104019165 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10596992075443268 - }, - "else": { - "operation": "boost", - "score": -0.15772350132465363 - } - } + "operation": "boost", + "score": 0.09974436461925507 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15402.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.029134346172213554 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11275.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12774.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15033.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Other", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.0878482311964035 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4017857313156128, + "then": { + "operation": "boost", + "score": -0.08418741822242737 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "boost", + "score": 0.13256993889808655 + }, + "else": { + "operation": "boost", + "score": 0.02348393015563488 + } + } }, "else": { "operation": "boost", - "score": -0.00679310318082571 + "score": 0.009540022350847721 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, "then": { "operation": "boost", - "score": 0.11960749328136444 + "score": 0.05720806121826172 }, "else": { "operation": "boost", - "score": 0.1277487725019455 + "score": -0.29061537981033325 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7885.5, + "feature": "FractionNameInContext", + "threshold": 0.22252747416496277, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.02115589566528797 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.23303167521953583, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.04904879629611969 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.034897707402706146 + }, + "else": { + "operation": "boost", + "score": -0.19035956263542175 + } + } + }, + "else": { + "operation": "boost", + "score": -0.13618016242980957 + } + }, + "else": { + "operation": "boost", + "score": -0.023656781762838364 + } }, "else": { - "operation": "boost", - "score": -0.32754138112068176 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.1210516095161438 + }, + "else": { + "operation": "boost", + "score": 0.06590726226568222 + } } }, "else": { - "operation": "boost", - "score": 0.08924742043018341 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03464636206626892 + }, + "else": { + "operation": "boost", + "score": -0.04907083138823509 + } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { + "operation": "boost", + "score": -0.09404734522104263 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13689199090003967 + }, + "else": { + "operation": "boost", + "score": 0.08507951349020004 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": -0.0023098227102309465 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.25214433670043945 + "score": -0.0312834307551384 }, "else": { - "operation": "boost", - "score": 0.05308203771710396 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11001362651586533 + }, + "else": { + "operation": "boost", + "score": 0.01373088825494051 + } } }, "else": { - "operation": "boost", - "score": 0.102461077272892 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08021058142185211 + }, + "else": { + "operation": "boost", + "score": 0.06621900200843811 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.27910611033439636 + }, + "else": { + "operation": "boost", + "score": 0.009153751656413078 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": 0.01786096766591072 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.1003166064620018 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07615115493535995 + }, + "else": { + "operation": "boost", + "score": -0.18318387866020203 + } + } + } + } } }, "else": { - "operation": "boost", - "score": 0.1209324300289154 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10726.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04190701246261597 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12559647858142853 + }, + "else": { + "operation": "boost", + "score": 0.02342240698635578 + } }, "else": { "operation": "boost", - "score": 0.11585585027933121 + "score": 0.008107904344797134 } }, "else": { "operation": "boost", - "score": -0.07570052146911621 + "score": -0.0016729553462937474 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.10601159930229187 }, "else": { "operation": "boost", - "score": -0.011288020759820938 + "score": -0.3023747503757477 } + }, + "else": { + "operation": "boost", + "score": -0.27075400948524475 } } } } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.14584662020206451 + }, + "else": { + "operation": "boost", + "score": 0.11738239973783493 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.08689767122268677 + }, + "else": { + "operation": "boost", + "score": -0.13957525789737701 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.27322259545326233 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.22249174118041992 + }, + "else": { + "operation": "boost", + "score": 0.012266159988939762 + } + } + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3977.5, + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.039475612342357635 - }, - "else": { - "operation": "boost", - "score": -0.07340134680271149 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { "operation": "boost", - "score": 0.10507358610630035 + "score": 0.1865645796060562 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.010710001923143864 - }, - "else": { - "operation": "boost", - "score": 0.11144774407148361 - } + "operation": "boost", + "score": 0.10296011716127396 } }, "else": { - "operation": "boost", - "score": 0.026871172711253166 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.48822909593582153 + }, + "else": { + "operation": "boost", + "score": 0.02660413645207882 + } } + }, + "else": { + "operation": "boost", + "score": -0.009212293662130833 } } }, "else": { - "operation": "boost", - "score": 0.007267417386174202 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.087065689265728 - }, - "else": { - "operation": "boost", - "score": 0.12044437229633331 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21786.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { + "operation": "boost", + "score": -7.288752385647967e-05 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32538.0, + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32947.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.027469931170344353 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.11568940430879593 + }, + "else": { + "operation": "boost", + "score": -0.0025177858769893646 + } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "boost", - "score": 0.09688892215490341 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.2165490984916687 + }, + "else": { + "operation": "boost", + "score": -0.017873302102088928 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.0, "then": { "operation": "boost", - "score": 0.10284220427274704 + "score": -0.3371149003505707 }, "else": { "operation": "boost", - "score": 0.10437315702438354 + "score": 0.032141491770744324 } } } }, "else": { "operation": "boost", - "score": -0.015828508883714676 + "score": -0.004708685912191868 } - }, - "else": { - "operation": "boost", - "score": -0.03670007362961769 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21689.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.055051546543836594 - }, - "else": { - "operation": "boost", - "score": 0.08053221553564072 - } + "operation": "boost", + "score": 0.011392625980079174 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5651.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.025061286985874176 + }, + "else": { + "operation": "boost", + "score": -0.08057555556297302 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03699979558587074 + }, + "else": { + "operation": "boost", + "score": 0.17777684330940247 + } + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { + "operation": "boost", + "score": -0.0713869258761406 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.06770291179418564 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14555.0, + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": -0.08745601028203964 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.08549313247203827 + "score": -1.4751695394515991 }, "else": { "operation": "boost", - "score": 0.047596462070941925 + "score": -0.2776235342025757 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8408.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9213.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10914.5, - "then": { - "operation": "boost", - "score": 0.009508221410214901 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10447.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10549.0, - "then": { - "operation": "boost", - "score": 0.09468881785869598 - }, - "else": { - "operation": "boost", - "score": 0.10797446966171265 - } - }, - "else": { - "operation": "boost", - "score": 0.06706180423498154 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8908.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.022607725113630295 - }, - "else": { - "operation": "boost", - "score": 0.11550536751747131 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8476.5, - "then": { - "operation": "boost", - "score": 0.0101082194596529 - }, - "else": { - "operation": "boost", - "score": 0.10851346701383591 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04211173951625824 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5703.5, - "then": { - "operation": "boost", - "score": 0.012675575911998749 - }, - "else": { - "operation": "boost", - "score": 0.12034271657466888 - } - } - }, - "else": { - "operation": "boost", - "score": 0.019625768065452576 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10811587423086166 - }, - "else": { - "operation": "boost", - "score": -0.0608956404030323 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.31771567463874817 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.06999318301677704 }, "else": { "operation": "boost", - "score": 0.01812676340341568 + "score": -0.020783016458153725 } - }, - "else": { - "operation": "boost", - "score": 0.006884814240038395 } - }, - "else": { - "operation": "boost", - "score": 0.006964432075619698 } } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03449907526373863 + }, + "else": { + "operation": "boost", + "score": -0.052114252001047134 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.6637743711471558 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.9119345545768738 + }, + "else": { + "operation": "boost", + "score": 0.0932723805308342 + } + } + }, + "else": { + "operation": "boost", + "score": 0.032920271158218384 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.002135467017069459 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10381477326154709 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": -0.23692895472049713 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10354278981685638 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05009876564145088 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.034074001014232635 + }, + "else": { + "operation": "boost", + "score": 0.1709892898797989 + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08058198541402817 - }, - "else": { - "operation": "boost", - "score": 0.1199665367603302 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10541371256113052 - }, - "else": { - "operation": "boost", - "score": -0.46058303117752075 - } - } + "operation": "boost", + "score": -0.004659230820834637 }, "else": { "operation": "boost", - "score": 0.010991232469677925 + "score": -0.31169945001602173 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2870.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.02383965253829956 + "score": -0.03418433293700218 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2702.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.11881046742200851 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.1334517002105713 + }, + "else": { + "operation": "boost", + "score": -0.10674639791250229 + } }, "else": { "operation": "boost", - "score": -0.10332739353179932 + "score": 0.054717451333999634 } }, "else": { "operation": "boost", - "score": 0.1373133361339569 + "score": 0.008279803209006786 } } }, "else": { - "operation": "boost", - "score": -0.08115930110216141 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15623.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.09929847717285156 - }, - "else": { - "operation": "boost", - "score": -0.1303589791059494 - } - }, - "else": { - "operation": "boost", - "score": -0.1891191005706787 - } - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.03371497243642807 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29064.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40755.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.1043776422739029 - }, - "else": { - "operation": "boost", - "score": 0.2563248872756958 - } - }, - "else": { - "operation": "boost", - "score": 0.03492799773812294 - } - }, - "else": { - "operation": "boost", - "score": -0.14702636003494263 - } - }, - "else": { - "operation": "boost", - "score": 0.14153407514095306 - } - }, - "else": { - "operation": "boost", - "score": -0.03948301449418068 - } + "operation": "boost", + "score": 0.02225261740386486 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27234.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.11677782982587814 + "score": -0.1602644920349121 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17663.5, - "then": { - "operation": "boost", - "score": -0.19678078591823578 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10174985229969025 - }, - "else": { - "operation": "boost", - "score": -0.15187089145183563 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.20741243660449982 - }, - "else": { - "operation": "boost", - "score": 0.1205008327960968 - } - } - } + "operation": "boost", + "score": -0.04495048150420189 } } }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.08098165690898895 + }, + "else": { + "operation": "boost", + "score": -0.00603916822001338 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.2572804391384125 + }, + "else": { + "operation": "boost", + "score": 0.30434170365333557 + } + }, "else": { "operation": "boost", - "score": -0.13966867327690125 + "score": -0.17879435420036316 } } + }, + "else": { + "operation": "boost", + "score": -0.005648232996463776 } - }, - "else": { - "operation": "boost", - "score": -0.03980744630098343 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.14574690163135529 }, "else": { "operation": "boost", - "score": -0.08232881128787994 + "score": 0.008295510895550251 } } } @@ -305975,2504 +306490,2669 @@ } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7979.5, - "then": { - "operation": "boost", - "score": 0.051193565130233765 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6004.5, - "then": { - "operation": "boost", - "score": 0.12355863302946091 - }, - "else": { - "operation": "boost", - "score": 0.03863966464996338 - } - } + "operation": "boost", + "score": -0.11409082263708115 }, "else": { "operation": "boost", - "score": 0.04767290875315666 + "score": -0.0026838532648980618 } } } } } - }, - "else": { - "operation": "boost", - "score": -0.0009304296690970659 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.00039792247116565704 + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2394.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.009634477086365223 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "boost", - "score": 0.11028960347175598 + "score": -0.14730314910411835 }, "else": { "operation": "boost", - "score": -0.10303020477294922 + "score": -0.024038221687078476 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2331.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.1791301667690277 }, "else": { "operation": "boost", - "score": -0.08431518822908401 + "score": 0.004077967721968889 } }, "else": { - "operation": "boost", - "score": -0.0002945251762866974 - } - } - }, - { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.007191415876150131 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "boost", + "score": -0.0009088979568332434 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6406.0, "then": { - "operation": "boost", - "score": 0.12407396733760834 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18760.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.030411247164011 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05954679474234581 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.039818815886974335 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07129298895597458 - }, - "else": { - "operation": "boost", - "score": 0.08320864289999008 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0713188573718071 - } - } - } + "operation": "boost", + "score": 0.001969671342521906 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { "operation": "boost", - "score": -0.005429632030427456 + "score": 0.1320735365152359 }, "else": { "operation": "boost", - "score": 0.019212966784834862 + "score": -0.1269865185022354 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 6325.5, "then": { + "operation": "boost", + "score": 0.07627541571855545 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.006870684213936329 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 32.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 132.5, + "threshold": 46.5, + "then": { + "operation": "boost", + "score": -0.162383571267128 + }, + "else": { + "operation": "boost", + "score": 0.11520954221487045 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11992646753787994 + "score": 0.11621727794408798 }, "else": { "operation": "boost", - "score": 0.016023149713873863 + "score": -0.14649564027786255 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.046513963490724564 + }, + "else": { + "operation": "boost", + "score": -0.1532406508922577 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.18137910962104797 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.009704835712909698 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "boost", - "score": 0.11094542592763901 + "score": 0.10632085055112839 }, "else": { "operation": "boost", - "score": -0.09293878078460693 + "score": -0.08187117427587509 } }, "else": { - "operation": "boost", - "score": 0.028373975306749344 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08353351056575775 + }, + "else": { + "operation": "boost", + "score": 0.19743916392326355 + } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.007350473199039698 + }, + "else": { + "operation": "boost", + "score": 0.01643209159374237 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, + "feature": "NumNameInContext", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.015225752256810665 + "score": 0.1545107364654541 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { "operation": "boost", - "score": 0.023843908682465553 + "score": -0.21379709243774414 }, "else": { "operation": "boost", - "score": 0.12480472773313522 + "score": -0.005323866847902536 } } + }, + "else": { + "operation": "boost", + "score": 0.01852632500231266 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { + "operation": "boost", + "score": 0.0887003168463707 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03431760147213936 - }, - "else": { - "operation": "boost", - "score": 0.08755003660917282 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.11885355412960052 - }, - "else": { - "operation": "boost", - "score": -0.07191582024097443 - } - } - }, - "else": { - "operation": "boost", - "score": -0.02192419022321701 - } + "operation": "boost", + "score": 0.09506898373365402 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13367368280887604 - }, - "else": { - "operation": "boost", - "score": 0.11769122630357742 - } + "operation": "boost", + "score": -0.37985387444496155 }, "else": { "operation": "boost", - "score": 0.017559364438056946 + "score": 0.06534843891859055 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17703987658023834 - }, - "else": { - "operation": "boost", - "score": -0.06554105877876282 - } - }, - "else": { - "operation": "boost", - "score": -0.07808300852775574 - } + "operation": "boost", + "score": -0.174307718873024 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.06843029707670212 + "score": -0.02738378383219242 }, "else": { "operation": "boost", - "score": 0.10603206604719162 + "score": 0.12473277002573013 } }, "else": { "operation": "boost", - "score": -0.04269061237573624 + "score": 0.03369816020131111 } }, "else": { "operation": "boost", - "score": 0.10397030413150787 + "score": 0.05767625942826271 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.06637255102396011 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.12617388367652893 + }, + "else": { + "operation": "boost", + "score": 0.0572141632437706 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.04409709572792053 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.12514440715312958 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.1618717759847641 + }, + "else": { + "operation": "boost", + "score": -0.10234245657920837 + } + } }, "else": { "operation": "boost", - "score": 0.07475024461746216 + "score": -0.011576078832149506 } }, "else": { - "operation": "boost", - "score": 0.1569335162639618 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11668708920478821 + }, + "else": { + "operation": "boost", + "score": -0.025377152487635612 + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.06516928970813751 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11797884106636047 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.0758405402302742 + "score": 0.4022846519947052 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10107319802045822 - }, - "else": { - "operation": "boost", - "score": -0.42080947756767273 - } + "operation": "boost", + "score": 0.1344384253025055 } }, "else": { "operation": "boost", - "score": 0.11105432361364365 + "score": 0.1015269085764885 } - }, - "else": { - "operation": "boost", - "score": -0.10673452168703079 } + } + }, + "else": { + "operation": "boost", + "score": 0.14346112310886383 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.0004051426949445158 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09128738194704056 + "score": -0.30224278569221497 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": -0.17608405649662018 - }, - "else": { - "operation": "boost", - "score": 0.09686847776174545 - } + "operation": "boost", + "score": -0.19065000116825104 } } }, "else": { "operation": "boost", - "score": -0.0318976454436779 + "score": 0.10813159495592117 } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1447019726037979 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.05742708593606949 }, "else": { - "operation": "boost", - "score": -0.23952151834964752 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.03150416910648346 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.22914309799671173 + }, + "else": { + "operation": "boost", + "score": -0.495918333530426 + } + } } }, "else": { "operation": "boost", - "score": -0.11099422723054886 + "score": -0.018082033842802048 } }, "else": { + "operation": "boost", + "score": 0.012464029714465141 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10633137822151184 + "score": -0.11192207038402557 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.02778102084994316 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.14802701771259308 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04829764738678932 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.11195360124111176 - }, - "else": { - "operation": "boost", - "score": 0.13985179364681244 - } - } - }, - "else": { - "operation": "boost", - "score": -0.048874638974666595 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07538007944822311 - }, - "else": { - "operation": "boost", - "score": -0.2042015939950943 - } - } - }, - "else": { - "operation": "boost", - "score": 0.00789994839578867 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.012840408831834793 - }, - "else": { - "operation": "boost", - "score": 0.1061878651380539 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.05320395156741142 - }, - "else": { - "operation": "boost", - "score": -0.7363951206207275 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10349985957145691 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.1076788604259491 - }, - "else": { - "operation": "boost", - "score": 0.09628400951623917 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05020782724022865 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 1.0442376136779785 - }, - "else": { - "operation": "boost", - "score": -0.05265258252620697 - } + "operation": "boost", + "score": 0.16969332098960876 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10862839221954346 - }, - "else": { - "operation": "boost", - "score": 0.08862986415624619 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.011571393348276615 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.42400479316711426 - }, - "else": { - "operation": "boost", - "score": 0.0903065875172615 - } - }, - "else": { - "operation": "boost", - "score": 0.12264664471149445 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.10316836088895798 - }, - "else": { - "operation": "boost", - "score": 0.07752551883459091 - } - } - } - } + "operation": "boost", + "score": 0.06776463240385056 } } } + }, + "else": { + "operation": "boost", + "score": -0.09582401067018509 } } - }, - "else": { - "operation": "boost", - "score": -0.02204040065407753 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02206791564822197 - }, - "else": { - "operation": "boost", - "score": 0.13254275918006897 - } - }, - "else": { - "operation": "boost", - "score": 0.07667386531829834 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.01759653352200985 - }, - "else": { - "operation": "boost", - "score": 0.12200180441141129 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.005814883857965469 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1685.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2502.0, - "then": { - "operation": "boost", - "score": -0.010503273457288742 - }, - "else": { - "operation": "boost", - "score": 0.11686757951974869 - } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.0856415256857872 + "score": 0.018622759729623795 }, "else": { - "operation": "boost", - "score": -0.1170511320233345 - } - }, - "else": { - "operation": "boost", - "score": -0.3064989447593689 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.22503572702407837 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.05542551353573799 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.05257324129343033 + }, + "else": { + "operation": "boost", + "score": 0.10025772452354431 + } }, "else": { "operation": "boost", - "score": 0.16054287552833557 + "score": -0.310007780790329 } }, "else": { - "operation": "boost", - "score": -0.2822236120700836 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": 0.10721100121736526 + }, + "else": { + "operation": "boost", + "score": -0.060545533895492554 + } + }, + "else": { + "operation": "boost", + "score": -0.10507190227508545 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.3618260324001312 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3112029433250427 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2750000059604645, + "then": { + "operation": "boost", + "score": 0.12183929979801178 + }, + "else": { + "operation": "boost", + "score": 0.13690167665481567 + } + }, + "else": { + "operation": "boost", + "score": -0.033079467713832855 + } + } }, "else": { "operation": "boost", - "score": 0.1738157421350479 + "score": -0.02276836521923542 } } - }, - "else": { - "operation": "boost", - "score": -0.028283799067139626 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.01070599164813757 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.3432041108608246 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { - "operation": "boost", - "score": -0.10782159119844437 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.02396160550415516 + }, + "else": { + "operation": "boost", + "score": -0.07731970399618149 + } }, "else": { "operation": "boost", - "score": 0.09258256107568741 + "score": -0.00610053725540638 } - }, - "else": { - "operation": "boost", - "score": 0.0752767026424408 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 256.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 308.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { - "operation": "boost", - "score": -0.0823153406381607 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { - "operation": "boost", - "score": -0.044720470905303955 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { + "operation": "boost", + "score": -0.2182898372411728 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 768.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11933645606040955 - }, - "else": { - "operation": "boost", - "score": 0.026791831478476524 - } - }, - "else": { - "operation": "boost", - "score": 0.11478089541196823 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06752243638038635 - }, - "else": { - "operation": "boost", - "score": 0.11156981438398361 - } - } + "operation": "boost", + "score": 0.22102059423923492 }, "else": { "operation": "boost", - "score": -0.005594304762780666 + "score": -0.008902976289391518 } - }, - "else": { - "operation": "boost", - "score": 0.11357583105564117 } + }, + "else": { + "operation": "boost", + "score": -0.18180090188980103 } }, "else": { "operation": "boost", - "score": -0.0037673565093427896 + "score": 0.011974548920989037 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.06938845664262772 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.01634824648499489 + }, + "else": { + "operation": "boost", + "score": -0.9241102933883667 + } } } }, "else": { - "operation": "boost", - "score": 0.11281442642211914 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.09171377867460251 + }, + "else": { + "operation": "boost", + "score": -0.00901998020708561 + } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, + "operation": "boost", + "score": 0.10435730963945389 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.03257157281041145 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.10106290876865387 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13106904923915863 + }, + "else": { + "operation": "boost", + "score": 0.10384111106395721 + } + }, + "else": { + "operation": "boost", + "score": -0.008262685500085354 + } + } }, "else": { "operation": "boost", - "score": 0.09853597730398178 + "score": 0.008394908159971237 } - }, - "else": { - "operation": "boost", - "score": -0.3251800835132599 } } - }, - "else": { - "operation": "boost", - "score": 0.1041426807641983 } } } } } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 276057.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 276350.0, + "then": { + "operation": "boost", + "score": 0.006048195064067841 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.15359334647655487 }, "else": { "operation": "boost", - "score": 0.004531803075224161 + "score": 0.0685037299990654 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13903680443763733 + }, + "else": { + "operation": "boost", + "score": 0.14888836443424225 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 1.6554880142211914 + }, + "else": { + "operation": "boost", + "score": -0.11040276288986206 + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.053247928619384766 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 188273.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 212125.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 234371.5, "then": { - "operation": "boost", - "score": -0.002403068821877241 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.34977343678474426 + }, + "else": { + "operation": "boost", + "score": -0.05824539065361023 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { + "operation": "boost", + "score": -0.046330761164426804 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "boost", - "score": -1.1435747146606445 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.0014299002941697836 + "score": 0.12054913491010666 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.09221871942281723 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.036379389464855194 - }, - "else": { - "operation": "boost", - "score": 0.09619231522083282 - } - }, - "else": { - "operation": "boost", - "score": -0.04167279601097107 - } - } + "operation": "boost", + "score": -0.13308651745319366 } + }, + "else": { + "operation": "boost", + "score": 0.024895524606108665 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.050962481647729874 }, "else": { "operation": "boost", - "score": 0.11810197681188583 + "score": -0.07690413296222687 } }, "else": { - "operation": "boost", - "score": -0.10924138873815536 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07493621855974197, + "then": { + "operation": "boost", + "score": -0.37464889883995056 + }, + "else": { + "operation": "boost", + "score": -0.16487832367420197 + } } } }, "else": { "operation": "boost", - "score": 0.01219144370406866 + "score": 0.020543979480862617 } }, "else": { "operation": "boost", - "score": -0.00014090290642343462 + "score": -0.026221467182040215 } }, "else": { - "operation": "boost", - "score": -0.01806524582207203 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0004881874774582684 - } - }, - "else": { - "operation": "boost", - "score": -0.0016929218545556068 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 176731.0, "then": { "operation": "boost", - "score": 0.044840335845947266 + "score": -0.15487496554851532 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 58.5, + "threshold": 167779.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 168474.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2840.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5075.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10072603076696396 + "score": -0.15309591591358185 }, "else": { - "operation": "boost", - "score": 0.13049198687076569 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.13187500834465027 + }, + "else": { + "operation": "boost", + "score": 0.10316061228513718 + } } }, "else": { "operation": "boost", - "score": 0.003554086433723569 + "score": -0.14886420965194702 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 542.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2258.5, + "operation": "boost", + "score": 0.05531566962599754 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11020484566688538 + "score": 0.02793322317302227 }, "else": { "operation": "boost", - "score": 0.14952890574932098 + "score": -0.3185185492038727 } - }, - "else": { - "operation": "boost", - "score": 0.06893644481897354 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 52.5, + "threshold": 154962.0, "then": { "operation": "boost", - "score": 0.1459837555885315 + "score": -0.15426090359687805 }, "else": { "operation": "boost", - "score": -0.08701115101575851 + "score": -0.0001653348299441859 } } } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 394.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 395.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16650.5, + "then": { + "operation": "boost", + "score": -0.13600538671016693 + }, + "else": { + "operation": "boost", + "score": -0.890437126159668 + } }, "else": { "operation": "boost", - "score": 0.03328157588839531 + "score": 0.008205443620681763 } }, "else": { - "operation": "boost", - "score": -0.0006645562825724483 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.01531969290226698 + }, + "else": { + "operation": "boost", + "score": 0.11958757787942886 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 344.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10946132242679596 + }, + "else": { + "operation": "boost", + "score": -0.03405805304646492 + } + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 353.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": -0.056589335203170776 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "boost", + "score": -0.7637856602668762 + }, + "else": { + "operation": "boost", + "score": -0.23541228473186493 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": -0.014190156944096088 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05514898523688316 + }, + "else": { + "operation": "boost", + "score": -0.3122004568576813 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.010349598713219166 + "score": 0.09119356423616409 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62576.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.020085005089640617 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.08901993930339813 - }, - "else": { - "operation": "boost", - "score": 0.028698090463876724 - } - } + "operation": "boost", + "score": 0.06559047847986221 }, "else": { + "operation": "boost", + "score": -0.25593486428260803 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.0049872430972754955 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { - "operation": "boost", - "score": 0.09216825664043427 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": -0.04166071489453316 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.1938258856534958 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.050521012395620346 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.11273790150880814 + }, + "else": { + "operation": "boost", + "score": 0.06259645521640778 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": -0.02877577766776085 + }, + "else": { + "operation": "boost", + "score": 0.02043445222079754 + } + } }, "else": { "operation": "boost", - "score": -0.18491016328334808 + "score": 0.09544757753610611 } - } - }, - "else": { - "operation": "boost", - "score": -0.024538015946745872 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.06077314168214798 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49823.5, - "then": { - "operation": "boost", - "score": 0.1191243901848793 }, "else": { "operation": "boost", - "score": -0.30379414558410645 + "score": -0.04431487247347832 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.027704352512955666 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.04643759876489639 + }, + "else": { + "operation": "boost", + "score": 0.09125611931085587 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.023289648815989494 + }, + "else": { + "operation": "boost", + "score": -0.2453080415725708 + } + }, + "else": { + "operation": "boost", + "score": 0.05575910210609436 + } + }, + "else": { + "operation": "boost", + "score": -0.15376847982406616 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0704190731048584 + } + }, + "else": { + "operation": "boost", + "score": -0.06015649437904358 + } }, "else": { - "operation": "boost", - "score": 0.08714669197797775 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.02383938990533352 + }, + "else": { + "operation": "boost", + "score": -0.08820035308599472 + } } } + }, + "else": { + "operation": "boost", + "score": 0.009918938390910625 } } } }, "else": { "operation": "boost", - "score": 0.006289023440331221 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.19809651374816895 - }, - "else": { - "operation": "boost", - "score": -0.021633341908454895 + "score": -0.03282254561781883 } } }, "else": { + "operation": "boost", + "score": 0.004580333828926086 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], "then": { + "operation": "boost", + "score": 0.006306375376880169 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18885.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.005639359354972839 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20157.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.00013901761849410832 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.9285714626312256, "then": { "operation": "boost", - "score": -0.3329028785228729 + "score": 0.11187566816806793 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.06878284364938736 + "score": -0.10260768979787827 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { - "operation": "boost", - "score": 0.1126006543636322 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.019720595329999924 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": -0.01841380074620247 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6041666269302368, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.13594599068164825 + }, + "else": { + "operation": "boost", + "score": -0.006278427317738533 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, + "then": { + "operation": "boost", + "score": -0.03423375263810158 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.10947418212890625 + }, + "else": { + "operation": "boost", + "score": -0.009338184259831905 + } + } + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.013597289100289345 + "score": 0.10044620931148529 }, "else": { "operation": "boost", - "score": 0.19412000477313995 + "score": -0.024048687890172005 } } } } + }, + "else": { + "operation": "boost", + "score": 0.0027560272719711065 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "boost", + "score": 0.05215366929769516 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": -0.03811460733413696 + }, + "else": { + "operation": "boost", + "score": 0.00883433036506176 + } } }, + "else": { + "operation": "boost", + "score": 0.00020979452528990805 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.06878174841403961 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.02529534511268139 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.0604146271944046 - }, - "else": { - "operation": "boost", - "score": -0.706843376159668 - } - }, - "else": { - "operation": "boost", - "score": 0.02067597024142742 - } + "operation": "boost", + "score": 0.008717245422303677 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134.5, - "then": { - "operation": "boost", - "score": -0.36597150564193726 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.0, - "then": { - "operation": "boost", - "score": 0.09490638226270676 - }, - "else": { - "operation": "boost", - "score": -0.42099931836128235 - } - } + "operation": "boost", + "score": 0.10735981166362762 } + }, + "else": { + "operation": "boost", + "score": -0.04241050034761429 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Expression", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10989690572023392 - }, - "else": { - "operation": "boost", - "score": 0.05893312767148018 - } + "operation": "boost", + "score": 0.04295452684164047 }, "else": { + "operation": "boost", + "score": 0.012230987660586834 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10383.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.09565165638923645 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10049.0, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.08669893443584442 + "score": 0.024324947968125343 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8506.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": -0.30716222524642944 + "score": 0.06507062166929245 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7165.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7776.0, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.1188897043466568 + "score": 0.025549283251166344 }, "else": { "operation": "boost", - "score": 0.11606843769550323 + "score": -0.16572889685630798 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.04142913967370987 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 360.5, - "then": { - "operation": "boost", - "score": -0.07816372066736221 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 309.0, - "then": { - "operation": "boost", - "score": 0.12463012337684631 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134.0, - "then": { - "operation": "boost", - "score": -0.3058198094367981 - }, - "else": { - "operation": "boost", - "score": 0.08097883313894272 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 311.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 880.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1608.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3866.0, - "then": { - "operation": "boost", - "score": -0.11487974226474762 - }, - "else": { - "operation": "boost", - "score": 0.10640125721693039 - } - }, - "else": { - "operation": "boost", - "score": -0.05996205285191536 - } - }, - "else": { - "operation": "boost", - "score": 0.10335253179073334 - } - }, - "else": { - "operation": "boost", - "score": -0.2770109176635742 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.02533995360136032 - } + "operation": "boost", + "score": -0.01307238545268774 } } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.6411069631576538 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.0937797948718071 + }, + "else": { + "operation": "boost", + "score": -0.27998170256614685 + } + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03908267244696617 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3365.5, - "then": { - "operation": "boost", - "score": -0.7534515261650085 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 430.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 702.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3050.0, + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.09051606804132462 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13795116543769836 + }, + "else": { + "operation": "boost", + "score": 0.039669305086135864 + } }, "else": { "operation": "boost", - "score": -0.3425101935863495 + "score": -0.033778995275497437 } }, "else": { "operation": "boost", - "score": 0.1056346446275711 + "score": -0.14854592084884644 } }, "else": { - "operation": "boost", - "score": -0.3967925012111664 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.017718298360705376 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.021317118778824806 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.021015707403421402 - }, - "else": { - "operation": "boost", - "score": -0.11085085570812225 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.05107990652322769 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168251.5, - "then": { - "operation": "boost", - "score": -0.3988597095012665 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6306818127632141, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99.5, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { "operation": "boost", - "score": -0.43004146218299866 + "score": -0.12457948178052902 }, "else": { - "operation": "boost", - "score": 0.08281085640192032 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.038240786641836166 + }, + "else": { + "operation": "boost", + "score": 0.10812868922948837 + } } }, "else": { "operation": "boost", - "score": 0.10337620973587036 + "score": 0.024442991241812706 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 365.0, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2615.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5007.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16468.5, - "then": { - "operation": "boost", - "score": 0.0012525112833827734 - }, - "else": { - "operation": "boost", - "score": -0.8525256514549255 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.11913466453552246 - }, - "else": { - "operation": "boost", - "score": 0.08923061937093735 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1610880196094513 - } + "operation": "boost", + "score": 0.1406758427619934 }, "else": { + "operation": "boost", + "score": 0.025585094466805458 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { + "operation": "boost", + "score": -0.012953672558069229 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.1041615679860115 + "score": 0.031060298904776573 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 223.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.1498406082391739 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 197.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.07312420010566711 + "score": -0.012931782752275467 }, "else": { "operation": "boost", - "score": -0.3757486343383789 + "score": 0.07820523530244827 } }, "else": { - "operation": "boost", - "score": 0.09931459277868271 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01715177297592163 + }, + "else": { + "operation": "boost", + "score": 0.09338954091072083 + } + }, + "else": { + "operation": "boost", + "score": 0.086665578186512 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.08371678739786148 - }, - "else": { - "operation": "boost", - "score": -0.2743324041366577 - } + "operation": "boost", + "score": 0.017461225390434265 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16233766078948975, + "then": { + "operation": "boost", + "score": -0.19707775115966797 + }, + "else": { + "operation": "boost", + "score": 0.06594423949718475 } } } - }, - "else": { - "operation": "boost", - "score": 0.11027955263853073 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.04553278908133507 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.052474021911621094 + "score": 0.005601688288152218 }, "else": { "operation": "boost", - "score": -0.5599217414855957 + "score": 0.04894096776843071 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.018661586567759514 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 186.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 195.0, "then": { "operation": "boost", - "score": 0.0822673812508583 + "score": 0.07615648210048676 }, "else": { "operation": "boost", - "score": -0.4302809536457062 + "score": 0.11988359689712524 } + }, + "else": { + "operation": "boost", + "score": 0.010984467342495918 } } } - }, - "else": { - "operation": "boost", - "score": 0.08572627604007721 } }, "else": { "operation": "boost", - "score": -0.2383030205965042 + "score": 0.0007099146605469286 } } }, "else": { - "operation": "boost", - "score": 0.10147961229085922 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.0, - "then": { - "operation": "boost", - "score": -0.28182411193847656 - }, - "else": { - "operation": "boost", - "score": 0.12860652804374695 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0986388772726059 - }, - "else": { - "operation": "boost", - "score": 0.013891187496483326 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 693.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 826.5, - "then": { - "operation": "boost", - "score": 0.02813171036541462 - }, - "else": { - "operation": "boost", - "score": 0.1007300615310669 - } + "operation": "boost", + "score": -0.005111553706228733 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 275.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.20312952995300293 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.11365781724452972 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.3741258978843689, + "then": { + "operation": "boost", + "score": -0.08261110633611679 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "boost", + "score": 0.10892336070537567 + }, + "else": { + "operation": "boost", + "score": -0.1517750769853592 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 107.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 155.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.04312444478273392 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.015503969974815845 + }, + "else": { + "operation": "boost", + "score": 0.036688707768917084 + } }, "else": { "operation": "boost", - "score": 0.10202235728502274 + "score": -0.09992201626300812 } }, - "else": { - "operation": "boost", - "score": 0.016826007515192032 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, - "then": { - "operation": "boost", - "score": -0.1160360649228096 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.11644545197486877 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.11675456911325455 + }, + "else": { + "operation": "boost", + "score": -0.10478118062019348 + } + }, + "else": { + "operation": "boost", + "score": -0.08438923209905624 + } + }, + "else": { + "operation": "boost", + "score": 0.1308843493461609 + } + }, + "else": { + "operation": "boost", + "score": 0.03303971141576767 + } }, "else": { - "operation": "boost", - "score": -0.45596399903297424 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.14255599677562714 + }, + "else": { + "operation": "boost", + "score": 0.02509445883333683 + } } } + }, + "else": { + "operation": "boost", + "score": 0.009414917789399624 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.004926701076328754 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.25824177265167236, + "then": { + "operation": "boost", + "score": -0.06326846778392792 + }, + "else": { + "operation": "boost", + "score": 0.12049593031406403 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 225.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11043841391801834 + "score": 0.04381876066327095 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.27773338556289673 - }, - "else": { - "operation": "boost", - "score": 0.09576405584812164 - } + "operation": "boost", + "score": -0.20683911442756653 }, "else": { "operation": "boost", - "score": 0.10285972058773041 + "score": -0.0314890518784523 } } } - }, - "else": { - "operation": "boost", - "score": -0.12057238817214966 } } } + }, + "else": { + "operation": "boost", + "score": -0.016615211963653564 } - }, - "else": { - "operation": "boost", - "score": 0.04785376042127609 } } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03388875350356102 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "boost", - "score": 0.021024782210588455 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.02777777798473835, "then": { + "operation": "boost", + "score": 0.01499202474951744 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.20922642946243286 + "score": -0.05622875317931175 }, "else": { "operation": "boost", - "score": 0.11629479378461838 + "score": 0.02349381521344185 } - }, - "else": { - "operation": "boost", - "score": -0.07836821675300598 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.14275120198726654 - }, - "else": { - "operation": "boost", - "score": 0.09646379947662354 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.0, - "then": { - "operation": "boost", - "score": -0.023576488718390465 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.0, - "then": { - "operation": "boost", - "score": 0.11628332734107971 - }, - "else": { - "operation": "boost", - "score": -0.4754709303379059 } } - }, - "else": { - "operation": "boost", - "score": -0.006280119530856609 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.12367028743028641 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03502151742577553 - }, - "else": { - "operation": "boost", - "score": -0.026837563142180443 - } + "operation": "boost", + "score": -0.00023406533000525087 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10764269530773163 }, "else": { "operation": "boost", - "score": -0.016822611913084984 + "score": -0.00233064335770905 } + }, + "else": { + "operation": "boost", + "score": 0.0002755201421678066 } - }, - "else": { - "operation": "boost", - "score": -0.0004754458204843104 } }, { @@ -308481,1920 +309161,3152 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.0003493283875286579 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "boost", + "score": -0.10102644562721252 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "boost", + "score": 0.0068273586221039295 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 600.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2093.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.022583208978176117 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11345.0, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.07775874435901642 + "score": -0.22789709270000458 }, "else": { "operation": "boost", - "score": -0.25829365849494934 + "score": -0.46864551305770874 } }, "else": { + "operation": "boost", + "score": -0.02301814965903759 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2430.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.09511885046958923 + "score": -0.08948317915201187 }, "else": { "operation": "boost", - "score": 0.10444844514131546 + "score": 0.015212073922157288 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.05183260887861252 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.0, "then": { "operation": "boost", - "score": -0.0989876314997673 + "score": 0.055399827659130096 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1349.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": -1.1121833324432373 + "score": -1.5305638313293457 }, "else": { - "operation": "boost", - "score": -0.48323705792427063 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.12436933070421219 + }, + "else": { + "operation": "boost", + "score": -0.4965924024581909 + } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 496.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.09397386014461517 - }, - "else": { - "operation": "boost", - "score": 0.09645882248878479 - } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 165.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "boost", - "score": -0.012259368784725666 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.08287204802036285 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 140.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10365653783082962 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.14974401891231537 + }, + "else": { + "operation": "boost", + "score": -0.10123596340417862 + } }, "else": { "operation": "boost", - "score": -0.2940422296524048 + "score": 0.25201791524887085 } }, "else": { - "operation": "boost", - "score": -0.060532547533512115 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.028209509328007698 + }, + "else": { + "operation": "boost", + "score": 0.039008911699056625 + } } - }, - "else": { - "operation": "boost", - "score": 0.12912246584892273 } + }, + "else": { + "operation": "boost", + "score": 0.0173647478222847 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.10818713903427124, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11015935987234116 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": -0.03993406146764755 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.06038927659392357 + }, + "else": { + "operation": "boost", + "score": 0.1566375494003296 + } + }, + "else": { + "operation": "boost", + "score": 0.05719251558184624 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, "then": { - "operation": "boost", - "score": -0.02739504911005497 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": 0.16973024606704712 + }, + "else": { + "operation": "boost", + "score": 0.02079875022172928 + } + }, + "else": { + "operation": "boost", + "score": 0.031262923032045364 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15096499025821686 + "score": -0.5490806698799133 }, "else": { "operation": "boost", - "score": 0.10013934224843979 + "score": 0.007671264465898275 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { + "operation": "boost", + "score": -0.23657365143299103 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "boost", - "score": -0.017977511510252953 + "score": 0.0761389210820198 }, "else": { "operation": "boost", - "score": -0.7822275757789612 + "score": -0.049837253987789154 } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.050935354083776474 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04770829901099205 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11613444983959198 }, "else": { + "operation": "boost", + "score": 0.1471613049507141 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13258279860019684 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.025359109044075012 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08535636961460114 + }, + "else": { + "operation": "boost", + "score": 0.1159546747803688 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.06317666918039322 + "score": 0.05890602245926857 }, "else": { "operation": "boost", - "score": 0.042762573808431625 + "score": 0.13530349731445312 } }, "else": { "operation": "boost", - "score": -0.04729318246245384 + "score": 0.035585250705480576 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { + "operation": "boost", + "score": 0.00236877822317183 }, "else": { - "operation": "boost", - "score": 0.08332151919603348 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1161474958062172 + }, + "else": { + "operation": "boost", + "score": 0.05887996405363083 + } + }, + "else": { + "operation": "boost", + "score": 0.012085122056305408 + } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, - "then": { - "operation": "boost", - "score": -0.9921821355819702 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.0, - "then": { - "operation": "boost", - "score": 0.13718000054359436 }, "else": { "operation": "boost", - "score": 0.009225054644048214 + "score": -0.03573235496878624 } } } }, "else": { + "operation": "boost", + "score": 0.2820756137371063 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "boost", - "score": -0.11076177656650543 + "score": -0.022364990785717964 }, "else": { "operation": "boost", - "score": -0.8212521076202393 + "score": 0.009845202788710594 } }, "else": { + "operation": "boost", + "score": -0.02279423363506794 + } + }, + "else": { + "operation": "boost", + "score": -0.0016479261685162783 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20.5, + "threshold": 349.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.13942307233810425, + "then": { + "operation": "boost", + "score": 0.10856898128986359 + }, + "else": { + "operation": "boost", + "score": 0.05628342181444168 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.014102858491241932 + "score": -0.5687853693962097 }, "else": { "operation": "boost", - "score": 0.08012592047452927 + "score": -0.2567616403102875 } }, "else": { "operation": "boost", - "score": 0.09416031837463379 + "score": -0.06359393149614334 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.017307598143815994 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.015477171167731285 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.0773809552192688, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.04348307475447655 + "score": 0.10491056740283966 }, "else": { "operation": "boost", - "score": -0.1755097657442093 + "score": -0.11457612365484238 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.014235349372029305 + "score": -0.10596663504838943 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": -0.13556452095508575 - }, - "else": { - "operation": "boost", - "score": 0.3862212598323822 - } + "operation": "boost", + "score": -0.2135554552078247 }, "else": { "operation": "boost", - "score": -0.4096609652042389 + "score": 0.1935759037733078 } } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.03846153989434242, + "then": { + "operation": "boost", + "score": -0.10866141319274902 + }, + "else": { + "operation": "boost", + "score": 0.34135445952415466 + } + }, + "else": { + "operation": "boost", + "score": -0.14697310328483582 + } } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 47.5, "then": { - "operation": "boost", - "score": 0.05839533731341362 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "boost", + "score": 0.053943078964948654 + }, + "else": { + "operation": "boost", + "score": 0.12665051221847534 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.006181780248880386 + "score": -0.03418722003698349 }, "else": { "operation": "boost", - "score": -0.1266472488641739 + "score": 0.015046852640807629 } } }, "else": { "operation": "boost", - "score": -0.021858589723706245 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.21241040527820587 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.043062347918748856 - }, - "else": { - "operation": "boost", - "score": 0.10153556615114212 + "score": -0.0074704429134726524 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.008132504299283028 + }, + "else": { + "operation": "boost", + "score": 0.06234940513968468 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.0377354621887207 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.045789819210767746 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.029578587040305138 - }, - "else": { - "operation": "boost", - "score": 0.11714202165603638 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, "then": { "operation": "boost", - "score": 0.047910548746585846 + "score": -0.09268968552350998 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1028.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.06260769814252853 + "score": 0.025281723588705063 }, "else": { - "operation": "boost", - "score": 0.11752401292324066 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 10.0, + "then": { + "operation": "boost", + "score": -0.11236933618783951 + }, + "else": { + "operation": "boost", + "score": 0.001713335164822638 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, "then": { "operation": "boost", - "score": -0.03652709722518921 + "score": -0.02644231542944908 }, "else": { "operation": "boost", - "score": -0.3818754553794861 + "score": 0.03916395083069801 } }, "else": { "operation": "boost", - "score": 0.11691572517156601 + "score": -0.048218440264463425 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.0696510598063469 - }, - "else": { - "operation": "boost", - "score": 0.09890687465667725 - } - }, - "else": { - "operation": "boost", - "score": -0.05360225588083267 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.011360838077962399 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.12678535282611847 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.018629413098096848 - }, - "else": { - "operation": "boost", - "score": 0.46274012327194214 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 216.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1262.0, - "then": { - "operation": "boost", - "score": -0.03177985921502113 - }, - "else": { - "operation": "boost", - "score": -0.6297067999839783 - } - }, - "else": { - "operation": "boost", - "score": -0.009314036928117275 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "boost", - "score": 0.1271916627883911 + "score": 0.09170322865247726 }, "else": { "operation": "boost", - "score": 0.03931164741516113 + "score": 0.006869286764413118 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.04285329207777977 - }, - "else": { - "operation": "boost", - "score": 0.09269339591264725 - } + "operation": "boost", + "score": 0.045254696160554886 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11514.0, - "then": { - "operation": "boost", - "score": 0.07443307340145111 - }, - "else": { - "operation": "boost", - "score": -0.022771397605538368 - } - } - }, - "else": { - "operation": "boost", - "score": 0.005553332157433033 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.5, - "then": { - "operation": "boost", - "score": -0.4367775619029999 - }, - "else": { - "operation": "boost", - "score": 0.0746794044971466 - } + "operation": "boost", + "score": -0.004078572615981102 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.006032351870089769 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 553.5, - "then": { - "operation": "boost", - "score": 0.04999915510416031 - }, - "else": { - "operation": "boost", - "score": 0.08797058463096619 - } - } + "operation": "boost", + "score": 0.08504582941532135 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { "operation": "boost", - "score": 0.11504116654396057 + "score": 0.02312704548239708 }, "else": { "operation": "boost", - "score": 0.07510316371917725 + "score": 0.087359219789505 } } } }, "else": { "operation": "boost", - "score": -0.08180879056453705 + "score": -0.034144509583711624 } - }, - "else": { - "operation": "boost", - "score": -0.060244474560022354 } + } + }, + "else": { + "operation": "boost", + "score": -0.015478917397558689 + } + }, + "else": { + "operation": "boost", + "score": -0.017386645078659058 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019665353000164032 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.02411726862192154 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004817671608179808 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "boost", - "score": -0.37314674258232117 - }, - "else": { - "operation": "boost", - "score": 0.06434974074363708 - } + "operation": "boost", + "score": 0.04735303297638893 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, - "then": { - "operation": "boost", - "score": 0.09870067983865738 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10290350764989853 - }, - "else": { - "operation": "boost", - "score": -0.13518522679805756 - } - } + "operation": "boost", + "score": 0.1582372635602951 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0830283984541893 + "score": -0.12897692620754242 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { "operation": "boost", - "score": -0.005183847155421972 + "score": 0.042820077389478683 }, "else": { "operation": "boost", - "score": -0.06691452860832214 + "score": -0.02195751667022705 } } } } } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01511180866509676 + }, + "else": { + "operation": "boost", + "score": -0.01981070078909397 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": -0.018446223810315132 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, + "then": { + "operation": "boost", + "score": 0.11835812777280807 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10074523836374283 + "score": -0.0884842723608017 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { + "operation": "boost", + "score": 0.09208323061466217 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "boost", - "score": 0.07695458829402924 + "score": 0.12479205429553986 }, "else": { "operation": "boost", - "score": -0.1231093779206276 + "score": 0.1595248132944107 } - }, - "else": { - "operation": "boost", - "score": 0.11289621889591217 } }, "else": { + "operation": "boost", + "score": -0.07111575454473495 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": 0.07459061592817307 + }, + "else": { + "operation": "boost", + "score": -0.4125797152519226 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.25833332538604736, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.0, - "then": { - "operation": "boost", - "score": -0.11917737126350403 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.1023542508482933 - }, - "else": { - "operation": "boost", - "score": -0.12075906246900558 - } - } + "operation": "boost", + "score": -0.20324669778347015 }, "else": { "operation": "boost", - "score": 0.14386136829853058 + "score": 0.008885283954441547 } }, "else": { "operation": "boost", - "score": -0.16172197461128235 + "score": -0.07043551653623581 } + }, + "else": { + "operation": "boost", + "score": 0.056508053094148636 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12810997664928436 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.0753159373998642 + }, + "else": { + "operation": "boost", + "score": -0.21049636602401733 } + }, + "else": { + "operation": "boost", + "score": 0.006078374106436968 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12922370433807373 + "score": -0.009115448221564293 }, "else": { + "operation": "boost", + "score": -0.14933660626411438 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.007243538741022348 + }, + "else": { + "operation": "boost", + "score": -0.012132704257965088 + } + }, + "else": { + "operation": "boost", + "score": 0.0006893305690027773 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.020498398691415787 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": 0.11799807101488113 + }, + "else": { + "operation": "boost", + "score": -0.11891920864582062 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.008415651507675648 + } + }, + "else": { + "operation": "boost", + "score": -0.00013553023745771497 + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008628133684396744 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.008687841705977917 + }, + "else": { + "operation": "boost", + "score": -0.10477439314126968 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.037749290466308594, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 667.5, + "then": { + "operation": "boost", + "score": -0.025612445548176765 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 622.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "boost", + "score": 0.12387009710073471 + }, + "else": { + "operation": "boost", + "score": 0.1267353743314743 + } + }, + "else": { + "operation": "boost", + "score": 0.06677452474832535 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "Constructor" ], "then": { + "operation": "boost", + "score": 0.06130484864115715 + }, + "else": { + "operation": "boost", + "score": -0.00016640395915601403 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.00596039230003953 + }, + "else": { + "operation": "boost", + "score": -0.057858046144247055 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24.0, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.02742314152419567 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08592236787080765 + }, + "else": { + "operation": "boost", + "score": -0.02092440240085125 + } }, "else": { "operation": "boost", - "score": 0.11048698425292969 + "score": 0.11819697916507721 } }, - "else": { - "operation": "boost", - "score": 0.01741253398358822 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.43309375643730164 - }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { - "operation": "boost", - "score": -0.5554457902908325 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.04567953199148178 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.005276094656437635 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.07381417602300644 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 142.0, + "then": { + "operation": "boost", + "score": 0.12516556680202484 + }, + "else": { + "operation": "boost", + "score": 0.10659964382648468 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "boost", + "score": 0.07660984247922897 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.13783012330532074 + }, + "else": { + "operation": "boost", + "score": 0.17270909249782562 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08288555592298508 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04917886480689049 + } + } + }, + "else": { + "operation": "boost", + "score": -0.023977363482117653 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.03591422364115715 + }, + "else": { + "operation": "boost", + "score": -0.03940271586179733 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.11114784330129623 + }, + "else": { + "operation": "boost", + "score": 0.42081257700920105 + } + }, + "else": { + "operation": "boost", + "score": 0.034156545996665955 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11995866149663925 + }, + "else": { + "operation": "boost", + "score": -0.105989009141922 + } + } + } + } }, "else": { "operation": "boost", - "score": 0.03425564989447594 + "score": -0.0175428856164217 } } + }, + "else": { + "operation": "boost", + "score": 0.02442621812224388 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03359297662973404 + "score": 0.025535574182868004 }, "else": { - "operation": "boost", - "score": 0.07520659267902374 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5419580936431885, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.11812203377485275 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "boost", + "score": 0.12533631920814514 + }, + "else": { + "operation": "boost", + "score": 0.005517642945051193 + } + }, + "else": { + "operation": "boost", + "score": -0.1455744057893753 + } + }, + "else": { + "operation": "boost", + "score": -0.03334587439894676 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.017724711447954178 + }, + "else": { + "operation": "boost", + "score": 0.09973997622728348 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05494866520166397 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2817460298538208, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11592676490545273 + }, + "else": { + "operation": "boost", + "score": -0.12575547397136688 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": -0.4311443567276001 + }, + "else": { + "operation": "boost", + "score": -0.05453520268201828 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.08672945946455002 + }, + "else": { + "operation": "boost", + "score": 0.024914337322115898 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004105531144887209 + } + }, + "else": { + "operation": "boost", + "score": -0.011535017751157284 + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.06306396424770355 } } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006406731903553009 + }, + "else": { + "operation": "boost", + "score": -0.009816483594477177 + } } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.0060514602810144424 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ - "FunctionScope", - "ClassScope", - "FileScope" + "ClassScope" ], "then": { - "operation": "boost", - "score": 0.09970404952764511 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { "operation": "boost", - "score": -0.049566641449928284 + "score": 0.1421830952167511 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.0834137499332428 - }, - "else": { - "operation": "boost", - "score": -0.30521318316459656 - } + "operation": "boost", + "score": 0.06770546734333038 } }, "else": { "operation": "boost", - "score": -0.010323172435164452 + "score": 0.002862925175577402 } + }, + "else": { + "operation": "boost", + "score": 0.0008029927266761661 } } + }, + "else": { + "operation": "boost", + "score": 0.21723778545856476 } - }, - "else": { - "operation": "boost", - "score": 0.005121992435306311 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16649.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.013390183448791504 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.23941659927368164 + "score": 0.007870725356042385 }, "else": { - "operation": "boost", - "score": 0.10452258586883545 - } - }, - "else": { - "operation": "boost", - "score": 0.049503762274980545 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.012118586339056492 - }, - "else": { - "operation": "boost", - "score": 0.11321432888507843 - } + "operation": "boost", + "score": 0.02155112475156784 }, "else": { "operation": "boost", - "score": 0.08460575342178345 + "score": 0.05540882423520088 } - }, - "else": { - "operation": "boost", - "score": 0.02268020249903202 } }, "else": { - "operation": "boost", - "score": 0.011034179478883743 - } - }, - "else": { - "operation": "boost", - "score": 0.0030734564643353224 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00031889279489405453 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 633.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2757.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2880.5, - "then": { - "operation": "boost", - "score": 0.009136805310845375 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2852.5, - "then": { - "operation": "boost", - "score": 0.13372932374477386 - }, - "else": { - "operation": "boost", - "score": 0.02250438556075096 - } - } + "operation": "boost", + "score": -0.00527187017723918 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.045882321894168854 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.16036640107631683 + }, + "else": { + "operation": "boost", + "score": 0.028608225286006927 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6653.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6943.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63399.5, - "then": { - "operation": "boost", - "score": -0.36267808079719543 - }, - "else": { - "operation": "boost", - "score": 0.08637462556362152 - } - }, - "else": { - "operation": "boost", - "score": 0.12276113033294678 - } + "operation": "boost", + "score": -0.02214215323328972 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04678162932395935 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3473.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5163.5, - "then": { - "operation": "boost", - "score": 0.08829144388437271 - }, - "else": { - "operation": "boost", - "score": -0.015767790377140045 - } - }, - "else": { - "operation": "boost", - "score": 0.11846938729286194 - } - } + "operation": "boost", + "score": 0.01165751926600933 } } }, "else": { "operation": "boost", - "score": 0.00937426183372736 + "score": 0.003874777816236019 } } - }, - "else": { - "operation": "boost", - "score": -0.020037777721881866 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 562.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.19603314995765686 + }, + "else": { + "operation": "boost", + "score": 0.03814820945262909 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 575.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 17.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10810086876153946 + "score": 0.004123122431337833 }, "else": { - "operation": "boost", - "score": 0.1002577468752861 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "boost", + "score": 0.10301650315523148 + }, + "else": { + "operation": "boost", + "score": 0.045679111033678055 + } + }, + "else": { + "operation": "boost", + "score": -0.10788820683956146 + } } }, "else": { "operation": "boost", - "score": 0.14513441920280457 + "score": 0.009703650139272213 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 565.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.0231174286454916 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 619.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "boost", - "score": -0.0075329928658902645 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 597.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": 0.11079247295856476 + "score": 0.03305704519152641 }, "else": { "operation": "boost", - "score": 0.06162954866886139 + "score": -0.02822585590183735 } + }, + "else": { + "operation": "boost", + "score": 0.07282735407352448 } }, "else": { "operation": "boost", - "score": 0.0933123230934143 + "score": -0.11243487149477005 } }, "else": { - "operation": "boost", - "score": -0.02070598304271698 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.39085328578948975 + }, + "else": { + "operation": "boost", + "score": -0.0063917976804077625 + } } - }, - "else": { - "operation": "boost", - "score": 0.12431932985782623 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6547619104385376, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.08832195401191711 + "score": -0.061569586396217346 }, "else": { - "operation": "boost", - "score": -0.3010175824165344 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.08900344371795654 + }, + "else": { + "operation": "boost", + "score": 0.07460363954305649 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.0439116433262825 + "score": 0.10085099190473557 }, "else": { "operation": "boost", - "score": 0.030464615672826767 + "score": 0.033509526401758194 } } }, "else": { + "operation": "boost", + "score": 0.014565002173185349 + } + }, + "else": { + "operation": "boost", + "score": -0.07793281227350235 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 312.5, + "then": { + "operation": "boost", + "score": -0.02982790581882 + }, + "else": { + "operation": "boost", + "score": -0.0014328755205497146 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, "then": { "operation": "boost", - "score": -0.03853902220726013 + "score": 0.010209036991000175 }, "else": { + "operation": "boost", + "score": -0.033869966864585876 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.0, "then": { "operation": "boost", - "score": -0.11878100782632828 + "score": 0.20416218042373657 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.14191827178001404 - }, - "else": { - "operation": "boost", - "score": -0.11206885427236557 - } + "operation": "boost", + "score": -0.013785510323941708 } }, "else": { "operation": "boost", - "score": -0.13450616598129272 + "score": -0.17040137946605682 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { + "operation": "boost", + "score": 0.038486775010824203 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.024145212024450302 - }, - "else": { - "operation": "boost", - "score": 0.1748036891222 - } - }, - "else": { - "operation": "boost", - "score": -0.26476964354515076 - } - }, - "else": { - "operation": "boost", - "score": 0.09175601601600647 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.021812953054904938 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7014.5, - "then": { - "operation": "boost", - "score": 0.03001571260392666 - }, - "else": { - "operation": "boost", - "score": -0.03101371042430401 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.03229739889502525 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10577988624572754 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": -0.7467078566551208 + }, + "else": { + "operation": "boost", + "score": 0.03629850596189499 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.127449169754982 + }, + "else": { + "operation": "boost", + "score": 0.09794525802135468 + } + }, + "else": { + "operation": "boost", + "score": -0.024887703359127045 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": 0.09587391465902328 + }, + "else": { + "operation": "boost", + "score": 0.5213702321052551 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009722551330924034 + } + }, + "else": { + "operation": "boost", + "score": -0.15496239066123962 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.2935170829296112 + }, + "else": { + "operation": "boost", + "score": -0.14946678280830383 + } + }, + "else": { + "operation": "boost", + "score": -0.07626499980688095 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": 0.016750480979681015 + }, + "else": { + "operation": "boost", + "score": 0.12079473584890366 + } + }, + "else": { + "operation": "boost", + "score": 0.0682600736618042 + } + }, + "else": { + "operation": "boost", + "score": -0.12430107593536377 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.01397353783249855 + }, + "else": { + "operation": "boost", + "score": 0.05896640568971634 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.023140905424952507 + }, + "else": { + "operation": "boost", + "score": -0.08831804245710373 + } + } + } + } + } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 143.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, "then": { "operation": "boost", - "score": 0.007294195704162121 + "score": -0.001019699382595718 }, "else": { - "operation": "boost", - "score": -0.004274423699826002 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 267.5, + "then": { + "operation": "boost", + "score": 0.07714936882257462 + }, + "else": { + "operation": "boost", + "score": 0.3564110994338989 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 146.5, + "then": { + "operation": "boost", + "score": 0.010980186983942986 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.1296083629131317 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.08238273859024048 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.09528201073408127 + }, + "else": { + "operation": "boost", + "score": 0.30356279015541077 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00044204553705640137 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00041693137609399855 + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.006397797726094723 + }, + "else": { + "operation": "boost", + "score": 0.0006207784754224122 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11089348793029785 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 706.5, + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, "then": { - "operation": "boost", - "score": -0.3986850678920746 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.019441744312644005 + }, + "else": { + "operation": "boost", + "score": -0.0023185336031019688 + } }, "else": { "operation": "boost", - "score": 0.12809059023857117 + "score": -0.04436153918504715 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05527634546160698 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.04024558141827583 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.023072047159075737 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.08184181153774261 + }, + "else": { + "operation": "boost", + "score": 0.017962459474802017 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.10718254745006561 + }, + "else": { + "operation": "boost", + "score": 0.05897108465433121 + } + }, + "else": { + "operation": "boost", + "score": 0.032324157655239105 + } + }, + "else": { + "operation": "boost", + "score": 0.0023590305354446173 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.029264070093631744 + }, + "else": { + "operation": "boost", + "score": -0.05156402289867401 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.06926006823778152 + }, + "else": { + "operation": "boost", + "score": 0.024036569520831108 + } + } + }, + "else": { + "operation": "boost", + "score": 0.086362823843956 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.01608213409781456 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": -0.03330317139625549 + }, + "else": { + "operation": "boost", + "score": 0.007420097943395376 + } + } + } + } }, "else": { "operation": "boost", - "score": 0.10040375590324402 + "score": 0.013288545422255993 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 646.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11405602842569351 + "score": -0.004831764381378889 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12404908984899521 - }, - "else": { - "operation": "boost", - "score": 0.019937114790081978 - } + "operation": "boost", + "score": -0.9549548029899597 } }, "else": { "operation": "boost", - "score": -0.03403427451848984 + "score": 0.012376487255096436 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12131825089454651 - }, - "else": { - "operation": "boost", - "score": 0.01232842542231083 - } + "operation": "boost", + "score": -0.014703444205224514 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 99.0, + "threshold": 83.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.11085280030965805 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "boost", - "score": 0.10998804867267609 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13091.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "boost", + "score": -0.2783159613609314 + }, + "else": { + "operation": "boost", + "score": -1.0700196027755737 + } + }, + "else": { + "operation": "boost", + "score": -0.04793039336800575 + } + }, + "else": { + "operation": "boost", + "score": 0.03707685321569443 + } }, "else": { "operation": "boost", - "score": 0.05614479258656502 + "score": 0.04837749898433685 } - }, - "else": { - "operation": "boost", - "score": 0.10716381669044495 } }, "else": { - "operation": "boost", - "score": -0.19179879128932953 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.02755456231534481 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "boost", - "score": 0.11027500033378601 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.004785196855664253 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.5285942554473877 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.03376861661672592 + }, + "else": { + "operation": "boost", + "score": 0.1124483123421669 + } + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "boost", - "score": -0.07451590150594711 + "score": -0.019253332167863846 }, "else": { "operation": "boost", - "score": 0.11532219499349594 + "score": 0.21497860550880432 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "boost", + "score": 0.14240363240242004 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10547050833702087 + }, + "else": { + "operation": "boost", + "score": 0.09243466705083847 + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 1.5122425556182861 }, "else": { "operation": "boost", - "score": -0.10489640384912491 + "score": -0.11353745311498642 } + }, + "else": { + "operation": "boost", + "score": -0.015981368720531464 } } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.00972256064414978 }, "else": { - "operation": "boost", - "score": 0.005732151214033365 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.021698979660868645 + }, + "else": { + "operation": "boost", + "score": -0.42261528968811035 + } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6320.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { + "operation": "boost", + "score": -0.04108542203903198 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6826.5, + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { "operation": "boost", - "score": 0.04571641981601715 + "score": -0.035946767777204514 }, "else": { - "operation": "boost", - "score": 0.1779320389032364 - } - }, - "else": { - "operation": "boost", - "score": 0.007940681651234627 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 127.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 163.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 489.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 754.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.05608639866113663 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09917575120925903 + "score": 0.05914413183927536 }, "else": { "operation": "boost", - "score": 0.11127340793609619 + "score": -0.011174547486007214 } + }, + "else": { + "operation": "boost", + "score": -0.049859918653964996 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { - "operation": "boost", - "score": 0.22140797972679138 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.10093294829130173 + }, + "else": { + "operation": "boost", + "score": 0.12771882116794586 + } + }, + "else": { + "operation": "boost", + "score": 0.04506669193506241 + } }, "else": { - "operation": "boost", - "score": -0.047495026141405106 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.037440139800310135 + }, + "else": { + "operation": "boost", + "score": -0.12235038727521896 + } } } }, @@ -310402,7568 +312314,7341 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.10549180954694748 + "score": 0.03718452900648117 }, "else": { "operation": "boost", - "score": -0.10755404829978943 + "score": -0.06736090034246445 } } }, "else": { - "operation": "boost", - "score": -0.10649131238460541 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.047252681106328964 + }, + "else": { + "operation": "boost", + "score": 0.038397010415792465 + } + }, + "else": { + "operation": "boost", + "score": -0.1052820011973381 + } } }, - "else": { - "operation": "boost", - "score": -0.027810320258140564 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123.5, - "then": { - "operation": "boost", - "score": 0.1319401115179062 - }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.0, - "then": { - "operation": "boost", - "score": 0.11988051980733871 - }, - "else": { - "operation": "boost", - "score": -0.07458905130624771 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.5, - "then": { - "operation": "boost", - "score": -0.2045021504163742 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09514773637056351 - }, - "else": { - "operation": "boost", - "score": 0.10546103119850159 - } - } - } + "operation": "boost", + "score": 0.006277839187532663 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.0, - "then": { - "operation": "boost", - "score": 0.1177123561501503 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.5, - "then": { - "operation": "boost", - "score": 0.11711296439170837 - }, - "else": { - "operation": "boost", - "score": 0.39730966091156006 - } - } - }, - "else": { - "operation": "boost", - "score": -0.016758233308792114 - } + "operation": "boost", + "score": 0.05216582491993904 } }, "else": { "operation": "boost", - "score": -0.11001890897750854 + "score": -0.05782346799969673 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06299327313899994 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.1093655675649643 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.022727273404598236, + "then": { + "operation": "boost", + "score": -0.05235147476196289 + }, + "else": { + "operation": "boost", + "score": 0.05337502434849739 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "boost", - "score": 0.4533081352710724 + "score": 0.09197284281253815 }, "else": { "operation": "boost", - "score": -0.12205569446086884 + "score": -0.12821899354457855 } } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3303571343421936, + "then": { + "operation": "boost", + "score": -0.10055892169475555 + }, + "else": { + "operation": "boost", + "score": 0.14624309539794922 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0658038780093193 + }, + "else": { + "operation": "boost", + "score": -0.01734686829149723 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06652910262346268 + } } - }, - "else": { - "operation": "boost", - "score": 0.016364455223083496 } }, "else": { "operation": "boost", - "score": -0.007396592292934656 + "score": 0.0021664074156433344 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 1253.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 467.0, - "then": { - "operation": "boost", - "score": -0.07842736691236496 - }, - "else": { - "operation": "boost", - "score": 0.13193732500076294 - } - }, - "else": { - "operation": "boost", - "score": -0.20731233060359955 - } + "operation": "boost", + "score": 0.13580237329006195 }, "else": { "operation": "boost", - "score": 0.029648326337337494 + "score": 0.015283055603504181 } }, "else": { + "operation": "boost", + "score": 0.00621398538351059 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.0029483886901289225 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.014157609082758427 + "score": -0.005642486270517111 }, "else": { + "operation": "boost", + "score": -0.28551414608955383 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 446.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 566.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 948.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.110979825258255 - }, - "else": { - "operation": "boost", - "score": 0.1041620597243309 - } + "operation": "boost", + "score": -0.014064404182136059 }, "else": { "operation": "boost", - "score": -0.1886707842350006 + "score": -0.15690653026103973 } }, "else": { - "operation": "boost", - "score": 0.11801600456237793 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": -0.17415906488895416 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2750000059604645, + "then": { + "operation": "boost", + "score": 0.04582159221172333 + }, + "else": { + "operation": "boost", + "score": -0.182523712515831 + } + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 277.0, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { "operation": "boost", - "score": 0.0008893201593309641 + "score": 0.12323883920907974 }, "else": { "operation": "boost", - "score": 0.10605953633785248 + "score": -0.04997643083333969 } }, "else": { - "operation": "boost", - "score": -0.03820207715034485 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.001420447719283402 + }, + "else": { + "operation": "boost", + "score": 0.023945381864905357 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.12948425114154816 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.04662589728832245 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.11817464232444763 + }, + "else": { + "operation": "boost", + "score": 0.06619751453399658 + } + } }, "else": { "operation": "boost", - "score": 0.0027261136565357447 + "score": -0.008489387109875679 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.01469219196587801 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.014584622345864773 + }, + "else": { + "operation": "boost", + "score": -0.0189290102571249 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.07575489580631256 + }, + "else": { + "operation": "boost", + "score": -0.0069032516330480576 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0012423185398802161 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": 0.11081081628799438 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": -0.030511481687426567 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.12322952598333359 + }, + "else": { + "operation": "boost", + "score": 0.037574127316474915 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0705362856388092 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.5, + "operation": "boost", + "score": -0.030225463211536407 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 149.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.5, + "operation": "boost", + "score": 0.07843880355358124 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190.0, + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, "then": { + "operation": "boost", + "score": 0.1462949961423874 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195.0, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 227.5, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { + "operation": "boost", + "score": 0.04724752530455589 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 259.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03978181630373001 + "score": 0.09847506135702133 }, "else": { "operation": "boost", - "score": 0.10431579500436783 + "score": 0.1335591971874237 } - }, - "else": { - "operation": "boost", - "score": -0.2309671938419342 } }, "else": { "operation": "boost", - "score": 0.09475556015968323 + "score": 0.02930971048772335 } - }, - "else": { - "operation": "boost", - "score": -0.6160053610801697 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.11770384013652802 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": 0.023513611406087875 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": 0.1453852355480194 + }, + "else": { + "operation": "boost", + "score": 0.12185166776180267 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.13129055500030518 + }, + "else": { + "operation": "boost", + "score": 0.05124487727880478 + } + }, + "else": { + "operation": "boost", + "score": -0.009148654527962208 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2411331832408905 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 154.5, + "feature": "FractionNameInContext", + "threshold": 0.75, "then": { "operation": "boost", - "score": 0.024105727672576904 + "score": -0.30143803358078003 }, "else": { "operation": "boost", - "score": 0.0936851054430008 + "score": 0.09159080684185028 } } } - }, - "else": { - "operation": "boost", - "score": -0.04387642815709114 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11760036647319794 - }, - "else": { - "operation": "boost", - "score": 0.029840027913451195 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12780441343784332 - }, - "else": { - "operation": "boost", - "score": -0.2424316257238388 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.010720578022301197 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.1876383125782013 - }, - "else": { - "operation": "boost", - "score": -0.824708878993988 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.08577151596546173 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.13776348531246185 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3354310989379883 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 192.0, - "then": { "operation": "boost", - "score": -0.1168958768248558 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.5, - "then": { - "operation": "boost", - "score": 0.10950680077075958 - }, - "else": { - "operation": "boost", - "score": 0.01774969883263111 - } + "score": 0.006299291737377644 } } - }, - "else": { - "operation": "boost", - "score": -0.10197734832763672 } }, "else": { "operation": "boost", - "score": 0.01226250734180212 + "score": -0.002026994712650776 } + }, + "else": { + "operation": "boost", + "score": 0.08974724262952805 } } + }, + "else": { + "operation": "boost", + "score": -0.05419348552823067 } - }, - "else": { - "operation": "boost", - "score": 0.003826610976830125 } } } }, "else": { "operation": "boost", - "score": -0.0004759879084303975 + "score": -0.0004026921233162284 } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function", - "Type", - "Namespace" + "Macro", + "Namespace", + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", + "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.0005365421529859304 - }, - "else": { - "operation": "boost", - "score": -0.1103893518447876 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Type" + "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { - "operation": "boost", - "score": 0.009790889918804169 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10630208998918533 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05585463345050812 + }, + "else": { + "operation": "boost", + "score": -0.0500466413795948 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03534277528524399 + }, + "else": { + "operation": "boost", + "score": -0.20513255894184113 + } + } + } }, "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.17843547463417053 + }, + "else": { + "operation": "boost", + "score": -0.044625937938690186 + } + }, + "else": { + "operation": "boost", + "score": 0.007185529451817274 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "boost", + "score": -0.0011781888315454125 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.063081756234169 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": -0.21574869751930237 + }, + "else": { + "operation": "boost", + "score": 0.0301705002784729 + } + }, + "else": { + "operation": "boost", + "score": 0.13009624183177948 + } }, "else": { "operation": "boost", - "score": -0.10172094404697418 + "score": -0.01743835210800171 } - }, - "else": { - "operation": "boost", - "score": -0.013290917500853539 } + }, + "else": { + "operation": "boost", + "score": 0.002774714957922697 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_Symbol", - "CCC_DotMemberAccess" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "boost", + "score": 0.04442106932401657 + }, + "else": { + "operation": "boost", + "score": 0.011640165001153946 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10874636471271515 - }, - "else": { - "operation": "boost", - "score": 0.1476123034954071 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03474023565649986 - }, - "else": { - "operation": "boost", - "score": 0.07311569899320602 - } - } - }, - "else": { - "operation": "boost", - "score": -0.035839006304740906 - } + "operation": "boost", + "score": -0.11465869098901749 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.05778895318508148 - }, - "else": { - "operation": "boost", - "score": 0.28745418787002563 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12663054466247559 - }, - "else": { - "operation": "boost", - "score": -0.2066965401172638 - } - } - }, - "else": { - "operation": "boost", - "score": 0.054118331521749496 - } + "operation": "boost", + "score": -0.0036586266942322254 }, "else": { "operation": "boost", - "score": 0.06696901470422745 + "score": 0.005189301911741495 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { + "operation": "boost", + "score": -0.06290575861930847 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.05794066563248634 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.06281501054763794, "then": { - "operation": "boost", - "score": 0.10195942223072052 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23506.0, + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { "operation": "boost", - "score": 0.02886749804019928 + "score": 0.07268206775188446 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, - "then": { - "operation": "boost", - "score": 0.11051501333713531 - }, - "else": { - "operation": "boost", - "score": -0.13309794664382935 - } + "operation": "boost", + "score": 0.10532720386981964 } + }, + "else": { + "operation": "boost", + "score": 0.05891428142786026 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, - "then": { - "operation": "boost", - "score": -0.008232975378632545 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50371.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.10001510381698608 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.059246648102998734 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.6048369407653809 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": 0.07714352011680603 + }, + "else": { + "operation": "boost", + "score": 0.05082237720489502 + } + } + } }, "else": { "operation": "boost", - "score": 0.1300847828388214 + "score": -0.07825111597776413 } }, - "else": { - "operation": "boost", - "score": 0.041056420654058456 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.06693071126937866 - }, - "else": { - "operation": "boost", - "score": 0.11825064569711685 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53950.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.5120013356208801 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12185664474964142 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.037519849836826324 + }, + "else": { + "operation": "boost", + "score": 0.11998552829027176 + } }, "else": { "operation": "boost", - "score": -0.11253441870212555 + "score": 0.03357818350195885 } } }, "else": { "operation": "boost", - "score": 0.11912516504526138 + "score": -0.09335817396640778 } + }, + "else": { + "operation": "boost", + "score": 0.03944976255297661 } }, "else": { "operation": "boost", - "score": 0.027018923312425613 + "score": -0.05506644397974014 } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, + "then": { + "operation": "boost", + "score": -0.04609369486570358 + }, + "else": { + "operation": "boost", + "score": -0.0068013472482562065 + } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, "then": { "operation": "boost", - "score": -0.011968466453254223 + "score": 0.0020391647703945637 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "operation": "boost", + "score": 0.0593855157494545 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { "operation": "boost", - "score": 0.0916736051440239 + "score": 0.0011616817209869623 }, "else": { "operation": "boost", - "score": 0.10443465411663055 + "score": 0.10235033929347992 } }, "else": { "operation": "boost", - "score": -0.17837275564670563 + "score": -0.21536073088645935 } + }, + "else": { + "operation": "boost", + "score": -0.12117858976125717 } } - }, - "else": { - "operation": "boost", - "score": 0.023729586973786354 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0513138473033905 + "score": 0.05979117006063461 }, "else": { - "operation": "boost", - "score": 0.037773314863443375 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.0489460714161396 + }, + "else": { + "operation": "boost", + "score": 0.057961784303188324 + } + }, + "else": { + "operation": "boost", + "score": -0.06608108431100845 + } } - }, - "else": { - "operation": "boost", - "score": 0.03553200885653496 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.0368146151304245 - }, - "else": { - "operation": "boost", - "score": 0.08645296096801758 - } - }, - "else": { - "operation": "boost", - "score": 0.019873708486557007 - } + "operation": "boost", + "score": 0.5131773948669434 }, "else": { "operation": "boost", - "score": 0.0004362122272141278 + "score": 0.030741270631551743 } }, "else": { - "operation": "boost", - "score": -0.0016750250943005085 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.02800331450998783 - }, - "else": { - "operation": "boost", - "score": -0.038948219269514084 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": -0.026990626007318497 + "score": 0.0023337232414633036 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.029953544959425926 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.06327749788761139 + "score": 0.21578651666641235 }, "else": { - "operation": "boost", - "score": 0.05798967555165291 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06324842572212219 + }, + "else": { + "operation": "boost", + "score": 0.14980411529541016 + } } + }, + "else": { + "operation": "boost", + "score": -0.10286352783441544 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2854.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3256.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.00491925235837698 - }, - "else": { - "operation": "boost", - "score": 0.11037294566631317 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.3004128336906433 - }, - "else": { - "operation": "boost", - "score": 0.31590190529823303 - } - }, - "else": { - "operation": "boost", - "score": 0.009585648775100708 - } - }, - "else": { - "operation": "boost", - "score": 0.11764741688966751 - } - } + "operation": "boost", + "score": 0.020467346534132957 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 949.5, + "feature": "FractionNameInContext", + "threshold": 0.20416666567325592, "then": { "operation": "boost", - "score": -0.12551161646842957 + "score": 0.04292137548327446 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 315.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 323.5, - "then": { - "operation": "boost", - "score": 0.023911116644740105 - }, - "else": { - "operation": "boost", - "score": 0.11308705061674118 - } + "operation": "boost", + "score": -0.11149214953184128 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.0161689855158329 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.04108559712767601 - }, - "else": { - "operation": "boost", - "score": 0.0033077914267778397 - } - } + "operation": "boost", + "score": -0.08518145978450775 } } } }, "else": { + "operation": "boost", + "score": -0.057169198989868164 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, + "then": { + "operation": "boost", + "score": 0.013759750872850418 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50186.0, + "then": { + "operation": "boost", + "score": -0.23927143216133118 + }, + "else": { + "operation": "boost", + "score": -0.007549751549959183 + } + }, + "else": { + "operation": "boost", + "score": 0.006665167864412069 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.007529229857027531 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.017875803634524345 + "score": 0.12071315944194794 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11159.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { + "operation": "boost", + "score": -0.013312102295458317 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12405.0, + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.016647033393383026 + "score": -0.10076551884412766 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.0993914008140564 + "score": 0.17549104988574982 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10520443320274353 - }, - "else": { - "operation": "boost", - "score": 0.1055377870798111 - } + "operation": "boost", + "score": 0.07130115479230881 } } - }, - "else": { - "operation": "boost", - "score": -0.005709650926291943 } } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0017976780654862523 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47907.0, - "then": { - "operation": "boost", - "score": 0.06695182621479034 - }, - "else": { - "operation": "boost", - "score": -0.030986500903964043 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { + "operation": "boost", + "score": -0.3646431565284729 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": 0.1044459268450737 + "score": -0.11872202157974243 + }, + "else": { + "operation": "boost", + "score": 0.046595681458711624 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04756103828549385 + }, + "else": { + "operation": "boost", + "score": -0.1395096629858017 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.04007941111922264 + }, + "else": { + "operation": "boost", + "score": 0.08293256163597107 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.020354948937892914 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.0922691598534584 + }, + "else": { + "operation": "boost", + "score": 0.018941134214401245 + } + } + } + } }, "else": { "operation": "boost", - "score": -0.13704781234264374 + "score": -0.11793915927410126 } }, "else": { "operation": "boost", - "score": 0.0640367865562439 + "score": 0.0015395913505926728 } - }, - "else": { - "operation": "boost", - "score": -0.1284266859292984 } }, "else": { "operation": "boost", - "score": -0.4520431160926819 + "score": 0.010387888178229332 } }, "else": { - "operation": "boost", - "score": -0.3108496367931366 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.0, + "operation": "boost", + "score": -0.010279630310833454 + }, + "else": { + "operation": "boost", + "score": 0.004476940259337425 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "boost", + "score": -0.2506735920906067 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.04504390060901642 + "score": 0.009437482804059982 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 29625.0, "then": { "operation": "boost", - "score": 0.07841862738132477 + "score": 0.025190774351358414 }, "else": { "operation": "boost", - "score": 0.09650484472513199 + "score": -0.005721133667975664 } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": -0.00453121168538928 }, "else": { "operation": "boost", - "score": -0.13069681823253632 + "score": 0.016022823750972748 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.15991081297397614 + "score": 0.04419367387890816 }, "else": { "operation": "boost", - "score": -0.2144087851047516 + "score": -0.0322943776845932 } } }, "else": { "operation": "boost", - "score": -0.04555375128984451 + "score": -0.010806579142808914 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0015791732585057616 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6089.0, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { + "operation": "boost", + "score": -0.20686286687850952 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.052397504448890686 + "score": 0.027036089450120926 }, "else": { + "operation": "boost", + "score": -0.03302653506398201 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.005082614254206419 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005244175437837839 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.0006218644557520747 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.03731757029891014 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.10743152350187302 + "score": 0.007597741205245256 }, "else": { "operation": "boost", - "score": -0.10495420545339584 + "score": -0.13609786331653595 } }, "else": { "operation": "boost", - "score": 0.15151536464691162 + "score": 0.09703968465328217 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.5, - "then": { - "operation": "boost", - "score": 0.009411065839231014 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.20185261964797974 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 82127.0, "then": { + "operation": "boost", + "score": 0.07293177396059036 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.10389986634254456 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.0, - "then": { - "operation": "boost", - "score": 0.1430792212486267 - }, - "else": { - "operation": "boost", - "score": -0.10405811667442322 - } + "operation": "boost", + "score": -0.0009248547139577568 }, "else": { "operation": "boost", - "score": -0.1103539988398552 + "score": -0.047956209629774094 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11221788078546524 }, "else": { "operation": "boost", - "score": 0.07577745616436005 + "score": 0.007242890540510416 } } }, "else": { - "operation": "boost", - "score": 0.12864680588245392 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.10207562893629074 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41982.0, + "then": { + "operation": "boost", + "score": -0.3458908200263977 + }, + "else": { + "operation": "boost", + "score": 0.027697179466485977 + } }, "else": { "operation": "boost", - "score": 0.11663532257080078 + "score": -0.05169041082262993 } - }, - "else": { - "operation": "boost", - "score": 0.05645768716931343 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0027437659446150064 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.007231312338262796 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.1182061955332756 - }, - "else": { - "operation": "boost", - "score": 0.1069963127374649 - } - }, - "else": { - "operation": "boost", - "score": 0.032823849469423294 - } - } + "operation": "boost", + "score": 0.012925445102155209 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.10574794560670853 + "score": 0.031052691861987114 }, "else": { "operation": "boost", - "score": 0.027302047237753868 + "score": -0.015065222047269344 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.013981223106384277 + "score": -0.017773257568478584 }, "else": { + "operation": "boost", + "score": -0.19553181529045105 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { + "operation": "boost", + "score": -0.008212021552026272 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.05698341131210327 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 59716.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 94272.5, "then": { "operation": "boost", - "score": 0.05022849515080452 + "score": -0.06566277891397476 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09992267191410065 - }, - "else": { - "operation": "boost", - "score": -0.12449770420789719 - } + "operation": "boost", + "score": -0.37371906638145447 } }, "else": { "operation": "boost", - "score": 0.055700648576021194 + "score": 0.007909215986728668 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.14147934317588806 + }, + "else": { + "operation": "boost", + "score": 0.112259142100811 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018097981810569763 }, "else": { "operation": "boost", - "score": -0.19664739072322845 + "score": -0.017573101446032524 } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": -0.03686362877488136 + }, + "else": { + "operation": "boost", + "score": 0.00996264535933733 + } } } - }, - "else": { - "operation": "boost", - "score": 0.014438895508646965 } - }, - "else": { - "operation": "boost", - "score": -0.0033411122858524323 } } }, + "else": { + "operation": "boost", + "score": -0.014828518033027649 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0003844082239083946 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11829.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12183.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.002320606494322419 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 32026.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.009455448016524315 - }, - "else": { - "operation": "boost", - "score": 0.02162541076540947 - } + "operation": "boost", + "score": -0.023171396926045418 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 32016.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.3301578760147095 + "score": 0.10812189429998398 }, "else": { - "operation": "boost", - "score": 0.12031567841768265 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07831986993551254 + }, + "else": { + "operation": "boost", + "score": -0.16279387474060059 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 30061.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30388.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "boost", + "score": 0.07234431803226471 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.05430961027741432 + "score": 0.1415412724018097 }, "else": { "operation": "boost", - "score": 0.10808280855417252 + "score": -0.2730500102043152 } - }, - "else": { - "operation": "boost", - "score": 0.13612185418605804 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 1.1342415809631348 - }, - "else": { - "operation": "boost", - "score": -0.10391980409622192 } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0005509261391125619 - } - }, - "else": { - "operation": "boost", - "score": -0.014291533268988132 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 391.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.0003836951800622046 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.10840333998203278 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 18526.5, "then": { + "operation": "boost", + "score": -0.026066891849040985 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1355.5, + "threshold": 18299.5, "then": { - "operation": "boost", - "score": -0.12033799290657043 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1226547583937645 + }, + "else": { + "operation": "boost", + "score": 0.1705499291419983 + } }, "else": { "operation": "boost", - "score": 0.11472619324922562 + "score": 0.08174094557762146 } - }, - "else": { - "operation": "boost", - "score": -0.003245291067287326 } }, "else": { "operation": "boost", - "score": 0.043006181716918945 + "score": -0.010531439445912838 } } - }, - "else": { - "operation": "boost", - "score": -0.022110674530267715 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09417217969894409 - }, - "else": { - "operation": "boost", - "score": -0.5118319392204285 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13537.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18485.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 604.5, + "threshold": 18526.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.11388379335403442 - }, - "else": { - "operation": "boost", - "score": -0.23300890624523163 - } - }, - "else": { - "operation": "boost", - "score": 0.11179793626070023 - } - }, - "else": { - "operation": "boost", - "score": 0.017330963164567947 - } - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "NumReferences", + "threshold": 119453.0, "then": { "operation": "boost", - "score": -0.004747792612761259 + "score": -0.06711427122354507 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10091.5, + "threshold": 27209.0, "then": { "operation": "boost", - "score": -0.16552285850048065 + "score": -2.2194712162017822 }, "else": { "operation": "boost", - "score": 0.10726531594991684 + "score": 0.03911489620804787 } } }, "else": { "operation": "boost", - "score": -0.3987245261669159 + "score": 0.0013451224658638239 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 594.0, - "then": { - "operation": "boost", - "score": 0.11669021844863892 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 546.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.1117144376039505 + "score": 0.11551924794912338 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19577.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 20296.0, "then": { "operation": "boost", - "score": -0.12297823280096054 + "score": 0.014013686217367649 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 440.0, + "threshold": 20253.5, "then": { - "operation": "boost", - "score": 0.06443853676319122 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.0958697646856308 + }, + "else": { + "operation": "boost", + "score": -0.02288665808737278 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.19046543538570404 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.04152722656726837 + }, + "else": { + "operation": "boost", + "score": 0.10407909750938416 + } + } + } }, "else": { - "operation": "boost", - "score": 0.10314856469631195 - } - } - }, - "else": { - "operation": "boost", - "score": -0.23175247013568878 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05708512291312218 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 501.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 807.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1530.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2637.0, + "threshold": 20039.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10457.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26906.0, - "then": { - "operation": "boost", - "score": 0.016131166368722916 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.12583529949188232 - }, - "else": { - "operation": "boost", - "score": 0.0990854948759079 - } - }, - "else": { - "operation": "boost", - "score": 0.07053167372941971 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0547371469438076 - } + "operation": "boost", + "score": -0.2009621262550354 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1743.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.0891818106174469 + "score": 0.10033496469259262 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.13783864676952362 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2217.5, - "then": { - "operation": "boost", - "score": 0.10288917273283005 - }, - "else": { - "operation": "boost", - "score": -0.2382974773645401 - } - } + "operation": "boost", + "score": -0.37798401713371277 } }, "else": { - "operation": "boost", - "score": -0.02188606560230255 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1537.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6320.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7147.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.5514982342720032 - }, - "else": { - "operation": "boost", - "score": 0.10976547747850418 - } - }, - "else": { - "operation": "boost", - "score": 0.20038889348506927 - } + "operation": "boost", + "score": 0.08375653624534607 }, "else": { "operation": "boost", - "score": 0.11140915006399155 + "score": 0.02616683393716812 } - }, - "else": { - "operation": "boost", - "score": -0.04028942063450813 } - }, - "else": { - "operation": "boost", - "score": 0.12238885462284088 } } - }, - "else": { - "operation": "boost", - "score": -0.10437213629484177 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 802.5, + "threshold": 19474.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.33031633496284485 - }, - "else": { - "operation": "boost", - "score": 0.12241429090499878 - } + "operation": "boost", + "score": -0.1541067361831665 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18613.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 706.5, - "then": { - "operation": "boost", - "score": 0.05109637230634689 - }, - "else": { - "operation": "boost", - "score": 0.11944755166769028 - } + "operation": "boost", + "score": -0.08112822473049164 }, "else": { "operation": "boost", - "score": -0.019196704030036926 + "score": 0.0952613428235054 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 588.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": -0.022097334265708923 + "score": 0.07068586349487305 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.228294238448143 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 524.0, - "then": { - "operation": "boost", - "score": -0.702090859413147 - }, - "else": { - "operation": "boost", - "score": 0.1344689130783081 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 586.0, - "then": { - "operation": "boost", - "score": 0.1419927328824997 - }, - "else": { - "operation": "boost", - "score": -0.12147478759288788 - } - } + "operation": "boost", + "score": 0.02690250799059868 } } } } - }, - "else": { - "operation": "boost", - "score": -0.17457027733325958 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": 0.13493573665618896 }, "else": { "operation": "boost", - "score": 0.03331127017736435 + "score": 0.10242985188961029 } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1110.5, - "then": { - "operation": "boost", - "score": -0.03182745352387428 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1087.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.11427310109138489 + "score": 0.16324040293693542 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16911.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 688.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 794.5, - "then": { - "operation": "boost", - "score": 0.06299653649330139 - }, - "else": { - "operation": "boost", - "score": 0.1065298393368721 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 434.5, - "then": { - "operation": "boost", - "score": -0.09637051075696945 - }, - "else": { - "operation": "boost", - "score": 0.104634590446949 - } - } + "operation": "boost", + "score": -0.06550654023885727 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15565.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 509.5, + "threshold": 15956.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 844.5, + "threshold": 16033.5, "then": { "operation": "boost", - "score": 0.1291416883468628 + "score": 0.0792670026421547 }, "else": { "operation": "boost", - "score": 0.06490969657897949 + "score": -0.044487226754426956 } }, "else": { "operation": "boost", - "score": -0.13077226281166077 + "score": -0.055531956255435944 } }, + "else": { + "operation": "boost", + "score": 0.09024520963430405 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15358.5, + "then": { + "operation": "boost", + "score": -0.12152508646249771 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 414.5, + "threshold": 14800.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 433.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 458.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.10250408947467804 + "score": -0.3225562870502472 }, "else": { - "operation": "boost", - "score": -0.1671314537525177 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.23280617594718933 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14962.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15252.5, + "then": { + "operation": "boost", + "score": 0.1959780901670456 + }, + "else": { + "operation": "boost", + "score": 0.04298701882362366 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.14925844967365265 + }, + "else": { + "operation": "boost", + "score": 0.08180598169565201 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14604178071022034 + } + } } }, "else": { "operation": "boost", - "score": 0.1174982339143753 + "score": -0.03552652895450592 } }, "else": { "operation": "boost", - "score": 0.10829298198223114 + "score": -0.08821194618940353 } }, "else": { "operation": "boost", - "score": -0.09795570373535156 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 870.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 975.0, - "then": { - "operation": "boost", - "score": -0.12123937904834747 - }, - "else": { - "operation": "boost", - "score": 0.5645748972892761 + "score": -0.04796050861477852 } - }, - "else": { - "operation": "boost", - "score": -0.1356641799211502 } } } } - }, - "else": { - "operation": "boost", - "score": -0.18999233841896057 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 13381.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13424.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.04664061218500137 - }, - "else": { - "operation": "boost", - "score": 0.0961519181728363 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.07948721200227737 - }, - "else": { - "operation": "boost", - "score": 0.03311007842421532 - } - }, - "else": { - "operation": "boost", - "score": -0.2941517233848572 - } - } + "operation": "boost", + "score": 0.054626379162073135 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.15972721576690674 + "score": 0.04485267028212547 }, "else": { "operation": "boost", - "score": 0.015342269092798233 + "score": 0.11955372244119644 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 13130.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], + "then": { + "operation": "boost", + "score": 0.010435453616082668 + }, + "else": { + "operation": "boost", + "score": -0.23784422874450684 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12934.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 514.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1093.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.13518132269382477 + "score": 0.08764692395925522 }, "else": { "operation": "boost", - "score": 0.031208543106913567 + "score": 0.24445664882659912 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 446.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.10901526361703873 + "score": 0.048152074217796326 }, "else": { - "operation": "boost", - "score": -0.3951488733291626 - } - } - }, - "else": { - "operation": "boost", - "score": 0.012195263989269733 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.13570536673069 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.10379229485988617 + "score": 0.2151649296283722 }, "else": { "operation": "boost", - "score": 0.06310588121414185 + "score": 0.09916865080595016 } - }, - "else": { - "operation": "boost", - "score": 0.00023431057343259454 } } }, "else": { - "operation": "boost", - "score": -0.06972792744636536 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3082.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3102.5, - "then": { - "operation": "boost", - "score": 0.006733370013535023 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.1437387615442276 - }, - "else": { - "operation": "boost", - "score": 0.1951405256986618 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.045043956488370895 + }, + "else": { + "operation": "boost", + "score": -0.205636665225029 + } } } - }, - "else": { - "operation": "boost", - "score": -0.01450700405985117 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.052703842520713806 - }, - "else": { - "operation": "boost", - "score": 0.007123477756977081 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 12077.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.018320254981517792 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 337.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 373.5, - "then": { - "operation": "boost", - "score": 0.04623846709728241 - }, - "else": { - "operation": "boost", - "score": 0.1155547946691513 - } - }, - "else": { - "operation": "boost", - "score": -0.3905004858970642 - } + "operation": "boost", + "score": 0.10640458762645721 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.07072221487760544 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.019320553168654442 - }, - "else": { - "operation": "boost", - "score": -0.0800805315375328 - } - } + "operation": "boost", + "score": 0.20198966562747955 } }, "else": { "operation": "boost", - "score": 0.015351654030382633 + "score": 0.12357817590236664 } }, "else": { "operation": "boost", - "score": 0.0007919298950582743 + "score": -0.10214636474847794 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10990709811449051 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14718671143054962 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.12595565617084503 + }, + "else": { + "operation": "boost", + "score": 0.06576003134250641 + } + } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.10154706984758377 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.2083333432674408, "then": { "operation": "boost", - "score": 0.0946827232837677 + "score": 0.1461959183216095 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0814194455742836 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.2740269601345062 - }, - "else": { - "operation": "boost", - "score": 0.15647192299365997 - } - } + "operation": "boost", + "score": 0.22772225737571716 } - }, - "else": { - "operation": "boost", - "score": 0.08227939158678055 } }, "else": { "operation": "boost", - "score": -0.12090957909822464 + "score": 0.07971961051225662 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07595492154359818 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11422798782587051 - }, - "else": { - "operation": "boost", - "score": -0.17682458460330963 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03818484768271446 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14136268198490143 - }, - "else": { - "operation": "boost", - "score": 0.4781031608581543 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.3979690372943878 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 1.0298571586608887 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10225816071033478 - }, - "else": { - "operation": "boost", - "score": 0.02368502877652645 - } - } - } - } - } + "operation": "boost", + "score": -0.10164167732000351 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02011309564113617 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10649868100881577 - }, - "else": { - "operation": "boost", - "score": -0.06431182473897934 - } - }, - "else": { - "operation": "boost", - "score": 0.11384714394807816 - } - }, - "else": { - "operation": "boost", - "score": 0.14650844037532806 - } - } - }, - "else": { - "operation": "boost", - "score": -2.4025357561185956e-05 - } + "operation": "boost", + "score": 0.29048094153404236 } }, "else": { "operation": "boost", - "score": -0.03369836136698723 + "score": 0.06102193146944046 } } } + }, + "else": { + "operation": "boost", + "score": -0.03412257134914398 } - }, - "else": { - "operation": "boost", - "score": 0.0003301998949609697 } - } - }, - { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 10403.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression", - "CCC_Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11245.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47907.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 11712.5, "then": { "operation": "boost", - "score": -0.011453060433268547 + "score": -0.1676694005727768 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.013086427934467793 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09646401554346085 - }, - "else": { - "operation": "boost", - "score": 0.07408559322357178 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.01837390661239624 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 10.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": -0.047470226883888245 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 98.0, + "threshold": 11572.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 147.5, + "threshold": 11605.0, "then": { "operation": "boost", - "score": 0.036874424666166306 + "score": 0.022059589624404907 }, "else": { "operation": "boost", - "score": 0.10235729813575745 + "score": 0.1840714067220688 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": -0.04423518106341362 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.1073891818523407 + "score": 0.10874887555837631 }, "else": { "operation": "boost", - "score": 0.03550605848431587 + "score": -0.13851654529571533 } + }, + "else": { + "operation": "boost", + "score": 0.09173871576786041 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.04631899669766426 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12920063734054565 + "score": 0.10412554442882538 }, "else": { "operation": "boost", - "score": 0.10936983674764633 + "score": 0.14991801977157593 } }, "else": { "operation": "boost", - "score": 0.06680751591920853 + "score": -0.10629986226558685 } + }, + "else": { + "operation": "boost", + "score": 0.036217376589775085 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5716.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { + "operation": "boost", + "score": 0.1126791462302208 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.23426438868045807 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.1760173738002777 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.096831314265728 - }, - "else": { - "operation": "boost", - "score": 0.06734191626310349 - } - } - }, - "else": { - "operation": "boost", - "score": -0.27306121587753296 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.13243982195854187 - }, - "else": { - "operation": "boost", - "score": 0.12789955735206604 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.038876697421073914 + "score": 0.10309034585952759 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, - "then": { - "operation": "boost", - "score": 0.06463758647441864 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, - "then": { - "operation": "boost", - "score": 0.10597473382949829 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.1076115220785141 - }, - "else": { - "operation": "boost", - "score": 0.04969491437077522 - } - }, - "else": { - "operation": "boost", - "score": -0.2384461760520935 - } - }, - "else": { - "operation": "boost", - "score": 0.11946383118629456 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.1146424412727356 - }, - "else": { - "operation": "boost", - "score": 0.03370087966322899 - } - }, - "else": { - "operation": "boost", - "score": -0.10193940252065659 - } - }, - "else": { - "operation": "boost", - "score": 0.11138173937797546 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.15748481452465057 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.010986575856804848 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.13863377273082733 - }, - "else": { - "operation": "boost", - "score": -0.12893474102020264 - } - }, - "else": { - "operation": "boost", - "score": -0.13498610258102417 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.13613788783550262 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.0013510639546439052 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.1066359207034111 - }, - "else": { - "operation": "boost", - "score": -0.18427947163581848 - } - }, - "else": { - "operation": "boost", - "score": 0.11817993968725204 - } - } - }, - "else": { - "operation": "boost", - "score": 0.015183751471340656 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.013837252743542194 - }, - "else": { - "operation": "boost", - "score": 0.12733310461044312 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.24372056126594543 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01942594163119793 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.11030663549900055 - }, - "else": { - "operation": "boost", - "score": 0.1043551117181778 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09855317324399948 - } - }, - "else": { - "operation": "boost", - "score": 0.05903898552060127 - } - } - }, - "else": { - "operation": "boost", - "score": -0.12612244486808777 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "boost", - "score": 0.12765702605247498 - } - }, - "else": { - "operation": "boost", - "score": -0.05886473506689072 - } - } - } - } + "operation": "boost", + "score": 0.02136373333632946 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.02536473609507084 - }, - "else": { - "operation": "boost", - "score": 0.08548314869403839 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.05837811902165413 - }, - "else": { - "operation": "boost", - "score": 0.32932448387145996 - } - } + "operation": "boost", + "score": 0.11727540194988251 }, "else": { "operation": "boost", - "score": 0.06242399662733078 + "score": -0.007781269960105419 } + }, + "else": { + "operation": "boost", + "score": -0.09667528420686722 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 8.0, "then": { "operation": "boost", - "score": 0.09149918705224991 + "score": -0.08459067344665527 }, "else": { "operation": "boost", - "score": -0.10911396890878677 + "score": 0.18050822615623474 } - }, - "else": { - "operation": "boost", - "score": 0.02681570313870907 } } + }, + "else": { + "operation": "boost", + "score": -0.011962766759097576 } }, "else": { - "operation": "boost", - "score": -0.03606732189655304 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "boost", + "score": -0.1188974380493164 + }, + "else": { + "operation": "boost", + "score": -0.0667431503534317 + } } }, "else": { - "operation": "boost", - "score": -0.013692625798285007 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10280.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 6.791210034862161e-05 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.1900484561920166 + }, + "else": { + "operation": "boost", + "score": -0.10666033625602722 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.10428135842084885 + }, + "else": { + "operation": "boost", + "score": 0.13214798271656036 + } + } + }, + "else": { + "operation": "boost", + "score": 0.024316852912306786 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2396.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10208.5, "then": { "operation": "boost", - "score": -0.007567864377051592 + "score": -0.11283683776855469 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 10180.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12463697791099548 + "score": 0.13786083459854126 }, "else": { "operation": "boost", - "score": -0.005056349094957113 + "score": 0.09677588194608688 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.1108861118555069 + "score": 0.14800822734832764 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.03778110817074776 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.11707102507352829 - }, - "else": { - "operation": "boost", - "score": -0.027259277179837227 - } - }, - "else": { - "operation": "boost", - "score": 0.12400427460670471 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010340163484215736 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06670229882001877 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.16077187657356262 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.27534809708595276 - }, - "else": { - "operation": "boost", - "score": -0.14958761632442474 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0745137631893158 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10030096769332886 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.04460734501481056 - }, - "else": { - "operation": "boost", - "score": 0.14077168703079224 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02766485884785652 - } - }, - "else": { - "operation": "boost", - "score": 0.12262842059135437 - } - }, - "else": { - "operation": "boost", - "score": 0.05913282558321953 - } - } + "operation": "boost", + "score": 0.01708277501165867 } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { + "operation": "boost", + "score": 0.01025488879531622 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.016654403880238533 + "score": 0.06880433112382889 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12280134111642838 - }, - "else": { - "operation": "boost", - "score": -0.04640079289674759 - } + "operation": "boost", + "score": 0.13516803085803986 }, "else": { "operation": "boost", - "score": 0.08201143890619278 + "score": 0.10461011528968811 } } }, "else": { "operation": "boost", - "score": 0.05738753825426102 + "score": -0.11246966570615768 } }, "else": { "operation": "boost", - "score": -0.06134013831615448 + "score": 0.026592224836349487 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { "operation": "boost", - "score": -0.015889327973127365 + "score": 0.016305653378367424 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0561978705227375 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07039400190114975 - }, - "else": { - "operation": "boost", - "score": 0.05284853279590607 - } - } + "operation": "boost", + "score": -0.03723917156457901 } }, "else": { "operation": "boost", - "score": 0.024278447031974792 + "score": 0.04234345629811287 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.016677651554346085 - }, - "else": { - "operation": "boost", - "score": -0.03188754990696907 - } } } } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.02085857279598713 + }, + "else": { + "operation": "boost", + "score": 0.09966189414262772 + } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" + "Macro", + "Namespace", + "Variable" ], "then": { - "operation": "boost", - "score": 0.002447353210300207 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Function", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.019345181062817574 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.00830259919166565 + "score": 0.013630050234496593 }, "else": { "operation": "boost", - "score": -0.06614430993795395 + "score": 0.005329979117959738 } + }, + "else": { + "operation": "boost", + "score": 0.00014606033801101148 } }, "else": { "operation": "boost", - "score": -0.013596965000033379 + "score": 0.0004778378352057189 } + }, + "else": { + "operation": "boost", + "score": -0.000562851142603904 } } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1450.0, + "then": { + "operation": "boost", + "score": 0.02431313320994377 }, "else": { + "operation": "boost", + "score": 0.0024874110240489244 + } + }, + "else": { + "operation": "boost", + "score": 0.0013081288198009133 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.015643637627363205 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.4615057110786438 + "score": -0.11223242431879044 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0156412273645401 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.4453681707382202 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.0982280895113945 - }, - "else": { - "operation": "boost", - "score": 0.027373045682907104 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11449883878231049 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.08868538588285446 - }, - "else": { - "operation": "boost", - "score": 0.03576066344976425 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.12019100785255432 - }, - "else": { - "operation": "boost", - "score": 0.0617416612803936 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.14976535737514496 - } + "operation": "boost", + "score": 0.13384217023849487 } }, "else": { "operation": "boost", - "score": -0.004557366482913494 + "score": -0.23755531013011932 } }, "else": { "operation": "boost", - "score": -0.020676765590906143 + "score": -0.12831762433052063 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.015047436580061913 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.13589034974575043 - }, - "else": { - "operation": "boost", - "score": -0.01695842295885086 - } + "operation": "boost", + "score": 0.05192935839295387 }, "else": { "operation": "boost", - "score": 0.003911765292286873 + "score": 0.11679379642009735 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10310903936624527 - }, - "else": { - "operation": "boost", - "score": 0.12855151295661926 - } + "operation": "boost", + "score": -0.15116335451602936 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.048492755740880966 }, "else": { "operation": "boost", - "score": -0.11244378238916397 + "score": -0.0827774852514267 } + }, + "else": { + "operation": "boost", + "score": -0.07546154409646988 } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00011064585123676807 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.03766551613807678 + "score": 0.1549959033727646 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.04107775539159775 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 542.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2258.5, - "then": { - "operation": "boost", - "score": 0.11433613300323486 - }, - "else": { - "operation": "boost", - "score": 0.13725678622722626 - } - }, - "else": { - "operation": "boost", - "score": 0.06411966681480408 - } - } + "operation": "boost", + "score": 0.07001253962516785 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.14308494329452515 - }, - "else": { - "operation": "boost", - "score": 0.1563107669353485 - } + "operation": "boost", + "score": -0.11244067549705505 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.011437127366662025 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 177.5, + "operation": "boost", + "score": -0.026518087834119797 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.01581299491226673 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 126.5, + "feature": "FractionNameInContext", + "threshold": 0.75, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.5, - "then": { - "operation": "boost", - "score": -0.10095905512571335 - }, - "else": { - "operation": "boost", - "score": 0.1173776164650917 - } - }, - "else": { - "operation": "boost", - "score": -0.15443235635757446 - } + "operation": "boost", + "score": -0.05320943519473076 }, "else": { "operation": "boost", - "score": 0.12412884831428528 + "score": 0.09047935903072357 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.5, + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11523757129907608 + "score": 0.15552693605422974 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.11922727525234222 - }, - "else": { - "operation": "boost", - "score": -0.11924835294485092 - } - }, - "else": { - "operation": "boost", - "score": 0.10978538542985916 - } - }, - "else": { - "operation": "boost", - "score": -0.170371875166893 - } + "operation": "boost", + "score": -0.10004817694425583 } }, "else": { - "operation": "boost", - "score": -0.13125525414943695 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22693999111652374 + }, + "else": { + "operation": "boost", + "score": 0.044177696108818054 + } } }, "else": { + "operation": "boost", + "score": -0.010858495719730854 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": -0.04407310485839844 + }, + "else": { + "operation": "boost", + "score": -0.41157230734825134 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.01767336204648018 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.5, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.11705050617456436 + "score": 0.10091125965118408 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.5, + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.5, + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, "then": { "operation": "boost", - "score": 0.13696153461933136 + "score": 0.03234534710645676 }, "else": { - "operation": "boost", - "score": 0.08571060001850128 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.037978075444698334 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": 0.10032417625188828 + }, + "else": { + "operation": "boost", + "score": 0.1007954403758049 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07293606549501419 + } } }, "else": { - "operation": "boost", - "score": 0.1346428543329239 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6306818127632141, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.19789113104343414 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.005496231839060783 + }, + "else": { + "operation": "boost", + "score": 0.07939807325601578 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.11800643056631088 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "boost", + "score": 0.06271857768297195 + }, + "else": { + "operation": "boost", + "score": 0.029701396822929382 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03241681307554245 + }, + "else": { + "operation": "boost", + "score": 0.11148198693990707 + } + }, + "else": { + "operation": "boost", + "score": -0.025272460654377937 + } + } } }, "else": { - "operation": "boost", - "score": 0.08224139362573624 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.08570617437362671 + }, + "else": { + "operation": "boost", + "score": 0.05001479387283325 + } } } - }, - "else": { - "operation": "boost", - "score": 0.013306334614753723 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.10195852071046829 - }, - "else": { - "operation": "boost", - "score": 0.14390763640403748 } }, "else": { "operation": "boost", - "score": 0.12312506139278412 + "score": -0.008343439549207687 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { + "operation": "boost", + "score": 0.10782890021800995 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 118.5, + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.11869364231824875 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.2561272084712982 + }, + "else": { + "operation": "boost", + "score": 0.1447373777627945 + } }, "else": { "operation": "boost", - "score": 0.12555478513240814 + "score": 0.031706538051366806 } }, "else": { "operation": "boost", - "score": 0.707193911075592 + "score": 0.11334756016731262 } - }, - "else": { - "operation": "boost", - "score": -0.31130215525627136 } }, "else": { "operation": "boost", - "score": 0.018125204369425774 + "score": 0.006368972361087799 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 94.5, - "then": { - "operation": "boost", - "score": -0.05750241130590439 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { + "operation": "boost", + "score": 0.05150469392538071 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0394890122115612 + "score": -0.019984759390354156 }, "else": { + "operation": "boost", + "score": 0.0941428616642952 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, + "then": { + "operation": "boost", + "score": 0.04953662306070328 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6833333373069763, "then": { "operation": "boost", - "score": 0.12165240198373795 + "score": 0.044816650450229645 }, "else": { - "operation": "boost", - "score": 0.3091754913330078 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.016250357031822205 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.021504806354641914 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.03864709287881851 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12500756978988647 + }, + "else": { + "operation": "boost", + "score": 0.09846443682909012 + } + }, + "else": { + "operation": "boost", + "score": 0.12455827742815018 + } + } + } + } } }, "else": { - "operation": "boost", - "score": 0.0035970599856227636 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.04335731640458107 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12265372276306152 + }, + "else": { + "operation": "boost", + "score": 0.09568671882152557 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 235.5, + "then": { + "operation": "boost", + "score": -0.22934620082378387 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.1609855741262436 + }, + "else": { + "operation": "boost", + "score": 0.10313331335783005 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": 0.09407931566238403 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.10008877515792847 + }, + "else": { + "operation": "boost", + "score": 0.27226150035858154 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.09878014028072357 + }, + "else": { + "operation": "boost", + "score": -0.10392060875892639 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06336689740419388 + } + }, + "else": { + "operation": "boost", + "score": 0.03769427165389061 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10324546694755554 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.1404688060283661 + }, + "else": { + "operation": "boost", + "score": 0.014562112279236317 + } + } + }, + "else": { + "operation": "boost", + "score": -0.037871070206165314 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.14348164200782776 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": 0.13995705544948578 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1718827337026596 + }, + "else": { + "operation": "boost", + "score": -0.13764692842960358 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.0445953868329525 + }, + "else": { + "operation": "boost", + "score": 0.11516381800174713 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.10811993479728699 + }, + "else": { + "operation": "boost", + "score": -0.07005397230386734 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.20915555953979492 + }, + "else": { + "operation": "boost", + "score": -0.012233437970280647 + } + } + } + } + } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.14966756105422974 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.13196638226509094 + "score": 0.051556456834077835 }, "else": { "operation": "boost", - "score": -0.21747741103172302 + "score": -0.0706610307097435 } } } - }, - "else": { - "operation": "boost", - "score": 0.056995611637830734 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.5, - "then": { - "operation": "boost", - "score": 0.028552405536174774 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 72.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.1135982945561409 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 25.5, "then": { "operation": "boost", - "score": 0.10890201479196548 + "score": -0.10266215354204178 }, "else": { - "operation": "boost", - "score": -0.5362826585769653 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.11146958917379379 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06048965826630592 + }, + "else": { + "operation": "boost", + "score": -0.6110438704490662 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.009605873376131058 } } + }, + "else": { + "operation": "boost", + "score": -0.004185959696769714 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08252237737178802 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.22299246490001678 + }, + "else": { + "operation": "boost", + "score": 0.008294661529362202 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3130.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", + "CCC_Other", "CCC_ParenthesizedExpression", - "CCC_Expression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01274009421467781 + }, + "else": { + "operation": "boost", + "score": -0.012239141389727592 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.12018032371997833 + }, + "else": { + "operation": "boost", + "score": 0.026915227994322777 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6067.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8412.5, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { - "operation": "boost", - "score": 0.07838878035545349 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.13917312026023865 + }, + "else": { + "operation": "boost", + "score": -0.08123756945133209 + } }, "else": { "operation": "boost", - "score": 0.12106025218963623 + "score": 0.1143384799361229 } }, "else": { "operation": "boost", - "score": 0.04414663091301918 + "score": 0.019557679072022438 } - }, - "else": { - "operation": "boost", - "score": 0.0624435618519783 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3471.5, - "then": { - "operation": "boost", - "score": -0.025370851159095764 - }, - "else": { - "operation": "boost", - "score": 0.11679867655038834 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1058.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.06564751267433167 - }, - "else": { - "operation": "boost", - "score": -0.4045717120170593 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1039.0, - "then": { - "operation": "boost", - "score": 0.0911901667714119 - }, - "else": { - "operation": "boost", - "score": 0.01069692987948656 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.0017297338927164674 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1177.0, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { "operation": "boost", - "score": -0.09605124592781067 + "score": 0.1844148188829422 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 597.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 697.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 951.0, - "then": { - "operation": "boost", - "score": 0.10908009111881256 - }, - "else": { - "operation": "boost", - "score": -0.00552723603323102 - } - }, - "else": { - "operation": "boost", - "score": 0.11903676390647888 - } - }, - "else": { - "operation": "boost", - "score": 0.03261341154575348 - } + "operation": "boost", + "score": 0.20996323227882385 } }, "else": { - "operation": "boost", - "score": 0.11871279031038284 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "boost", + "score": -0.15632183849811554 + }, + "else": { + "operation": "boost", + "score": 0.18459263443946838 + } } }, "else": { - "operation": "boost", - "score": 0.045999910682439804 - } - }, - "else": { - "operation": "boost", - "score": 0.016908859834074974 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 490.0, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 712.0, - "then": { - "operation": "boost", - "score": 0.053109437227249146 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 568.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07403941452503204 - }, - "else": { - "operation": "boost", - "score": 0.11286357790231705 - } - }, - "else": { - "operation": "boost", - "score": 0.11731062084436417 - } - } + "operation": "boost", + "score": 0.01270543783903122 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 376.5, + "feature": "FractionNameInContext", + "threshold": 0.5773809552192688, "then": { "operation": "boost", - "score": -0.35566169023513794 + "score": 0.0933292806148529 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 324.0, - "then": { - "operation": "boost", - "score": 0.20152117311954498 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.08506131917238235 - }, - "else": { - "operation": "boost", - "score": 0.006930687464773655 - } - }, - "else": { - "operation": "boost", - "score": -0.2604905962944031 - } - } + "operation": "boost", + "score": 0.05499543249607086 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 82.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.016242429614067078 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 94.5, + "feature": "NumNameInContext", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1294529289007187 - }, - "else": { - "operation": "boost", - "score": -0.11005621403455734 - } - }, - "else": { - "operation": "boost", - "score": 0.028553999960422516 - } + "operation": "boost", + "score": -0.7652757167816162 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.09336404502391815 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.2762186527252197 + "score": 0.0032784249633550644 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11454617977142334 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, - "then": { - "operation": "boost", - "score": 0.11194213479757309 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.006241426337510347 }, "else": { - "operation": "boost", - "score": 0.10046664625406265 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04236863553524017 + }, + "else": { + "operation": "boost", + "score": -0.1831478327512741 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": 0.019137252122163773 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3008975088596344 + }, + "else": { + "operation": "boost", + "score": -0.08089683949947357 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.049990955740213394 + }, + "else": { + "operation": "boost", + "score": -0.05808155611157417 + } } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.017856618389487267 - }, - "else": { - "operation": "boost", - "score": 0.09488510340452194 - } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10693460702896118 - }, - "else": { - "operation": "boost", - "score": 0.0004573935584630817 - } + "operation": "boost", + "score": 0.05609293282032013 } - }, - "else": { - "operation": "boost", - "score": -0.16009162366390228 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.21080364286899567 - }, - "else": { - "operation": "boost", - "score": 0.11641713976860046 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.12596268951892853 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.22455818951129913 - }, - "else": { - "operation": "boost", - "score": 0.2481272965669632 } } } } - }, - "else": { - "operation": "boost", - "score": 0.06317462772130966 } } - }, - "else": { - "operation": "boost", - "score": 0.01272678654640913 } + } + }, + "else": { + "operation": "boost", + "score": -5.868276275577955e-06 + } + }, + "else": { + "operation": "boost", + "score": -0.09230780601501465 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11888.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12127.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.008458414115011692 }, "else": { "operation": "boost", - "score": -0.012492350302636623 + "score": -0.5952408909797668 } + }, + "else": { + "operation": "boost", + "score": 0.02575584314763546 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09892572462558746 + }, + "else": { + "operation": "boost", + "score": 0.12899631261825562 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11365.5, "then": { + "operation": "boost", + "score": -0.19039399921894073 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 9937.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 92.0, + "threshold": 10005.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.0, - "then": { - "operation": "boost", - "score": 0.1272565722465515 - }, - "else": { - "operation": "boost", - "score": -0.10090669989585876 - } - }, - "else": { - "operation": "boost", - "score": -0.14676369726657867 - } - }, - "else": { - "operation": "boost", - "score": 0.12887123227119446 - } + "operation": "boost", + "score": 0.09365364164113998 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.29658615589141846 + "score": 0.1300690621137619 }, "else": { "operation": "boost", - "score": -0.16918134689331055 + "score": 0.12921088933944702 } } }, "else": { "operation": "boost", - "score": 0.01625117100775242 + "score": 0.007025180384516716 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 267.0, - "then": { - "operation": "boost", - "score": 0.12696658074855804 - }, - "else": { - "operation": "boost", - "score": -0.1600237637758255 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.09974376857280731 - }, - "else": { - "operation": "boost", - "score": 0.0015538682928308845 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10433806478977203 - }, - "else": { - "operation": "boost", - "score": 0.11746040731668472 - } - }, - "else": { - "operation": "boost", - "score": 0.010495811700820923 - } - } - } + "operation": "boost", + "score": -0.03815673291683197 }, "else": { "operation": "boost", - "score": 0.00996603537350893 + "score": -0.8939321041107178 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 57.5, + "threshold": 6280.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02865126170217991 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7673.5, "then": { - "operation": "boost", - "score": 0.11777298897504807 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.12085825949907303 - }, - "else": { - "operation": "boost", - "score": -0.1387564241886139 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 8217.5, "then": { "operation": "boost", - "score": -0.036479149013757706 + "score": -0.09959990531206131 }, "else": { "operation": "boost", - "score": 0.06981664896011353 + "score": 0.1598455309867859 } }, "else": { "operation": "boost", - "score": -0.2515958547592163 + "score": 0.18487204611301422 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 7382.5, "then": { "operation": "boost", - "score": -0.019489280879497528 + "score": -0.5038909912109375 }, "else": { "operation": "boost", - "score": -0.23622941970825195 + "score": 0.08823347836732864 } } }, "else": { "operation": "boost", - "score": 0.015971366316080093 + "score": -0.012103124521672726 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": 0.06859893351793289 + }, + "else": { + "operation": "boost", + "score": -0.09573472291231155 } } }, "else": { + "operation": "boost", + "score": 0.0014065635623410344 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.10688542574644089 + "score": 0.01744156703352928 }, "else": { - "operation": "boost", - "score": 0.03605418652296066 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "boost", - "score": -0.14480525255203247 + "score": -0.15379111468791962 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 295.0, "then": { "operation": "boost", - "score": 0.040339939296245575 + "score": 0.08443696051836014 }, "else": { "operation": "boost", - "score": 0.14251406490802765 + "score": 0.14774161577224731 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12317.5, + "then": { + "operation": "boost", + "score": 0.16024072468280792 + }, + "else": { + "operation": "boost", + "score": -0.10004398226737976 + } }, "else": { "operation": "boost", - "score": -0.05204572156071663 + "score": 0.03250380977988243 } } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.14255845546722412 + }, + "else": { + "operation": "boost", + "score": 0.12387582659721375 + } } - } - }, - "else": { - "operation": "boost", - "score": -0.008066766895353794 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0004465508973225951 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 58.5, + "threshold": 33380.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 33508.5, "then": { - "operation": "boost", - "score": 0.033932726830244064 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2840.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6998.0, - "then": { - "operation": "boost", - "score": 0.10008159279823303 - }, - "else": { - "operation": "boost", - "score": 0.1283552050590515 - } + "operation": "boost", + "score": 0.0687517300248146 }, "else": { "operation": "boost", - "score": -0.004155643284320831 + "score": -0.5824673771858215 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 210.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3794.5, - "then": { - "operation": "boost", - "score": 0.10013829916715622 - }, - "else": { - "operation": "boost", - "score": 0.13741560280323029 - } + "operation": "boost", + "score": -0.02023589052259922 }, "else": { "operation": "boost", - "score": 0.045704953372478485 + "score": 0.01048292312771082 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.13758045434951782 }, "else": { - "operation": "boost", - "score": -0.10754184424877167 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1135.0, + "operation": "boost", + "score": -0.09058074653148651 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.010942350141704082 + "score": 0.1317017823457718 }, "else": { + "operation": "boost", + "score": 0.09078788757324219 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.007824907079339027 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1074.5, + "threshold": 67.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 243.5, "then": { + "operation": "boost", + "score": 0.03365885466337204 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1097.0, + "feature": "FileProximityDistanceCost", + "threshold": 24.0, "then": { "operation": "boost", - "score": 0.07873786240816116 + "score": 0.012969130650162697 }, "else": { "operation": "boost", - "score": 0.10213583707809448 + "score": 0.13061723113059998 } - }, - "else": { - "operation": "boost", - "score": 0.06988973915576935 } }, "else": { + "operation": "boost", + "score": -0.19509805738925934 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Type" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 159.5, + "threshold": 180.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 168.5, + "threshold": 259.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 222.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11673146486282349 - }, - "else": { - "operation": "boost", - "score": -0.21622978150844574 - } - }, - "else": { - "operation": "boost", - "score": 0.11035647988319397 - } - }, - "else": { - "operation": "boost", - "score": 0.0680643692612648 - } - }, - "else": { - "operation": "boost", - "score": -0.027875253930687904 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14612703025341034 - }, - "else": { - "operation": "boost", - "score": 0.1963246762752533 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.06286017596721649 - }, - "else": { - "operation": "boost", - "score": -0.20567713677883148 - } - } + "operation": "boost", + "score": 0.015024389140307903 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 210.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.4144216477870941 - }, - "else": { - "operation": "boost", - "score": 0.1353038102388382 - } + "operation": "boost", + "score": 0.23128582537174225 }, "else": { "operation": "boost", - "score": 0.026383737102150917 + "score": 0.16667868196964264 } } }, "else": { "operation": "boost", - "score": -0.029878851026296616 + "score": 0.005235161166638136 } + }, + "else": { + "operation": "boost", + "score": -0.0032353613059967756 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20449.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 24563.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.10158908367156982 + "score": -0.02529648132622242 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.14545755088329315 - }, - "else": { - "operation": "boost", - "score": -0.42468228936195374 - } - }, - "else": { - "operation": "boost", - "score": 0.12349008023738861 - } + "operation": "boost", + "score": -0.2229522466659546 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.10725543648004532 + }, + "else": { + "operation": "boost", + "score": -0.5239505171775818 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17486.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.15056146681308746 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 116.5, + "threshold": 19986.0, "then": { "operation": "boost", - "score": -0.10568578541278839 + "score": -0.3922637701034546 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.12117144465446472 - }, - "else": { - "operation": "boost", - "score": -0.10123856365680695 - } + "operation": "boost", + "score": 0.10548528283834457 } - }, - "else": { - "operation": "boost", - "score": 0.23350228369235992 } + }, + "else": { + "operation": "boost", + "score": -0.02973240613937378 } } - }, - "else": { - "operation": "boost", - "score": 0.03892988711595535 - } - }, - "else": { - "operation": "boost", - "score": 0.02185611054301262 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.5, - "then": { - "operation": "boost", - "score": -0.23413294553756714 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "boost", - "score": 0.15461081266403198 - }, - "else": { - "operation": "boost", - "score": -0.007351303473114967 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 293.0, - "then": { - "operation": "boost", - "score": 0.21412897109985352 - }, - "else": { - "operation": "boost", - "score": 0.5371376872062683 - } - }, - "else": { - "operation": "boost", - "score": 0.1878661811351776 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1530.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10512536019086838 - }, - "else": { - "operation": "boost", - "score": -0.21598611772060394 - } - }, - "else": { - "operation": "boost", - "score": 0.044736798852682114 - } + "operation": "boost", + "score": -0.025987917557358742 } + }, + "else": { + "operation": "boost", + "score": 0.0020898596849292517 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.11964304745197296 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.037872765213251114 + "score": -0.11745724827051163 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.0019008297240361571 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1293.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 48867.5, + "threshold": 160.5, "then": { - "operation": "boost", - "score": -0.3461264371871948 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1122.5, + "then": { + "operation": "boost", + "score": 0.091887928545475 + }, + "else": { + "operation": "boost", + "score": 0.18905463814735413 + } }, "else": { "operation": "boost", - "score": 0.07767263799905777 + "score": -0.16565477848052979 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31066.0, - "then": { - "operation": "boost", - "score": 0.0876360684633255 - }, - "else": { - "operation": "boost", - "score": -0.022041447460651398 - } + "operation": "boost", + "score": 0.012606154195964336 } }, "else": { "operation": "boost", - "score": -0.3169704079627991 + "score": -5.228519057709491e-06 } }, "else": { "operation": "boost", - "score": -0.04816006124019623 + "score": 0.008727756328880787 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.002628651913255453 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { + "operation": "boost", + "score": 0.10801827162504196 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 180.5, + "threshold": 56.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191.0, + "threshold": 90.5, "then": { + "operation": "boost", + "score": 0.014966331422328949 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1177.0, + "threshold": 88.5, "then": { "operation": "boost", - "score": -0.09827876836061478 + "score": -0.5197571516036987 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 597.0, + "threshold": 85.5, "then": { + "operation": "boost", + "score": 0.12701651453971863 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 697.5, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 951.0, - "then": { - "operation": "boost", - "score": 0.1069846823811531 - }, - "else": { - "operation": "boost", - "score": 0.0002911796036642045 - } + "operation": "boost", + "score": -0.5710087418556213 }, "else": { "operation": "boost", - "score": 0.11764465272426605 + "score": -0.023893196135759354 } - }, - "else": { - "operation": "boost", - "score": 0.024798251688480377 } } - }, - "else": { - "operation": "boost", - "score": 0.1166267991065979 } }, "else": { - "operation": "boost", - "score": 0.047310974448919296 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292.5, - "then": { - "operation": "boost", - "score": 0.0644403025507927 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 242.5, - "then": { - "operation": "boost", - "score": 0.11026246845722198 - }, - "else": { - "operation": "boost", - "score": 0.08123182505369186 - } - } + "operation": "boost", + "score": 0.12290836870670319 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "boost", - "score": 0.06664256006479263 - }, - "else": { - "operation": "boost", - "score": 0.1107289046049118 - } - }, - "else": { - "operation": "boost", - "score": -0.34679633378982544 - } - }, - "else": { - "operation": "boost", - "score": -0.1178482174873352 - } + "operation": "boost", + "score": 0.15193141996860504 }, "else": { "operation": "boost", - "score": 0.11036495864391327 + "score": 0.0201300997287035 } } - }, - "else": { - "operation": "boost", - "score": 0.010216918773949146 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62.5, + "threshold": 713.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.05779392272233963 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2348.0, + "then": { + "operation": "boost", + "score": 0.11860755831003189 + }, + "else": { + "operation": "boost", + "score": -0.015613981522619724 + } }, "else": { "operation": "boost", - "score": 0.050915613770484924 + "score": -0.06677159667015076 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 311.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 315.5, "then": { - "operation": "boost", - "score": -0.21060575544834137 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { "operation": "boost", - "score": 0.10920856893062592 + "score": 0.1130317822098732 }, "else": { - "operation": "boost", - "score": 0.11243436485528946 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 497.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 584.5, + "then": { + "operation": "boost", + "score": 0.04632841795682907 + }, + "else": { + "operation": "boost", + "score": -0.21129877865314484 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 440.5, + "then": { + "operation": "boost", + "score": 0.07528991252183914 + }, + "else": { + "operation": "boost", + "score": 0.007944485172629356 + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, - "then": { - "operation": "boost", - "score": 0.6005985140800476 }, "else": { "operation": "boost", - "score": -0.22430811822414398 + "score": 0.15866485238075256 } + }, + "else": { + "operation": "boost", + "score": -0.01561479177325964 } } } - }, - "else": { - "operation": "boost", - "score": 0.01211882010102272 } - }, - "else": { - "operation": "boost", - "score": -0.010308351367712021 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, + "operation": "boost", + "score": -0.03718859702348709 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 171.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09142334759235382 + "score": -0.013091526925563812 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 30.5, "then": { - "operation": "boost", - "score": 0.08725130558013916 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1759.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.05130413919687271 + "score": 0.10518446564674377 }, "else": { "operation": "boost", - "score": -0.1335850954055786 + "score": 0.020490184426307678 } + }, + "else": { + "operation": "boost", + "score": 0.010401537641882896 } } }, "else": { "operation": "boost", - "score": -0.48479169607162476 + "score": -0.002476133406162262 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 163.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.10419107228517532 + "score": -0.01520582102239132 }, "else": { + "operation": "boost", + "score": -0.04661082848906517 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.020863166078925133 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 100.0, + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "boost", + "score": 0.09760754555463791 + }, + "else": { + "operation": "boost", + "score": -0.13645699620246887 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0918041467666626 + "score": 0.10782479494810104 }, "else": { "operation": "boost", - "score": -0.13613857328891754 + "score": 0.0709933489561081 } }, "else": { "operation": "boost", - "score": 0.10185196995735168 + "score": 0.1557874083518982 } }, "else": { "operation": "boost", - "score": -0.3741404712200165 + "score": 0.03843434900045395 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 127.5, - "then": { - "operation": "boost", - "score": 0.067746601998806 - }, - "else": { - "operation": "boost", - "score": 0.10152760148048401 - } + "operation": "boost", + "score": -0.011067604646086693 } - }, - "else": { - "operation": "boost", - "score": -0.17626217007637024 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "boost", - "score": 0.12052737921476364 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 69.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.12757202982902527 + "score": -0.0903095006942749 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.05419374629855156 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.10712061822414398 + "score": 0.13047316670417786 }, "else": { "operation": "boost", - "score": 0.06460385769605637 + "score": 0.03708070144057274 } + }, + "else": { + "operation": "boost", + "score": -0.05689764395356178 } } - }, - "else": { - "operation": "boost", - "score": -0.14770936965942383 } } } - }, - "else": { - "operation": "boost", - "score": 0.09932247549295425 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 267.0, + "threshold": 29.5, "then": { "operation": "boost", - "score": 0.12232260406017303 - }, - "else": { - "operation": "boost", - "score": -0.0007148918230086565 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, - "then": { - "operation": "boost", - "score": 0.09722674638032913 + "score": -0.20016144216060638 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110.5, + "threshold": 26.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 137.5, + "operation": "boost", + "score": 0.13512176275253296 + }, + "else": { + "operation": "boost", + "score": 0.048518382012844086 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": 0.01520959660410881 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": 0.11087024956941605 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.08014637976884842 + }, + "else": { + "operation": "boost", + "score": 0.012332971207797527 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.17653606832027435 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": -0.7042045593261719 + }, + "else": { + "operation": "boost", + "score": -0.029785729944705963 + } }, "else": { "operation": "boost", - "score": 0.11538846790790558 + "score": 0.043365564197301865 } }, "else": { "operation": "boost", - "score": 0.0770980641245842 + "score": -0.0593760721385479 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.11322139203548431 + "score": 0.04512321949005127 }, "else": { - "operation": "boost", - "score": 0.1181681677699089 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.052548885345458984 + }, + "else": { + "operation": "boost", + "score": -0.06441076099872589 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.09447026997804642 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08394549041986465 + }, + "else": { + "operation": "boost", + "score": -0.05306601524353027 + } + }, + "else": { + "operation": "boost", + "score": 0.041267815977334976 + } + }, + "else": { + "operation": "boost", + "score": 0.009273529052734375 + } + } + } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.08967658132314682 + "score": 0.09199301898479462 }, "else": { "operation": "boost", - "score": -0.009904944337904453 + "score": -0.11506873369216919 } + }, + "else": { + "operation": "boost", + "score": 0.020177777856588364 } + }, + "else": { + "operation": "boost", + "score": 0.002171463333070278 } } } }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.00023910205345600843 + }, + "else": { + "operation": "boost", + "score": -0.0020359845366328955 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.003702468704432249 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 467.0, - "then": { - "operation": "boost", - "score": -0.07213427126407623 - }, - "else": { - "operation": "boost", - "score": 0.1228584498167038 - } - }, - "else": { - "operation": "boost", - "score": -0.15580004453659058 - } - }, - "else": { - "operation": "boost", - "score": 0.023565970361232758 - } + "operation": "boost", + "score": -0.013230588287115097 }, "else": { "operation": "boost", - "score": 0.01322633121162653 + "score": -0.20320695638656616 } }, "else": { "operation": "boost", - "score": 0.0029522664844989777 + "score": 0.032940804958343506 } }, + "else": { + "operation": "boost", + "score": 0.0061380756087601185 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.000432012602686882 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.03559546172618866 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.11134780198335648 + "score": 0.006339645944535732 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.19688071310520172 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { - "operation": "boost", - "score": -0.1782436966896057 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.07953860610723495 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.10528761893510818 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0355822890996933 + }, + "else": { + "operation": "boost", + "score": 0.10150455683469772 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1277584284543991 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { "operation": "boost", - "score": 0.37750130891799927 + "score": -0.017327930778265 }, "else": { - "operation": "boost", - "score": 0.11377981305122375 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.21737739443778992 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "boost", + "score": 0.02457679621875286 + }, + "else": { + "operation": "boost", + "score": 0.16853933036327362 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.10260973870754242 + }, + "else": { + "operation": "boost", + "score": -0.298422634601593 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07563180476427078 + }, + "else": { + "operation": "boost", + "score": 0.11935374140739441 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01196671836078167 + } + }, + "else": { + "operation": "boost", + "score": 0.04844559729099274 + } } } - }, - "else": { - "operation": "boost", - "score": -0.10433045774698257 } } + }, + "else": { + "operation": "boost", + "score": 0.11596296727657318 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Symbol" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0905541181564331 - }, - "else": { - "operation": "boost", - "score": 0.1367291808128357 - } - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 3.441368818283081 - }, - "else": { - "operation": "boost", - "score": -0.11093934625387192 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.15038278698921204 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0004609566240105778 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.03304452449083328 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2840.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.1000736728310585 + "score": 0.13801369071006775 }, "else": { "operation": "boost", - "score": 0.12346275895833969 + "score": 0.0950603038072586 } }, "else": { "operation": "boost", - "score": 0.0002132891968358308 + "score": -0.058494046330451965 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 210.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3794.5, + "threshold": 182.0, "then": { "operation": "boost", - "score": 0.10012524574995041 + "score": 0.1271420270204544 }, "else": { - "operation": "boost", - "score": 0.13323643803596497 - } - }, - "else": { - "operation": "boost", - "score": 0.05263087898492813 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.13343310356140137 - }, - "else": { - "operation": "boost", - "score": -0.10658188909292221 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1135.0, - "then": { - "operation": "boost", - "score": 0.012185901403427124 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1097.0, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0756220668554306 + "score": 0.09850997477769852 }, "else": { "operation": "boost", - "score": 0.10156987607479095 + "score": 0.027021901682019234 } }, "else": { - "operation": "boost", - "score": 0.06387826800346375 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.06894981116056442 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.06356561928987503 + }, + "else": { + "operation": "boost", + "score": -0.5306468605995178 + } }, "else": { - "operation": "boost", - "score": 0.017794622108340263 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": 0.07885763794183731 + }, + "else": { + "operation": "boost", + "score": 0.11279445141553879 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09331149607896805 + }, + "else": { + "operation": "boost", + "score": 0.03660789877176285 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": -0.02668176405131817 + }, + "else": { + "operation": "boost", + "score": 0.07353518158197403 + } + }, + "else": { + "operation": "boost", + "score": -0.15384668111801147 + } + } + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 100.5, "then": { "operation": "boost", - "score": -0.4161844551563263 + "score": -0.19992491602897644 }, "else": { "operation": "boost", - "score": 0.13167110085487366 + "score": 0.1129177138209343 } }, "else": { "operation": "boost", - "score": 0.025360114872455597 + "score": 0.016430871561169624 } } - }, - "else": { - "operation": "boost", - "score": -0.023598812520503998 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.10138536989688873 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.13830088078975677 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3958333134651184, + "then": { + "operation": "boost", + "score": 0.12637081742286682 + }, + "else": { + "operation": "boost", + "score": -0.14150339365005493 + } }, "else": { - "operation": "boost", - "score": -0.167813241481781 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2750000059604645, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.014548071660101414 + }, + "else": { + "operation": "boost", + "score": 0.10582976043224335 + } + }, + "else": { + "operation": "boost", + "score": 0.11840711534023285 + } } }, "else": { "operation": "boost", - "score": 0.12134534120559692 + "score": -0.020290561020374298 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.10472463071346283 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { - "operation": "boost", - "score": 0.1187824085354805 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.049428828060626984 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.0499170757830143 + }, + "else": { + "operation": "boost", + "score": -0.24286127090454102 + } + }, + "else": { + "operation": "boost", + "score": -0.0010961109073832631 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.048336803913116455 + }, + "else": { + "operation": "boost", + "score": -0.21932336688041687 + } + } + } }, "else": { - "operation": "boost", - "score": -0.10104213654994965 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1967143714427948 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03412002697587013 - } - }, - "else": { - "operation": "boost", - "score": 0.020631996914744377 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 222.0, - "then": { - "operation": "boost", - "score": 0.1298237144947052 - }, - "else": { - "operation": "boost", - "score": -0.11950838565826416 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 341.5, - "then": { - "operation": "boost", - "score": 0.12654827535152435 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 0.19522137939929962 + }, + "else": { + "operation": "boost", + "score": -0.04530489817261696 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10453271865844727 + }, + "else": { + "operation": "boost", + "score": 0.09338504821062088 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.06377960741519928 + }, + "else": { + "operation": "boost", + "score": 0.21885930001735687 + } + }, + "else": { + "operation": "boost", + "score": -0.11013541370630264 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1352727860212326 + }, + "else": { + "operation": "boost", + "score": 0.014265090227127075 + } + } + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.23771978914737701 + "score": 0.08467652648687363 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, - "then": { - "operation": "boost", - "score": 1.208583116531372 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.0, - "then": { - "operation": "boost", - "score": -0.24618719518184662 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.12242031842470169 - }, - "else": { - "operation": "boost", - "score": 0.11094583570957184 - } - } - } + "operation": "boost", + "score": -0.06344912201166153 } } }, "else": { "operation": "boost", - "score": 0.04565691575407982 + "score": -0.033365398645401 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0369252935051918 }, "else": { "operation": "boost", - "score": -0.004403667990118265 + "score": 0.01121558714658022 } } - }, - "else": { - "operation": "boost", - "score": -0.0014719549799337983 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "FractionNameInContext", + "threshold": 0.14642858505249023, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.16860851645469666 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { "operation": "boost", - "score": -0.0720766931772232 + "score": 0.022427309304475784 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.0, + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, "then": { - "operation": "boost", - "score": 0.10215093195438385 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, + "then": { + "operation": "boost", + "score": 0.1225014179944992 + }, + "else": { + "operation": "boost", + "score": -0.009127918630838394 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.14499931037425995 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": 0.019365351647138596 + }, + "else": { + "operation": "boost", + "score": 0.08018437772989273 + } + }, + "else": { + "operation": "boost", + "score": -0.01462502870708704 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08802904933691025 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": -0.006573817227035761 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.10880439728498459 + }, + "else": { + "operation": "boost", + "score": -0.24455909430980682 + } + } + } }, "else": { - "operation": "boost", - "score": 0.0032357126474380493 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.004135529976338148 + }, + "else": { + "operation": "boost", + "score": 0.01814415119588375 + } } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.016623420640826225 + "score": 0.0017173168016597629 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.0, + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, "then": { "operation": "boost", - "score": -0.1830594539642334 + "score": -0.10176557302474976 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.5, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { - "operation": "boost", - "score": 0.10672619938850403 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": 0.05269790440797806 + }, + "else": { + "operation": "boost", + "score": -0.14894790947437286 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": -0.024984678253531456 + }, + "else": { + "operation": "boost", + "score": 0.03587481752038002 + } + } }, "else": { "operation": "boost", - "score": -0.5130957365036011 + "score": -0.029167553409934044 } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11818575114011765 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.11926085501909256 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.008755495771765709 + }, + "else": { + "operation": "boost", + "score": -0.2363905906677246 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.2963074743747711 + "score": 0.11507681012153625 }, "else": { "operation": "boost", - "score": 0.10499965399503708 + "score": 0.08473473787307739 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.054769374430179596 + }, + "else": { + "operation": "boost", + "score": 0.07169224321842194 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.034589651972055435 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09690948575735092 + "score": 0.4623119533061981 }, "else": { "operation": "boost", - "score": -0.06977588683366776 + "score": -0.007550915703177452 } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.09792331606149673 + }, + "else": { + "operation": "boost", + "score": 0.0631115585565567 + } } } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.8330191969871521 + }, + "else": { + "operation": "boost", + "score": 0.005732627585530281 + } } - }, - "else": { - "operation": "boost", - "score": 0.09761980921030045 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 267.0, - "then": { - "operation": "boost", - "score": 0.1190045177936554 - }, - "else": { - "operation": "boost", - "score": 0.004782871343195438 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.09570896625518799 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.020315110683441162 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6306818127632141, + "then": { + "operation": "boost", + "score": -0.11312459409236908 + }, + "else": { + "operation": "boost", + "score": 0.015183785930275917 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006039576139301062 + }, + "else": { + "operation": "boost", + "score": -0.02722844108939171 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 137.5, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.01629233919084072 - }, - "else": { - "operation": "boost", - "score": -0.27450332045555115 - } + "operation": "boost", + "score": -0.08193577080965042 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.13864420354366302 - }, - "else": { - "operation": "boost", - "score": 0.1133110299706459 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12253851443529129 - }, - "else": { - "operation": "boost", - "score": 0.11161162704229355 - } - } + "operation": "boost", + "score": 0.05641449615359306 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "boost", - "score": -0.11171689629554749 + "score": 0.13173794746398926 }, "else": { "operation": "boost", - "score": 0.11468289792537689 + "score": 0.08171898871660233 } } }, "else": { + "operation": "boost", + "score": -0.015518827363848686 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.03872660547494888 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.23303167521953583, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.13123025000095367 + }, + "else": { + "operation": "boost", + "score": 0.19569063186645508 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.017461102455854416 + "score": 0.015706460922956467 }, "else": { "operation": "boost", - "score": -0.1810995638370514 + "score": -0.01399089302867651 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07684344798326492 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "boost", + "score": 0.10148826241493225 + }, + "else": { + "operation": "boost", + "score": -0.005103521514683962 + } }, "else": { "operation": "boost", - "score": -0.5268344283103943 + "score": -0.027219150215387344 } } - }, - "else": { - "operation": "boost", - "score": -0.007879109121859074 } + }, + "else": { + "operation": "boost", + "score": 0.004977033007889986 } } } @@ -317971,1265 +319656,1875 @@ }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" + "FileScope", + "FunctionScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.00073273666203022 + }, + "else": { + "operation": "boost", + "score": 0.10918352007865906 + } + }, + "else": { + "operation": "boost", + "score": -0.00626154663041234 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.0005199492443352938 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.16051852703094482 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07097196578979492 + }, + "else": { + "operation": "boost", + "score": -0.027448736131191254 + } + }, + "else": { + "operation": "boost", + "score": -0.16115087270736694 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1450.0, + "then": { + "operation": "boost", + "score": 0.023074399679899216 + }, + "else": { + "operation": "boost", + "score": 0.0022686882875859737 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { "operation": "boost", - "score": 0.00998024269938469 + "score": -0.07292092591524124 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, + "operation": "boost", + "score": 0.08767379075288773 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09841771423816681 + }, + "else": { + "operation": "boost", + "score": 0.037571027874946594 + } + }, + "else": { + "operation": "boost", + "score": 0.00526876375079155 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.5, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 216.5, + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 223.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 257.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 765.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 852.0, - "then": { - "operation": "boost", - "score": 0.034514378756284714 - }, - "else": { - "operation": "boost", - "score": 0.1133296936750412 - } - }, - "else": { - "operation": "boost", - "score": -0.011642949655652046 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.13059887290000916 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.07063421607017517 - }, - "else": { - "operation": "boost", - "score": 0.09878747165203094 - } - } - } + "operation": "boost", + "score": 0.03646324947476387 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 261.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 320.5, - "then": { - "operation": "boost", - "score": 0.01202539261430502 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10957712680101395 - }, - "else": { - "operation": "boost", - "score": 0.048440080136060715 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -1.1538379192352295 - }, - "else": { - "operation": "boost", - "score": -0.1569981724023819 - } - } + "operation": "boost", + "score": 0.12839961051940918 } }, "else": { - "operation": "boost", - "score": 0.15596972405910492 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.5024594664573669 - }, - "else": { - "operation": "boost", - "score": 0.11874144524335861 - } + "operation": "boost", + "score": -0.028943762183189392 }, "else": { "operation": "boost", - "score": -0.2383558601140976 + "score": 0.11721870303153992 } - }, - "else": { - "operation": "boost", - "score": -0.030358172953128815 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14229799807071686 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": -0.2586876451969147 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "boost", - "score": -0.13122405111789703 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77.5, - "then": { - "operation": "boost", - "score": 0.11350532621145248 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.14505338668823242 - }, - "else": { - "operation": "boost", - "score": 0.06324159353971481 - } - } - } + "operation": "boost", + "score": 0.08729113638401031 }, "else": { "operation": "boost", - "score": 0.15579061210155487 + "score": 0.1148727610707283 } }, "else": { "operation": "boost", - "score": 0.02795621007680893 + "score": 0.11571932584047318 } - }, - "else": { - "operation": "boost", - "score": 0.05513269081711769 } } + }, + "else": { + "operation": "boost", + "score": 0.008870680816471577 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.10724468529224396 + "score": -0.0008617429994046688 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { - "operation": "boost", - "score": -0.12201190739870071 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, + "then": { + "operation": "boost", + "score": 0.024627620354294777 + }, + "else": { + "operation": "boost", + "score": 0.13805149495601654 + } }, "else": { "operation": "boost", - "score": -0.02035646326839924 + "score": 0.006799724884331226 } } } + }, + "else": { + "operation": "boost", + "score": -0.020047128200531006 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 648.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 1361.0, "then": { "operation": "boost", - "score": 0.04047856107354164 + "score": -0.03618226945400238 }, "else": { - "operation": "boost", - "score": 0.11443748325109482 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1279.5, "then": { "operation": "boost", - "score": 0.08961557596921921 + "score": -0.6803434491157532 }, "else": { "operation": "boost", - "score": 0.13220445811748505 + "score": -0.19730369746685028 } - }, - "else": { - "operation": "boost", - "score": -0.06140444427728653 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.007796413265168667 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.004281277302652597 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 369.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50.5, + "threshold": 396.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 51.5, + "threshold": 495.5, "then": { "operation": "boost", - "score": -0.10852383822202682 + "score": 0.11068783700466156 }, "else": { "operation": "boost", - "score": 0.10386934131383896 + "score": -0.018877733498811722 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.025845885276794434 - }, - "else": { - "operation": "boost", - "score": 0.0479336716234684 - } + "operation": "boost", + "score": 0.1190459132194519 } }, "else": { - "operation": "boost", - "score": -0.006276382133364677 - } - } - }, - "else": { - "operation": "boost", - "score": -0.006534134037792683 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 357.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": -0.6627768874168396 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.055076032876968384 - }, - "else": { - "operation": "boost", - "score": -0.08325032144784927 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 23.5, "then": { - "operation": "boost", - "score": 0.08101015537977219 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.15494877099990845 + }, + "else": { + "operation": "boost", + "score": -0.39856618642807007 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.10800261050462723 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.009481096640229225 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "boost", + "score": 0.007421695627272129 + }, + "else": { + "operation": "boost", + "score": 0.1383848935365677 + } + }, + "else": { + "operation": "boost", + "score": 0.15480303764343262 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.12213046848773956 + }, + "else": { + "operation": "boost", + "score": 0.06629760563373566 + } + } + } }, "else": { - "operation": "boost", - "score": 0.04870970547199249 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.04166930168867111 + }, + "else": { + "operation": "boost", + "score": -0.03393044322729111 + } } }, "else": { - "operation": "boost", - "score": 0.11517544090747833 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02291332744061947 + }, + "else": { + "operation": "boost", + "score": 0.1481182724237442 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07086877524852753 + }, + "else": { + "operation": "boost", + "score": -0.08217267692089081 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11451483517885208 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.029768606647849083 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08734334260225296 + }, + "else": { + "operation": "boost", + "score": -0.08791433274745941 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09419343620538712 + }, + "else": { + "operation": "boost", + "score": 0.028269855305552483 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12736444175243378 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12713678181171417 + }, + "else": { + "operation": "boost", + "score": 0.016982130706310272 + } + } + } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.11165367811918259 + "score": 0.08918511867523193 }, "else": { - "operation": "boost", - "score": 0.07361358404159546 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.1000649631023407 + }, + "else": { + "operation": "boost", + "score": 0.03627493232488632 + } + }, + "else": { + "operation": "boost", + "score": 0.00802569929510355 + } } }, "else": { - "operation": "boost", - "score": 0.05943945050239563 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02619304321706295 - } - }, - "else": { - "operation": "boost", - "score": 0.013616068288683891 - } - }, - "else": { - "operation": "boost", - "score": -0.08432484418153763 - } - }, - "else": { - "operation": "boost", - "score": -0.00434889318421483 - } - }, - "else": { - "operation": "boost", - "score": -0.04262249916791916 - } - } - }, - "else": { - "operation": "boost", - "score": 0.054060399532318115 - } - }, - "else": { - "operation": "boost", - "score": 0.00028378781280480325 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.03847238048911095 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 549.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 716.5, - "then": { - "operation": "boost", - "score": 0.017207736149430275 - }, - "else": { - "operation": "boost", - "score": 0.12734901905059814 - } - }, - "else": { - "operation": "boost", - "score": 0.05711936950683594 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.13062773644924164 - }, - "else": { - "operation": "boost", - "score": -0.08674107491970062 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03302409127354622 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.022580942139029503 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1574.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1597.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2014.0, - "then": { - "operation": "boost", - "score": 0.04509671404957771 - }, - "else": { - "operation": "boost", - "score": 0.10708367824554443 - } - }, - "else": { - "operation": "boost", - "score": 0.009001832455396652 - } - }, - "else": { - "operation": "boost", - "score": 0.09780242294073105 - } - }, - "else": { - "operation": "boost", - "score": -0.050683654844760895 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11846.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, - "then": { - "operation": "boost", - "score": -0.009149143472313881 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23530.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25758.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.12345641106367111 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.1395505666732788 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.10576090961694717 + }, + "else": { + "operation": "boost", + "score": -0.17985926568508148 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.0765245258808136 + }, + "else": { + "operation": "boost", + "score": -0.3245692253112793 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "boost", + "score": 0.08796023577451706 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.12301111966371536 + }, + "else": { + "operation": "boost", + "score": -0.046503935009241104 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2769940197467804 + }, + "else": { + "operation": "boost", + "score": -0.043732233345508575 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03586871922016144 + }, + "else": { + "operation": "boost", + "score": -0.21116285026073456 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06898624449968338 + } + } + } }, "else": { - "operation": "boost", - "score": -0.17512422800064087 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.013787567615509033 + }, + "else": { + "operation": "boost", + "score": -0.0956742987036705 + } } - }, - "else": { - "operation": "boost", - "score": 0.11048052459955215 } - }, - "else": { - "operation": "boost", - "score": 0.0467170886695385 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 75477.5, + "threshold": 224.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76763.5, + "threshold": 254.5, "then": { "operation": "boost", - "score": 0.039683613926172256 + "score": 0.07382883876562119 }, "else": { + "operation": "boost", + "score": 0.14660567045211792 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 82.5, "then": { "operation": "boost", - "score": 0.004860611632466316 + "score": -0.014135662466287613 }, "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.21482223272323608 + }, + "else": { + "operation": "boost", + "score": 0.16379746794700623 + } + }, + "else": { + "operation": "boost", + "score": -0.08286270499229431 + } + }, + "else": { + "operation": "boost", + "score": -0.19582270085811615 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.5, + "then": { "operation": "boost", - "score": 0.05646951124072075 + "score": 0.11072696000337601 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "boost", + "score": 0.02085915394127369 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.10088792443275452 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.035581089556217194 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.0, + "then": { + "operation": "boost", + "score": 0.10967177152633667 + }, + "else": { + "operation": "boost", + "score": -0.21775545179843903 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.1337413787841797 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1567978411912918 + }, + "else": { + "operation": "boost", + "score": 0.0974794551730156 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.032871026545763016 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.05605876073241234 + }, + "else": { + "operation": "boost", + "score": 0.038035307079553604 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.0, + "then": { + "operation": "boost", + "score": -0.2608788311481476 + }, + "else": { + "operation": "boost", + "score": 0.08352640271186829 + } + }, + "else": { + "operation": "boost", + "score": -0.4840855002403259 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0012842889409512281 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04006645083427429 + } } } - }, - "else": { - "operation": "boost", - "score": 0.034325748682022095 } } - } - }, - "else": { - "operation": "boost", - "score": 0.013928079977631569 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.12772338092327118 - }, - "else": { - "operation": "boost", - "score": -0.11822741478681564 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71608.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.1283944845199585 }, "else": { - "operation": "boost", - "score": -0.09424977004528046 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 426.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.04063865914940834 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.12554067373275757 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10495787858963013 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": -0.12004092335700989 + }, + "else": { + "operation": "boost", + "score": 0.042380768805742264 + } + } }, "else": { + "operation": "boost", + "score": -0.0012755568604916334 + } + }, + "else": { + "operation": "boost", + "score": 0.07632278650999069 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.012832462787628174 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.005655668210238218 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07773572951555252 + }, + "else": { + "operation": "boost", + "score": -0.22581809759140015 + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 651.5, + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.17747801542282104 + }, + "else": { + "operation": "boost", + "score": 0.15045373141765594 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 676.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2764.5, - "then": { - "operation": "boost", - "score": 0.07061515003442764 - }, - "else": { - "operation": "boost", - "score": 0.10979311913251877 - } + "operation": "boost", + "score": 0.05523218587040901 + }, + "else": { + "operation": "boost", + "score": -0.08229099214076996 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15088605880737305 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.14158201217651367 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.08968929201364517 + "score": 0.10441885143518448 }, "else": { "operation": "boost", - "score": 0.11632902175188065 + "score": 0.002318008104339242 } + }, + "else": { + "operation": "boost", + "score": 0.279092013835907 } } + } + }, + "else": { + "operation": "boost", + "score": -0.007076118607074022 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10635150969028473 + }, + "else": { + "operation": "boost", + "score": 0.07409121096134186 + } }, "else": { - "operation": "boost", - "score": 0.1268501877784729 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11372093856334686 + }, + "else": { + "operation": "boost", + "score": 0.08734279125928879 + } } }, "else": { "operation": "boost", - "score": -0.10410080850124359 + "score": 0.025508182123303413 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.029523834586143494 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.028676047921180725 + }, + "else": { + "operation": "boost", + "score": 0.09447567164897919 } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09055795520544052 + }, + "else": { + "operation": "boost", + "score": -0.056728385388851166 + } } } - }, - "else": { - "operation": "boost", - "score": 0.07281368225812912 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 45.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12546.5, + "threshold": 48.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22433.5, - "then": { - "operation": "boost", - "score": -0.03952778875827789 - }, - "else": { - "operation": "boost", - "score": 0.2770821750164032 - } + "operation": "boost", + "score": 0.016720060259103775 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 47.5, "then": { "operation": "boost", - "score": -0.1152951791882515 + "score": 0.12274657934904099 }, "else": { - "operation": "boost", - "score": 0.12102532386779785 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "boost", + "score": 0.04711627587676048 + }, + "else": { + "operation": "boost", + "score": 0.14376099407672882 + } } } }, "else": { "operation": "boost", - "score": 0.06000044569373131 + "score": 0.005860097240656614 } } - }, - "else": { - "operation": "boost", - "score": -0.011549372225999832 } } - }, - "else": { - "operation": "boost", - "score": -0.003200497245416045 } } - }, - "else": { - "operation": "boost", - "score": -0.030798083171248436 } + } + }, + "else": { + "operation": "boost", + "score": -0.12303991615772247 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00012495233386289328 + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Keyword", + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.004012473858892918 }, "else": { + "operation": "boost", + "score": -0.021281328052282333 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { "operation": "boost", - "score": 0.005162880290299654 + "score": 0.03403864800930023 }, "else": { + "operation": "boost", + "score": -0.6021947860717773 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.05579746514558792, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", "CCC_Symbol", - "CCC_Type" + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.042001690715551376 - }, - "else": { - "operation": "boost", - "score": 0.05839894339442253 - } + "operation": "boost", + "score": 0.03432459011673927 }, "else": { "operation": "boost", - "score": 0.017170196399092674 + "score": -0.08019766211509705 } }, "else": { "operation": "boost", - "score": -0.019650384783744812 + "score": -0.12694497406482697 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03532892465591431 + }, + "else": { + "operation": "boost", + "score": -0.031114069744944572 } } - }, - "else": { - "operation": "boost", - "score": -0.02660883590579033 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { + "operation": "boost", + "score": 0.025548385456204414 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.06067914515733719 + "score": -0.0023001120425760746 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.09233442693948746 + "score": -0.01914958469569683 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 13.5, "then": { + "operation": "boost", + "score": -0.1319388449192047 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, - "then": { - "operation": "boost", - "score": 0.10662771761417389 - }, - "else": { - "operation": "boost", - "score": 0.014896823093295097 - } + "operation": "boost", + "score": -3.190878391265869 }, "else": { "operation": "boost", - "score": -0.04863353073596954 + "score": -0.3393269181251526 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09315747767686844 }, "else": { "operation": "boost", - "score": 0.0881505012512207 + "score": -0.051464952528476715 } - }, - "else": { - "operation": "boost", - "score": -0.20664642751216888 } } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.013692863285541534 + "score": 0.15727311372756958 + }, + "else": { + "operation": "boost", + "score": 0.036080941557884216 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.035365089774131775 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.044616300612688065 + }, + "else": { + "operation": "boost", + "score": -0.115547776222229 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.033820487558841705 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.0, + "feature": "FractionNameInContext", + "threshold": 0.9642857313156128, "then": { "operation": "boost", - "score": -0.197080597281456 + "score": 0.11826121807098389 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.5, - "then": { - "operation": "boost", - "score": 0.10548937320709229 - }, - "else": { - "operation": "boost", - "score": -0.3297380805015564 - } + "operation": "boost", + "score": -0.012085416354238987 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0025730284396559 + } + }, + "else": { + "operation": "boost", + "score": 0.0808468610048294 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": 0.08621549606323242 + }, + "else": { + "operation": "boost", + "score": 0.03189960867166519 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09960882365703583 + }, + "else": { + "operation": "boost", + "score": 0.022377945482730865 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12033271044492722 + }, + "else": { + "operation": "boost", + "score": -0.03532039746642113 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.11706745624542236 + }, + "else": { + "operation": "boost", + "score": -0.1715794950723648 } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.008991959504783154 + }, + "else": { + "operation": "boost", + "score": -0.009898011572659016 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11593613773584366 + "score": -0.014595955610275269 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, - "then": { - "operation": "boost", - "score": -0.09027464687824249 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.0, - "then": { - "operation": "boost", - "score": -0.24189887940883636 - }, - "else": { - "operation": "boost", - "score": 0.11796632409095764 - } - }, - "else": { - "operation": "boost", - "score": 0.0977054238319397 - } - } - }, - "else": { - "operation": "boost", - "score": -0.08279391378164291 - } + "operation": "boost", + "score": 0.05491660535335541 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05303477123379707 + "score": 0.07664073258638382 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, - "then": { - "operation": "boost", - "score": 0.10309214144945145 - }, - "else": { - "operation": "boost", - "score": 0.10313525795936584 - } + "operation": "boost", + "score": 0.007753151003271341 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, - "then": { - "operation": "boost", - "score": 0.027316788211464882 - }, - "else": { - "operation": "boost", - "score": 0.09873690456151962 - } + "operation": "boost", + "score": -0.0786065012216568 }, "else": { "operation": "boost", - "score": -0.33344215154647827 + "score": -0.015747906640172005 } } } @@ -319237,2679 +321532,3032 @@ }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 267.0, - "then": { - "operation": "boost", - "score": 0.11446329206228256 - }, - "else": { - "operation": "boost", - "score": -0.017799725756049156 - } + "operation": "boost", + "score": 0.03460643067955971 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { - "operation": "boost", - "score": 0.09658174961805344 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0604235902428627 + }, + "else": { + "operation": "boost", + "score": -0.1554519683122635 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.013449737802147865 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.055243875831365585 - }, - "else": { - "operation": "boost", - "score": 0.11289473623037338 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, "then": { "operation": "boost", - "score": 0.047671087086200714 + "score": 0.14396962523460388 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.5, - "then": { - "operation": "boost", - "score": 0.4340083599090576 - }, - "else": { - "operation": "boost", - "score": -0.19290970265865326 - } + "operation": "boost", + "score": 0.39774417877197266 }, "else": { "operation": "boost", - "score": 0.11970030516386032 + "score": 0.1903803050518036 } } + }, + "else": { + "operation": "boost", + "score": 0.060525666922330856 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.11037623882293701 }, "else": { "operation": "boost", - "score": 0.11324197798967361 + "score": -0.04506361111998558 } + }, + "else": { + "operation": "boost", + "score": -0.026781344786286354 } }, "else": { "operation": "boost", - "score": -0.02530755288898945 + "score": -0.05275018885731697 } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.10884400457143784 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.0, + "operation": "boost", + "score": 0.044394511729478836 + }, + "else": { + "operation": "boost", + "score": -0.0462484136223793 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 467.0, - "then": { - "operation": "boost", - "score": -0.0686635673046112 - }, - "else": { - "operation": "boost", - "score": 0.11894161999225616 - } + "operation": "boost", + "score": 0.04770649969577789 }, "else": { "operation": "boost", - "score": -0.1508762389421463 + "score": -0.04469643905758858 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { "operation": "boost", - "score": 0.026334967464208603 + "score": -0.11375856399536133 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "boost", - "score": 0.09726159274578094 + "score": 0.12646925449371338 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09945792704820633 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12416517734527588 - }, - "else": { - "operation": "boost", - "score": 0.08025030046701431 - } - }, - "else": { - "operation": "boost", - "score": -0.07487877458333969 - } - }, - "else": { - "operation": "boost", - "score": -0.17536714673042297 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10068606585264206 - } + "operation": "boost", + "score": 0.08055663853883743 } } }, "else": { "operation": "boost", - "score": -0.0354217104613781 + "score": -0.005921563133597374 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12645716965198517 - }, - "else": { - "operation": "boost", - "score": 0.013686046004295349 - } } - }, - "else": { - "operation": "boost", - "score": -0.05957377701997757 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { - "operation": "boost", - "score": 0.005379298701882362 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Type", + "Variable" + ], "then": { "operation": "boost", - "score": -0.21344327926635742 + "score": 0.0036059527192264795 }, "else": { - "operation": "boost", - "score": 0.14616413414478302 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20068.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "boost", - "score": -0.03674141690135002 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3299.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10066.5, - "then": { - "operation": "boost", - "score": 0.09201763570308685 - }, - "else": { - "operation": "boost", - "score": -0.14235398173332214 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2047.0, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { - "operation": "boost", - "score": 0.11338012665510178 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.10423438251018524 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07205043733119965 + "score": 0.005923907272517681 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 768.5, + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": 0.004879368934780359 + }, + "else": { + "operation": "boost", + "score": -0.35272884368896484 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6833333373069763, + "then": { + "operation": "boost", + "score": 0.07494517415761948 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5192307829856873, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "boost", + "score": 0.07856767624616623 + }, + "else": { + "operation": "boost", + "score": 0.007709156256169081 + } + }, + "else": { + "operation": "boost", + "score": -0.19657978415489197 + } + }, + "else": { + "operation": "boost", + "score": -0.0026246507186442614 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "boost", + "score": -0.08748823404312134 + }, + "else": { + "operation": "boost", + "score": 0.11755818873643875 + } + }, + "else": { + "operation": "boost", + "score": -0.042432840913534164 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.0593080036342144 + }, + "else": { + "operation": "boost", + "score": 0.03563841059803963 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03649406507611275 + }, + "else": { + "operation": "boost", + "score": 0.021840572357177734 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0376690998673439 + }, + "else": { + "operation": "boost", + "score": -0.1496574431657791 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07404395192861557 + "score": -0.16821135580539703 }, "else": { "operation": "boost", - "score": 0.11825267970561981 + "score": 0.1062401831150055 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.004858083091676235 + }, + "else": { + "operation": "boost", + "score": -0.07452590763568878 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.019827693700790405 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.017095422372221947 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07234644144773483 + }, + "else": { + "operation": "boost", + "score": -0.10106798261404037 + } + } + }, + "else": { + "operation": "boost", + "score": -0.023627379909157753 + } + } } } }, "else": { - "operation": "boost", - "score": -0.10804560035467148 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.004460535477846861 + }, + "else": { + "operation": "boost", + "score": -0.014077886939048767 + } } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "boost", + "score": 0.01010433305054903 + }, + "else": { + "operation": "boost", + "score": 0.0010763411410152912 + } } + }, + "else": { + "operation": "boost", + "score": -0.2636924982070923 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 507.5, + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, "then": { "operation": "boost", - "score": -0.06914026290178299 + "score": 0.07236484438180923 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 308.5, + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, "then": { "operation": "boost", - "score": 0.06377384066581726 + "score": -0.08486971259117126 }, "else": { - "operation": "boost", - "score": 0.10697142779827118 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.08105906844139099 + }, + "else": { + "operation": "boost", + "score": 0.029370548203587532 + } } }, "else": { - "operation": "boost", - "score": -0.021965408697724342 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.10154026746749878 + }, + "else": { + "operation": "boost", + "score": -0.05725009739398956 + } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "boost", - "score": -0.2230987250804901 }, "else": { - "operation": "boost", - "score": 0.09655549377202988 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83201.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110939.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.17895781993865967 + "score": 0.07118688523769379 }, "else": { "operation": "boost", - "score": 0.02129465714097023 + "score": -0.2864881753921509 } - }, - "else": { - "operation": "boost", - "score": -0.0848596841096878 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34453.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "boost", + "score": 0.01543132308870554 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.07015544921159744 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": -0.004525091499090195 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.01581507734954357 + }, + "else": { + "operation": "boost", + "score": 0.14928379654884338 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0827154591679573 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.18488003313541412 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.17008943855762482 + }, + "else": { + "operation": "boost", + "score": -0.14443296194076538 + } + }, + "else": { + "operation": "boost", + "score": -0.08318889886140823 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 1.177601734525524e-05 + } + } }, "else": { - "operation": "boost", - "score": -0.00042429837048985064 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.4182063341140747 + }, + "else": { + "operation": "boost", + "score": -0.07156610488891602 + } + }, + "else": { + "operation": "boost", + "score": -0.007262249942868948 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": -0.21576383709907532 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.0674905776977539 + }, + "else": { + "operation": "boost", + "score": 0.0930914357304573 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": 0.04128637537360191 + }, + "else": { + "operation": "boost", + "score": 0.001015470246784389 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.008320899680256844 + } } - }, - "else": { - "operation": "boost", - "score": -0.03941169008612633 } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.08371656388044357 + }, + "else": { + "operation": "boost", + "score": 0.00326783605851233 + } + }, + "else": { + "operation": "boost", + "score": 0.0007673390791751444 + } } + }, + "else": { + "operation": "boost", + "score": -0.034243226051330566 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09088104218244553 + }, + "else": { + "operation": "boost", + "score": -0.0018896542023867369 } + }, + "else": { + "operation": "boost", + "score": 0.0004088838759344071 } } } - }, - "else": { - "operation": "boost", - "score": -0.0004340603481978178 } }, { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.002280907006934285 + "score": 0.0017496675718575716 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_Symbol", + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.006590001285076141 + "score": -0.07672549039125443 }, "else": { - "operation": "boost", - "score": 0.009670496918261051 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.03853778913617134 + }, + "else": { + "operation": "boost", + "score": 0.0065057347528636456 + } } }, "else": { - "operation": "boost", - "score": -0.11600925028324127 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Symbol", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.006118709687143564 + }, + "else": { + "operation": "boost", + "score": -0.1416633427143097 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 868.0, "then": { "operation": "boost", - "score": 0.030073465779423714 + "score": 0.1412079632282257 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.09131361544132233 + "score": -0.03598994016647339 }, "else": { - "operation": "boost", - "score": 0.2047608345746994 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.034621164202690125 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.16958360373973846 + }, + "else": { + "operation": "boost", + "score": 0.10467514395713806 + } + } } }, "else": { "operation": "boost", - "score": 0.12656207382678986 + "score": 0.007908961735665798 } }, "else": { - "operation": "boost", - "score": -0.039742350578308105 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.23487593233585358 + }, + "else": { + "operation": "boost", + "score": 0.0707104280591011 + } + }, + "else": { + "operation": "boost", + "score": -0.12982399761676788 + } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.00962760578840971 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8999999761581421, + "then": { + "operation": "boost", + "score": 0.1108512431383133 + }, + "else": { + "operation": "boost", + "score": -0.20043796300888062 + } + }, + "else": { + "operation": "boost", + "score": -0.01758730039000511 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07486077398061752 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3100961446762085, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9444444179534912, + "then": { + "operation": "boost", + "score": -0.02939712628722191 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, "then": { - "operation": "boost", - "score": 0.05299833044409752 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.09346214681863785 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11632600426673889 + }, + "else": { + "operation": "boost", + "score": 0.1406765729188919 + } + } }, "else": { - "operation": "boost", - "score": 0.24948589503765106 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "boost", + "score": -0.004571117460727692 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": 0.07300399988889694 + }, + "else": { + "operation": "boost", + "score": 0.01162432786077261 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": 0.05203501507639885 + }, + "else": { + "operation": "boost", + "score": -0.008152026683092117 + } + }, + "else": { + "operation": "boost", + "score": 0.08341947197914124 + } + } + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12948325276374817 - }, - "else": { - "operation": "boost", - "score": -0.15090809762477875 - } + "operation": "boost", + "score": 0.009178970009088516 } }, "else": { - "operation": "boost", - "score": 0.05202244594693184 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.33556801080703735 + }, + "else": { + "operation": "boost", + "score": -0.1662372350692749 + } } }, "else": { "operation": "boost", - "score": 0.06881152838468552 + "score": 0.0015650630230084062 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, + "operation": "boost", + "score": 0.24354028701782227 + }, + "else": { + "operation": "boost", + "score": -0.2907702922821045 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "boost", + "score": 0.14700408279895782 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004096746910363436 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.09532208740711212 + }, + "else": { + "operation": "boost", + "score": 0.11147577315568924 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5192307829856873, + "then": { + "operation": "boost", + "score": 0.09627348184585571 + }, + "else": { + "operation": "boost", + "score": -0.0879228487610817 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05516577512025833 + "score": 0.06020495668053627 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, "then": { "operation": "boost", - "score": 0.09946668148040771 + "score": 0.1518704742193222 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23506.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.022213829681277275 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, "then": { "operation": "boost", - "score": 0.10749463737010956 + "score": 0.03675667196512222 }, "else": { "operation": "boost", - "score": -0.12803493440151215 + "score": 0.09797866642475128 } + }, + "else": { + "operation": "boost", + "score": 0.0872524082660675 } } } }, "else": { + "operation": "boost", + "score": -0.06010898947715759 + } + }, + "else": { + "operation": "boost", + "score": -0.03478241711854935 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.00303442170843482 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, "then": { - "operation": "boost", - "score": -0.005799827631562948 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9285714626312256, + "then": { + "operation": "boost", + "score": 0.05090876296162605 + }, + "else": { + "operation": "boost", + "score": -0.2626609206199646 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50371.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, "then": { + "operation": "boost", + "score": 0.0696600005030632 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, "then": { - "operation": "boost", - "score": 0.10001281648874283 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, + "then": { + "operation": "boost", + "score": 0.03381642326712608 + }, + "else": { + "operation": "boost", + "score": -0.12432394176721573 + } }, "else": { "operation": "boost", - "score": 0.12421101331710815 + "score": 0.054382067173719406 } - }, - "else": { - "operation": "boost", - "score": 0.03549725562334061 } }, + "else": { + "operation": "boost", + "score": -0.45594385266304016 + } + }, + "else": { + "operation": "boost", + "score": 0.005985877010971308 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3452380895614624, + "then": { + "operation": "boost", + "score": 0.03910874202847481 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.05040830373764038 + "score": -0.12900494039058685 }, "else": { "operation": "boost", - "score": 0.11553163081407547 + "score": 0.09417817741632462 } } }, + "else": { + "operation": "boost", + "score": -0.19410340487957 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.10315870493650436 + }, + "else": { + "operation": "boost", + "score": 0.017633311450481415 + } + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53950.5, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.7964848875999451 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.11731349676847458 - }, - "else": { - "operation": "boost", - "score": -0.013116692192852497 - } - } + "operation": "boost", + "score": -0.1378777176141739 + }, + "else": { + "operation": "boost", + "score": -0.383034884929657 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "boost", + "score": -0.030748669058084488 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.15311163663864136 }, "else": { "operation": "boost", - "score": 0.11743149906396866 + "score": -0.06509532779455185 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.023314937949180603 }, "else": { "operation": "boost", - "score": 0.02444671094417572 + "score": -0.05207241699099541 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, "then": { - "operation": "boost", - "score": 0.0030287466943264008 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.08784588426351547 - }, - "else": { - "operation": "boost", - "score": 0.10247654467821121 - } + "operation": "boost", + "score": 0.10725896805524826 }, "else": { "operation": "boost", - "score": -0.16391782462596893 + "score": 0.01338502112776041 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7746.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9368.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.2344980686903 + "score": -0.03461271524429321 }, "else": { "operation": "boost", - "score": 0.13325664401054382 + "score": 0.07401660829782486 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.0007647154270671308 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10449296236038208 - }, - "else": { - "operation": "boost", - "score": 0.0422414094209671 - } - }, - "else": { - "operation": "boost", - "score": 0.008281557820737362 - } - } + "operation": "boost", + "score": -0.013008114881813526 } - }, - "else": { - "operation": "boost", - "score": 0.042074453085660934 } - }, - "else": { - "operation": "boost", - "score": -0.038455042988061905 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "boost", - "score": 0.047829363495111465 + "score": -0.12765032052993774 }, "else": { - "operation": "boost", - "score": 0.03632902726531029 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.04320826008915901 + "score": 0.1411193311214447 }, "else": { "operation": "boost", - "score": 0.04520007222890854 + "score": -0.1007477343082428 } - }, - "else": { - "operation": "boost", - "score": 0.03164372220635414 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.4833333492279053, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.5192307829856873, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.07862933725118637 - }, - "else": { - "operation": "boost", - "score": 0.10000487416982651 - } + "operation": "boost", + "score": 0.005828942637890577 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": -0.0018795536598190665 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.016522318124771118 + "score": 0.016186203807592392 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14779546856880188 - }, - "else": { - "operation": "boost", - "score": 0.11517172306776047 - } + "operation": "boost", + "score": 0.06644442677497864 } + }, + "else": { + "operation": "boost", + "score": -0.09982267767190933 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.03371823951601982 + "score": 0.09422796964645386 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { "operation": "boost", - "score": 0.11805698275566101 + "score": -0.6258599758148193 }, "else": { "operation": "boost", - "score": 0.06878212839365005 + "score": -0.13766108453273773 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.0278455913066864 + "score": -0.253724068403244 }, "else": { "operation": "boost", - "score": 0.022719500586390495 + "score": 0.03146176412701607 } } } }, "else": { - "operation": "boost", - "score": 0.000376583804609254 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007376069203019142 - }, - "else": { - "operation": "boost", - "score": 0.002392733469605446 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.0258746650069952 - }, - "else": { - "operation": "boost", - "score": -0.03466760739684105 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.34511348605155945 - }, - "else": { - "operation": "boost", - "score": -0.02754412591457367 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.020629795268177986 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.054345861077308655 - }, - "else": { - "operation": "boost", - "score": 0.05275541543960571 - } - } + "score": -0.08214855939149857 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.0, - "then": { - "operation": "boost", - "score": 0.023331401869654655 - }, - "else": { - "operation": "boost", - "score": -0.15651898086071014 - } + "operation": "boost", + "score": 0.018878119066357613 }, "else": { "operation": "boost", - "score": 0.04838518425822258 + "score": 0.129124715924263 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "boost", - "score": -0.005347564350813627 - }, - "else": { - "operation": "boost", - "score": -0.03456352651119232 - } + "operation": "boost", + "score": -0.028063781559467316 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03392718359827995 - }, - "else": { - "operation": "boost", - "score": -0.03404458984732628 - } + "operation": "boost", + "score": -0.002961815567687154 } } }, "else": { "operation": "boost", - "score": 0.017130127176642418 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.013481304049491882 - }, - "else": { - "operation": "boost", - "score": -0.04260933771729469 - } - }, - "else": { - "operation": "boost", - "score": -0.023973682895302773 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.023495834320783615 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.15589416027069092 - }, - "else": { - "operation": "boost", - "score": 0.1351311355829239 + "score": -0.014164800755679607 } }, "else": { "operation": "boost", - "score": 0.08326181769371033 + "score": -0.0007381345494650304 } } - }, - "else": { - "operation": "boost", - "score": 0.0011782569345086813 } } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47907.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.059258364140987396 + "score": -0.11656755208969116 }, "else": { - "operation": "boost", - "score": -0.02233300171792507 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.037802428007125854 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.026477381587028503 + }, + "else": { + "operation": "boost", + "score": -0.00543661555275321 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, - "then": { - "operation": "boost", - "score": 0.04121845215559006 - }, - "else": { - "operation": "boost", - "score": 0.10083342343568802 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.04560554772615433 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.5, - "then": { - "operation": "boost", - "score": 0.10593065619468689 - }, - "else": { - "operation": "boost", - "score": 0.032194048166275024 - } - } - } + "operation": "boost", + "score": 0.008554128929972649 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.053608719259500504 + "score": -0.08599353581666946 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { + "operation": "boost", + "score": 0.04271992668509483 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12931013107299805 + "score": 0.19670052826404572 }, "else": { "operation": "boost", - "score": 0.10967136919498444 + "score": 0.01930234208703041 } - }, - "else": { - "operation": "boost", - "score": 0.08040080964565277 } } } } }, "else": { + "operation": "boost", + "score": -0.2074476033449173 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.00917547382414341 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.011214923113584518 + "score": -0.0022172476164996624 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.12127161026000977 + "score": -0.17005248367786407 }, "else": { "operation": "boost", - "score": 0.10179043561220169 + "score": -0.04523176699876785 } }, "else": { - "operation": "boost", - "score": 0.14148454368114471 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.23609966039657593 + }, + "else": { + "operation": "boost", + "score": -0.18335780501365662 + } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.0, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.10276858508586884 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": -0.005660921335220337 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.012420160695910454 + "score": 0.07972007244825363 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.0, - "then": { - "operation": "boost", - "score": 0.08924510329961777 - }, - "else": { - "operation": "boost", - "score": 0.12991102039813995 - } + "operation": "boost", + "score": -0.18878336250782013 } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.12025518715381622 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.11056777089834213 - }, - "else": { - "operation": "boost", - "score": 0.03407949581742287 - } + "operation": "boost", + "score": -0.0429559089243412 }, "else": { "operation": "boost", - "score": -0.10180874913930893 + "score": -0.2578813433647156 } }, "else": { - "operation": "boost", - "score": 0.1289733350276947 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08655235171318054 + }, + "else": { + "operation": "boost", + "score": -0.00675092451274395 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.020483991131186485 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.019044112414121628 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10625661164522171 + }, + "else": { + "operation": "boost", + "score": -0.14891062676906586 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator" + ], "then": { "operation": "boost", - "score": 0.015633031725883484 + "score": 0.1371746063232422 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.06655760109424591 - }, - "else": { - "operation": "boost", - "score": -0.38603541254997253 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07477985322475433 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08814314752817154 - }, - "else": { - "operation": "boost", - "score": -0.12939660251140594 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.043143436312675476 - } + "operation": "boost", + "score": -0.27455276250839233 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09296302497386932 - }, - "else": { - "operation": "boost", - "score": 0.027858823537826538 - } + "operation": "boost", + "score": -0.03907783329486847 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.2627253830432892 + }, + "else": { + "operation": "boost", + "score": 0.07887981832027435 } } } } } } + }, + "else": { + "operation": "boost", + "score": -0.03442433848977089 } - }, - "else": { - "operation": "boost", - "score": -0.0234710443764925 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.01016273908317089 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.12149722874164581 - }, - "else": { - "operation": "boost", - "score": 0.03127611428499222 - } - } + "operation": "boost", + "score": -0.0007125415140762925 } - }, - "else": { - "operation": "boost", - "score": 0.02088080905377865 } - }, - "else": { - "operation": "boost", - "score": -0.00047731728409416974 } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + } + }, + "else": { + "operation": "boost", + "score": -0.0003853313100989908 + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": -0.007578597869724035 + "score": 0.006080944091081619 }, "else": { "operation": "boost", - "score": -0.07573062181472778 + "score": 0.0008736902382224798 } + }, + "else": { + "operation": "boost", + "score": 0.0005482733831740916 } - } - }, - { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.0005396142369136214 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 900.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": -0.022754816338419914 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 899.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { + "operation": "boost", + "score": -0.0005566305480897427 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.09991370886564255 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.030839983373880386 + }, + "else": { + "operation": "boost", + "score": 0.09444493055343628 + } }, "else": { - "operation": "boost", - "score": -1.1187759637832642 - } - }, - "else": { - "operation": "boost", - "score": -0.17434997856616974 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -5.621318268822506e-05 + "score": -0.0007462198846042156 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "boost", - "score": -0.028713682666420937 + "score": 0.017749935388565063 }, "else": { - "operation": "boost", - "score": 0.03862281143665314 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 58.5, + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 31.5, "then": { "operation": "boost", - "score": 0.11993817985057831 + "score": -0.019224276766180992 }, "else": { "operation": "boost", - "score": -0.18996018171310425 + "score": 0.12718376517295837 } }, "else": { - "operation": "boost", - "score": 0.05019634589552879 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62714.5, + "then": { + "operation": "boost", + "score": 0.06822828203439713 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": -0.7727490067481995 + }, + "else": { + "operation": "boost", + "score": -0.07611553370952606 + } + } } }, "else": { - "operation": "boost", - "score": -0.025740966200828552 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.12429303675889969 + "score": -0.027056235820055008 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": -0.10590244829654694 + "score": -0.08811349421739578 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1204414889216423 - }, - "else": { - "operation": "boost", - "score": 0.1281798779964447 - } + "operation": "boost", + "score": -1.5804709196090698 } }, "else": { "operation": "boost", - "score": -0.9702273011207581 + "score": -1.0803390741348267 } } - }, - "else": { - "operation": "boost", - "score": -0.06676075607538223 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12774.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 28296.5, "then": { "operation": "boost", - "score": 0.03602784126996994 + "score": 0.006121182814240456 }, "else": { "operation": "boost", - "score": -0.12459689378738403 + "score": -0.08550867438316345 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.009406433440744877 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0067685442045331 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11563.0, "then": { "operation": "boost", - "score": -0.0035868166014552116 + "score": 0.12290205806493759 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "operation": "boost", + "score": 0.002725684316828847 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.028742263093590736 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.3826810121536255 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.09014154225587845 - }, - "else": { - "operation": "boost", - "score": 0.12468157708644867 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11666788905858994 - }, - "else": { - "operation": "boost", - "score": 0.11116161942481995 - } - }, - "else": { - "operation": "boost", - "score": 0.06850829720497131 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10715647786855698 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05045964941382408 - }, - "else": { - "operation": "boost", - "score": 0.12297441065311432 - } - } - }, - "else": { - "operation": "boost", - "score": 0.090665303170681 - } - } + "operation": "boost", + "score": -0.28603848814964294 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15959013998508453 - }, - "else": { - "operation": "boost", - "score": -0.02786530740559101 - } + "operation": "boost", + "score": 0.02559436485171318 } }, "else": { - "operation": "boost", - "score": 0.023787586018443108 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { + "operation": "boost", + "score": -0.18973274528980255 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.045549433678388596 + "score": 0.07307405024766922 }, "else": { - "operation": "boost", - "score": 0.10564199090003967 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0839160829782486, + "then": { + "operation": "boost", + "score": 0.11705132573843002 + }, + "else": { + "operation": "boost", + "score": 0.0639728382229805 + } } - }, - "else": { - "operation": "boost", - "score": 0.0014247403014451265 } - }, - "else": { - "operation": "boost", - "score": 0.024623528122901917 } + }, + "else": { + "operation": "boost", + "score": 0.015918442979454994 } - }, - "else": { - "operation": "boost", - "score": 0.047249291092157364 } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "boost", + "score": -0.14056625962257385 + }, + "else": { + "operation": "boost", + "score": -0.007108989637345076 + } }, "else": { - "operation": "boost", - "score": -0.1136365607380867 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4514.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13428.0, + "then": { + "operation": "boost", + "score": 0.0161591786891222 + }, + "else": { + "operation": "boost", + "score": 0.06587956845760345 + } + }, + "else": { + "operation": "boost", + "score": 0.012236077338457108 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09890104830265045 + "score": -0.07504977285861969 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.10514752566814423 + "score": 0.0897272601723671 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.10037816315889359 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.1087256520986557 - }, - "else": { - "operation": "boost", - "score": 0.049078360199928284 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09830939769744873 - } - }, - "else": { - "operation": "boost", - "score": 0.03466653451323509 - } + "operation": "boost", + "score": 0.033291302621364594 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.021555837243795395 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.020135659724473953 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], + "operation": "boost", + "score": 0.03836053982377052 + } + }, + "else": { + "operation": "boost", + "score": -0.012830281630158424 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.017123078927397728 + }, + "else": { + "operation": "boost", + "score": -0.018527546897530556 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.0051068393513560295 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 383039.5, + "then": { + "operation": "boost", + "score": -0.04809238761663437 + }, + "else": { + "operation": "boost", + "score": -0.005069971550256014 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9527.5, + "then": { + "operation": "boost", + "score": -0.0189491156488657 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8754.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8976.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10810165852308273 + }, + "else": { + "operation": "boost", + "score": 0.19443324208259583 + } + }, + "else": { + "operation": "boost", + "score": 0.5219702124595642 + } + }, + "else": { + "operation": "boost", + "score": 0.010272413492202759 + } + }, + "else": { + "operation": "boost", + "score": 0.004773812834173441 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 581.0, + "then": { + "operation": "boost", + "score": -0.12146911770105362 + }, + "else": { + "operation": "boost", + "score": 0.03372682258486748 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14163044095039368 - }, - "else": { - "operation": "boost", - "score": -0.101308174431324 - } - }, - "else": { - "operation": "boost", - "score": -0.15668006241321564 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1162201538681984 - }, - "else": { - "operation": "boost", - "score": 0.12639838457107544 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14470604062080383 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10165658593177795 - }, - "else": { - "operation": "boost", - "score": -0.12610097229480743 - } - } - } - } + "operation": "boost", + "score": -0.6466081142425537 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.0385507196187973 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07556550204753876 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -1.1287521123886108 - }, - "else": { - "operation": "boost", - "score": 0.10279899090528488 - } - } - } + "operation": "boost", + "score": 0.0973920002579689 } }, "else": { "operation": "boost", - "score": -0.03964156284928322 + "score": 0.07295607775449753 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.23941954970359802 + }, + "else": { + "operation": "boost", + "score": -0.10365785658359528 + } + }, + "else": { + "operation": "boost", + "score": -0.002773136366158724 } } + }, + "else": { + "operation": "boost", + "score": 0.018683496862649918 } + }, + "else": { + "operation": "boost", + "score": 0.0011117300018668175 } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.4444006085395813 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.047679074108600616 + }, + "else": { + "operation": "boost", + "score": 0.06495200842618942 + } + }, + "else": { + "operation": "boost", + "score": -0.03588121384382248 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.866955578327179 + "score": 0.1064574271440506 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.2890290319919586 - }, - "else": { - "operation": "boost", - "score": 0.19707907736301422 - } - }, - "else": { - "operation": "boost", - "score": -0.11600060015916824 - } + "operation": "boost", + "score": 0.06103716045618057 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.04689015448093414 + "score": 0.0713755339384079 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.16428446769714355 - }, - "else": { - "operation": "boost", - "score": 0.13113564252853394 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": 0.12704052031040192 - }, - "else": { - "operation": "boost", - "score": 0.12283080816268921 - } - }, - "else": { - "operation": "boost", - "score": 0.09294086694717407 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.09545930474996567 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11763371527194977 - }, - "else": { - "operation": "boost", - "score": -0.15810100734233856 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.043722521513700485 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.12586282193660736 - }, - "else": { - "operation": "boost", - "score": 0.14156855642795563 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.23879677057266235 - }, - "else": { - "operation": "boost", - "score": -0.1286735087633133 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.061719827353954315 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08047620207071304 - } + "operation": "boost", + "score": -0.016084972769021988 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.09630819410085678 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": -0.2600895166397095 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.36540260910987854 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": -0.16322004795074463 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.030166111886501312 - }, - "else": { - "operation": "boost", - "score": 0.118331179022789 - } - } - } + "operation": "boost", + "score": 0.13125687837600708 }, "else": { "operation": "boost", - "score": 0.02125735767185688 + "score": 0.06764135509729385 } }, "else": { "operation": "boost", - "score": -0.05588669702410698 + "score": 0.020754940807819366 } }, "else": { "operation": "boost", - "score": -0.06381210684776306 + "score": -0.0337059386074543 } } - }, - "else": { - "operation": "boost", - "score": 0.023402228951454163 } } } @@ -321918,352 +324566,578 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Symbol" ], + "then": { + "operation": "boost", + "score": 0.07791082561016083 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.021746618673205376 + }, + "else": { + "operation": "boost", + "score": 0.13862670958042145 + } + }, + "else": { + "operation": "boost", + "score": 0.02030777744948864 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.021309807896614075 + }, + "else": { + "operation": "boost", + "score": -0.007952232845127583 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.02070043236017227 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 269.5, + "then": { + "operation": "boost", + "score": 0.20592370629310608 + }, + "else": { + "operation": "boost", + "score": 0.0481991320848465 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0052779195830225945 + "score": -0.005525550339370966 }, "else": { "operation": "boost", - "score": 0.023765916004776955 + "score": -0.17323726415634155 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.13330256938934326 + "score": -0.10326321423053741 }, "else": { "operation": "boost", - "score": -0.022141749039292336 + "score": -0.042994823306798935 } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 580.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 669.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.006351650692522526 + "score": 0.022341767325997353 }, "else": { "operation": "boost", - "score": -0.664527177810669 + "score": 0.004955622833222151 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 668.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10490810871124268 + "score": 0.08322571218013763 }, "else": { - "operation": "boost", - "score": 0.0886923149228096 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.1560979187488556 + }, + "else": { + "operation": "boost", + "score": 0.03537347540259361 + } } }, "else": { - "operation": "boost", - "score": -0.028497369959950447 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 618.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 621.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 654.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 660.5, + "then": { + "operation": "boost", + "score": -0.10047280043363571 + }, + "else": { + "operation": "boost", + "score": 0.29479196667671204 + } + }, + "else": { + "operation": "boost", + "score": -0.0408974289894104 + } + }, + "else": { + "operation": "boost", + "score": 0.18873882293701172 + } + }, + "else": { + "operation": "boost", + "score": -0.0186233501881361 + } + }, + "else": { + "operation": "boost", + "score": 0.029715709388256073 + } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.023305682465434074 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 535.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.05649390444159508 + }, + "else": { + "operation": "boost", + "score": -0.13148446381092072 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06182757392525673 + "score": 0.002187741454690695 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1777627021074295 + "score": 0.030016478151082993 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.030997369438409805 + "score": 0.049301888793706894 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.10782863944768906 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { "operation": "boost", - "score": 0.07671685516834259 + "score": -0.11436574161052704 }, "else": { "operation": "boost", - "score": 0.05659663677215576 + "score": -0.5362542271614075 } + }, + "else": { + "operation": "boost", + "score": -0.22706158459186554 } } }, "else": { "operation": "boost", - "score": -0.13926951587200165 + "score": -0.014140366576611996 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19.5, + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08749788999557495 + }, + "else": { + "operation": "boost", + "score": 0.044945843517780304 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10530268400907516 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011609993875026703 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 393.5, "then": { "operation": "boost", - "score": 0.08841776847839355 + "score": 0.03377389907836914 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 121.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.104399673640728 - }, - "else": { - "operation": "boost", - "score": 0.015380339697003365 - } + "operation": "boost", + "score": -0.02787509746849537 + }, + "else": { + "operation": "boost", + "score": 0.005362443160265684 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 390.0, + "then": { + "operation": "boost", + "score": -0.5606075525283813 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.004108667839318514 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.12394542992115021 + "score": -0.012157432734966278 }, "else": { + "operation": "boost", + "score": 0.014387411996722221 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09473678469657898 + "score": 0.21020197868347168 }, "else": { "operation": "boost", - "score": 0.14626410603523254 + "score": -0.3210557699203491 } + }, + "else": { + "operation": "boost", + "score": -0.010529069229960442 } - }, - "else": { - "operation": "boost", - "score": 0.09124018996953964 } - }, - "else": { - "operation": "boost", - "score": 0.05312122032046318 } } - }, - "else": { - "operation": "boost", - "score": -0.29045411944389343 } } } } - }, - "else": { - "operation": "boost", - "score": 0.008590622805058956 } }, "else": { - "operation": "boost", - "score": -0.03426407277584076 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.027179529890418053 + }, + "else": { + "operation": "boost", + "score": -0.2615779638290405 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.0413772389292717 + "score": 0.0634869635105133 }, "else": { "operation": "boost", - "score": 0.1292792111635208 + "score": -0.07761352509260178 } }, "else": { - "operation": "boost", - "score": -0.03894174471497536 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07446866482496262 + }, + "else": { + "operation": "boost", + "score": -0.14203451573848724 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.021441087126731873 + }, + "else": { + "operation": "boost", + "score": 0.016134001314640045 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1446685492992401 + } } - }, - "else": { - "operation": "boost", - "score": -0.046792056411504745 } - }, - "else": { - "operation": "boost", - "score": -0.058537062257528305 } } } - }, - "else": { - "operation": "boost", - "score": 0.0008460190729238093 } } } @@ -322274,1320 +325148,1343 @@ }, { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 30.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.048605289310216904 - }, - "else": { - "operation": "boost", - "score": 0.09740471839904785 - } + "operation": "boost", + "score": 0.0044287145137786865 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.061761416494846344 - }, - "else": { - "operation": "boost", - "score": -0.10700736194849014 - } + "operation": "boost", + "score": 0.00019040994811803102 } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.16228070855140686, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.023935288190841675 - }, - "else": { - "operation": "boost", - "score": 0.01678338088095188 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06119586154818535 - }, - "else": { - "operation": "boost", - "score": -0.1078651025891304 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.034774258732795715 - }, - "else": { - "operation": "boost", - "score": -0.13714982569217682 - } - } + "operation": "boost", + "score": 0.02125779166817665 }, "else": { "operation": "boost", - "score": 0.002088500652462244 + "score": 0.5686025023460388 } }, + "else": { + "operation": "boost", + "score": 0.01226062886416912 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.007147838827222586 + }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ClassOrStructTag", + "CCC_Statement", + "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.06239712983369827 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05475258454680443 + "score": 0.047261793166399 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.09354447573423386 - }, - "else": { - "operation": "boost", - "score": 0.008464718237519264 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07042620331048965 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.012197542935609818 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.30042755603790283 + }, + "else": { + "operation": "boost", + "score": 0.05214018374681473 + } }, "else": { "operation": "boost", - "score": 0.027001507580280304 + "score": -0.05201488733291626 } } } } - }, - "else": { - "operation": "boost", - "score": -0.00569854024797678 } - } - }, - "else": { - "operation": "boost", - "score": -0.021928058937191963 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.051707543432712555 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": -0.06813525408506393 + "score": 0.00566534698009491 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.1101333349943161 + "score": -0.06293074041604996 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { "operation": "boost", - "score": -0.05236033350229263 + "score": -0.9475957155227661 }, "else": { "operation": "boost", - "score": -0.26664984226226807 + "score": 0.08717963844537735 } } } - }, - "else": { - "operation": "boost", - "score": -0.08450503647327423 } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.2312706708908081 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.17707036435604095 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.11856451630592346 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0161000806838274 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.282368540763855 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.003216107375919819 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.09266919642686844 + }, + "else": { + "operation": "boost", + "score": -0.5508273839950562 + } + } + } + } }, "else": { "operation": "boost", - "score": 0.18870697915554047 + "score": -0.04593617841601372 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06012967973947525 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10113009065389633 - }, - "else": { - "operation": "boost", - "score": 0.027539875358343124 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, "then": { "operation": "boost", - "score": 0.026460453867912292 + "score": 0.011377382092177868 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "boost", - "score": -0.01636631414294243 + "score": -0.14308132231235504 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0903884544968605 + "score": -0.04276003688573837 }, "else": { - "operation": "boost", - "score": 0.08990965038537979 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1281125843524933 + }, + "else": { + "operation": "boost", + "score": 0.08260753750801086 + } + }, + "else": { + "operation": "boost", + "score": 0.07065144181251526 + } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "boost", - "score": 0.0034589567221701145 + "score": 0.08813273906707764 }, "else": { - "operation": "boost", - "score": 0.08081656694412231 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08948171138763428 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12899242341518402 + }, + "else": { + "operation": "boost", + "score": 0.06026136502623558 + } + }, + "else": { + "operation": "boost", + "score": 0.014549687504768372 + } + } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.026737239211797714 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.004312308970838785 + }, + "else": { + "operation": "boost", + "score": -0.0046807024627923965 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3100961446762085, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { + "operation": "boost", + "score": 0.0037946393713355064 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11700703948736191 - }, - "else": { - "operation": "boost", - "score": 0.008668291382491589 - } + "operation": "boost", + "score": 0.0018020633142441511 }, "else": { "operation": "boost", - "score": -0.06578332930803299 + "score": -0.06895647197961807 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.005947585683315992 }, "else": { "operation": "boost", - "score": 0.024470604956150055 + "score": 0.020465679466724396 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01300374697893858 }, "else": { - "operation": "boost", - "score": 0.09007865935564041 - } - }, - "else": { - "operation": "boost", - "score": 0.0012707317946478724 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Type" - ], - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" ], "then": { + "operation": "boost", + "score": 0.029160279780626297 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.002713683992624283 - }, - "else": { - "operation": "boost", - "score": 0.04457826539874077 - } + "operation": "boost", + "score": 0.19619475305080414 }, "else": { "operation": "boost", - "score": -0.018215050920844078 + "score": -0.04981169477105141 } }, "else": { "operation": "boost", - "score": -0.004941958002746105 + "score": 0.12577876448631287 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, "then": { "operation": "boost", - "score": -0.005953923333436251 + "score": 0.2534588575363159 }, "else": { "operation": "boost", - "score": 0.05000671371817589 + "score": 0.035977091640233994 } } }, "else": { - "operation": "boost", - "score": -0.023180076852440834 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0013474200386554003 + }, + "else": { + "operation": "boost", + "score": -0.20554488897323608 + } } - }, - "else": { - "operation": "boost", - "score": -0.10285238176584244 } - }, - "else": { - "operation": "boost", - "score": -0.00823840219527483 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 860.5, + "then": { + "operation": "boost", + "score": 0.01045424398034811 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.01839413121342659 + "score": 0.12488072365522385 }, "else": { - "operation": "boost", - "score": -0.0326240248978138 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.12717942893505096 + }, + "else": { + "operation": "boost", + "score": -0.0595950186252594 + } + }, + "else": { + "operation": "boost", + "score": 0.018421003594994545 + } } }, "else": { - "operation": "boost", - "score": -0.03919480741024017 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.008665969595313072 + "score": -0.07907278090715408 }, "else": { - "operation": "boost", - "score": -0.0015212384751066566 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.021662145853042603 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11047631502151489 - }, - "else": { - "operation": "boost", - "score": -0.074927918612957 - } - } - }, - "else": { - "operation": "boost", - "score": 0.012193274684250355 - } + "operation": "boost", + "score": -0.18359963595867157 }, "else": { "operation": "boost", - "score": 0.16767112910747528 + "score": 0.11679843068122864 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" ], "then": { "operation": "boost", - "score": 0.07122936844825745 + "score": 0.0173481497913599 }, "else": { - "operation": "boost", - "score": 0.014797191135585308 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.002512378618121147 + }, + "else": { + "operation": "boost", + "score": -0.19009092450141907 + } } } - }, - "else": { - "operation": "boost", - "score": -0.132486030459404 } - } - }, - "else": { - "operation": "boost", - "score": -0.0033736161421984434 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.03712324798107147 }, "else": { - "operation": "boost", - "score": 0.020526858046650887 - } - }, - "else": { - "operation": "boost", - "score": 0.007012073416262865 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.004363608546555042 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.10220186412334442 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.04988927021622658 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4073.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.14845478534698486 + }, + "else": { + "operation": "boost", + "score": -0.05685662850737572 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.020809466019272804 + "score": -0.0609654039144516 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10050761699676514 - }, - "else": { - "operation": "boost", - "score": 0.11580731719732285 - } + "operation": "boost", + "score": -0.22354434430599213 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11452055722475052 - }, - "else": { - "operation": "boost", - "score": 0.027379313483834267 - } + "operation": "boost", + "score": -0.34226199984550476 } } - }, - "else": { - "operation": "boost", - "score": -0.011921325698494911 } - }, - "else": { - "operation": "boost", - "score": -0.032500479370355606 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13693705201148987 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.0002662641345523298 - }, - "else": { - "operation": "boost", - "score": 0.035690128803253174 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.08902600407600403 - }, - "else": { - "operation": "boost", - "score": 0.004176125396043062 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.019096767529845238 - }, - "else": { - "operation": "boost", - "score": -0.04514126107096672 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": -0.03791720047593117 - }, - "else": { - "operation": "boost", - "score": 0.08670175075531006 - } + "operation": "boost", + "score": 0.03947034105658531 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110939.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.04866061359643936 - }, - "else": { - "operation": "boost", - "score": 0.1010517030954361 - } - }, - "else": { - "operation": "boost", - "score": 0.04054633155465126 - } + "operation": "boost", + "score": -0.02481439709663391 } }, "else": { - "operation": "boost", - "score": -0.32224786281585693 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.057892560958862305 + "score": -0.018832022324204445 }, "else": { - "operation": "boost", - "score": -0.13403891026973724 - } - }, - "else": { - "operation": "boost", - "score": -0.016590436920523643 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02761111408472061 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 0.10546383261680603 + }, + "else": { + "operation": "boost", + "score": 0.061343852430582047 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12682892382144928 + }, + "else": { + "operation": "boost", + "score": -0.4465772211551666 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.016366146504878998 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.0, + "then": { + "operation": "boost", + "score": -0.1150425523519516 + }, + "else": { + "operation": "boost", + "score": -0.28307172656059265 + } + } + } + } } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.015857592225074768 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 450197.5, - "then": { - "operation": "boost", - "score": 0.0406775139272213 - }, - "else": { - "operation": "boost", - "score": 0.09349492937326431 - } - }, - "else": { - "operation": "boost", - "score": -0.05045308172702789 - } - } - }, - "else": { - "operation": "boost", - "score": 0.018367625772953033 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.013401973061263561 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.11046498268842697 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.1141665130853653 - }, - "else": { - "operation": "boost", - "score": -0.007541762199252844 - } + "operation": "boost", + "score": -0.25352850556373596 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.06512752920389175 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174.0, + "then": { + "operation": "boost", + "score": -0.016690779477357864 + }, + "else": { + "operation": "boost", + "score": -0.5282344222068787 + } + }, + "else": { + "operation": "boost", + "score": -0.04601944610476494 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.047988250851631165 + "score": 0.1440214365720749 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.03282585367560387 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.022228216752409935 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": 0.015183710493147373 + }, + "else": { + "operation": "boost", + "score": 0.12888339161872864 + } }, "else": { "operation": "boost", - "score": 0.12139711529016495 + "score": 0.01454906165599823 } - }, - "else": { - "operation": "boost", - "score": -0.1144365444779396 } }, "else": { - "operation": "boost", - "score": 0.11742610484361649 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.3341684937477112 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.07534157484769821 + }, + "else": { + "operation": "boost", + "score": 0.026089869439601898 + } + } } } } } - }, - "else": { - "operation": "boost", - "score": 0.10535865277051926 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01284045446664095 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.0, - "then": { - "operation": "boost", - "score": 0.09093550592660904 - }, - "else": { - "operation": "boost", - "score": -0.007866493426263332 } } - } - }, - "else": { - "operation": "boost", - "score": 0.015317412093281746 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135000.5, - "then": { - "operation": "boost", - "score": -0.08667148649692535 - }, - "else": { - "operation": "boost", - "score": 0.006649407558143139 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": -0.030939044430851936 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.004074375610798597 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.4905613660812378 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12508341670036316 + }, + "else": { + "operation": "boost", + "score": 0.18310362100601196 + } + }, + "else": { + "operation": "boost", + "score": 0.06169416382908821 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.6047995090484619 + }, + "else": { + "operation": "boost", + "score": 0.002908359281718731 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 278.5, + "then": { + "operation": "boost", + "score": -0.2780923843383789 + }, + "else": { + "operation": "boost", + "score": 0.02373398095369339 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17692308127880096, + "then": { + "operation": "boost", + "score": -0.10045741498470306 + }, + "else": { + "operation": "boost", + "score": -0.3453295826911926 + } + } + } }, "else": { "operation": "boost", - "score": 0.1106770858168602 + "score": -0.047878507524728775 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.03890620917081833 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 150.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 231.5, + "then": { + "operation": "boost", + "score": -0.09538737684488297 + }, + "else": { + "operation": "boost", + "score": -1.260669469833374 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.04120840132236481 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0723607987165451 + }, + "else": { + "operation": "boost", + "score": 0.12992353737354279 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3452380895614624, + "then": { + "operation": "boost", + "score": -0.01975961960852146 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "boost", + "score": -0.8514857888221741 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04891767352819443 + }, + "else": { + "operation": "boost", + "score": -0.7390273213386536 + } + } + } + } }, "else": { "operation": "boost", - "score": 0.13750946521759033 + "score": 0.018997950479388237 } }, "else": { - "operation": "boost", - "score": -0.009944042190909386 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.0021833789069205523 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 816.0, + "then": { + "operation": "boost", + "score": -0.8798559308052063 + }, + "else": { + "operation": "boost", + "score": 0.0018066087504848838 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.004163412377238274 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.020846592262387276 + }, + "else": { + "operation": "boost", + "score": -0.05090338736772537 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02623804472386837 + }, + "else": { + "operation": "boost", + "score": -0.11361410468816757 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 675.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19960369169712067 + }, + "else": { + "operation": "boost", + "score": 0.0542309544980526 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 632.5, + "then": { + "operation": "boost", + "score": -0.7526670098304749 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 305.0, + "then": { + "operation": "boost", + "score": -0.3352019786834717 + }, + "else": { + "operation": "boost", + "score": 0.018030844628810883 + } + }, + "else": { + "operation": "boost", + "score": -0.06444521248340607 + } + }, + "else": { + "operation": "boost", + "score": -0.01385472808033228 + } + } + } + } + } + } } } } @@ -323597,1290 +326494,1366 @@ }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 274.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04206758365035057 - }, - "else": { - "operation": "boost", - "score": -0.09502160549163818 - } - }, - "else": { - "operation": "boost", - "score": -0.028877463191747665 - } + "operation": "boost", + "score": 0.03779527172446251 }, "else": { "operation": "boost", - "score": -0.007689312566071749 + "score": 0.0005023187259212136 } } } - }, - "else": { - "operation": "boost", - "score": -0.0020793613512068987 } } + }, + "else": { + "operation": "boost", + "score": -0.0004815727879758924 } }, { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 277.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.13695786893367767 + "score": -0.8480251431465149 }, "else": { "operation": "boost", - "score": -0.035682130604982376 + "score": -0.07420989871025085 } }, "else": { - "operation": "boost", - "score": 0.0378655344247818 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.023974018171429634 + }, + "else": { + "operation": "boost", + "score": 0.011825683526694775 + } } }, "else": { - "operation": "boost", - "score": -0.030720701441168785 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.046849533915519714 + }, + "else": { + "operation": "boost", + "score": -0.0900302529335022 + } } }, "else": { - "operation": "boost", - "score": -0.012028241530060768 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.00041807268280535936 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.008611420169472694 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0018617598107084632 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.05588741600513458 + }, + "else": { + "operation": "boost", + "score": 0.007383853662759066 + } + } + } + } + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.01225768867880106 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.5773809552192688, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11187401413917542 - }, - "else": { - "operation": "boost", - "score": 0.11725085228681564 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.7207792401313782, "then": { "operation": "boost", - "score": 0.01731724664568901 + "score": -0.03200972452759743 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.620192289352417, "then": { "operation": "boost", - "score": 0.0820024237036705 + "score": -0.14829163253307343 }, "else": { "operation": "boost", - "score": -0.21239346265792847 + "score": 0.09957122057676315 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09650301933288574 - }, - "else": { - "operation": "boost", - "score": 0.02854950726032257 - } - }, - "else": { - "operation": "boost", - "score": 0.11810562759637833 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1964438557624817 + "score": -0.14466899633407593 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.010002391412854195 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.059043679386377335 + }, + "else": { + "operation": "boost", + "score": 0.09983980655670166 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13507574796676636 + "score": 0.10403776913881302 }, "else": { - "operation": "boost", - "score": 0.052987802773714066 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.17921297252178192 + }, + "else": { + "operation": "boost", + "score": -0.11366179585456848 + } } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { - "operation": "boost", - "score": 0.10617902129888535 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.10115519165992737 + }, + "else": { + "operation": "boost", + "score": -0.05182953551411629 + } }, "else": { "operation": "boost", - "score": 0.11773620545864105 + "score": -0.4210331439971924 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.15623797476291656 + }, + "else": { + "operation": "boost", + "score": -0.0715346485376358 + } }, "else": { "operation": "boost", - "score": 0.02167471870779991 + "score": -0.1511511206626892 } } } + }, + "else": { + "operation": "boost", + "score": 0.004409669898450375 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.0070302607491612434 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.08110447973012924 - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.12232045829296112 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3741258978843689, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.05088741332292557 + }, + "else": { + "operation": "boost", + "score": 0.16785357892513275 + } + }, + "else": { + "operation": "boost", + "score": 0.02868110127747059 + } + }, + "else": { + "operation": "boost", + "score": 0.11672241240739822 + } }, "else": { "operation": "boost", - "score": -0.10977281630039215 + "score": 0.007601628545671701 } }, - "else": { - "operation": "boost", - "score": 0.03952523693442345 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.054148733615875244 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, "then": { "operation": "boost", - "score": -0.24991680681705475 + "score": 0.13845017552375793 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.17153333127498627 - }, - "else": { - "operation": "boost", - "score": 0.12123316526412964 - } + "operation": "boost", + "score": -0.14127175509929657 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.21556618809700012 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.09808763116598129 - }, - "else": { - "operation": "boost", - "score": 0.11962874233722687 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.061721328645944595 + "score": 0.12111812084913254 }, "else": { - "operation": "boost", - "score": 0.1181570291519165 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08377528190612793 + }, + "else": { + "operation": "boost", + "score": 0.09721844643354416 + } } }, "else": { - "operation": "boost", - "score": 0.08144323527812958 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": 0.12532754242420197 + }, + "else": { + "operation": "boost", + "score": 0.1063784807920456 + } + }, + "else": { + "operation": "boost", + "score": -0.09309496730566025 + } + }, + "else": { + "operation": "boost", + "score": 0.13875806331634521 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": 0.10978144407272339 + }, + "else": { + "operation": "boost", + "score": 0.0788348987698555 + } + } } }, "else": { + "operation": "boost", + "score": -0.007363622076809406 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.005489036440849304 + "score": -0.006394598633050919 }, "else": { "operation": "boost", - "score": 0.09522270411252975 + "score": 0.07995717227458954 } - } - } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": -0.20899836719036102 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.00857471115887165 + }, + "else": { + "operation": "boost", + "score": 0.1008729338645935 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.25282371044158936 + }, + "else": { + "operation": "boost", + "score": 0.0026221247389912605 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, + "then": { + "operation": "boost", + "score": -0.25551971793174744 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.027042482048273087 + }, + "else": { + "operation": "boost", + "score": 0.02945656329393387 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "boost", + "score": 0.07481749355792999 + }, + "else": { + "operation": "boost", + "score": 0.10074569284915924 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.11152252554893494 + }, + "else": { + "operation": "boost", + "score": -0.11459991335868835 + } + }, + "else": { + "operation": "boost", + "score": -0.039006706327199936 } } } - }, - "else": { - "operation": "boost", - "score": 0.017468545585870743 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.008888883516192436 + "score": 0.19088388979434967 }, "else": { "operation": "boost", - "score": 0.06179629638791084 + "score": -0.02261563576757908 } }, "else": { + "operation": "boost", + "score": 0.12340857833623886 + } + }, + "else": { + "operation": "boost", + "score": 0.11550804227590561 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": 0.03689263388514519 + }, + "else": { + "operation": "boost", + "score": 0.08737153559923172 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, "then": { "operation": "boost", - "score": -0.13091479241847992 + "score": -0.023509632796049118 }, "else": { "operation": "boost", - "score": 0.09395778179168701 + "score": -0.8918111324310303 } }, "else": { "operation": "boost", - "score": -0.0004760785959661007 + "score": 0.041399795562028885 } - }, - "else": { - "operation": "boost", - "score": 0.06105751916766167 } }, "else": { "operation": "boost", - "score": 0.04266345873475075 + "score": 0.0063812923617661 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "boost", - "score": 0.06109952926635742 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.0015620560152456164 + "score": -0.3297276794910431 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11112193763256073 - }, - "else": { - "operation": "boost", - "score": -0.015774767845869064 - } + "operation": "boost", + "score": 0.054554082453250885 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": 0.07602562755346298 + "score": 0.15008045732975006 }, "else": { "operation": "boost", - "score": -0.10490292310714722 + "score": 0.1267922967672348 } } } + }, + "else": { + "operation": "boost", + "score": -0.00411204295232892 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.018476072698831558 + "score": 0.09746614098548889 }, "else": { "operation": "boost", - "score": -0.132082000374794 + "score": -0.060588520020246506 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.04450180381536484 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.04245605692267418 - }, - "else": { - "operation": "boost", - "score": -0.24293704330921173 - } - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "boost", - "score": -0.11550460755825043 + "score": -0.09841308742761612 }, "else": { - "operation": "boost", - "score": 0.2083941400051117 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.003217885969206691 + }, + "else": { + "operation": "boost", + "score": -0.7866132855415344 + } } }, "else": { - "operation": "boost", - "score": 0.025972405448555946 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.2138472944498062 + }, + "else": { + "operation": "boost", + "score": -0.004559963941574097 + } } + }, + "else": { + "operation": "boost", + "score": -0.44199037551879883 } - }, - "else": { - "operation": "boost", - "score": 0.02248941920697689 } } } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10585463792085648 - }, - "else": { - "operation": "boost", - "score": 0.019953157752752304 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.04823673143982887 - }, - "else": { - "operation": "boost", - "score": -0.21088498830795288 - } - }, - "else": { - "operation": "boost", - "score": 0.01584797538816929 } }, - "else": { - "operation": "boost", - "score": -0.030145123600959778 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0030008077155798674 - }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 42.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.09821166098117828 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010588880628347397 - }, - "else": { - "operation": "boost", - "score": 0.035286154597997665 - } + "operation": "boost", + "score": 0.0707327350974083 }, "else": { "operation": "boost", - "score": -0.18745195865631104 + "score": -1.7015914916992188 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.07238324731588364 }, "else": { "operation": "boost", - "score": 0.07519499957561493 + "score": -0.01709551177918911 } - }, - "else": { - "operation": "boost", - "score": -0.1547868847846985 } } - }, - "else": { - "operation": "boost", - "score": 0.0002526360040064901 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.031014055013656616 + "score": 0.004400012549012899 }, "else": { "operation": "boost", - "score": 0.0596969798207283 + "score": 0.036657217890024185 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.06298814713954926 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05515848845243454 + }, + "else": { + "operation": "boost", + "score": -0.022397173568606377 + } }, "else": { "operation": "boost", - "score": 0.01697051152586937 + "score": -0.07353000342845917 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6076923608779907, "then": { - "operation": "boost", - "score": -0.1012917011976242 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.06176937744021416 + "score": 0.05003568157553673 }, "else": { "operation": "boost", - "score": -0.03964724764227867 + "score": -0.05383343622088432 } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219281.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.10821014642715454 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "boost", + "score": -0.06243978068232536 + }, + "else": { + "operation": "boost", + "score": 0.011053035967051983 + } }, "else": { "operation": "boost", - "score": 0.006888491101562977 + "score": -0.010467610321938992 } - }, - "else": { - "operation": "boost", - "score": 0.0028699992690235376 } - }, - "else": { - "operation": "boost", - "score": -0.018803734332323074 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Function", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.09173119813203812 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { + "operation": "boost", + "score": -0.10282421112060547 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { + "operation": "boost", + "score": 0.0280914343893528 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.36579757928848267 + }, + "else": { + "operation": "boost", + "score": 0.15433956682682037 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.33663415908813477 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.029941817745566368 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.03472084552049637 + "score": 0.03443703055381775 }, "else": { "operation": "boost", - "score": 0.01575714536011219 + "score": -0.28706130385398865 } + }, + "else": { + "operation": "boost", + "score": 0.08678317815065384 } }, "else": { - "operation": "boost", - "score": -0.015231345780193806 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.5, + "then": { + "operation": "boost", + "score": -0.9446399807929993 + }, + "else": { + "operation": "boost", + "score": 0.014987083151936531 + } } - }, - "else": { - "operation": "boost", - "score": 0.027388274669647217 } }, "else": { - "operation": "boost", - "score": -0.019789207726716995 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": -0.02213161066174507 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.020914671942591667 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.09194854646921158 + }, + "else": { + "operation": "boost", + "score": -0.040420934557914734 + } + } + } } - }, - "else": { - "operation": "boost", - "score": -0.10508742928504944 } - }, - "else": { - "operation": "boost", - "score": -0.006524031516164541 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, "then": { "operation": "boost", - "score": -0.014706515707075596 + "score": -0.016581695526838303 }, "else": { "operation": "boost", - "score": -0.031762801110744476 + "score": 0.029070686548948288 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.036185938864946365 - }, - "else": { - "operation": "boost", - "score": -0.04177619144320488 - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.009361336007714272 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.031635582447052 - }, - "else": { - "operation": "boost", - "score": -0.11734914034605026 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 20.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.08056730031967163 + "score": -0.0529729500412941 }, "else": { - "operation": "boost", - "score": 0.09316180646419525 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.007131829857826233 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.14201897382736206 + }, + "else": { + "operation": "boost", + "score": 0.1623028814792633 + } + }, + "else": { + "operation": "boost", + "score": 0.06596869975328445 + } }, "else": { "operation": "boost", - "score": 0.10781136155128479 + "score": 0.033674631267786026 } - }, - "else": { - "operation": "boost", - "score": -0.19390304386615753 } + }, + "else": { + "operation": "boost", + "score": -0.02376948855817318 } }, "else": { - "operation": "boost", - "score": -0.0011864195112138987 - } - } - }, - "else": { - "operation": "boost", - "score": -0.015014315024018288 - } - }, - "else": { - "operation": "boost", - "score": -0.006146968342363834 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.02141869254410267 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.0, "then": { "operation": "boost", - "score": 0.1340135782957077 + "score": -0.32137203216552734 }, "else": { "operation": "boost", - "score": -0.04606667906045914 + "score": -0.06497550010681152 } - }, - "else": { - "operation": "boost", - "score": 0.0005967382458038628 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10083575546741486 - }, - "else": { - "operation": "boost", - "score": 0.1275259256362915 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04461684450507164 - }, - "else": { - "operation": "boost", - "score": 0.053597111254930496 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -1.0805878639221191 }, "else": { "operation": "boost", - "score": -0.026652932167053223 + "score": -0.0021849237382411957 } } } @@ -324888,1261 +327861,1460 @@ } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.10736044496297836 + }, + "else": { + "operation": "boost", + "score": -0.016872186213731766 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0001645968877710402 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101593.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145961.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.016984935849905014 + }, + "else": { + "operation": "boost", + "score": -0.036971963942050934 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4017857313156128, + "then": { + "operation": "boost", + "score": -0.7297602891921997 + }, + "else": { + "operation": "boost", + "score": -0.10929598659276962 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114340.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 167779.0, "then": { + "operation": "boost", + "score": 0.0139124421402812 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.3924272358417511 + "score": -0.12664592266082764 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.05029893293976784 + "score": 0.06800809502601624 }, "else": { "operation": "boost", - "score": 0.10127002000808716 + "score": -0.010971518233418465 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111169.5, "then": { - "operation": "boost", - "score": 0.03680209815502167 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10136868059635162 + }, + "else": { + "operation": "boost", + "score": 0.02740597352385521 + } }, "else": { - "operation": "boost", - "score": -0.6474971771240234 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09470541030168533 + }, + "else": { + "operation": "boost", + "score": 0.02336004376411438 + } } + }, + "else": { + "operation": "boost", + "score": -0.20436842739582062 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118067.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207505.0, + "then": { + "operation": "boost", + "score": -0.010232306085526943 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 203324.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.02594994567334652 + }, + "else": { + "operation": "boost", + "score": -0.0956331416964531 + } + }, + "else": { + "operation": "boost", + "score": -0.10023853182792664 + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 132310.5, "then": { "operation": "boost", - "score": -0.003434708109125495 + "score": -0.06425553560256958 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.0928109660744667 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.17260314524173737 + }, + "else": { + "operation": "boost", + "score": 0.0947800800204277 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.059650495648384094 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.11937430500984192 + }, + "else": { + "operation": "boost", + "score": -0.10467062145471573 + } + } + }, + "else": { + "operation": "boost", + "score": 0.035342007875442505 + } + }, + "else": { + "operation": "boost", + "score": -0.12284400314092636 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 167779.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 196353.5, + "then": { + "operation": "boost", + "score": -0.20246101915836334 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05171973630785942 + }, + "else": { + "operation": "boost", + "score": -0.1531537026166916 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 160645.0, + "then": { + "operation": "boost", + "score": -0.164509117603302 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.06601563841104507 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 152619.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.05594499781727791 + }, + "else": { + "operation": "boost", + "score": 0.15251678228378296 + } + }, + "else": { + "operation": "boost", + "score": 0.011548863723874092 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03732043504714966 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.009968781843781471 + }, + "else": { + "operation": "boost", + "score": -0.06217259168624878 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.2892310321331024 + }, + "else": { + "operation": "boost", + "score": -0.03028896078467369 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.0, "then": { "operation": "boost", - "score": 0.09700210392475128 + "score": 0.09122284501791 }, "else": { "operation": "boost", - "score": 0.021105028688907623 + "score": -0.0028369338251650333 } + }, + "else": { + "operation": "boost", + "score": 0.10295052081346512 } }, "else": { "operation": "boost", - "score": -0.5144620537757874 + "score": 0.06972058117389679 } }, "else": { + "operation": "boost", + "score": 0.02624540589749813 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Function" + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.06490453332662582 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.10527048259973526 + }, + "else": { + "operation": "boost", + "score": -0.10270216315984726 + } }, "else": { - "operation": "boost", - "score": -0.0345194935798645 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.09634023159742355 + }, + "else": { + "operation": "boost", + "score": 0.03278364986181259 + } } + }, + "else": { + "operation": "boost", + "score": -0.12474633008241653 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.00022941002680454403 - } - } - }, - { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06010254845023155 - }, - "else": { - "operation": "boost", - "score": 0.08548223972320557 - } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.17741985619068146 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.0652896910905838 + "score": 0.08729731291532516 }, "else": { "operation": "boost", - "score": 0.002657294739037752 + "score": -0.047413263469934464 } + }, + "else": { + "operation": "boost", + "score": -0.1638631373643875 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94712.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2408752143383026 + }, + "else": { + "operation": "boost", + "score": -0.13809765875339508 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 93746.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": -0.07662549614906311 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.009925659745931625 + }, + "else": { + "operation": "boost", + "score": -0.31004083156585693 + } + }, + "else": { + "operation": "boost", + "score": 0.07820145040750504 + } + }, + "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1339312642812729 + "score": 0.16720332205295563 }, "else": { "operation": "boost", - "score": -0.2125571370124817 + "score": 0.08679547905921936 } - }, - "else": { - "operation": "boost", - "score": -0.13441121578216553 } + }, + "else": { + "operation": "boost", + "score": -0.08987413346767426 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.0, + "threshold": 92754.0, "then": { - "operation": "boost", - "score": 0.09224024415016174 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.30528727173805237 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.17989878356456757 + }, + "else": { + "operation": "boost", + "score": -0.13305401802062988 + } + } }, "else": { - "operation": "boost", - "score": -0.09168242663145065 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 57410.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 59476.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 61155.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "boost", - "score": 0.0037375465035438538 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7959.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8751.0, - "then": { - "operation": "boost", - "score": 0.07503686845302582 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8573.5, - "then": { - "operation": "boost", - "score": 0.10286301374435425 - }, - "else": { - "operation": "boost", - "score": 0.07340869307518005 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2589.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3463.5, - "then": { - "operation": "boost", - "score": -0.0071105039678514 - }, - "else": { - "operation": "boost", - "score": 0.1035982146859169 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.01753547601401806 - }, - "else": { - "operation": "boost", - "score": -0.49374544620513916 - } - }, - "else": { - "operation": "boost", - "score": 0.08262507617473602 - } - }, - "else": { - "operation": "boost", - "score": -0.25596871972084045 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04001140967011452 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.026994751766324043 - } + "operation": "boost", + "score": 0.040190499275922775 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.08799639344215393 + "score": 0.14261756837368011 }, "else": { "operation": "boost", - "score": -0.06988973915576935 + "score": 0.08291058987379074 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 90101.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { + "operation": "boost", + "score": 0.09441298246383667 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.22015999257564545 + "score": -0.1410001516342163 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.006285248789936304 - }, - "else": { - "operation": "boost", - "score": 0.10415960103273392 - } + "operation": "boost", + "score": -0.33129560947418213 } - }, - "else": { - "operation": "boost", - "score": 0.11034499108791351 } }, "else": { "operation": "boost", - "score": 0.021126385778188705 + "score": 0.006534229498356581 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 73859.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 75472.0, "then": { "operation": "boost", - "score": 0.08493878692388535 + "score": -0.0033640838228166103 }, "else": { - "operation": "boost", - "score": -0.13108596205711365 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3392.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.05463699996471405 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 74698.5, "then": { "operation": "boost", - "score": 0.06550636142492294 + "score": 0.09933385998010635 }, "else": { "operation": "boost", - "score": 0.1001463532447815 + "score": 0.016405556350946426 } + }, + "else": { + "operation": "boost", + "score": 0.017953040078282356 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06187942251563072 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203.0, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { - "operation": "boost", - "score": -0.6707778573036194 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.020942743867635727 + }, + "else": { + "operation": "boost", + "score": -0.13405266404151917 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 170.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": -0.056537169963121414 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04904096946120262 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.13794709742069244 + }, + "else": { + "operation": "boost", + "score": 0.11233338713645935 + } + } }, "else": { "operation": "boost", - "score": 0.12001729756593704 + "score": 0.04734392464160919 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, - "then": { - "operation": "boost", - "score": -0.727903425693512 - }, - "else": { - "operation": "boost", - "score": -0.030436426401138306 - } + "operation": "boost", + "score": -0.1212863102555275 } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 558.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 867.5, - "then": { - "operation": "boost", - "score": 0.008163847960531712 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 776.5, + "threshold": 61550.0, "then": { "operation": "boost", - "score": 0.11478810757398605 + "score": 0.00577909592539072 }, "else": { "operation": "boost", - "score": 0.028067993000149727 + "score": -0.06658333539962769 } } }, "else": { - "operation": "boost", - "score": -0.015178145840764046 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.09660597890615463 + "score": -0.0662144273519516 }, "else": { - "operation": "boost", - "score": -0.6656498312950134 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.2930571734905243 + }, + "else": { + "operation": "boost", + "score": -0.11908190697431564 + } } - }, - "else": { - "operation": "boost", - "score": 0.08616834133863449 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03332686051726341 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1563.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1881.0, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0852402076125145 - }, - "else": { - "operation": "boost", - "score": -0.19030368328094482 - } + "operation": "boost", + "score": 0.10410212725400925 }, "else": { "operation": "boost", - "score": 0.10394328832626343 + "score": -0.24157564342021942 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.17654705047607422 - }, - "else": { - "operation": "boost", - "score": 0.0320681668817997 - } + "operation": "boost", + "score": -0.15129606425762177 } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.10711188614368439 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "boost", - "score": -0.08133924007415771 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57673.0, + "then": { + "operation": "boost", + "score": 0.05895916000008583 + }, + "else": { + "operation": "boost", + "score": -0.49872633814811707 + } }, "else": { - "operation": "boost", - "score": 0.09640238434076309 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.009179751388728619 + "score": 0.06225619092583656 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.10760516673326492 - }, - "else": { - "operation": "boost", - "score": 0.11237253993749619 - } - }, - "else": { - "operation": "boost", - "score": -0.385940283536911 - } - }, - "else": { - "operation": "boost", - "score": 0.02584495209157467 - } + "operation": "boost", + "score": 0.11594967544078827 } }, "else": { "operation": "boost", - "score": -0.0913144201040268 + "score": -0.03669889643788338 } - }, - "else": { - "operation": "boost", - "score": 0.1094621866941452 } }, "else": { + "operation": "boost", + "score": 0.04011772200465202 + } + } + }, + "else": { + "operation": "boost", + "score": -0.14845460653305054 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.13202494382858276 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.1052454486489296 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": -0.8808537721633911 - }, - "else": { - "operation": "boost", - "score": 0.1267196536064148 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.8107118010520935 - }, - "else": { - "operation": "boost", - "score": 0.12117592245340347 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10073527693748474 - }, - "else": { - "operation": "boost", - "score": -0.032635465264320374 - } - }, - "else": { - "operation": "boost", - "score": -0.06461624801158905 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.3508301377296448 - }, - "else": { - "operation": "boost", - "score": 0.027520939707756042 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11072304099798203 - }, - "else": { - "operation": "boost", - "score": -0.1232684999704361 - } - }, - "else": { - "operation": "boost", - "score": 0.058879364281892776 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.0760679543018341 - }, - "else": { - "operation": "boost", - "score": -0.13418301939964294 - } - }, - "else": { - "operation": "boost", - "score": 0.1104634553194046 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0035281393211334944 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.7947765588760376 - }, - "else": { - "operation": "boost", - "score": -0.04579384997487068 - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -2.864040834538173e-05 + "score": 0.1978609263896942 }, "else": { "operation": "boost", - "score": 0.09119075536727905 + "score": 0.13839086890220642 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.07493621855974197, "then": { "operation": "boost", - "score": -0.44802945852279663 + "score": 0.12857066094875336 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.05869950354099274 - }, - "else": { - "operation": "boost", - "score": -0.042023930698633194 - } + "operation": "boost", + "score": 0.058219972997903824 } } }, "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09426884353160858 + }, + "else": { + "operation": "boost", + "score": -0.12181192636489868 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.12695707380771637 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46.5, + "threshold": 55726.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.05897641181945801 + "score": 0.08890662342309952 }, "else": { "operation": "boost", - "score": 0.09392169117927551 + "score": -0.0051816049963235855 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10608716309070587 - }, - "else": { - "operation": "boost", - "score": 0.10728456825017929 - } - }, - "else": { - "operation": "boost", - "score": -0.2751978933811188 - } + "operation": "boost", + "score": 0.08021238446235657 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": -0.5302497148513794 - }, - "else": { - "operation": "boost", - "score": 0.081718310713768 - } - }, - "else": { - "operation": "boost", - "score": -0.46977493166923523 - } + "operation": "boost", + "score": -0.2954293191432953 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10060533136129379 + "score": 0.08956685662269592 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.31519246101379395 - }, - "else": { - "operation": "boost", - "score": 0.1003301590681076 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1053013950586319 - }, - "else": { - "operation": "boost", - "score": -0.013304569758474827 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09406092017889023 - }, - "else": { - "operation": "boost", - "score": -0.6827035546302795 - } - } - } + "operation": "boost", + "score": 0.13518837094306946 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.3605172634124756 + }, + "else": { + "operation": "boost", + "score": -0.05847952514886856 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51599.0, + "then": { + "operation": "boost", + "score": -0.022670641541481018 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", - "score": 0.12128893285989761 + "score": 0.13915467262268066 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.08576695621013641 + "score": 0.08331090211868286 }, "else": { "operation": "boost", - "score": 0.08932241052389145 + "score": -0.21063075959682465 } } } + }, + "else": { + "operation": "boost", + "score": -0.08767427504062653 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0037405905313789845 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44693.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 45000.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 45617.0, "then": { "operation": "boost", - "score": -0.029770171269774437 + "score": 0.022834520787000656 }, "else": { - "operation": "boost", - "score": 0.008978168480098248 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.07524415850639343 + }, + "else": { + "operation": "boost", + "score": -0.1551995724439621 + } } }, "else": { - "operation": "boost", - "score": 0.010542323812842369 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.03547479584813118 + "score": 0.09911230951547623 }, "else": { "operation": "boost", - "score": 0.10466492176055908 + "score": -0.09323149919509888 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.0386219397187233 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { + "operation": "boost", + "score": -0.16471844911575317 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44220.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06724726408720016 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ @@ -326150,1278 +329322,751 @@ ], "then": { "operation": "boost", - "score": 0.07451562583446503 + "score": 0.10169947147369385 }, "else": { "operation": "boost", - "score": -0.0011900727404281497 + "score": 0.11359751969575882 } + }, + "else": { + "operation": "boost", + "score": -0.04853108152747154 } - } - }, - "else": { - "operation": "boost", - "score": 0.03513381630182266 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0014817174524068832 - } - }, - "else": { - "operation": "boost", - "score": 0.000816730665974319 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.06623344123363495 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12123763561248779 - }, - "else": { - "operation": "boost", - "score": 0.06262266635894775 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.006196929607540369 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.040828753262758255 }, "else": { "operation": "boost", - "score": -0.14756964147090912 + "score": -5.74454061279539e-05 } - }, - "else": { - "operation": "boost", - "score": 0.04795445129275322 } } } - }, - "else": { - "operation": "boost", - "score": -0.0185096375644207 } } } - }, - "else": { - "operation": "boost", - "score": -0.0005404078401625156 } - }, - "else": { - "operation": "boost", - "score": -0.06330560892820358 } } }, { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 292981.5, + "threshold": 737.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1028.0, + "then": { + "operation": "boost", + "score": -0.07324014604091644 + }, + "else": { + "operation": "boost", + "score": -1.4482755661010742 + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { + "operation": "boost", + "score": 0.008806176483631134 + }, + "else": { + "operation": "boost", + "score": -0.0935356393456459 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 371.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 387.0, + "then": { + "operation": "boost", + "score": 0.019158847630023956 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.1269841343164444, "then": { + "operation": "boost", + "score": 0.12656040489673615 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.057739175856113434 + }, + "else": { + "operation": "boost", + "score": 0.10479813069105148 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.055179279297590256 + "score": -0.06074336916208267 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 398484.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.1995193064212799 + }, + "else": { + "operation": "boost", + "score": -0.038253482431173325 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.029411764815449715, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.09153558313846588 + "score": -0.05544697493314743 }, "else": { "operation": "boost", - "score": 0.0944083109498024 + "score": 0.11051172763109207 } }, "else": { "operation": "boost", - "score": -0.031952500343322754 + "score": -0.006607314571738243 } - } - }, - "else": { - "operation": "boost", - "score": -0.0056165531277656555 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07732664793729782 - }, - "else": { - "operation": "boost", - "score": -0.01569921337068081 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.10499832779169083 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 306389.0, + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.20620740950107574 + "score": -0.010282697156071663 }, "else": { - "operation": "boost", - "score": 0.07803408801555634 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.1700061857700348 + }, + "else": { + "operation": "boost", + "score": -0.03869837895035744 + } } } } - } - }, - "else": { - "operation": "boost", - "score": 0.01459662988781929 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0010279575362801552 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.014157391153275967 + "score": -0.13554616272449493 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.09649620205163956 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.7386363744735718, "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.029774963855743408 + }, + "else": { + "operation": "boost", + "score": -0.16787216067314148 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "boost", + "score": 0.05180668085813522 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { - "operation": "boost", - "score": 0.07245223969221115 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": 0.11116103827953339 + }, + "else": { + "operation": "boost", + "score": 0.014249339699745178 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12092971801757812 + "score": -0.06408609449863434 }, "else": { "operation": "boost", - "score": -0.12645216286182404 + "score": 0.01637667790055275 } } - }, - "else": { - "operation": "boost", - "score": 0.07923030108213425 } - }, - "else": { - "operation": "boost", - "score": -0.02441822551190853 } + }, + "else": { + "operation": "boost", + "score": -0.03736458718776703 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.05698477104306221 + "score": 0.040681350976228714 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09294446557760239 - }, - "else": { - "operation": "boost", - "score": 0.047695357352495193 - } + "operation": "boost", + "score": 0.021082943305373192 } } } }, "else": { - "operation": "boost", - "score": -0.008302743546664715 - } - }, - "else": { - "operation": "boost", - "score": -2.6575333322398365e-05 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Constructor" - ], - "then": { - "operation": "boost", - "score": 0.012053263373672962 - }, - "else": { - "operation": "boost", - "score": -0.010709322057664394 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "boost", - "score": 0.004976572003215551 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.048765674233436584 + "score": 0.06736931949853897 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "boost", - "score": 0.13975076377391815 + "score": -0.045933619141578674 }, "else": { - "operation": "boost", - "score": 0.07473945617675781 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.07457973808050156 + }, + "else": { + "operation": "boost", + "score": 0.014219882898032665 + } } } + }, + "else": { + "operation": "boost", + "score": -0.1174779012799263 } }, "else": { - "operation": "boost", - "score": -0.010600385256111622 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 475.5, - "then": { - "operation": "boost", - "score": 0.08161401003599167 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": -0.07199607044458389 + "score": -0.010669343173503876 }, "else": { "operation": "boost", - "score": 0.006414922885596752 + "score": -0.04236571118235588 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 194.5, + "operation": "boost", + "score": 0.012846979312598705 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.03232298791408539 + "score": 0.07070329040288925 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10739361494779587 - }, - "else": { - "operation": "boost", - "score": 0.070391446352005 - } + "operation": "boost", + "score": 0.026703940704464912 } - }, - "else": { - "operation": "boost", - "score": -0.026009034365415573 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.04109989106655121 - }, - "else": { - "operation": "boost", - "score": 0.13628047704696655 - } + "operation": "boost", + "score": 0.0017822090303525329 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13901248574256897 }, "else": { "operation": "boost", - "score": -0.025769967585802078 + "score": 8.37091647554189e-05 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "boost", + "score": 0.05651529133319855 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08711259067058563 + }, + "else": { + "operation": "boost", + "score": 0.017963862046599388 + } } } } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.007871419191360474 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.011835573241114616 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 26.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12198799103498459 + "score": -0.19047518074512482 }, "else": { - "operation": "boost", - "score": 0.06684277951717377 - } - }, - "else": { - "operation": "boost", - "score": 0.047753576189279556 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.014997153542935848 - }, - "else": { - "operation": "boost", - "score": 0.00572931906208396 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.0013412612024694681 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 32.0, + "then": { + "operation": "boost", + "score": -0.33499011397361755 + }, + "else": { + "operation": "boost", + "score": -0.05353802815079689 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { "operation": "boost", - "score": 0.007505600806325674 + "score": 0.1538870632648468 }, "else": { - "operation": "boost", - "score": -0.010968637652695179 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.06041456758975983 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09361445158720016 - }, - "else": { - "operation": "boost", - "score": 0.11670615524053574 - } + "operation": "boost", + "score": -0.0437094047665596 }, "else": { "operation": "boost", - "score": -0.7843937277793884 + "score": 0.08839388936758041 } }, "else": { "operation": "boost", - "score": -0.07115644961595535 + "score": -0.15297408401966095 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10030461847782135 - }, - "else": { - "operation": "boost", - "score": 0.11213864386081696 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "boost", - "score": -0.11699500679969788 + "score": -0.017330987378954887 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.085477314889431 - }, - "else": { - "operation": "boost", - "score": 0.0 - } + "operation": "boost", + "score": 0.1823238879442215 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.4226550757884979 - }, - "else": { - "operation": "boost", - "score": 0.08462687581777573 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.11269166320562363 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.13729070127010345 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0969068855047226 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.029669957235455513 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.14240950345993042 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12159336358308792 - }, - "else": { - "operation": "boost", - "score": -0.10860514640808105 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.07729616016149521 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09176503866910934 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13316014409065247 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "boost", - "score": 0.07387275248765945 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.014749920926988125 + "score": -0.1257522851228714 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.019356975331902504 - }, - "else": { - "operation": "boost", - "score": 0.045501500368118286 - } + "operation": "boost", + "score": 0.11809361726045609 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.0846891850233078 }, "else": { "operation": "boost", - "score": 0.019321003928780556 + "score": -0.004889274947345257 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { "operation": "boost", - "score": -0.11379364132881165 + "score": -0.12988914549350739 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06089634820818901 - }, - "else": { - "operation": "boost", - "score": 0.13500060141086578 - } + "operation": "boost", + "score": -0.32367900013923645 }, "else": { "operation": "boost", - "score": 0.05302591994404793 + "score": -0.07513908296823502 } } }, "else": { "operation": "boost", - "score": 0.0473414808511734 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0004833569109905511 - } - }, - "else": { - "operation": "boost", - "score": -0.0025120878126472235 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09143585711717606 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03665890172123909 - }, - "else": { - "operation": "boost", - "score": -0.17614521086215973 - } - }, - "else": { - "operation": "boost", - "score": -0.02310977689921856 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.004468098282814026 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 902.0, - "then": { - "operation": "boost", - "score": 0.08891133219003677 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.0, - "then": { - "operation": "boost", - "score": -0.21819841861724854 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.0, - "then": { - "operation": "boost", - "score": 0.10110213607549667 - }, - "else": { - "operation": "boost", - "score": -0.056421633809804916 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11468454450368881 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": -0.12274354696273804 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": 0.10593260824680328 - }, - "else": { - "operation": "boost", - "score": -0.15905240178108215 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08213836699724197 - }, - "else": { - "operation": "boost", - "score": -0.06871877610683441 + "score": -0.015458645299077034 } }, "else": { "operation": "boost", - "score": 0.12897127866744995 + "score": -1.2680813074111938 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "boost", - "score": -0.3982486128807068 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 125.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 230.0, "then": { "operation": "boost", - "score": 0.02816588617861271 + "score": -0.0432833731174469 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.10913901031017303 - }, - "else": { - "operation": "boost", - "score": -0.01080633420497179 - } + "operation": "boost", + "score": 0.09849271923303604 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { "operation": "boost", - "score": -0.7335802912712097 + "score": -0.18496392667293549 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "boost", - "score": 0.10915285348892212 + "score": 0.1941017508506775 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.031484268605709076 - }, - "else": { - "operation": "boost", - "score": -0.0553278774023056 - } + "operation": "boost", + "score": -0.10973667353391647 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.09530458599328995 + "score": 0.003945768810808659 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.10922630876302719 - }, - "else": { - "operation": "boost", - "score": 0.055859945714473724 - } + "operation": "boost", + "score": 0.04763262718915939 } } } } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.06260286271572113 + }, + "else": { + "operation": "boost", + "score": -0.0013195981737226248 + } } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.021853163838386536 + "score": -0.1462298482656479 }, "else": { - "operation": "boost", - "score": -0.13090580701828003 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 206.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06992845237255096 + }, + "else": { + "operation": "boost", + "score": -0.08736316114664078 + } + }, + "else": { + "operation": "boost", + "score": 0.005516953766345978 + } } } } @@ -327429,1034 +330074,1251 @@ } } } + }, + "else": { + "operation": "boost", + "score": 0.0009908560896292329 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1806.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1907.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2003.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2047.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 2089.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.03279587998986244 - }, - "else": { - "operation": "boost", - "score": 0.0276038721203804 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2090.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.005554351024329662 + "score": 0.0028941307682543993 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.13303391635417938 + "score": 0.017366576939821243 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0951056107878685 - }, - "else": { - "operation": "boost", - "score": -0.10610458999872208 - } + "operation": "boost", + "score": -0.010926932096481323 } } }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.18162739276885986 + }, + "else": { + "operation": "boost", + "score": 0.08947567641735077 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2074.5, + "then": { + "operation": "boost", + "score": -0.15761154890060425 + }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0657811239361763 - }, - "else": { - "operation": "boost", - "score": -0.12867006659507751 - } + "operation": "boost", + "score": 0.11731890588998795 }, "else": { "operation": "boost", - "score": -0.059510041028261185 + "score": -0.01585487090051174 } } } }, "else": { - "operation": "boost", - "score": -0.0233792532235384 - } - }, - "else": { - "operation": "boost", - "score": 0.007678324356675148 - } - }, - "else": { - "operation": "boost", - "score": 0.003343840828165412 - } - }, - "else": { - "operation": "boost", - "score": -0.0018491409718990326 - } - } - }, - { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0002683565835468471 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ClassOrStructTag" ], "then": { + "operation": "boost", + "score": 0.12135050445795059 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 271.5, - "then": { - "operation": "boost", - "score": 0.06296020746231079 - }, - "else": { - "operation": "boost", - "score": -0.5534387826919556 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, + "threshold": 2038.5, "then": { - "operation": "boost", - "score": 0.09785646945238113 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.07140224426984787 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.08846154063940048, "then": { "operation": "boost", - "score": 0.04077741503715515 + "score": 0.09706849604845047 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 2044.0, "then": { "operation": "boost", - "score": -0.06396150588989258 + "score": 0.2149071842432022 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 2040.5, "then": { "operation": "boost", - "score": 0.12016892433166504 + "score": -0.026459552347660065 }, "else": { "operation": "boost", - "score": 0.07271730154752731 + "score": 0.12015338987112045 } } } }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.1490248292684555 + }, + "else": { + "operation": "boost", + "score": -0.17059578001499176 + } + } + }, + "else": { + "operation": "boost", + "score": 0.16561497747898102 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2010.5, + "then": { + "operation": "boost", + "score": 0.028027834370732307 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11770686507225037 + }, + "else": { + "operation": "boost", + "score": 0.11636216938495636 + } + }, + "else": { + "operation": "boost", + "score": -0.0549236498773098 + } + }, "else": { "operation": "boost", - "score": -2.4860033988952637 + "score": 0.11423493921756744 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.4990866482257843 }, "else": { "operation": "boost", - "score": 0.012410130351781845 + "score": -0.08519325405359268 } + }, + "else": { + "operation": "boost", + "score": 0.1535630226135254 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1988.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1991.5, + "then": { + "operation": "boost", + "score": -0.04058655723929405 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1115301176905632 - }, - "else": { - "operation": "boost", - "score": -0.23293966054916382 - } + "operation": "boost", + "score": -1.638249397277832 }, "else": { + "operation": "boost", + "score": -0.23676824569702148 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.13762183487415314 + }, + "else": { + "operation": "boost", + "score": -0.013322889804840088 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.20292730629444122 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "boost", - "score": -0.5890836715698242 + "score": 0.13828814029693604 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 1827.0, "then": { "operation": "boost", - "score": 0.020395681262016296 + "score": 0.07296479493379593 }, "else": { "operation": "boost", - "score": -0.13043390214443207 + "score": 0.1234966292977333 } } + }, + "else": { + "operation": "boost", + "score": 0.07241295278072357 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.049074072390794754 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0847054049372673 - }, - "else": { - "operation": "boost", - "score": 0.05259379744529724 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "threshold": 1825.5, "then": { - "operation": "boost", - "score": -0.39613139629364014 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 1827.5, "then": { - "operation": "boost", - "score": 0.09298119693994522 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 1845.0, "then": { "operation": "boost", - "score": -0.037210822105407715 + "score": 0.04678219556808472 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 1841.5, "then": { "operation": "boost", - "score": 0.14342723786830902 + "score": 0.13164298236370087 }, "else": { "operation": "boost", - "score": 0.028115270659327507 + "score": -0.07954077422618866 } } }, "else": { "operation": "boost", - "score": -0.18447759747505188 + "score": 0.0651034340262413 } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07852162420749664 }, "else": { "operation": "boost", - "score": -0.2528441548347473 + "score": 0.41312453150749207 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.12384413927793503 - }, - "else": { - "operation": "boost", - "score": 0.10987933725118637 - } + "operation": "boost", + "score": 0.18527939915657043 }, "else": { "operation": "boost", - "score": 0.050941433757543564 + "score": -0.028962397947907448 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04794720560312271 - }, - "else": { - "operation": "boost", - "score": 0.06644700467586517 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.03883935511112213 - }, - "else": { - "operation": "boost", - "score": 0.08812187612056732 - } - }, - "else": { - "operation": "boost", - "score": -0.061083946377038956 - } - } + "operation": "boost", + "score": -0.050160206854343414 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 1812.5, "then": { - "operation": "boost", - "score": 0.044642046093940735 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1876.0, + "then": { + "operation": "boost", + "score": 0.148194819688797 + }, + "else": { + "operation": "boost", + "score": -0.11608214676380157 + } + }, + "else": { + "operation": "boost", + "score": 0.03229799121618271 + } + }, + "else": { + "operation": "boost", + "score": -0.03651171922683716 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.05079155042767525 + "score": -0.18767884373664856 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 39.0, + "threshold": 1810.5, "then": { "operation": "boost", - "score": -0.8270891904830933 + "score": 0.1957664042711258 }, "else": { - "operation": "boost", - "score": -0.03834613040089607 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.2807612717151642 + }, + "else": { + "operation": "boost", + "score": -0.027034761384129524 + } } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1788.5, + "then": { + "operation": "boost", + "score": -0.10766327381134033 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1787.5, + "then": { + "operation": "boost", + "score": 0.24600163102149963 + }, + "else": { + "operation": "boost", + "score": -0.0002448581508360803 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0007593914051540196 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.0018530839588493109 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 286024.5, "then": { "operation": "boost", - "score": 0.016731664538383484 + "score": 0.11697618663311005 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0703202411532402 - }, - "else": { - "operation": "boost", - "score": -0.13630296289920807 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 28.5, "then": { "operation": "boost", - "score": -0.0033679683692753315 + "score": -0.046392492949962616 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.0033703241497278214 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.057514045387506485 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.1492249071598053 + }, + "else": { + "operation": "boost", + "score": 0.32624098658561707 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.061453599482774734 + }, + "else": { + "operation": "boost", + "score": -0.5033336877822876 + } + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.14079706370830536 + "score": -0.07275994122028351 }, "else": { "operation": "boost", - "score": 0.10762742161750793 + "score": 0.01201715599745512 } } } }, "else": { - "operation": "boost", - "score": -0.21708887815475464 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.05091595649719238 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1016.0, + "then": { + "operation": "boost", + "score": -0.05183624476194382 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 312.0, + "then": { + "operation": "boost", + "score": 0.13800999522209167 + }, + "else": { + "operation": "boost", + "score": 0.12187745422124863 + } + }, + "else": { + "operation": "boost", + "score": -0.12653301656246185 + } + }, + "else": { + "operation": "boost", + "score": 0.35796937346458435 + } + }, + "else": { + "operation": "boost", + "score": -0.08539354056119919 + } + } }, "else": { "operation": "boost", - "score": 0.10504695028066635 + "score": 0.02333320491015911 } }, "else": { "operation": "boost", - "score": 0.00882426742464304 + "score": 0.6897934079170227 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.019484711810946465 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.21414905786514282 - }, - "else": { - "operation": "boost", - "score": 0.10378621518611908 - } - } + "operation": "boost", + "score": 0.043157149106264114 } - }, - "else": { - "operation": "boost", - "score": -0.020294660702347755 } }, "else": { - "operation": "boost", - "score": 0.006539677735418081 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5316.0, + "then": { + "operation": "boost", + "score": -0.11671200394630432 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4326.0, + "then": { + "operation": "boost", + "score": 0.28388121724128723 + }, + "else": { + "operation": "boost", + "score": 0.00678632128983736 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.012416910380125046 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 760.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33610.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03056390769779682 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.24683961272239685 - }, - "else": { - "operation": "boost", - "score": 0.1327289640903473 - } - }, - "else": { - "operation": "boost", - "score": 0.1905146837234497 - } - } + "operation": "boost", + "score": -0.10495191067457199 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 393.0, - "then": { - "operation": "boost", - "score": 0.10055378824472427 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.14446179568767548 - }, - "else": { - "operation": "boost", - "score": 0.11991619318723679 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.07236587256193161 - }, - "else": { - "operation": "boost", - "score": -0.19380560517311096 - } - } - } + "operation": "boost", + "score": 0.034295447170734406 } }, "else": { "operation": "boost", - "score": 0.031701020896434784 + "score": 0.0698467269539833 } }, "else": { "operation": "boost", - "score": 0.10638118535280228 + "score": -0.03142178803682327 } }, "else": { - "operation": "boost", - "score": 0.16214226186275482 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 134.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10.5, + "threshold": 167.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.3121412992477417 - }, - "else": { - "operation": "boost", - "score": 0.12656421959400177 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.01425214298069477 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.29417234659194946 - }, - "else": { - "operation": "boost", - "score": 0.17687374353408813 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 647.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 679.0, "then": { "operation": "boost", - "score": -0.10515440255403519 + "score": -0.1099928468465805 }, "else": { "operation": "boost", - "score": 0.12175451219081879 + "score": 0.6294713020324707 } }, "else": { "operation": "boost", - "score": 0.12900736927986145 + "score": 0.03916255757212639 } }, "else": { - "operation": "boost", - "score": 0.14291241765022278 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.10655096173286438 - }, - "else": { - "operation": "boost", - "score": 0.06818380206823349 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.18934430181980133 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.1125461757183075 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 230.5, + "then": { + "operation": "boost", + "score": 0.11799488216638565 + }, + "else": { + "operation": "boost", + "score": -0.10365477204322815 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.2284148782491684 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 597.0, + "then": { + "operation": "boost", + "score": 0.10524336248636246 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 549.5, + "then": { + "operation": "boost", + "score": -0.5144639611244202 + }, + "else": { + "operation": "boost", + "score": 0.012117505073547363 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 473.0, + "then": { + "operation": "boost", + "score": -0.058196645230054855 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 454.5, + "then": { + "operation": "boost", + "score": 0.12882889807224274 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 357.5, + "then": { + "operation": "boost", + "score": -0.03857472911477089 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 307.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 321.0, + "then": { + "operation": "boost", + "score": 0.8199554681777954 + }, + "else": { + "operation": "boost", + "score": 0.5633231401443481 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.458452045917511 + }, + "else": { + "operation": "boost", + "score": 0.038181569427251816 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 325.5, + "then": { + "operation": "boost", + "score": -0.16335473954677582 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 313.0, + "then": { + "operation": "boost", + "score": 0.13784198462963104 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 250.5, + "then": { + "operation": "boost", + "score": -0.13117235898971558 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232.5, + "then": { + "operation": "boost", + "score": 0.21569013595581055 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 196.0, + "then": { + "operation": "boost", + "score": -0.07654865086078644 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191.0, + "then": { + "operation": "boost", + "score": 0.17538519203662872 + }, + "else": { + "operation": "boost", + "score": 0.0008865282288752496 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03755827993154526 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 468.0, + "then": { + "operation": "boost", + "score": 0.14307871460914612 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234.5, + "then": { + "operation": "boost", + "score": -0.016935652121901512 + }, + "else": { + "operation": "boost", + "score": 0.11885319650173187 + } + } + } + } + } } }, "else": { "operation": "boost", - "score": -0.0037815000396221876 + "score": -0.04143703728914261 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.06134583428502083 + "score": -0.11118286103010178 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 414.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], + "operation": "boost", + "score": -0.019910655915737152 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 261.0, "then": { - "operation": "boost", - "score": 0.11761674284934998 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 270.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 301.5, + "then": { + "operation": "boost", + "score": 0.19537369906902313 + }, + "else": { + "operation": "boost", + "score": -0.11943895369768143 + } + }, + "else": { + "operation": "boost", + "score": 0.23664309084415436 + } }, "else": { "operation": "boost", - "score": -0.5009667873382568 + "score": -0.04243585467338562 } - }, - "else": { - "operation": "boost", - "score": -0.0006749294698238373 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.14466078579425812 + "score": 0.17527762055397034 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.13034173846244812 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 389.0, + "then": { + "operation": "boost", + "score": 0.12695173919200897 + }, + "else": { + "operation": "boost", + "score": -0.10110723972320557 + } }, "else": { "operation": "boost", - "score": 0.11975718289613724 + "score": -0.01638510823249817 } } } @@ -328464,4388 +331326,4699 @@ }, "else": { "operation": "boost", - "score": 0.10371749848127365 + "score": -0.01540881022810936 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 164.5, "then": { - "operation": "boost", - "score": 0.08092204481363297 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.0765618234872818 + "score": 0.19070492684841156 }, "else": { - "operation": "boost", - "score": -0.018903132528066635 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.13674059510231018 - } - }, - "else": { - "operation": "boost", - "score": 0.007638154085725546 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00751916691660881 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.0, - "then": { - "operation": "boost", - "score": -0.002653174102306366 - }, - "else": { - "operation": "boost", - "score": 0.11559563130140305 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.020845472812652588 + "score": -0.1656661033630371 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11095511168241501 + "score": 0.12076683342456818 }, "else": { "operation": "boost", - "score": 0.11048150062561035 + "score": 0.8300885558128357 } } }, "else": { "operation": "boost", - "score": -0.06579741835594177 + "score": -0.1558343768119812 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 156.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": -0.4057711362838745 + "score": 0.1250341683626175 }, "else": { "operation": "boost", - "score": -1.4516109228134155 + "score": -0.07172369956970215 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 149.5, "then": { - "operation": "boost", - "score": 0.046565573662519455 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.0654887929558754 + "score": -0.05717616155743599 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.030134523287415504 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 153.5, + "then": { + "operation": "boost", + "score": 0.17955467104911804 + }, + "else": { + "operation": "boost", + "score": 0.20531359314918518 + } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.097050242125988 + "score": 0.23496590554714203 }, "else": { "operation": "boost", - "score": 0.1357232928276062 + "score": -0.1281939595937729 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.0888548493385315 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11462800204753876 - }, - "else": { - "operation": "boost", - "score": 0.07312899082899094 - } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.22349633276462555 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148.5, + "then": { + "operation": "boost", + "score": 0.5494900345802307 + }, + "else": { + "operation": "boost", + "score": 0.21922701597213745 + } + }, + "else": { + "operation": "boost", + "score": -0.05174562707543373 + } }, "else": { "operation": "boost", - "score": -0.48471927642822266 + "score": 0.04176461696624756 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.0924396738409996 + "score": -0.15038427710533142 }, "else": { - "operation": "boost", - "score": 0.049389470368623734 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.010361921973526478 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 137.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.004427281208336353 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 141.0, + "then": { + "operation": "boost", + "score": -0.10433634370565414 + }, + "else": { + "operation": "boost", + "score": 0.1869104504585266 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135.5, + "then": { + "operation": "boost", + "score": 0.3707387447357178 + }, + "else": { + "operation": "boost", + "score": 0.26971495151519775 + } + }, + "else": { + "operation": "boost", + "score": 0.1622864305973053 + } + }, + "else": { + "operation": "boost", + "score": 0.009889262728393078 + } + } + } + } + } + } } }, "else": { - "operation": "boost", - "score": -0.042101044207811356 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.007622479926794767 - }, - "else": { - "operation": "boost", - "score": -0.02881845273077488 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 226.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 369.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 271.5, + "threshold": 410.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 495.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 601.5, "then": { "operation": "boost", - "score": 0.09805088490247726 + "score": 0.018909532576799393 }, "else": { "operation": "boost", - "score": 0.12872864305973053 + "score": 0.11382109671831131 } }, "else": { "operation": "boost", - "score": -0.22827713191509247 + "score": -0.04634993523359299 } }, "else": { "operation": "boost", - "score": 0.12097789347171783 + "score": 0.11340384185314178 } }, + "else": { + "operation": "boost", + "score": 0.03960053250193596 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.006387524772435427 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.01845581643283367 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 231.5, "then": { - "operation": "boost", - "score": 0.06214071810245514 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.1530153900384903 + }, + "else": { + "operation": "boost", + "score": 0.05998386815190315 + } }, "else": { "operation": "boost", - "score": -0.1747322976589203 + "score": -0.22440937161445618 } - }, - "else": { - "operation": "boost", - "score": 0.09666075557470322 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.011634891852736473 - }, - "else": { - "operation": "boost", - "score": -0.018310632556676865 - } } - }, - "else": { - "operation": "boost", - "score": 0.004443442914634943 } + }, + "else": { + "operation": "boost", + "score": 0.0008546325261704624 } } } } - } - } - }, - { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 265.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 294.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.006528304424136877 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 313.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 337.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.02794104814529419 + "score": 0.12003464996814728 }, "else": { "operation": "boost", - "score": 0.08804379403591156 - } - }, - "else": { - "operation": "boost", - "score": -0.02841494418680668 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010566821321845055 - }, - "else": { - "operation": "boost", - "score": -0.04260475933551788 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.2133937031030655 - }, - "else": { - "operation": "boost", - "score": -0.06239766255021095 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.08128079026937485 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": -0.042681314051151276 - }, - "else": { - "operation": "boost", - "score": -0.5592742562294006 - } - }, - "else": { - "operation": "boost", - "score": -0.02585117146372795 - } - } + "score": 0.029605761170387268 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.24283309280872345 - }, - "else": { - "operation": "boost", - "score": 0.08071994036436081 - } - }, - "else": { - "operation": "boost", - "score": 0.11188036948442459 - } + "operation": "boost", + "score": 0.1491941213607788 }, "else": { "operation": "boost", - "score": -0.15187227725982666 + "score": 0.0171833299100399 } } + }, + "else": { + "operation": "boost", + "score": -0.14122946560382843 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 134.0, + "threshold": 313.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 139.0, + "threshold": 316.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203.0, - "then": { - "operation": "boost", - "score": 0.009088468737900257 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 196.0, - "then": { - "operation": "boost", - "score": 0.15960821509361267 - }, - "else": { - "operation": "boost", - "score": 0.06402623653411865 - } - } + "operation": "boost", + "score": 0.0046508233062922955 }, "else": { "operation": "boost", - "score": 0.11857405304908752 + "score": 0.1226949691772461 } }, + "else": { + "operation": "boost", + "score": -0.18924926221370697 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8349.5, + "then": { + "operation": "boost", + "score": -0.18090219795703888 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.0630941241979599 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.029152989387512207 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1356.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.002671597758308053 - }, - "else": { - "operation": "boost", - "score": 0.13443930447101593 - } - }, - "else": { - "operation": "boost", - "score": -0.05660562217235565 - } + "operation": "boost", + "score": 0.14059916138648987 }, "else": { "operation": "boost", - "score": -0.26123517751693726 + "score": 0.021892299875617027 } + }, + "else": { + "operation": "boost", + "score": -0.029260240495204926 } - }, - "else": { - "operation": "boost", - "score": 0.012728845700621605 } } } - }, - "else": { - "operation": "boost", - "score": 0.04972703754901886 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 283.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62.5, + "threshold": 285.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.011554007418453693 + "score": -0.020818883553147316 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97.0, + "threshold": 293.5, "then": { "operation": "boost", - "score": 0.13892778754234314 + "score": 0.12520429491996765 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12042589485645294 - }, - "else": { - "operation": "boost", - "score": 0.08870815485715866 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.10796575993299484 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.09550625085830688 - }, - "else": { - "operation": "boost", - "score": 0.0 - } - }, - "else": { - "operation": "boost", - "score": -0.13321299850940704 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10346711426973343 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "boost", - "score": 0.11061451584100723 - }, - "else": { - "operation": "boost", - "score": -0.12037988007068634 - } - } + "operation": "boost", + "score": 0.07475852221250534 } } }, "else": { + "operation": "boost", + "score": 0.1279437094926834 + } + }, + "else": { + "operation": "boost", + "score": 0.012345715425908566 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 57.5, + "threshold": 278.5, "then": { "operation": "boost", - "score": -0.19932031631469727 + "score": 0.07887908071279526 }, "else": { + "operation": "boost", + "score": 0.23695318400859833 + } + }, + "else": { + "operation": "boost", + "score": 0.04351961612701416 + } + }, + "else": { + "operation": "boost", + "score": 0.020878342911601067 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 259.5, + "then": { + "operation": "boost", + "score": -0.06735623627901077 + }, + "else": { + "operation": "boost", + "score": 0.0001316145935561508 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.003773104166612029 + }, + "else": { + "operation": "boost", + "score": 0.0010252677602693439 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1806.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1925.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2003.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2010.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0027671961579471827 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2025.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 549246.0, "then": { "operation": "boost", - "score": 0.013625369407236576 + "score": -0.07962210476398468 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 443558.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11069516837596893 - }, - "else": { - "operation": "boost", - "score": -0.2583119869232178 - } - }, - "else": { - "operation": "boost", - "score": -0.02815195545554161 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.2540794014930725 - }, - "else": { - "operation": "boost", - "score": 0.035705629736185074 - } - } - }, - "else": { - "operation": "boost", - "score": -0.023575056344270706 - } - }, - "else": { - "operation": "boost", - "score": -0.06631079316139221 - } + "operation": "boost", + "score": 0.07149479538202286 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 27874.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.11284638941287994 - }, - "else": { - "operation": "boost", - "score": 0.12025423347949982 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 29053.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 29460.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 30061.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 32671.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": -0.10059300065040588 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11303875595331192 - }, - "else": { - "operation": "boost", - "score": 0.1186511442065239 - } - }, - "else": { - "operation": "boost", - "score": 0.03644233196973801 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.047482941299676895 - }, - "else": { - "operation": "boost", - "score": -0.14198380708694458 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 41673.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 56010.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9.5, + "threshold": 59248.5, "then": { - "operation": "boost", - "score": -0.19114470481872559 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71954.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76763.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.2155979573726654 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89371.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93746.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 127089.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 134893.5, + "then": { + "operation": "boost", + "score": -0.008053619414567947 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.032805703580379486 + }, + "else": { + "operation": "boost", + "score": 0.12625554203987122 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1848270446062088 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.11409123986959457 + }, + "else": { + "operation": "boost", + "score": 0.032725024968385696 + } + }, + "else": { + "operation": "boost", + "score": 0.10134374350309372 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.06599681079387665 + }, + "else": { + "operation": "boost", + "score": -0.0841340571641922 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.15764111280441284 + } + }, + "else": { + "operation": "boost", + "score": 0.0810222178697586 + } + }, + "else": { + "operation": "boost", + "score": -0.079233817756176 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "boost", + "score": 0.06615137308835983 + }, + "else": { + "operation": "boost", + "score": 0.005705477669835091 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07196379452943802 + } }, "else": { - "operation": "boost", - "score": 0.09967402368783951 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57673.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.06703753769397736 + }, + "else": { + "operation": "boost", + "score": 0.1288025975227356 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, + "then": { + "operation": "boost", + "score": -0.04018368571996689 + }, + "else": { + "operation": "boost", + "score": 0.09269391000270844 + } + } } }, "else": { - "operation": "boost", - "score": -0.20014412701129913 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07218155264854431 - }, - "else": { - "operation": "boost", - "score": 0.11597798019647598 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.5347589254379272 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.013147737830877304 + "score": 0.016059797257184982 }, "else": { "operation": "boost", - "score": 0.09287860244512558 + "score": -0.08953753858804703 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 40369.0, "then": { "operation": "boost", - "score": -0.9054198861122131 + "score": 0.08142751455307007 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 34634.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.3150383532047272 - }, - "else": { - "operation": "boost", - "score": 0.10863613337278366 - } + "operation": "boost", + "score": -0.16401799023151398 }, "else": { "operation": "boost", - "score": -0.3628704249858856 + "score": 0.079783134162426 } } }, "else": { "operation": "boost", - "score": 0.07390877604484558 + "score": -0.0698118582367897 } } + }, + "else": { + "operation": "boost", + "score": -0.13022685050964355 } + }, + "else": { + "operation": "boost", + "score": 0.09147956967353821 } }, "else": { "operation": "boost", - "score": 0.014997257851064205 + "score": -0.35852137207984924 } }, "else": { - "operation": "boost", - "score": -0.007393680978566408 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 28839.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 28939.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "boost", - "score": 0.12004760652780533 - }, - "else": { - "operation": "boost", - "score": 0.017671363428235054 - } + "operation": "boost", + "score": 0.07924337685108185 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.2061184048652649 - }, - "else": { - "operation": "boost", - "score": 0.009069526568055153 - } + "operation": "boost", + "score": 0.14543098211288452 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.13342362642288208 - }, - "else": { - "operation": "boost", - "score": 0.05350785702466965 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.11589454114437103 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07666414231061935 - }, - "else": { - "operation": "boost", - "score": 0.15357562899589539 - } - } - } + "operation": "boost", + "score": 0.15050649642944336 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.032007794827222824 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10890646278858185 - }, - "else": { - "operation": "boost", - "score": 0.10134780406951904 - } - } + "operation": "boost", + "score": -0.37220579385757446 }, "else": { "operation": "boost", - "score": -0.11126550287008286 + "score": 0.07852382212877274 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20345.0, + "then": { + "operation": "boost", + "score": -0.0535007119178772 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 18769.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 19307.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": -1.7536739110946655 + "score": 0.11849036067724228 }, "else": { "operation": "boost", - "score": 0.1194223091006279 + "score": 0.03924671933054924 } }, + "else": { + "operation": "boost", + "score": 0.0006018199492245913 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19203.5, + "then": { + "operation": "boost", + "score": 0.12511113286018372 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 18885.0, "then": { "operation": "boost", - "score": -0.07934966683387756 + "score": -0.19428393244743347 }, "else": { - "operation": "boost", - "score": 0.11019545048475266 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.11092337965965271 + }, + "else": { + "operation": "boost", + "score": -0.008456781506538391 + } } } - }, - "else": { - "operation": "boost", - "score": 0.040482137352228165 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 16881.5, "then": { "operation": "boost", - "score": 0.10396572947502136 + "score": -0.12402911484241486 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 13235.5, "then": { - "operation": "boost", - "score": 0.10542808473110199 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 13340.5, "then": { - "operation": "boost", - "score": 0.099345363676548 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13805.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13877.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13937.0, + "then": { + "operation": "boost", + "score": 0.04631923884153366 + }, + "else": { + "operation": "boost", + "score": -0.21631428599357605 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.0318978875875473 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13842.0, + "then": { + "operation": "boost", + "score": 0.18620462715625763 + }, + "else": { + "operation": "boost", + "score": 0.10197605192661285 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0484975129365921 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03692743927240372 + } }, "else": { - "operation": "boost", - "score": -0.10968868434429169 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.1684817224740982 + }, + "else": { + "operation": "boost", + "score": 0.21151237189769745 + } + }, + "else": { + "operation": "boost", + "score": 0.08069583028554916 + } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.11618370562791824 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10193628072738647 }, "else": { - "operation": "boost", - "score": 0.14542536437511444 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10022.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10133.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17142857611179352, + "then": { + "operation": "boost", + "score": 0.14281758666038513 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.05647691711783409 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11532.5, + "then": { + "operation": "boost", + "score": -0.11652787029743195 + }, + "else": { + "operation": "boost", + "score": 0.4273112416267395 + } + } + }, + "else": { + "operation": "boost", + "score": 0.001343747484497726 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11743878573179245 + }, + "else": { + "operation": "boost", + "score": 0.006722270976752043 + } + }, + "else": { + "operation": "boost", + "score": 0.09309312701225281 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7369.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8544.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.16157688200473785 + }, + "else": { + "operation": "boost", + "score": -0.0057174889370799065 + } + }, + "else": { + "operation": "boost", + "score": -0.13374179601669312 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7076.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7145.0, + "then": { + "operation": "boost", + "score": 0.11420419067144394 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.13038960099220276 + }, + "else": { + "operation": "boost", + "score": 0.2445160299539566 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04699351638555527 + } + }, + "else": { + "operation": "boost", + "score": -0.008976337499916553 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4869.0, + "then": { + "operation": "boost", + "score": -0.0556897409260273 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2858.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2924.5, + "then": { + "operation": "boost", + "score": 0.06678233295679092 + }, + "else": { + "operation": "boost", + "score": 0.1214165911078453 + } + }, + "else": { + "operation": "boost", + "score": -0.19063422083854675 + } + }, + "else": { + "operation": "boost", + "score": -0.08182121068239212 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.059700872749090195 } - }, - "else": { - "operation": "boost", - "score": 0.01429225504398346 } } } + }, + "else": { + "operation": "boost", + "score": -0.07150048762559891 } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": 0.09230151772499084 + }, + "else": { + "operation": "boost", + "score": -0.04187021404504776 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.11940301209688187 + }, + "else": { + "operation": "boost", + "score": -0.08988811820745468 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.11453046649694443 + }, + "else": { + "operation": "boost", + "score": 0.08585615456104279 + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 2009.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05153566971421242 + "score": 0.13149796426296234 }, "else": { "operation": "boost", - "score": -0.045899346470832825 + "score": 0.019558532163500786 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.0, + "operation": "boost", + "score": -0.14900417625904083 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11069227755069733 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.7573672533035278 + "score": 0.1673722267150879 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.0, - "then": { - "operation": "boost", - "score": 0.1997881978750229 - }, - "else": { - "operation": "boost", - "score": 0.1014808714389801 - } - }, - "else": { - "operation": "boost", - "score": 0.128458172082901 - } + "operation": "boost", + "score": -0.20504893362522125 } } - }, - "else": { - "operation": "boost", - "score": 0.09326878190040588 } } - }, - "else": { - "operation": "boost", - "score": -0.003734227502718568 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1988.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 1991.5, + "then": { + "operation": "boost", + "score": -0.036430563777685165 + }, + "else": { + "operation": "boost", + "score": -0.21888850629329681 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1928.0, "then": { "operation": "boost", - "score": -0.02323675900697708 + "score": -0.008903113193809986 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.05819672718644142 + "score": -0.08143611252307892 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07623990625143051 - }, - "else": { - "operation": "boost", - "score": 0.07275212556123734 - } + "operation": "boost", + "score": -0.5593701004981995 } } - }, - "else": { - "operation": "boost", - "score": 0.006864032242447138 } - }, - "else": { - "operation": "boost", - "score": -0.0003577354073058814 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1924.5, "then": { + "operation": "boost", + "score": 0.2957175374031067 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.01089983806014061 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1816.5, "then": { - "operation": "boost", - "score": 0.009964913129806519 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.0068273479118943214 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 1820.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 78.5, + "threshold": 1910.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.06065515801310539 - }, - "else": { - "operation": "boost", - "score": 0.09292490035295486 - } + "operation": "boost", + "score": -0.18493938446044922 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1895.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 1904.5, "then": { - "operation": "boost", - "score": 0.10258499532938004 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.06050217151641846 + }, + "else": { + "operation": "boost", + "score": 0.1467553973197937 + } }, "else": { - "operation": "boost", - "score": 0.1012674868106842 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.14528922736644745 + }, + "else": { + "operation": "boost", + "score": 0.09301072359085083 + } } }, - "else": { - "operation": "boost", - "score": -0.19330443441867828 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.0782788023352623 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.09738100320100784 - }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.09807556867599487 + "score": 0.07840003073215485 }, "else": { "operation": "boost", - "score": -0.05372015759348869 + "score": 0.16936609148979187 } }, "else": { "operation": "boost", - "score": 0.030933784320950508 + "score": -0.10037536174058914 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.1171947717666626 - }, - "else": { - "operation": "boost", - "score": 0.08243444561958313 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0025014053098857403 - } - }, - "else": { - "operation": "boost", - "score": -0.00044426051317714155 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0016287690959870815 - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07878891378641129 }, "else": { - "operation": "boost", - "score": 0.06845982372760773 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.12902109324932098 + }, + "else": { + "operation": "boost", + "score": 0.08012789487838745 + } + }, + "else": { + "operation": "boost", + "score": 0.0038138222880661488 + } } }, "else": { "operation": "boost", - "score": -0.025713136419653893 + "score": 0.1548745185136795 } }, "else": { "operation": "boost", - "score": 0.003855382790789008 + "score": -0.04907439276576042 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ClassStructUnion" ], "then": { "operation": "boost", - "score": 0.0439436174929142 + "score": 0.232269287109375 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.06285052746534348 + "score": -0.05415476858615875 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": -0.13631998002529144 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09857156127691269 + "score": 0.26586493849754333 }, "else": { "operation": "boost", - "score": 0.02004663459956646 + "score": 0.10338478535413742 } + }, + "else": { + "operation": "boost", + "score": 0.17156994342803955 } } } } }, "else": { - "operation": "boost", - "score": 0.011426661163568497 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.008556588552892208 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 77.0, + "threshold": 1815.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 94.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 902.0, - "then": { - "operation": "boost", - "score": 0.08232202380895615 - }, - "else": { - "operation": "boost", - "score": -0.0019662503618746996 - } - }, - "else": { - "operation": "boost", - "score": 0.10755881667137146 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "threshold": 1844.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 1858.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 1887.5, "then": { + "operation": "boost", + "score": 0.054717767983675 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.14980584383010864 + "score": 0.0657612755894661 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.065745510160923 - }, - "else": { - "operation": "boost", - "score": 0.12014059722423553 - } + "operation": "boost", + "score": 0.15101467072963715 }, "else": { "operation": "boost", - "score": 0.002361482009291649 + "score": 0.022282762452960014 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.10818703472614288 - }, - "else": { - "operation": "boost", - "score": -0.004624144174158573 - } } }, "else": { "operation": "boost", - "score": 0.0233133714646101 + "score": -0.10285172611474991 } }, "else": { - "operation": "boost", - "score": -0.026168236508965492 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.03552043437957764 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02392210252583027 - }, - "else": { - "operation": "boost", - "score": -0.007483676075935364 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.00013975761248730123 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": -0.0331701934337616 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 1841.5, "then": { "operation": "boost", - "score": 0.03458271920681 + "score": 0.12711429595947266 }, "else": { "operation": "boost", - "score": -0.003299869829788804 + "score": 0.0689583346247673 } - }, - "else": { - "operation": "boost", - "score": 0.02418237365782261 } + }, + "else": { + "operation": "boost", + "score": -0.07885904610157013 } }, "else": { "operation": "boost", - "score": -0.03432849794626236 + "score": 0.0015668092528358102 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1788.5, + "then": { + "operation": "boost", + "score": -0.10332146286964417 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1787.5, + "then": { + "operation": "boost", + "score": 0.24336527287960052 }, "else": { + "operation": "boost", + "score": -0.00024759332882240415 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04599275812506676 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Symbol" ], + "then": { + "operation": "boost", + "score": 0.006007715128362179 + }, + "else": { + "operation": "boost", + "score": 0.0005112223443575203 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope" + "CCC_ClassStructUnion", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": 0.09417658299207687 + "score": 0.04777643457055092 }, "else": { - "operation": "boost", - "score": 0.0023725659120827913 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": -0.02966386266052723 + }, + "else": { + "operation": "boost", + "score": 0.007979095913469791 + } } }, "else": { "operation": "boost", - "score": -0.023219455033540726 + "score": 0.000303310458548367 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { - "operation": "boost", - "score": -0.09789274632930756 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 984.0, "then": { "operation": "boost", - "score": 0.04711790755391121 + "score": 0.01280209794640541 }, "else": { "operation": "boost", - "score": -0.02279304340481758 + "score": 0.057963624596595764 } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "boost", - "score": -0.0596906915307045 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": -0.012424316257238388 + }, + "else": { + "operation": "boost", + "score": 0.10776430368423462 + } + }, + "else": { + "operation": "boost", + "score": -0.024386078119277954 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 749331.5, + "then": { + "operation": "boost", + "score": 0.023066870868206024 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.16766169667243958 + }, + "else": { + "operation": "boost", + "score": -0.3261910378932953 + } + } + } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02462812140583992 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07215387374162674 + }, + "else": { + "operation": "boost", + "score": -0.030283071100711823 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 315.0, - "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.01655501499772072 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 427.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.04036038741469383 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 363.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { - "operation": "boost", - "score": 0.12000449001789093 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.4718261957168579 + }, + "else": { + "operation": "boost", + "score": 0.07556381821632385 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.22239187359809875 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "boost", + "score": 0.06143476814031601 + }, + "else": { + "operation": "boost", + "score": 0.002421804703772068 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 916.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": -1.0134403705596924 + }, + "else": { + "operation": "boost", + "score": 0.10016218572854996 + } + }, + "else": { + "operation": "boost", + "score": 0.042771194130182266 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.22738230228424072 + }, + "else": { + "operation": "boost", + "score": 0.22904665768146515 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": -0.07701554894447327 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.7936413884162903 + }, + "else": { + "operation": "boost", + "score": -0.18985192477703094 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06951358169317245 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.07167138904333115 + }, + "else": { + "operation": "boost", + "score": 0.1597069501876831 + } + }, + "else": { + "operation": "boost", + "score": -0.036615561693906784 + } + } + } }, "else": { - "operation": "boost", - "score": 0.08298048377037048 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.14641037583351135 + }, + "else": { + "operation": "boost", + "score": -0.16083171963691711 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.05989497900009155 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.11718116700649261 + }, + "else": { + "operation": "boost", + "score": 0.08593539893627167 + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.015866916626691818 } - }, - "else": { - "operation": "boost", - "score": 0.0006386296590790153 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11453662067651749 - }, - "else": { - "operation": "boost", - "score": -0.10185927152633667 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0859074592590332 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.020199883729219437 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10201060771942139 + "score": -0.17417152225971222 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, "then": { "operation": "boost", - "score": 0.11100168526172638 + "score": -0.037047725170850754 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, + "then": { + "operation": "boost", + "score": 0.07848884165287018 + }, + "else": { + "operation": "boost", + "score": -0.020586425438523293 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06862401962280273 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.2717810273170471 + }, + "else": { + "operation": "boost", + "score": 0.10282351076602936 + } + } }, "else": { "operation": "boost", - "score": -0.11345770210027695 + "score": -0.045197196304798126 } + }, + "else": { + "operation": "boost", + "score": -0.3109188675880432 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06977177411317825 }, "else": { "operation": "boost", - "score": 0.12687897682189941 + "score": -0.03974787890911102 } }, "else": { - "operation": "boost", - "score": 0.06570427864789963 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -1.44333815574646 + }, + "else": { + "operation": "boost", + "score": -0.2399439811706543 + } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.04122474044561386 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.09684508293867111 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.14843492209911346 - }, - "else": { - "operation": "boost", - "score": 0.17307740449905396 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 768.5, - "then": { - "operation": "boost", - "score": -0.13512861728668213 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.010169805958867073 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.05009569972753525 + }, + "else": { + "operation": "boost", + "score": -0.28409436345100403 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11600740253925323 + "score": 0.22542992234230042 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.10874812304973602 + "score": -0.006505084689706564 }, "else": { - "operation": "boost", - "score": -0.41823625564575195 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3452380895614624, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.32828810811042786 + }, + "else": { + "operation": "boost", + "score": 0.1049361303448677 + } + }, + "else": { + "operation": "boost", + "score": 0.027178319171071053 + } + }, + "else": { + "operation": "boost", + "score": -0.033787406980991364 + } + }, + "else": { + "operation": "boost", + "score": 0.0713278204202652 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0556768961250782 + }, + "else": { + "operation": "boost", + "score": 0.00013207846495788544 + } + } } } } - }, - "else": { - "operation": "boost", - "score": 0.026092182844877243 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.05027703940868378 - }, - "else": { - "operation": "boost", - "score": 0.09161143004894257 - } + "operation": "boost", + "score": 0.0020106055308133364 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 386.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1010386198759079 - }, - "else": { - "operation": "boost", - "score": 0.11729192733764648 - } + "operation": "boost", + "score": 0.0211066622287035 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "boost", - "score": -0.0500897578895092 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.1375417858362198 + }, + "else": { + "operation": "boost", + "score": -1.48714280128479 + } }, "else": { - "operation": "boost", - "score": 0.041292861104011536 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 332.5, + "then": { + "operation": "boost", + "score": -0.9933720827102661 + }, + "else": { + "operation": "boost", + "score": -0.02592809870839119 + } } } } } } } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.09866341948509216 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.14728941023349762 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11111557483673096 + }, + "else": { + "operation": "boost", + "score": 0.13784751296043396 + } + } + } }, "else": { "operation": "boost", - "score": -0.00011296905722701922 + "score": -0.13998964428901672 } }, "else": { + "operation": "boost", + "score": 0.014089643023908138 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52191.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 56010.5, "then": { "operation": "boost", - "score": 0.008697066456079483 + "score": 0.011469505727291107 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "boost", + "score": 0.0815359577536583 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "boost", + "score": -0.09111648797988892 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46801.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 47029.0, "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "operation": "boost", + "score": 0.053502406924963 + }, + "else": { + "operation": "boost", + "score": 0.17001117765903473 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.13496273756027222 + "score": 0.09474318474531174 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "boost", - "score": 0.08378516137599945 + "score": -0.361808717250824 }, "else": { "operation": "boost", - "score": -0.10590440779924393 + "score": -0.12981510162353516 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 44693.0, "then": { + "operation": "boost", + "score": 0.08511441200971603 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 44315.0, "then": { "operation": "boost", - "score": -0.06876543164253235 + "score": -0.22026462852954865 }, "else": { "operation": "boost", - "score": 0.11326734721660614 + "score": 1.3617105878438451e-06 } - }, - "else": { - "operation": "boost", - "score": -0.10780029743909836 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.029367132112383842 - }, - "else": { - "operation": "boost", - "score": 0.01664280891418457 - } } } } - }, - "else": { - "operation": "boost", - "score": -0.01658683829009533 } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.7638888955116272, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6101.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6445.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": 0.03396455571055412 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.026689734309911728 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.01568802446126938 + "score": -0.04605984315276146 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.025011226534843445 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11887878179550171 + }, + "else": { + "operation": "boost", + "score": 0.12296706438064575 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19905.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09979776293039322 + "score": -0.011156857013702393 }, "else": { "operation": "boost", - "score": 0.020172331482172012 + "score": 0.12640129029750824 } } } - }, - "else": { - "operation": "boost", - "score": -0.02701181173324585 } + } + }, + "else": { + "operation": "boost", + "score": -0.04929042607545853 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11292622983455658 }, "else": { "operation": "boost", - "score": 0.11462986469268799 + "score": 0.029022684320807457 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.004619884770363569 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.008418443612754345 + }, + "else": { + "operation": "boost", + "score": 0.13964664936065674 + } + }, + "else": { + "operation": "boost", + "score": 0.008322076871991158 + } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Destructor", - "Operator", - "Constructor", - "Function", - "Namespace" + "CCC_Expression", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.5902777910232544, + "then": { + "operation": "boost", + "score": 0.032904002815485 + }, + "else": { + "operation": "boost", + "score": 0.11154621094465256 + } + }, + "else": { + "operation": "boost", + "score": 0.039963189512491226 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5192307829856873, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "boost", + "score": -0.07847398519515991 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.09605759382247925 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { + "operation": "boost", + "score": 0.07082303613424301 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, + "feature": "FractionNameInContext", + "threshold": 0.5902777910232544, "then": { "operation": "boost", - "score": 0.08148679882287979 + "score": 0.09330621361732483 }, "else": { "operation": "boost", - "score": 0.09160343557596207 + "score": -0.2902040183544159 } }, "else": { "operation": "boost", - "score": 0.3725389540195465 - } - }, - "else": { - "operation": "boost", - "score": 0.05390617623925209 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.017759639769792557 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.10605543106794357 - }, - "else": { - "operation": "boost", - "score": 0.03847995027899742 - } + "score": -0.05250922590494156 } - }, - "else": { - "operation": "boost", - "score": 0.006998992525041103 } } - }, - "else": { - "operation": "boost", - "score": -0.014683994464576244 } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.022183259949088097 + "score": 0.18132218718528748 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1578325480222702 - }, - "else": { - "operation": "boost", - "score": 0.12423530966043472 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.10757795721292496 - }, - "else": { - "operation": "boost", - "score": 0.12557923793792725 - } - } + "operation": "boost", + "score": 0.0568867102265358 } } }, "else": { "operation": "boost", - "score": -0.011230498552322388 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05218547210097313 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20310.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28548.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29651.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30820.5, - "then": { - "operation": "boost", - "score": -0.002799262525513768 - }, - "else": { - "operation": "boost", - "score": 0.08955628424882889 - } - }, - "else": { - "operation": "boost", - "score": -0.36921006441116333 + "score": -0.005952467210590839 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25073.5, + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25377.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28191.0, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.11011920869350433 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26163.5, - "then": { - "operation": "boost", - "score": 0.10862948000431061 - }, - "else": { - "operation": "boost", - "score": 0.015306600369513035 - } + "operation": "boost", + "score": 0.0937180444598198 }, "else": { "operation": "boost", - "score": -0.01871970109641552 + "score": -0.06554994732141495 } + }, + "else": { + "operation": "boost", + "score": 0.0664873942732811 } }, "else": { "operation": "boost", - "score": 0.10363569110631943 + "score": -0.02847934328019619 } }, "else": { "operation": "boost", - "score": 0.01699345000088215 + "score": -0.04540759697556496 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07469874620437622 - }, - "else": { - "operation": "boost", - "score": 0.09648146480321884 - } } - }, - "else": { - "operation": "boost", - "score": -0.014186330139636993 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.038003213703632355 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.003569947788491845 - }, - "else": { - "operation": "boost", - "score": -0.43802717328071594 - } - } + "operation": "boost", + "score": -0.03702801838517189 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.048903003334999084 - }, - "else": { - "operation": "boost", - "score": 0.07801968604326248 - } - }, - "else": { - "operation": "boost", - "score": 0.026878343895077705 - } + "operation": "boost", + "score": -0.5865939259529114 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5009.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.011225493624806404 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4797.0, + "feature": "FractionNameInContext", + "threshold": 0.5777778029441833, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4989.0, - "then": { - "operation": "boost", - "score": 0.1082991436123848 - }, - "else": { - "operation": "boost", - "score": 0.029450321570038795 - } - }, - "else": { - "operation": "boost", - "score": 0.1124892607331276 - } + "operation": "boost", + "score": 0.04132694751024246 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06930702179670334 - }, - "else": { - "operation": "boost", - "score": 0.10512568801641464 - } - }, - "else": { - "operation": "boost", - "score": -0.4609035551548004 - } + "operation": "boost", + "score": 0.1305941641330719 } }, "else": { "operation": "boost", - "score": 0.004524436313658953 + "score": 0.05095645412802696 } + }, + "else": { + "operation": "boost", + "score": 0.0055434126406908035 } } }, "else": { "operation": "boost", - "score": -0.00705066230148077 + "score": -0.044979408383369446 } } + }, + "else": { + "operation": "boost", + "score": -0.00033519809949211776 } } - }, - "else": { - "operation": "boost", - "score": -0.0009104986675083637 } }, { "operation": "if_greater", - "feature": "IsDeprecated", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.04397425055503845 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 889.5, - "then": { - "operation": "boost", - "score": 0.09609353542327881 - }, - "else": { - "operation": "boost", - "score": -0.013496224768459797 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.08947356790304184 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 406.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.07518456131219864 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, "then": { "operation": "boost", - "score": -0.1016203761100769 + "score": -0.04692133516073227 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "boost", + "score": -0.013090435415506363 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.27522552013397217 + "score": 0.023896407335996628 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1704.0, - "then": { - "operation": "boost", - "score": 0.16097795963287354 - }, - "else": { - "operation": "boost", - "score": 0.08573751151561737 - } + "operation": "boost", + "score": -0.1189180389046669 }, "else": { "operation": "boost", - "score": 0.3729100823402405 + "score": 0.061190493404865265 } }, "else": { "operation": "boost", - "score": -0.1241447851061821 + "score": 0.003843048121780157 } } + }, + "else": { + "operation": "boost", + "score": 0.0027340499218553305 } }, "else": { - "operation": "boost", - "score": -0.05201007425785065 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 34.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "operation": "boost", + "score": -0.006618548650294542 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.014981926418840885 + "score": -0.15642321109771729 }, "else": { + "operation": "boost", + "score": -0.3012303411960602 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": -0.01563025452196598 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.019323257729411125 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.02545907348394394 + }, + "else": { + "operation": "boost", + "score": -0.0020491918548941612 + } }, "else": { - "operation": "boost", - "score": -0.021199239417910576 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "boost", + "score": 0.049448732286691666 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.04691823199391365 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.7770768404006958 + }, + "else": { + "operation": "boost", + "score": -0.04017296060919762 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04201148450374603 + } } - }, - "else": { - "operation": "boost", - "score": -0.03725667670369148 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": -0.0074885012581944466 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.07360262423753738 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": -0.1719551533460617 + "score": 0.05013243481516838 }, "else": { "operation": "boost", - "score": -0.024365171790122986 + "score": -0.721447229385376 } + }, + "else": { + "operation": "boost", + "score": -0.2451762706041336 } - }, - "else": { - "operation": "boost", - "score": -0.2256964147090912 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 302.0, - "then": { - "operation": "boost", - "score": -0.13385945558547974 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.10288294404745102 - }, - "else": { - "operation": "boost", - "score": -0.014970095828175545 - } - } + "operation": "boost", + "score": 0.021578442305326462 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.002076047472655773 + "score": -0.020011812448501587 }, "else": { "operation": "boost", - "score": 0.14215713739395142 + "score": -0.21254408359527588 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.017460709437727928 + "score": -0.033170197159051895 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.09098239243030548 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": -0.6461445689201355 + "score": 0.1307416409254074 }, "else": { "operation": "boost", - "score": -0.23708786070346832 + "score": 0.08027567714452744 } + }, + "else": { + "operation": "boost", + "score": 0.01494212169200182 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.012724081054329872 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.005595774855464697 + "score": -0.0061048297211527824 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05507558584213257 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.0689435601234436 - }, - "else": { - "operation": "boost", - "score": 0.09116728603839874 - } - }, - "else": { - "operation": "boost", - "score": 0.056959107518196106 - } - } + "operation": "boost", + "score": 0.08222170919179916 } }, "else": { - "operation": "boost", - "score": 0.02900925651192665 - } - }, - "else": { - "operation": "boost", - "score": 0.00010852632840396836 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.016157058998942375 - }, - "else": { - "operation": "boost", - "score": 0.09091772884130478 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 353.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1768.0, + "feature": "FractionNameInContext", + "threshold": 0.43560606241226196, "then": { "operation": "boost", - "score": 0.0675315260887146 + "score": 0.0881873145699501 }, "else": { "operation": "boost", - "score": 0.10725328326225281 + "score": 0.13089653849601746 } }, "else": { - "operation": "boost", - "score": -0.09104592353105545 - } - }, - "else": { - "operation": "boost", - "score": -0.021064024418592453 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4486.0, - "then": { - "operation": "boost", - "score": -0.3885272741317749 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2026.5, - "then": { - "operation": "boost", - "score": 0.11255156993865967 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 457.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 507.0, - "then": { - "operation": "boost", - "score": 0.007836327888071537 - }, - "else": { - "operation": "boost", - "score": 0.11995924264192581 - } - }, - "else": { - "operation": "boost", - "score": -0.19567078351974487 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.0, - "then": { - "operation": "boost", - "score": 0.13504458963871002 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11876484006643295 - }, - "else": { - "operation": "boost", - "score": 0.0748811885714531 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", - "score": -0.30289411544799805 + "score": -0.1947195827960968 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, + "feature": "FractionNameInContext", + "threshold": 0.4017857313156128, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { "operation": "boost", - "score": 0.10764598101377487 + "score": 0.10010431706905365 }, "else": { "operation": "boost", - "score": -0.2723976969718933 + "score": -0.07675406336784363 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06847217679023743 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.1335214376449585 + }, + "else": { + "operation": "boost", + "score": 0.07871860265731812 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4017857313156128, + "then": { + "operation": "boost", + "score": 0.11016755551099777 + }, + "else": { + "operation": "boost", + "score": 0.07987064123153687 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.0796840712428093 + }, + "else": { + "operation": "boost", + "score": 0.09072217345237732 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10794896632432938 }, "else": { "operation": "boost", - "score": 0.09227506071329117 + "score": 0.046495210379362106 } }, "else": { "operation": "boost", - "score": -0.12531781196594238 + "score": 0.014034069143235683 } } } - }, - "else": { - "operation": "boost", - "score": 0.10060470551252365 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "boost", - "score": 0.10904479026794434 - }, - "else": { - "operation": "boost", - "score": -0.09903544187545776 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.015261368826031685 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.1435607671737671 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.21412234008312225 - }, - "else": { - "operation": "boost", - "score": 0.05023467168211937 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04323297366499901 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.0, - "then": { - "operation": "boost", - "score": -0.44764867424964905 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.0, - "then": { - "operation": "boost", - "score": 0.14952422678470612 - }, - "else": { - "operation": "boost", - "score": 0.10130491107702255 } - }, - "else": { - "operation": "boost", - "score": 0.12287650257349014 } } } - }, - "else": { - "operation": "boost", - "score": 0.07980985939502716 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0010373103432357311 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.024896366521716118 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05139072239398956 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07598504424095154 - }, - "else": { - "operation": "boost", - "score": 0.06883208453655243 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.006573302671313286 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.056155867874622345 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0019781175069510937 - }, - "else": { - "operation": "boost", - "score": -0.10616511851549149 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0070419772528111935 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.10561415553092957 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07286907732486725 - }, - "else": { - "operation": "boost", - "score": 0.09389178454875946 - } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.009544874541461468 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "boost", - "score": -0.14770051836967468 - }, - "else": { - "operation": "boost", - "score": -0.6628628373146057 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "threshold": 12748.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23.5, + "threshold": 14274.5, "then": { "operation": "boost", - "score": 0.014654295518994331 + "score": 0.001775600016117096 }, "else": { "operation": "boost", - "score": 0.08790688961744308 + "score": -0.10217908769845963 } }, "else": { - "operation": "boost", - "score": -0.018345775082707405 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 78.5, + "threshold": 12655.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06212412193417549 + "score": -0.09430630505084991 }, "else": { - "operation": "boost", - "score": 0.09211984276771545 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.09806524962186813 + "score": 0.09411461651325226 }, "else": { "operation": "boost", - "score": 0.09944383054971695 + "score": 0.14652703702449799 } - }, - "else": { - "operation": "boost", - "score": -0.18506252765655518 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09808595478534698 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 8217.5, "then": { - "operation": "boost", - "score": -0.05254359915852547 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.0955595150589943 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 11381.0, "then": { "operation": "boost", - "score": -0.3609050512313843 + "score": 0.10195159912109375 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8507.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10882671922445297 - }, - "else": { - "operation": "boost", - "score": -0.280791699886322 - } + "operation": "boost", + "score": -0.10451441258192062 }, "else": { "operation": "boost", - "score": 0.002064220141619444 + "score": 0.11636365950107574 } } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.1149919331073761 - }, - "else": { - "operation": "boost", - "score": 0.08436589688062668 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0022219480015337467 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 6.70454028295353e-05 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.004397178068757057 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.22706261277198792 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.00016350123041775078 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10832.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11658623069524765 - }, - "else": { - "operation": "boost", - "score": 0.12732799351215363 - } + "operation": "boost", + "score": -0.0002984596067108214 }, "else": { "operation": "boost", - "score": 0.0347701720893383 + "score": 0.092991404235363 } } }, "else": { - "operation": "boost", - "score": 0.04850909113883972 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05659635365009308 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.05605451762676239 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.07265356183052063 - }, - "else": { - "operation": "boost", - "score": -0.0019382763421162963 - } - }, - "else": { - "operation": "boost", - "score": -0.0768725648522377 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": -0.016627566888928413 - }, - "else": { - "operation": "boost", - "score": -0.1257329285144806 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.03155462071299553 - }, - "else": { - "operation": "boost", - "score": -0.030321968719363213 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08550921827554703 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6923.5, + "then": { + "operation": "boost", + "score": -0.08393634110689163 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6443.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6713.5, + "then": { + "operation": "boost", + "score": 0.011393357999622822 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6653.5, + "then": { + "operation": "boost", + "score": 0.11181309819221497 + }, + "else": { + "operation": "boost", + "score": 0.10283499211072922 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.023895055055618286 + }, + "else": { + "operation": "boost", + "score": 0.004690547473728657 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13618846237659454 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.035988159477710724 + }, + "else": { + "operation": "boost", + "score": -0.31921088695526123 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.05187670886516571 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.13066907227039337 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17320621013641357 + }, + "else": { + "operation": "boost", + "score": 0.10204467177391052 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04888268932700157 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0018277441849932075 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00243419804610312 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0038334480486810207 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09166666865348816, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.0017396471230313182 + }, + "else": { + "operation": "boost", + "score": 0.1398152858018875 + } + }, + "else": { + "operation": "boost", + "score": 0.05924580618739128 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.6446207165718079 + }, + "else": { + "operation": "boost", + "score": 0.12728773057460785 + } + }, + "else": { + "operation": "boost", + "score": -0.3100817799568176 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.04788186773657799 + }, + "else": { + "operation": "boost", + "score": 0.11076297610998154 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12478908896446228 + } + }, + "else": { + "operation": "boost", + "score": 0.025060037150979042 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0728989765048027 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": 0.0966048613190651 + }, + "else": { + "operation": "boost", + "score": -0.010077067650854588 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03972584381699562 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.06200898066163063 + }, + "else": { + "operation": "boost", + "score": -0.05806346610188484 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.11570685356855392 + }, + "else": { + "operation": "boost", + "score": -0.014573554508388042 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.10635054856538773 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.14336974918842316 + }, + "else": { + "operation": "boost", + "score": 0.042177192866802216 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05696406587958336 + }, + "else": { + "operation": "boost", + "score": -0.03439467400312424 + } + } + }, + "else": { + "operation": "boost", + "score": -1.1897974014282227 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.023956764489412308 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 489.5, + "then": { + "operation": "boost", + "score": 0.02836933173239231 + }, + "else": { + "operation": "boost", + "score": -0.09183064103126526 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07119862735271454 + }, + "else": { + "operation": "boost", + "score": -0.23488467931747437 + } + }, + "else": { + "operation": "boost", + "score": 0.05420830845832825 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.008128311485052109 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.024519916623830795 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03137564659118652 + }, + "else": { + "operation": "boost", + "score": -0.23364819586277008 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.020510388538241386 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.05888255313038826 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.00886567123234272 + }, + "else": { + "operation": "boost", + "score": 0.20917846262454987 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": -0.05135058984160423 + }, + "else": { + "operation": "boost", + "score": -0.12407870590686798 + } + }, + "else": { + "operation": "boost", + "score": 0.003554390510544181 + } + } + } + } + } }, "else": { "operation": "boost", - "score": 0.016110491007566452 + "score": 0.011459177359938622 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.10617373883724213 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02878389321267605 + }, + "else": { + "operation": "boost", + "score": 0.0008205283083952963 + } }, "else": { - "operation": "boost", - "score": -0.3962693512439728 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.006663194391876459 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.022370701655745506 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.035724882036447525 + }, + "else": { + "operation": "boost", + "score": -0.005206720437854528 + } + }, + "else": { + "operation": "boost", + "score": 0.006029767449945211 + } + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.00041180316475220025 } } - }, - "else": { - "operation": "boost", - "score": -0.0071070315316319466 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07112263888120651 - }, - "else": { - "operation": "boost", - "score": 0.023770833387970924 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.01661246083676815 - }, - "else": { - "operation": "boost", - "score": -0.023197496309876442 - } + "operation": "boost", + "score": -0.0007563820108771324 } } } } }, "else": { - "operation": "boost", - "score": -0.0013495102757588029 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 270.5, + "then": { + "operation": "boost", + "score": 0.007119204383343458 + }, + "else": { + "operation": "boost", + "score": 0.00030198320746421814 + } } } }, { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.00025769066996872425 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2124060094356537, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11462979018688202 + "score": 0.06684479117393494 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.41272592544555664 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10241910815238953 - }, - "else": { - "operation": "boost", - "score": -0.21467049419879913 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.0, - "then": { - "operation": "boost", - "score": -0.2346607893705368 - }, - "else": { - "operation": "boost", - "score": 0.10887053608894348 - } - }, - "else": { - "operation": "boost", - "score": -0.06938444823026657 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.18600863218307495 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, "then": { "operation": "boost", - "score": 0.0982869490981102 + "score": -0.14280804991722107 }, "else": { "operation": "boost", - "score": -0.3688066303730011 + "score": 0.09990081191062927 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -1.640018105506897 }, "else": { - "operation": "boost", - "score": 0.11205079406499863 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.029904775321483612 + "score": 0.021610522642731667 }, "else": { - "operation": "boost", - "score": 0.08879254758358002 - } - }, - "else": { - "operation": "boost", - "score": -0.012396492063999176 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.018492601811885834 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10448069125413895 - }, - "else": { - "operation": "boost", - "score": 0.04712136089801788 - } + "operation": "boost", + "score": -0.007821504957973957 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, "then": { "operation": "boost", - "score": 0.02809332124888897 + "score": -0.057157985866069794 }, "else": { - "operation": "boost", - "score": 0.10392993688583374 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": 0.13751628994941711 + }, + "else": { + "operation": "boost", + "score": 0.05007283017039299 + } } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.7142096161842346 - }, - "else": { - "operation": "boost", - "score": 0.07328318059444427 - } } } + }, + "else": { + "operation": "boost", + "score": -0.024135036394000053 } }, + "else": { + "operation": "boost", + "score": 0.0043651568703353405 + } + }, + "else": { + "operation": "boost", + "score": 0.03751222416758537 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "boost", + "score": 0.004802399780601263 + }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", @@ -332853,42 +336026,72 @@ "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.3338080644607544 + "score": 0.0007872446440160275 }, "else": { "operation": "boost", - "score": 0.05288943648338318 + "score": 0.07557956874370575 } }, + "else": { + "operation": "boost", + "score": 0.02988303266465664 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "boost", + "score": -0.014876851812005043 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.01329794991761446 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { - "operation": "boost", - "score": 0.09591767936944962 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04188656434416771 + "score": 0.08925041556358337 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10549812018871307 - }, - "else": { - "operation": "boost", - "score": -0.1961740404367447 - } + "operation": "boost", + "score": 0.003617487847805023 } + }, + "else": { + "operation": "boost", + "score": -0.06061296910047531 } } } @@ -332896,115 +336099,51 @@ }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "FunctionScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.014657232910394669 - }, - "else": { - "operation": "boost", - "score": 0.08206052333116531 - } + "operation": "boost", + "score": 0.17577588558197021 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.08317945897579193 + "score": 0.01780671626329422 }, "else": { "operation": "boost", - "score": 0.10006225109100342 + "score": -0.1215130165219307 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.11421779543161392 - }, - "else": { - "operation": "boost", - "score": 0.10371946543455124 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.02231616899371147 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.12594595551490784 - }, - "else": { - "operation": "boost", - "score": 0.021279674023389816 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10074158757925034 - } - } + "operation": "boost", + "score": 0.016586292535066605 } } } @@ -333012,3025 +336151,3184 @@ }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.04356852173805237 - }, - "else": { - "operation": "boost", - "score": -0.024942470714449883 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "feature": "FractionNameInContext", + "threshold": 0.14642858505249023, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "NumNameInContext", "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.01651429943740368 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02291700430214405 + "score": -0.017944492399692535 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0818495973944664 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.018242422491312027 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1258438378572464 - }, - "else": { - "operation": "boost", - "score": 0.10752884298563004 - } - } + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03762345388531685 + }, + "else": { + "operation": "boost", + "score": -0.006551600061357021 } } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.010861290618777275 + }, + "else": { + "operation": "boost", + "score": -0.018291817978024483 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.0, + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { - "operation": "boost", - "score": 0.0508728101849556 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12641610205173492 + "score": -0.009372496046125889 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.057429611682891846 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.011054226197302341 + }, + "else": { + "operation": "boost", + "score": -0.20586904883384705 + } }, "else": { - "operation": "boost", - "score": 0.09963290393352509 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.11182378232479095 + }, + "else": { + "operation": "boost", + "score": 0.07733791321516037 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.05301621928811073 + }, + "else": { + "operation": "boost", + "score": 0.07014698535203934 + } + } } } }, "else": { - "operation": "boost", - "score": -0.04491422325372696 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.0296370517462492 + "score": 0.02737496979534626 }, "else": { - "operation": "boost", - "score": -0.12353039532899857 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.3264893591403961 + }, + "else": { + "operation": "boost", + "score": -0.009534258395433426 + } } }, "else": { "operation": "boost", - "score": 0.016132406890392303 + "score": 0.08793234825134277 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.30064788460731506 + }, + "else": { + "operation": "boost", + "score": 0.0058585116639733315 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0006068733637221158 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.0007132327882573009 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -1.6582895517349243 }, "else": { "operation": "boost", - "score": -0.10086800158023834 + "score": 0.004087982699275017 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 2234.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26715.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 67917.5, "then": { + "operation": "boost", + "score": 0.033068131655454636 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 43912.0, "then": { - "operation": "boost", - "score": 0.06834578514099121 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55833.5, + "then": { + "operation": "boost", + "score": -0.1520465761423111 + }, + "else": { + "operation": "boost", + "score": -0.7514475584030151 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { + "operation": "boost", + "score": 0.08489295095205307 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 40755.0, "then": { "operation": "boost", - "score": 0.10304409265518188 + "score": -0.5763194561004639 }, "else": { "operation": "boost", - "score": 0.16264384984970093 + "score": -0.014468868263065815 } - }, - "else": { - "operation": "boost", - "score": 0.09236165136098862 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05964115634560585 - }, - "else": { - "operation": "boost", - "score": 0.04676845669746399 - } } }, "else": { "operation": "boost", - "score": -0.07634644955396652 + "score": 0.04464159160852432 } }, "else": { "operation": "boost", - "score": -0.02630370669066906 + "score": -0.014768716879189014 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": -0.38762691617012024 - }, - "else": { - "operation": "boost", - "score": 0.11537738144397736 - } - }, - "else": { - "operation": "boost", - "score": 0.0100418571382761 - } + "operation": "boost", + "score": 0.10642971098423004 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.03603190556168556 + "score": -0.31548306345939636 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1401832401752472 - }, - "else": { - "operation": "boost", - "score": 0.09992820024490356 - } + "operation": "boost", + "score": 0.03405733406543732 } } }, "else": { "operation": "boost", - "score": -0.025441855192184448 + "score": -0.14431418478488922 } }, "else": { - "operation": "boost", - "score": 0.0129423001781106 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.3127236068248749 + }, + "else": { + "operation": "boost", + "score": -2.900564193725586 + } + }, + "else": { + "operation": "boost", + "score": -0.045983657240867615 + } } }, "else": { - "operation": "boost", - "score": 0.01649019867181778 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.023714611306786537 + }, + "else": { + "operation": "boost", + "score": 0.006744608748704195 + } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71608.5, + "then": { + "operation": "boost", + "score": 0.16642402112483978 + }, + "else": { + "operation": "boost", + "score": -0.04312409088015556 + } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { + "operation": "boost", + "score": 0.01761723682284355 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12235421687364578 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.16442586481571198 + }, + "else": { + "operation": "boost", + "score": 0.08828592300415039 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2409866899251938 + }, + "else": { + "operation": "boost", + "score": -0.07291164994239807 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.057303767651319504 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.21612028777599335 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07240620255470276 + }, + "else": { + "operation": "boost", + "score": 0.03218064084649086 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.05081828311085701 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12582649290561676 + }, + "else": { + "operation": "boost", + "score": 0.12589634954929352 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 378.5, + "then": { + "operation": "boost", + "score": -0.094612717628479 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 242.0, "then": { "operation": "boost", - "score": 0.013858456164598465 + "score": 0.17214980721473694 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 83.5, "then": { "operation": "boost", - "score": 0.24732717871665955 + "score": -0.0024553898256272078 }, "else": { "operation": "boost", - "score": 0.1291174739599228 + "score": 0.12032875418663025 } }, "else": { "operation": "boost", - "score": 0.19649945199489594 + "score": -0.008718143217265606 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 393.0, + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.09879007190465927 + "score": 0.15922768414020538 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11152050644159317 - }, - "else": { - "operation": "boost", - "score": -0.13871626555919647 - } + "operation": "boost", + "score": -0.10215220600366592 } + }, + "else": { + "operation": "boost", + "score": 0.014876880683004856 } - }, - "else": { - "operation": "boost", - "score": 0.038028500974178314 } - }, - "else": { - "operation": "boost", - "score": 0.10043323785066605 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.5084651708602905 - }, - "else": { - "operation": "boost", - "score": 0.08384886384010315 - } + "operation": "boost", + "score": -0.032036297023296356 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.23226803541183472 + "score": 0.015183218754827976 }, "else": { "operation": "boost", - "score": 0.12305029481649399 + "score": -0.021177293732762337 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.008443833328783512 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.39504843950271606 + "score": -0.15874698758125305 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.16108763217926025 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.003795584663748741 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, + "then": { + "operation": "boost", + "score": 0.052137505263090134 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "boost", + "score": -0.07463154941797256 + }, + "else": { + "operation": "boost", + "score": -0.0014066690346226096 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0179961659014225 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.09776391834020615 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11785993725061417 + "score": 0.012803379446268082 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { - "operation": "boost", - "score": 0.1034703478217125 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09127345681190491 + }, + "else": { + "operation": "boost", + "score": 0.0028943114448338747 + } }, "else": { "operation": "boost", - "score": -0.10527046024799347 + "score": 0.09590588510036469 } } - }, - "else": { - "operation": "boost", - "score": 0.1479116678237915 } } } + }, + "else": { + "operation": "boost", + "score": 0.01136066485196352 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "NumNameInContext", "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0434238463640213 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, + "then": { + "operation": "boost", + "score": -0.1444290578365326 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4305555522441864, + "then": { + "operation": "boost", + "score": 0.12139367312192917 + }, + "else": { + "operation": "boost", + "score": -0.06262271851301193 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.009470180608332157 + }, + "else": { + "operation": "boost", + "score": -0.017519468441605568 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.041946154087781906 + }, + "else": { + "operation": "boost", + "score": -0.19682848453521729 + } + }, + "else": { + "operation": "boost", + "score": -0.03313996270298958 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { "operation": "boost", - "score": -0.10401105135679245 + "score": 0.15203127264976501 }, "else": { "operation": "boost", - "score": 0.11431064456701279 + "score": 0.06574659794569016 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10673180222511292 + "score": -0.5911545157432556 }, "else": { "operation": "boost", - "score": 0.06549949198961258 + "score": 0.11530578136444092 } }, "else": { "operation": "boost", - "score": 0.06177366524934769 + "score": 0.016425393521785736 } } }, "else": { - "operation": "boost", - "score": 0.0045605795457959175 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 16.0, "then": { + "operation": "boost", + "score": -0.06390992552042007 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, "then": { "operation": "boost", - "score": 0.0512995570898056 + "score": -0.10157272964715958 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1095009297132492 - }, - "else": { - "operation": "boost", - "score": -0.10186176002025604 - } + "operation": "boost", + "score": 0.14169159531593323 }, "else": { "operation": "boost", - "score": 0.11530744284391403 + "score": -0.013085062615573406 } } - }, - "else": { - "operation": "boost", - "score": 0.11023548990488052 } - }, - "else": { - "operation": "boost", - "score": -0.12108895927667618 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.07595571875572205 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07427014410495758 - }, - "else": { - "operation": "boost", - "score": -0.022746577858924866 } } } } }, "else": { - "operation": "boost", - "score": 0.09609241038560867 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00955816637724638 + }, + "else": { + "operation": "boost", + "score": -0.0033888835459947586 + } } }, "else": { - "operation": "boost", - "score": 0.00946089532226324 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.045968130230903625 + }, + "else": { + "operation": "boost", + "score": -0.019588949158787727 + } } + }, + "else": { + "operation": "boost", + "score": -0.00036328317946754396 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.14445939660072327 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", "CCC_Statement", - "CCC_UnionTag", "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.009409592486917973 + "score": 0.06524057686328888 }, "else": { "operation": "boost", - "score": -0.11759842187166214 + "score": -0.019121289253234863 } }, "else": { + "operation": "boost", + "score": -0.1557634472846985 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1069917157292366 + }, + "else": { + "operation": "boost", + "score": 0.03926731273531914 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 34.5, + "then": { "operation": "if_member", "feature": "Scope", "set": [ - "FunctionScope", "ClassScope", - "FileScope" + "FileScope", + "FunctionScope" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FractionNameInContext", + "threshold": 0.25833332538604736, + "then": { + "operation": "boost", + "score": -0.0022843708284199238 + }, + "else": { + "operation": "boost", + "score": 0.0011967628961429 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 94.5, - "then": { - "operation": "boost", - "score": -0.009244185872375965 - }, - "else": { - "operation": "boost", - "score": 0.09623853117227554 - } - }, - "else": { - "operation": "boost", - "score": 0.10459373146295547 - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11726655811071396 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.20868636667728424 - }, - "else": { - "operation": "boost", - "score": 0.11486957967281342 - } - }, - "else": { - "operation": "boost", - "score": 0.1034289002418518 - } - }, - "else": { - "operation": "boost", - "score": -0.031155047938227654 - } - }, - "else": { - "operation": "boost", - "score": -0.00868942029774189 - } + "operation": "boost", + "score": 0.11448647826910019 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.107339046895504 - }, - "else": { - "operation": "boost", - "score": 0.0018232539296150208 - } + "operation": "boost", + "score": -0.029246363788843155 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.13299088180065155 + }, + "else": { + "operation": "boost", + "score": 0.011629648506641388 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.08810165524482727 + "score": 0.035454604774713516 }, "else": { "operation": "boost", - "score": 0.013926873914897442 + "score": -0.4375552833080292 } + }, + "else": { + "operation": "boost", + "score": 0.008757497183978558 } } }, "else": { "operation": "boost", - "score": -0.012080885469913483 + "score": -0.12987715005874634 } - } - }, - "else": { - "operation": "boost", - "score": -0.002265893155708909 - } - }, - "else": { - "operation": "boost", - "score": -0.009155933745205402 - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1159.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0020920021925121546 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2745.0, - "then": { - "operation": "boost", - "score": 0.006666501984000206 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1803.5, - "then": { - "operation": "boost", - "score": 0.09728150814771652 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1323.5, - "then": { - "operation": "boost", - "score": -0.3056700825691223 }, "else": { - "operation": "boost", - "score": 0.10868077725172043 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1165.0, - "then": { - "operation": "boost", - "score": 0.009046928025782108 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.5231308937072754 - }, - "else": { - "operation": "boost", - "score": -0.04907950386404991 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 330.0, + "feature": "FractionNameInContext", + "threshold": 0.5777778029441833, "then": { - "operation": "boost", - "score": -0.025294866412878036 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.05930929258465767 + "score": 0.13089706003665924 }, "else": { + "operation": "boost", + "score": 0.17447596788406372 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.2666666805744171, "then": { "operation": "boost", - "score": 0.10424909740686417 + "score": 0.15990425646305084 }, "else": { "operation": "boost", - "score": 0.056551743298769 + "score": 0.11150640994310379 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "boost", + "score": -0.19125358760356903 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.38007915019989014 + }, + "else": { + "operation": "boost", + "score": 0.10136520862579346 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "boost", + "score": 0.05977921560406685 + }, + "else": { + "operation": "boost", + "score": 0.21144956350326538 + } + } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203.0, - "then": { - "operation": "boost", - "score": 0.058852244168519974 - }, - "else": { - "operation": "boost", - "score": -0.1690768152475357 - } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 282.0, + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 470.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 472.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0773918554186821 + }, + "else": { + "operation": "boost", + "score": 0.11266595125198364 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.14682626724243164 + }, + "else": { + "operation": "boost", + "score": 0.026366587728261948 + } + } + }, + "else": { + "operation": "boost", + "score": -0.021981194615364075 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6076923608779907, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.620192289352417, + "then": { + "operation": "boost", + "score": -0.010728883557021618 + }, + "else": { + "operation": "boost", + "score": 0.06421516835689545 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Macro", + "Operator", + "Unknown" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.5584415793418884, "then": { "operation": "boost", - "score": 0.06456772983074188 + "score": -0.005780932959169149 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 674.0, - "then": { - "operation": "boost", - "score": 0.10269227623939514 - }, - "else": { - "operation": "boost", - "score": 0.08278180658817291 - } + "operation": "boost", + "score": 0.0953674465417862 } }, "else": { + "operation": "boost", + "score": 0.03040209785103798 + } + }, + "else": { + "operation": "boost", + "score": -0.0464458167552948 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 557.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.3869909942150116 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.013417400419712067 - }, - "else": { - "operation": "boost", - "score": 0.08970051258802414 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.1488644927740097 - }, - "else": { - "operation": "boost", - "score": -0.06125618889927864 - } - } + "operation": "boost", + "score": 0.02245611883699894 }, "else": { "operation": "boost", - "score": -0.044505055993795395 + "score": -0.14437879621982574 } + }, + "else": { + "operation": "boost", + "score": 0.12475544959306717 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1025.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { + "operation": "boost", + "score": -0.027054326608777046 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1082.0, + "feature": "FractionNameInContext", + "threshold": 0.5773809552192688, "then": { "operation": "boost", - "score": -0.03834453597664833 + "score": -0.2725050151348114 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1055.5, - "then": { - "operation": "boost", - "score": 0.12326952815055847 - }, - "else": { - "operation": "boost", - "score": 0.22787946462631226 - } - }, - "else": { - "operation": "boost", - "score": 0.11701745539903641 - } + "operation": "boost", + "score": -0.06095843017101288 } + } + }, + "else": { + "operation": "boost", + "score": -0.20324039459228516 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "boost", + "score": 0.015400067903101444 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.060661762952804565, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.0014468147419393063 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 822.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": -0.3375546932220459 + "score": 0.09211015701293945 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 637.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08168961107730865 - }, - "else": { - "operation": "boost", - "score": 0.15551824867725372 - } - }, - "else": { - "operation": "boost", - "score": 0.008841014467179775 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.032033395022153854 - }, - "else": { - "operation": "boost", - "score": 0.10083174705505371 - } - } + "operation": "boost", + "score": -0.0036330975126475096 }, "else": { "operation": "boost", - "score": -0.20186083018779755 + "score": 0.11065015941858292 } } } }, "else": { "operation": "boost", - "score": -0.05770701542496681 + "score": -0.26284971833229065 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.3903099000453949 }, "else": { "operation": "boost", - "score": 0.10882899165153503 + "score": -0.03537306562066078 } } }, "else": { "operation": "boost", - "score": -0.0724993422627449 + "score": -0.008107432164251804 } }, "else": { - "operation": "boost", - "score": -0.12587764859199524 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 264.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273.0, + "feature": "FractionNameInContext", + "threshold": 0.04880952462553978, "then": { "operation": "boost", - "score": 0.011274680495262146 + "score": -0.008163738995790482 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.12060169130563736 - }, - "else": { - "operation": "boost", - "score": 0.15112599730491638 - } - }, - "else": { - "operation": "boost", - "score": 0.09916649013757706 - } + "operation": "boost", + "score": 0.5805178284645081 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 253.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.2067154496908188 + "score": 0.14621245861053467 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 240.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 251.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.141680046916008 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "boost", + "score": 0.08047731965780258 + }, + "else": { + "operation": "boost", + "score": -0.001445611473172903 + } + }, + "else": { + "operation": "boost", + "score": 0.13691499829292297 + } + }, + "else": { + "operation": "boost", + "score": -0.15802273154258728 + } }, "else": { - "operation": "boost", - "score": 0.06613736599683762 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "boost", + "score": -0.05761341005563736 + }, + "else": { + "operation": "boost", + "score": 0.06760963797569275 + } + }, + "else": { + "operation": "boost", + "score": -0.020798489451408386 + } } }, "else": { - "operation": "boost", - "score": 0.13613127171993256 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3452380895614624, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.030307039618492126 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": -0.004614067263901234 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.18745329976081848 + }, + "else": { + "operation": "boost", + "score": -0.11004878580570221 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.015272310003638268 + } + }, + "else": { + "operation": "boost", + "score": -0.08092265576124191 + } } }, "else": { "operation": "boost", - "score": 0.023632634431123734 + "score": -0.005672896280884743 } } } - }, - "else": { - "operation": "boost", - "score": -0.0069010015577077866 } } } - }, - "else": { - "operation": "boost", - "score": -0.033069808036088943 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.355042040348053, "then": { + "operation": "boost", + "score": 0.007063835393637419 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.03708791360259056, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1114.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.1091514378786087 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28548.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 29370.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 370.0, - "then": { - "operation": "boost", - "score": 0.15145422518253326 - }, - "else": { - "operation": "boost", - "score": 0.04814609885215759 - } + "operation": "boost", + "score": -0.021663723513484 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": -0.2733103632926941 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27669.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.10698050260543823 + "score": 0.12060758471488953 }, "else": { "operation": "boost", - "score": 0.12230399250984192 + "score": -0.06203049421310425 } + }, + "else": { + "operation": "boost", + "score": 0.0004124394617974758 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 130.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 481.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 497.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.02928606979548931 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 943.0, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.11833794414997101 + "score": 0.06491498649120331 }, "else": { - "operation": "boost", - "score": -0.6025333404541016 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": -0.40306785702705383 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": 0.09634818881750107 + }, + "else": { + "operation": "boost", + "score": -0.18953928351402283 + } + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 812.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 849.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.140952467918396 + "score": 0.06189338117837906 }, "else": { "operation": "boost", - "score": 0.11944328993558884 + "score": 0.09318123757839203 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 665.0, - "then": { - "operation": "boost", - "score": -0.1491771787405014 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 622.5, - "then": { - "operation": "boost", - "score": 0.11869083344936371 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.008127523586153984 - }, - "else": { - "operation": "boost", - "score": 0.11566611379384995 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 631.5, - "then": { - "operation": "boost", - "score": -1.9739550352096558 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.03861953690648079 - }, - "else": { - "operation": "boost", - "score": 0.13357321918010712 - } - }, - "else": { - "operation": "boost", - "score": -0.09172262251377106 - } - } - } - } + "operation": "boost", + "score": -0.1001005619764328 } } - }, - "else": { - "operation": "boost", - "score": 0.11088074743747711 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "boost", + "score": 0.04480450227856636 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { + "operation": "boost", + "score": 0.02285951003432274 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { - "operation": "boost", - "score": -0.03429615497589111 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10950304567813873 - }, - "else": { - "operation": "boost", - "score": -0.11057237535715103 - } + "operation": "boost", + "score": -0.10055302828550339 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 361.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.15419267117977142 + "score": 0.06250318884849548 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 312.0, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { - "operation": "boost", - "score": 0.22189638018608093 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "boost", - "score": -0.10216421633958817 + "score": 0.34802696108818054 }, "else": { "operation": "boost", - "score": 0.10555781424045563 + "score": 0.062256306409835815 } + }, + "else": { + "operation": "boost", + "score": 0.22911736369132996 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176.5, - "then": { - "operation": "boost", - "score": -0.07748360931873322 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 170.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10209226608276367 + "score": 0.3685491979122162 }, "else": { "operation": "boost", - "score": -0.0072292182594537735 + "score": -0.36341145634651184 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155.5, - "then": { - "operation": "boost", - "score": 0.12989096343517303 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.08484413474798203 - }, - "else": { - "operation": "boost", - "score": -0.08782467246055603 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09469707310199738 - }, - "else": { - "operation": "boost", - "score": 0.1632845252752304 - } - } + "operation": "boost", + "score": 0.024870464578270912 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": -0.14183375239372253 - }, - "else": { - "operation": "boost", - "score": 0.13483816385269165 - } - }, - "else": { - "operation": "boost", - "score": 0.009836188517510891 - } + "operation": "boost", + "score": -0.004449930042028427 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.006621848326176405 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.25833332538604736, "then": { - "operation": "boost", - "score": -0.1419798880815506 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "boost", - "score": -0.0355105921626091 + "score": 0.02341039478778839 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.10541963577270508 + "score": 0.014258692041039467 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.5, - "then": { - "operation": "boost", - "score": 0.8514944314956665 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.0, - "then": { - "operation": "boost", - "score": 0.12788335978984833 - }, - "else": { - "operation": "boost", - "score": 0.10995656251907349 - } - } - }, - "else": { - "operation": "boost", - "score": 0.024951154366135597 - } + "operation": "boost", + "score": 0.12315405905246735 } }, "else": { - "operation": "boost", - "score": -0.012106589041650295 - } - } - } + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.1944308876991272 + }, + "else": { + "operation": "boost", + "score": 0.0922950878739357 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.033788591623306274 + } }, "else": { "operation": "boost", - "score": 0.04254743084311485 + "score": 0.016777105629444122 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.0710642859339714 }, "else": { - "operation": "boost", - "score": 0.12265966832637787 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.03321114182472229 + }, + "else": { + "operation": "boost", + "score": 0.14010944962501526 + } } - }, - "else": { - "operation": "boost", - "score": -0.014425419270992279 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.1154232919216156 - }, - "else": { - "operation": "boost", - "score": -0.02778657339513302 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 35.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": -0.0727899894118309 + "score": 0.015779003500938416 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 36.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "boost", - "score": -0.020898040384054184 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.1025756448507309 - }, - "else": { - "operation": "boost", - "score": 0.10719791799783707 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.12475273758172989 + "score": 0.13684134185314178 }, "else": { - "operation": "boost", - "score": -0.18512648344039917 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 94.5, "then": { "operation": "boost", - "score": -0.2537081241607666 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.5, - "then": { - "operation": "boost", - "score": 0.10176955163478851 - }, - "else": { - "operation": "boost", - "score": 0.24956609308719635 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.12030947208404541 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 126.0, - "then": { - "operation": "boost", - "score": 0.008277310989797115 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.14918984472751617 - }, - "else": { - "operation": "boost", - "score": 0.18153882026672363 - } - }, - "else": { - "operation": "boost", - "score": -0.11243713647127151 - } - } - } + "score": 0.033329397439956665 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 144.5, + "threshold": 59.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "boost", - "score": 0.11246275156736374 + "score": 0.21186847984790802 }, "else": { "operation": "boost", - "score": 0.15590910613536835 + "score": -0.12993764877319336 } }, "else": { "operation": "boost", - "score": -0.0061901044100522995 + "score": -0.10344471782445908 } } + }, + "else": { + "operation": "boost", + "score": 0.048806820064783096 } - }, - "else": { - "operation": "boost", - "score": 0.00311466446146369 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.11858442425727844 + "score": 0.22445859014987946 }, "else": { "operation": "boost", - "score": 0.059991102665662766 + "score": 0.04931746795773506 } } - }, - "else": { - "operation": "boost", - "score": 0.032492898404598236 } + }, + "else": { + "operation": "boost", + "score": 0.0001238161203218624 } } } + }, + "else": { + "operation": "boost", + "score": -0.12265900522470474 } }, "else": { "operation": "boost", - "score": 0.019386881962418556 + "score": 0.17543141543865204 } }, "else": { "operation": "boost", - "score": -0.11832858622074127 + "score": -0.002863102126866579 } }, "else": { - "operation": "boost", - "score": 0.006105051841586828 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.026983611285686493 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.007304941304028034 + }, + "else": { + "operation": "boost", + "score": 0.005102019757032394 + } + } } - }, - "else": { - "operation": "boost", - "score": -0.0046946513466537 } } - }, - "else": { - "operation": "boost", - "score": -0.00015061514568515122 } - } - }, - "else": { - "operation": "boost", - "score": 0.0024534454569220543 - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Macro" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.10818713903427124, "then": { - "operation": "boost", - "score": -0.040595464408397675 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { - "operation": "boost", - "score": 0.040218353271484375 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": 0.007321357261389494 + }, + "else": { + "operation": "boost", + "score": -0.023615030571818352 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.04258376732468605 + "score": 0.015543129295110703 }, "else": { "operation": "boost", - "score": 0.08401627838611603 + "score": 0.0023974289651960135 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11397143453359604 }, "else": { "operation": "boost", - "score": 0.005492060910910368 + "score": -0.014012845233082771 } + }, + "else": { + "operation": "boost", + "score": 0.005987971555441618 } }, + "else": { + "operation": "boost", + "score": -0.013358678668737411 + } + }, + "else": { + "operation": "boost", + "score": -0.08457301557064056 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.006134577561169863 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 116663.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], + "then": { + "operation": "boost", + "score": 0.005855195689946413 + }, + "else": { + "operation": "boost", + "score": -0.08691240847110748 + } + }, + "else": { + "operation": "boost", + "score": -0.0016161062521860003 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0011404979741200805 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0003734116326086223 + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.03637566417455673, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.0016179888043552637 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1889880895614624, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0002354362659389153 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 8.250831888290122e-05 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0005387468263506889 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5258.0, "then": { - "operation": "boost", - "score": 0.04188837856054306 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24921.5, + "then": { + "operation": "boost", + "score": -0.08151470124721527 + }, + "else": { + "operation": "boost", + "score": 0.08445850014686584 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1367.0, - "then": { - "operation": "boost", - "score": 0.11039789021015167 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09713130444288254 - }, - "else": { - "operation": "boost", - "score": 0.14008520543575287 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1569535881280899 - } + "operation": "boost", + "score": -0.027318088337779045 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 295.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.07389620691537857 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11303997039794922 - }, - "else": { - "operation": "boost", - "score": 0.10284197330474854 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.1059982180595398 - }, - "else": { - "operation": "boost", - "score": 0.019345544278621674 - } - } + "operation": "boost", + "score": -0.044152967631816864 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12491938471794128 + "score": -0.05618803948163986 }, "else": { "operation": "boost", - "score": 0.12032372504472733 + "score": -0.6022817492485046 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.5, - "then": { - "operation": "boost", - "score": 0.09871672093868256 }, "else": { "operation": "boost", - "score": -0.011436648666858673 + "score": 0.03534229099750519 } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.005682348273694515 + }, + "else": { + "operation": "boost", + "score": -0.04204050451517105 + } } }, "else": { - "operation": "boost", - "score": 0.004638136830180883 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 25.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 197.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 210.0, + "then": { + "operation": "boost", + "score": 0.09746058285236359 + }, + "else": { + "operation": "boost", + "score": 0.1184777021408081 + } + }, + "else": { + "operation": "boost", + "score": 0.009953662753105164 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.013942623510956764 + "score": 0.00946254376322031 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08221179991960526 - }, - "else": { - "operation": "boost", - "score": -0.004277427680790424 - } + "operation": "boost", + "score": -0.0018932400271296501 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.14660070836544037 + "score": 0.18850621581077576 }, "else": { "operation": "boost", - "score": -0.13317474722862244 + "score": -0.12159159779548645 } }, "else": { - "operation": "boost", - "score": -0.10382838547229767 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.05790194496512413 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.09069070219993591 + }, + "else": { + "operation": "boost", + "score": 0.15388786792755127 + } + } } } }, "else": { - "operation": "boost", - "score": 0.02272173762321472 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.0, + "then": { + "operation": "boost", + "score": 0.10459090769290924 + }, + "else": { + "operation": "boost", + "score": -0.13804088532924652 + } } } - }, - "else": { - "operation": "boost", - "score": -0.04407269135117531 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.03442783281207085 + "score": 0.07006596028804779 }, "else": { "operation": "boost", - "score": 0.0031788838095963 + "score": 0.12474100291728973 } }, "else": { "operation": "boost", - "score": -0.0631726086139679 + "score": -0.01935555413365364 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": -0.038865502923727036 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, "then": { - "operation": "boost", - "score": 0.133326455950737 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.23303167521953583, + "then": { + "operation": "boost", + "score": 0.002808025572448969 + }, + "else": { + "operation": "boost", + "score": -0.012702657841145992 + } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.003524956526234746 - }, - "else": { - "operation": "boost", - "score": 0.054718438535928726 - } + "operation": "boost", + "score": -0.0463976226747036 }, "else": { "operation": "boost", - "score": -0.005746627692133188 + "score": 0.12087278068065643 } }, "else": { "operation": "boost", - "score": -0.0650520920753479 + "score": 0.046841468662023544 } }, "else": { "operation": "boost", - "score": -0.10352250188589096 + "score": 0.015322484076023102 } } }, "else": { - "operation": "boost", - "score": -0.024989569559693336 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0007557005155831575 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.032898854464292526 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.049808863550424576 + "score": -0.059583358466625214 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.37156572937965393 - }, - "else": { - "operation": "boost", - "score": 0.1761477291584015 - } + "operation": "boost", + "score": 0.06004077568650246 } }, "else": { - "operation": "boost", - "score": 0.0516473725438118 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.06630610674619675 + "score": 0.018066082149744034 }, "else": { "operation": "boost", - "score": 0.0986877977848053 + "score": 0.07894652336835861 } - }, - "else": { - "operation": "boost", - "score": -0.08159051835536957 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.0009022139711305499 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.10845855623483658 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0997525230050087 - }, - "else": { - "operation": "boost", - "score": -0.03359582647681236 - } - } + "operation": "boost", + "score": -0.03276953473687172 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "CCC_Namespace", + "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.06758815795183182 - }, - "else": { - "operation": "boost", - "score": -0.0354510098695755 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10781954973936081 + "score": 0.1262947916984558 }, "else": { - "operation": "boost", - "score": 0.143254816532135 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "boost", + "score": -0.050710294395685196 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "boost", + "score": 0.05582522600889206 + }, + "else": { + "operation": "boost", + "score": -0.032200053334236145 + } + } } }, "else": { "operation": "boost", - "score": 0.06763731688261032 + "score": -0.010733540169894695 } }, "else": { - "operation": "boost", - "score": 0.2948704659938812 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.04905097559094429 + "score": 0.10041917860507965 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.13337227702140808 + "score": 0.09414809942245483 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": -0.4437861740589142 - }, - "else": { - "operation": "boost", - "score": 0.08352747559547424 - } + "operation": "boost", + "score": -0.07133954763412476 }, "else": { "operation": "boost", - "score": -1.3608899116516113 + "score": 0.07650740444660187 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.07019975781440735 - }, - "else": { - "operation": "boost", - "score": 0.10827227681875229 - } + "operation": "boost", + "score": 0.006609865464270115 } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07444991171360016 - }, - "else": { - "operation": "boost", - "score": 0.11792461574077606 - } + "operation": "boost", + "score": -0.03921310976147652 } } - }, - "else": { - "operation": "boost", - "score": 0.01418117806315422 } } } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.00269212294369936 + }, + "else": { + "operation": "boost", + "score": -0.015143326483666897 + } } } }, - "else": { - "operation": "boost", - "score": 0.06497560441493988 - } - }, - "else": { - "operation": "boost", - "score": -0.011486383154988289 - } - }, - "else": { - "operation": "boost", - "score": 0.0032739804591983557 - } - } - }, - "else": { - "operation": "boost", - "score": 0.00012157700257375836 - } - }, - "else": { - "operation": "boost", - "score": -0.0013524553505703807 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.06946537643671036 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.021013807505369186 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.006063962355256081 - }, - "else": { - "operation": "boost", - "score": 0.08259996026754379 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.011526966467499733 - }, - "else": { - "operation": "boost", - "score": -0.006167309358716011 - } - }, - "else": { - "operation": "boost", - "score": 0.01853042282164097 - } - }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { "operation": "boost", - "score": -0.044089436531066895 + "score": 0.094387486577034 }, "else": { "operation": "boost", - "score": 0.10062766075134277 + "score": -0.0687875896692276 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "boost", + "score": -0.001993641024455428 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.011222007684409618 - }, - "else": { - "operation": "boost", - "score": 0.026381682604551315 - } + "operation": "boost", + "score": 0.0033308141864836216 }, "else": { "operation": "boost", - "score": -0.010768801905214787 + "score": -0.006924192421138287 } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.7818167805671692 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3957124650478363 + }, + "else": { + "operation": "boost", + "score": 0.023221777752041817 + } + }, + "else": { + "operation": "boost", + "score": -0.018438931554555893 + } + }, + "else": { + "operation": "boost", + "score": -0.0984891727566719 + } }, "else": { - "operation": "boost", - "score": 0.019402794539928436 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": -0.11960815638303757 + }, + "else": { + "operation": "boost", + "score": -0.01517487596720457 + } } } - }, - "else": { - "operation": "boost", - "score": -0.004191744141280651 } } } @@ -336038,3558 +339336,3097 @@ }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03604250028729439 + "score": -0.24886710941791534 }, "else": { + "operation": "boost", + "score": -0.0793084055185318 + } + }, + "else": { + "operation": "boost", + "score": -0.02506820484995842 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { - "operation": "boost", - "score": 0.13598109781742096 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01241969596594572 + }, + "else": { + "operation": "boost", + "score": 0.10304757952690125 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.14864088594913483 + }, + "else": { + "operation": "boost", + "score": 0.06305105984210968 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0354086197912693 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": 0.0246155746281147 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.10105957835912704 + }, + "else": { + "operation": "boost", + "score": 0.13442789018154144 + } + } + } }, "else": { "operation": "boost", - "score": 0.0030867040622979403 + "score": -0.02673196978867054 } + }, + "else": { + "operation": "boost", + "score": 0.0005805121036246419 } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08136346936225891 + }, + "else": { + "operation": "boost", + "score": 0.05525490641593933 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.007081310730427504 + "score": 0.0016245378646999598 }, "else": { "operation": "boost", - "score": 0.1001659408211708 + "score": 0.1281968653202057 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.17431141436100006 + }, + "else": { + "operation": "boost", + "score": -0.11608116328716278 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10837302356958389 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.10780789703130722 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "boost", + "score": 0.04690120741724968 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "boost", + "score": 0.06972460448741913 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.001597848953679204 + }, + "else": { + "operation": "boost", + "score": -0.5987248420715332 + } + }, + "else": { + "operation": "boost", + "score": 0.06698117405176163 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.16594599187374115 + }, + "else": { + "operation": "boost", + "score": 0.08991383016109467 + } + }, + "else": { + "operation": "boost", + "score": 0.1285371035337448 + } + }, + "else": { + "operation": "boost", + "score": 0.05637604370713234 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02057083509862423 + } + }, + "else": { + "operation": "boost", + "score": -0.009778098203241825 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "boost", + "score": 0.07361278682947159 + }, + "else": { + "operation": "boost", + "score": 0.01796008087694645 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.01137124840170145 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.07848887890577316 + }, + "else": { + "operation": "boost", + "score": 0.0853387862443924 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.06006776541471481 + }, + "else": { + "operation": "boost", + "score": 0.2987724244594574 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10947313904762268 + } + } + } }, "else": { "operation": "boost", - "score": 0.09001348912715912 + "score": -0.07395073026418686 } - }, - "else": { - "operation": "boost", - "score": 0.003971195314079523 } - }, - "else": { - "operation": "boost", - "score": 0.012518598698079586 } } + }, + "else": { + "operation": "boost", + "score": -0.010203605517745018 } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.4149528443813324 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.4588032066822052 + "score": 0.03335978835821152 }, "else": { "operation": "boost", - "score": -0.07156478613615036 + "score": 0.22252990305423737 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Operator", - "Unknown", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "boost", - "score": -0.013249770738184452 + "score": 0.08707734197378159 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.017900830134749413 - }, - "else": { - "operation": "boost", - "score": 0.004181920550763607 - } + "operation": "boost", + "score": 0.016532298177480698 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, "then": { "operation": "boost", - "score": -0.0009442463051527739 + "score": 0.01013240683823824 }, "else": { - "operation": "boost", - "score": -0.10780937969684601 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, + "then": { + "operation": "boost", + "score": -0.03304416686296463 + }, + "else": { + "operation": "boost", + "score": 0.09407611936330795 + } + }, + "else": { + "operation": "boost", + "score": -0.12034693360328674 + } } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.016073863953351974 - }, - "else": { - "operation": "boost", - "score": -0.037456195801496506 - } + "operation": "boost", + "score": -0.040054503828287125 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.003101843409240246 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04682939127087593 }, "else": { "operation": "boost", - "score": 0.009859366342425346 + "score": 0.0018352136248722672 } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.061587631702423096 - }, - "else": { - "operation": "boost", - "score": 0.0012968543451279402 - } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02045024186372757 - }, - "else": { - "operation": "boost", - "score": 0.013970187865197659 - } - }, - "else": { - "operation": "boost", - "score": -0.007073251996189356 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.00905661378055811 - }, - "else": { - "operation": "boost", - "score": -0.026317942887544632 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.012935210950672626 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.03026833012700081 + "score": -0.05196699500083923 }, "else": { - "operation": "boost", - "score": -0.010074760764837265 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.012222792953252792 + }, + "else": { + "operation": "boost", + "score": 0.05218591168522835 + } + }, + "else": { + "operation": "boost", + "score": 0.008439654484391212 + } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" + "FileScope", + "FunctionScope" ], "then": { - "operation": "boost", - "score": 0.09097184240818024 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.0914275199174881 + }, + "else": { + "operation": "boost", + "score": -0.06944920867681503 + } }, "else": { - "operation": "boost", - "score": -0.20638687908649445 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_Other", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97784.5, "then": { "operation": "boost", - "score": 0.04647732153534889 + "score": -0.17118039727210999 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.0041241771541535854 - }, - "else": { - "operation": "boost", - "score": -0.1600462794303894 - } + "operation": "boost", + "score": -0.027633022516965866 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.5039520263671875 }, "else": { "operation": "boost", - "score": -0.02149556577205658 + "score": -0.05982746183872223 } } } }, "else": { "operation": "boost", - "score": -0.008244043216109276 + "score": -0.001174329430796206 } } } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.1605476588010788 + }, + "else": { + "operation": "boost", + "score": -0.03430052474141121 + } } + }, + "else": { + "operation": "boost", + "score": -0.000359498051693663 } }, { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { + "operation": "boost", + "score": 0.0035696011036634445 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.04673806205391884 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 332.5, + "operation": "boost", + "score": -1.2962172031402588 + }, + "else": { + "operation": "boost", + "score": -0.08541135489940643 + } + }, + "else": { + "operation": "boost", + "score": 0.007819537073373795 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.33259856700897217 + }, + "else": { + "operation": "boost", + "score": 0.06143707409501076 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "boost", + "score": 0.024884380400180817 + }, + "else": { + "operation": "boost", + "score": -0.23875583708286285 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "boost", + "score": -0.0030365614220499992 + }, + "else": { + "operation": "boost", + "score": -0.056045472621917725 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.023544572293758392 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": -0.13053405284881592 + }, + "else": { + "operation": "boost", + "score": -0.10386711359024048 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.009567070752382278 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.020345043390989304 + }, + "else": { + "operation": "boost", + "score": 0.042792629450559616 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8282.0, + "threshold": 224.0, "then": { "operation": "boost", - "score": -0.11077603697776794 + "score": 0.09370213001966476 }, "else": { + "operation": "boost", + "score": -0.16638773679733276 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 745.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2265.5, - "then": { - "operation": "boost", - "score": 0.10752546042203903 - }, - "else": { - "operation": "boost", - "score": 0.10718824714422226 - } + "operation": "boost", + "score": 0.08385462313890457 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 362.0, - "then": { - "operation": "boost", - "score": -0.28737935423851013 - }, - "else": { - "operation": "boost", - "score": 0.11921671032905579 - } + "operation": "boost", + "score": -0.043226778507232666 } + }, + "else": { + "operation": "boost", + "score": 0.07790131121873856 } - }, - "else": { - "operation": "boost", - "score": -0.1162911206483841 } }, "else": { "operation": "boost", - "score": -0.16304519772529602 + "score": -0.5204131007194519 } }, "else": { + "operation": "boost", + "score": -0.0107919592410326 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 678.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.09813757240772247 + "score": 0.01908663846552372 }, "else": { + "operation": "boost", + "score": -0.075924351811409 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1782.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.1618419885635376 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11423.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08710148185491562 + "score": 0.011309020221233368 }, "else": { "operation": "boost", - "score": -0.1027078926563263 + "score": 0.04979310184717178 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": 0.014027236960828304 }, "else": { - "operation": "boost", - "score": 0.1872205138206482 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11192569136619568 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.029225073754787445 - } - }, - "else": { - "operation": "boost", - "score": 0.004416801035404205 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.05715601146221161 - }, - "else": { - "operation": "boost", - "score": 0.18467138707637787 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.041197385638952255 + }, + "else": { + "operation": "boost", + "score": 0.08548477292060852 + } + } + } } }, "else": { - "operation": "boost", - "score": -0.010812586173415184 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.034632034599781036, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { - "operation": "boost", - "score": -0.14461757242679596 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08888959139585495 + }, + "else": { + "operation": "boost", + "score": -0.10033004730939865 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, "then": { "operation": "boost", - "score": 0.12466908246278763 + "score": -0.04495767503976822 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10079646110534668 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.13016921281814575 - }, - "else": { - "operation": "boost", - "score": 0.10954506695270538 - } - } + "operation": "boost", + "score": -0.3043850362300873 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.04129302129149437 + "score": -0.008116927929222584 }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.1006065085530281 + "score": 0.04492644593119621 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.20125707983970642 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10704468190670013 - }, - "else": { - "operation": "boost", - "score": 0.10076185315847397 - } - } - }, - "else": { - "operation": "boost", - "score": -0.08729677647352219 - } + "operation": "boost", + "score": -0.02467808872461319 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11402884870767593 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14252786338329315 - }, - "else": { - "operation": "boost", - "score": 0.051173366606235504 - } - } + "operation": "boost", + "score": 0.00958226341754198 } } } } }, "else": { + "operation": "boost", + "score": -0.0244259312748909 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83253.0, + "then": { + "operation": "boost", + "score": -0.430829256772995 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { - "operation": "boost", - "score": 0.00016177556244656444 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.8565914630889893 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, + "then": { + "operation": "boost", + "score": -0.5799321532249451 + }, + "else": { + "operation": "boost", + "score": 0.04318653419613838 + } + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, "then": { "operation": "boost", - "score": 0.041399359703063965 + "score": -0.17378166317939758 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.15910644829273224 + }, + "else": { + "operation": "boost", + "score": -0.04681200906634331 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 111.0, "then": { "operation": "boost", - "score": -0.10059801489114761 + "score": 0.1428803950548172 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 57.5, "then": { + "operation": "boost", + "score": 0.14654266834259033 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 31.5, "then": { + "operation": "boost", + "score": 0.11529184132814407 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { "operation": "boost", - "score": -0.1288149058818817 + "score": 0.07837630808353424 }, "else": { "operation": "boost", - "score": 0.09611184149980545 + "score": 0.16393406689167023 } - }, - "else": { - "operation": "boost", - "score": -0.04946257546544075 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.09505301713943481 - }, - "else": { - "operation": "boost", - "score": -0.10641635209321976 } } } }, "else": { "operation": "boost", - "score": 0.04339143633842468 + "score": -0.008200588636100292 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.07321755588054657 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.08142878115177155 }, "else": { "operation": "boost", - "score": 0.042580246925354004 + "score": 0.0026373101864010096 } + }, + "else": { + "operation": "boost", + "score": 0.05313868448138237 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.013560670427978039 - }, - "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "boost", - "score": -0.10084109753370285 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": -0.1655210554599762 - }, - "else": { - "operation": "boost", - "score": -0.028231782838702202 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09098635613918304 - }, - "else": { - "operation": "boost", - "score": -0.009171332232654095 - } - } + "operation": "boost", + "score": -0.0771520659327507 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "boost", - "score": -0.006157289259135723 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.14640453457832336 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10717301815748215 - }, - "else": { - "operation": "boost", - "score": 0.046073392033576965 - } - }, - "else": { - "operation": "boost", - "score": 0.012446449138224125 - } - } + "operation": "boost", + "score": -0.08948691934347153 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.053121596574783325 + "score": 0.010711407288908958 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.04731715843081474 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.12102869898080826 + }, + "else": { + "operation": "boost", + "score": 0.17345863580703735 + } }, "else": { "operation": "boost", - "score": 0.11025198549032211 + "score": -0.10975678265094757 } }, "else": { "operation": "boost", - "score": 0.07256726920604706 + "score": 0.09395194053649902 } } } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.12666063010692596 + }, + "else": { + "operation": "boost", + "score": 0.31779709458351135 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.049320418387651443 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.05384018272161484 + }, + "else": { + "operation": "boost", + "score": -1.913978099822998 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11841564625501633 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.07680447399616241 - }, - "else": { - "operation": "boost", - "score": 0.02680877223610878 - } - } + "operation": "boost", + "score": 0.012927882373332977 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.06986689567565918 + "score": -0.6268004179000854 }, "else": { "operation": "boost", - "score": 0.04440688714385033 + "score": 0.09628501534461975 } } } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11207707226276398 + }, + "else": { + "operation": "boost", + "score": 0.13422469794750214 + } } - } - }, - "else": { - "operation": "boost", - "score": 0.03357893228530884 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, - "then": { - "operation": "boost", - "score": -0.035084839910268784 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99.0, - "then": { - "operation": "boost", - "score": 0.10560549795627594 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { + "operation": "boost", + "score": 0.0007257155375555158 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.08814885467290878 + "score": -0.11997294425964355 }, "else": { - "operation": "boost", - "score": 0.11586331576108932 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.0, + "then": { + "operation": "boost", + "score": 0.1552269160747528 + }, + "else": { + "operation": "boost", + "score": 0.14058281481266022 + } + }, + "else": { + "operation": "boost", + "score": 0.06373235583305359 + } + }, + "else": { + "operation": "boost", + "score": 0.10964379459619522 + } + }, + "else": { + "operation": "boost", + "score": -0.08804876357316971 + } } - }, - "else": { - "operation": "boost", - "score": 0.05266343057155609 } } } }, "else": { "operation": "boost", - "score": -0.10031954944133759 + "score": -0.009219329804182053 } - }, - "else": { - "operation": "boost", - "score": -0.060876429080963135 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Function" + "GlobalScope" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.09375683963298798 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { - "operation": "boost", - "score": 0.04895709827542305 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.056799959391355515 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4608.5, - "then": { - "operation": "boost", - "score": 0.032756831496953964 - }, - "else": { - "operation": "boost", - "score": 0.13462834060192108 - } - } - }, - "else": { - "operation": "boost", - "score": 0.005848924163728952 - } + "operation": "boost", + "score": 0.09465537220239639 }, "else": { "operation": "boost", - "score": 0.17948542535305023 + "score": 0.14275850355625153 } + }, + "else": { + "operation": "boost", + "score": -0.11550026386976242 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06514681875705719 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, + "feature": "FractionNameInContext", + "threshold": 0.5727273225784302, "then": { "operation": "boost", - "score": 0.06479192525148392 + "score": -0.06817270815372467 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1287747621536255 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.10013438016176224 - }, - "else": { - "operation": "boost", - "score": 0.09789913892745972 - } - }, - "else": { - "operation": "boost", - "score": -0.12411695718765259 - } - } + "operation": "boost", + "score": 0.07654830068349838 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11144591122865677 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03057156316936016 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.07227978855371475 - }, - "else": { - "operation": "boost", - "score": 0.09459211677312851 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.055335212498903275 - } + "operation": "boost", + "score": 0.003226478351280093 } }, "else": { "operation": "boost", - "score": 0.02395429089665413 + "score": 0.07204824686050415 } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": -0.11667083948850632 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10691125690937042 + "score": 0.08276484161615372 }, "else": { "operation": "boost", - "score": -0.04612200707197189 + "score": 0.0986800342798233 } }, "else": { "operation": "boost", - "score": 0.12549297511577606 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -1.3787411451339722 - }, - "else": { - "operation": "boost", - "score": 0.07969311624765396 + "score": 0.040071725845336914 } } }, "else": { + "operation": "boost", + "score": -0.022722385823726654 + } + }, + "else": { + "operation": "boost", + "score": -0.0023032163735479116 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": 0.024276094511151314 + }, + "else": { + "operation": "boost", + "score": 0.008640548214316368 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": -0.04095122963190079 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14503.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.0, "then": { "operation": "boost", - "score": -0.03632097318768501 + "score": 0.24089457094669342 }, "else": { + "operation": "boost", + "score": 0.03295198082923889 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 31.5, "then": { - "operation": "boost", - "score": -0.052290625870227814 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 15.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.0, "then": { - "operation": "boost", - "score": 0.01742180809378624 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79.0, "then": { "operation": "boost", - "score": 0.0995524600148201 + "score": 0.3093729019165039 }, "else": { "operation": "boost", - "score": 0.07139299809932709 + "score": 0.09656159579753876 } + }, + "else": { + "operation": "boost", + "score": -0.3069174885749817 } + }, + "else": { + "operation": "boost", + "score": 0.6406610608100891 } + }, + "else": { + "operation": "boost", + "score": 0.02765112929046154 } } } + }, + "else": { + "operation": "boost", + "score": -0.013044447638094425 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.00706853112205863 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.1416231095790863 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Function" + "FileScope" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.0416666679084301, "then": { "operation": "boost", - "score": -0.15646100044250488 + "score": -0.3919292390346527 }, "else": { "operation": "boost", - "score": 0.025493767112493515 + "score": 0.12985728681087494 } }, "else": { "operation": "boost", - "score": 0.007783149369060993 + "score": 0.03750592842698097 } - }, - "else": { - "operation": "boost", - "score": 3.358894173288718e-05 } } }, "else": { - "operation": "boost", - "score": -0.003154890378937125 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 398484.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.07417891174554825 + "score": 0.0009212780860252678 }, "else": { "operation": "boost", - "score": 0.0101467315107584 + "score": -0.054016388952732086 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.035387713462114334 + }, + "else": { + "operation": "boost", + "score": 0.059975817799568176 + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", - "score": 0.08800731599330902 + "score": -0.08827032148838043 }, "else": { "operation": "boost", - "score": 0.09520106762647629 + "score": 0.06236004829406738 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11435981839895248 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.0, - "then": { - "operation": "boost", - "score": -0.0030759975779801607 - }, - "else": { - "operation": "boost", - "score": 0.1185101717710495 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.02180936373770237 - }, - "else": { - "operation": "boost", - "score": -0.42289865016937256 - } - } + "operation": "boost", + "score": -0.06031467765569687 } - }, - "else": { - "operation": "boost", - "score": -0.059274982661008835 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, "then": { - "operation": "boost", - "score": 0.037735603749752045 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { "operation": "boost", - "score": -0.07170332968235016 + "score": -0.08976440876722336 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.02159433253109455 + "score": 0.03531912341713905 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14834250509738922 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.44293856620788574 - }, - "else": { - "operation": "boost", - "score": -0.9319264888763428 - } - } + "operation": "boost", + "score": 0.07216598093509674 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.019318927079439163 + "score": -0.10564026236534119 }, "else": { - "operation": "boost", - "score": -0.08763932436704636 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.01305522583425045 + }, + "else": { + "operation": "boost", + "score": 0.09536483883857727 + } } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.020663456991314888 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.00908026471734047 - }, - "else": { - "operation": "boost", - "score": -0.0006029728683643043 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0023874929174780846 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7329.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9213.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18751.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22368.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.006078618578612804 + "score": 0.1157626137137413 }, "else": { "operation": "boost", - "score": 0.024314939975738525 + "score": 0.043134961277246475 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06519660353660583 + "score": 0.13398505747318268 }, "else": { - "operation": "boost", - "score": 0.11273820698261261 + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08380194753408432 + }, + "else": { + "operation": "boost", + "score": -0.0015133520355448127 + } } } - }, - "else": { - "operation": "boost", - "score": 0.010011685080826283 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.00971667468547821 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11777745187282562 - }, - "else": { - "operation": "boost", - "score": -0.01334524154663086 - } } } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00011523839930305257 + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06189366802573204 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8890.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8956.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.10196453332901001 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.10906069725751877 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10504720360040665 - }, - "else": { - "operation": "boost", - "score": -0.10431382805109024 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07029625028371811 - } - }, - "else": { - "operation": "boost", - "score": -0.1581154614686966 - } - }, - "else": { - "operation": "boost", - "score": 0.11113855987787247 - } + "operation": "boost", + "score": 0.07734166085720062 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7522.0, - "then": { - "operation": "boost", - "score": -0.06580764055252075 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7369.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14243820309638977 - }, - "else": { - "operation": "boost", - "score": 0.11279025673866272 - } - }, - "else": { - "operation": "boost", - "score": -0.2607899010181427 - } - } + "operation": "boost", + "score": -0.03719891607761383 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": 0.006202578078955412 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0006823037983849645 + } + }, + "else": { + "operation": "boost", + "score": 0.0005063940770924091 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03369399160146713 + }, + "else": { + "operation": "boost", + "score": -0.0258359145373106 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 266152.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 272339.5, "then": { "operation": "boost", - "score": 0.13644054532051086 + "score": 0.011696959845721722 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.10965083539485931 + "score": 0.05550083890557289 }, "else": { "operation": "boost", - "score": -0.023889193311333656 + "score": 0.09640154987573624 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "boost", + "score": -0.004253922495990992 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.02859637327492237 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.006027278024703264 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8573.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8751.0, - "then": { - "operation": "boost", - "score": 0.10686041414737701 - }, - "else": { - "operation": "boost", - "score": 0.10488531738519669 - } + "operation": "boost", + "score": -0.01199090015143156 }, "else": { "operation": "boost", - "score": 0.09317463636398315 + "score": 0.01541297696530819 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.025277288630604744 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.11266063153743744 + "score": 0.05889981985092163 }, "else": { "operation": "boost", - "score": 0.09743236750364304 + "score": 0.019352590665221214 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08207804709672928 - }, - "else": { - "operation": "boost", - "score": -0.7193828225135803 - } + "operation": "boost", + "score": 0.016331704333424568 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8213.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8296.0, + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, "then": { "operation": "boost", - "score": -0.1440954953432083 + "score": 0.1223871260881424 }, "else": { "operation": "boost", - "score": 0.06299242377281189 + "score": 0.022208664566278458 } }, "else": { - "operation": "boost", - "score": 0.0983557254076004 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.030128810554742813 + }, + "else": { + "operation": "boost", + "score": -0.14595608413219452 + } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": -0.04978398233652115 - }, - "else": { - "operation": "boost", - "score": -0.542084276676178 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7360.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8910.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.09919124096632004 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11073284596204758 - }, - "else": { - "operation": "boost", - "score": -0.28234386444091797 - } - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "boost", - "score": -0.3174605965614319 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "boost", + "score": -0.10229761898517609 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.15195167064666748 + "score": -0.14747443795204163 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10638914257287979 - }, - "else": { - "operation": "boost", - "score": -0.24214619398117065 - } + "operation": "boost", + "score": 0.03295176103711128 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.10709338635206223 - }, - "else": { - "operation": "boost", - "score": -0.37670332193374634 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12054920941591263 - } - }, - "else": { - "operation": "boost", - "score": -0.4876014292240143 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10132923722267151 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8265.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { - "operation": "boost", - "score": -0.12212970107793808 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7467.0, + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7590.0, + "feature": "FileProximityDistanceCost", + "threshold": 26.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7832.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8150.0, - "then": { - "operation": "boost", - "score": 0.10493941605091095 - }, - "else": { - "operation": "boost", - "score": 0.04696061834692955 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7731.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0851588100194931 - }, - "else": { - "operation": "boost", - "score": 0.10938876122236252 - } - }, - "else": { - "operation": "boost", - "score": 0.08197680115699768 - } - } + "operation": "boost", + "score": 0.045851144939661026 }, "else": { "operation": "boost", - "score": -0.109327532351017 + "score": -0.15365983545780182 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "boost", - "score": 0.11571714282035828 + "score": 0.0751943588256836 }, "else": { - "operation": "boost", - "score": -0.11138954013586044 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.011632896959781647 + }, + "else": { + "operation": "boost", + "score": -0.28422629833221436 + } + }, + "else": { + "operation": "boost", + "score": 0.07044526934623718 + } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "boost", - "score": 0.10172060877084732 + "score": -0.05348193645477295 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": 0.07928906381130219 + }, + "else": { + "operation": "boost", + "score": 0.03180444613099098 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.06719394028186798 + "score": -0.04438911750912666 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7834.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { - "operation": "boost", - "score": 0.10620920360088348 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.05325670912861824 + }, + "else": { + "operation": "boost", + "score": 0.11598843336105347 + } }, "else": { "operation": "boost", - "score": 0.07630033046007156 + "score": 0.02460320107638836 } } - }, - "else": { - "operation": "boost", - "score": 0.07714354991912842 } } - }, - "else": { - "operation": "boost", - "score": -0.10237197577953339 } } - }, - "else": { - "operation": "boost", - "score": -0.7286947965621948 } + }, + "else": { + "operation": "boost", + "score": -0.10407096892595291 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0407857671380043 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7875.5, - "then": { - "operation": "boost", - "score": 0.11449922621250153 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": -0.04264707490801811 - }, - "else": { - "operation": "boost", - "score": 0.13063210248947144 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1138836219906807 - }, - "else": { - "operation": "boost", - "score": 0.052352942526340485 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7434.5, - "then": { - "operation": "boost", - "score": 0.047611434012651443 - }, - "else": { - "operation": "boost", - "score": -1.1469184160232544 - } - } - } + "operation": "boost", + "score": -0.028139842674136162 }, "else": { - "operation": "boost", - "score": -0.0497509129345417 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8051.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", "Constructor", + "Destructor", "Function", - "Namespace" + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" ], "then": { - "operation": "boost", - "score": 0.1134641021490097 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10393135994672775 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9285714626312256, + "then": { + "operation": "boost", + "score": 0.10056915134191513 + }, + "else": { + "operation": "boost", + "score": 0.026437899097800255 + } + } }, "else": { "operation": "boost", - "score": -0.10109062492847443 + "score": -0.10293981432914734 } }, "else": { "operation": "boost", - "score": 0.04255624860525131 + "score": -0.008582857437431812 } }, - "else": { - "operation": "boost", - "score": 0.012413193471729755 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1410479098558426 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8336.5, + "feature": "FractionNameInContext", + "threshold": 0.09761904925107956, "then": { - "operation": "boost", - "score": -0.04956893250346184 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8187.0, + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, "then": { "operation": "boost", - "score": 0.12325620651245117 + "score": -0.27690747380256653 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8044.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "boost", - "score": 0.11582455784082413 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7509.0, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { "operation": "boost", - "score": -0.11158844828605652 + "score": -0.0930040180683136 }, "else": { "operation": "boost", - "score": 0.14737914502620697 + "score": 0.058509424328804016 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.6902667880058289 - }, - "else": { - "operation": "boost", - "score": -0.13397538661956787 - } + "operation": "boost", + "score": -0.03357852250337601 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.031934455037117004 + }, + "else": { + "operation": "boost", + "score": 0.08252320438623428 } + } + }, + "else": { + "operation": "boost", + "score": 0.017365187406539917 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.028651287779211998 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.04499569162726402 + }, + "else": { + "operation": "boost", + "score": 0.01837405562400818 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.018662571907043457 }, "else": { "operation": "boost", - "score": 0.1761539876461029 + "score": -0.40765243768692017 } } } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.01506116148084402 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8022.5, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8158.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.11049371212720871 + "score": -0.21036529541015625 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.13572247326374054 - }, - "else": { - "operation": "boost", - "score": -0.14196035265922546 - } + "operation": "boost", + "score": 0.049030084162950516 } }, "else": { - "operation": "boost", - "score": -0.021576842293143272 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.12465889006853104 + }, + "else": { + "operation": "boost", + "score": 0.02804373763501644 + } } }, "else": { - "operation": "boost", - "score": -0.15353578329086304 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": 0.030136993154883385 + }, + "else": { + "operation": "boost", + "score": 0.06858716160058975 + } + }, + "else": { + "operation": "boost", + "score": 0.008461068384349346 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.10703901201486588 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0018999316962435842 + }, + "else": { + "operation": "boost", + "score": -0.04829917103052139 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 882.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 2471.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.10700280219316483 - }, - "else": { - "operation": "boost", - "score": 0.11449114978313446 - } - }, - "else": { - "operation": "boost", - "score": -0.2639961540699005 - } + "operation": "boost", + "score": 0.07314497232437134 }, "else": { "operation": "boost", - "score": 0.11685184389352798 + "score": 0.13230985403060913 } + }, + "else": { + "operation": "boost", + "score": 0.0662761703133583 } }, "else": { "operation": "boost", - "score": 0.02275303192436695 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07338821142911911 - }, - "else": { - "operation": "boost", - "score": -0.02905375324189663 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.008027967065572739 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8161.0, - "then": { - "operation": "boost", - "score": 0.03988879546523094 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04062018170952797 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7834.5, - "then": { - "operation": "boost", - "score": 0.3541563153266907 - }, - "else": { - "operation": "boost", - "score": 0.3053189218044281 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03501906618475914 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8002.0, - "then": { - "operation": "boost", - "score": 0.06517153978347778 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7702.0, - "then": { - "operation": "boost", - "score": 0.4016737937927246 - }, - "else": { - "operation": "boost", - "score": -0.18418440222740173 - } + "score": -0.03664683923125267 } + }, + "else": { + "operation": "boost", + "score": -0.00029928633011877537 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.014440600760281086 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220112.0, - "then": { - "operation": "boost", - "score": -0.1100151538848877 - }, - "else": { - "operation": "boost", - "score": 0.08171653747558594 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "boost", - "score": -0.6340731978416443 - }, - "else": { - "operation": "boost", - "score": -0.18023322522640228 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.003986636642366648 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7434.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.012360326945781708 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110939.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.1416569948196411 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13840.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14305.0, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.01702863909304142 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07514497637748718 + "score": -0.027416205033659935 }, "else": { - "operation": "boost", - "score": -0.13153555989265442 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0011916211806237698 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": -0.12558504939079285 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.16218525171279907 + }, + "else": { + "operation": "boost", + "score": -0.024508537724614143 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08464700728654861 + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10056792199611664 }, "else": { "operation": "boost", - "score": 0.1365695595741272 + "score": 0.012044123373925686 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10865.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.014194603078067303 + "score": 0.03595393896102905 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.1046484187245369 - }, - "else": { - "operation": "boost", - "score": -0.14917878806591034 - } + "operation": "boost", + "score": -0.06084069237112999 } - }, - "else": { - "operation": "boost", - "score": -0.09797956049442291 } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10707733780145645 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0002530912170186639 - } - }, - { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 277.0, - "then": { - "operation": "boost", - "score": 0.1347033828496933 - }, - "else": { - "operation": "boost", - "score": -0.02888600528240204 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63355.5, - "then": { - "operation": "boost", - "score": 0.0730263814330101 - }, - "else": { - "operation": "boost", - "score": 0.03391391411423683 - } - } - }, - "else": { - "operation": "boost", - "score": -0.024556171149015427 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.00606003450229764 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.2477635145187378 }, "else": { "operation": "boost", - "score": 0.010814371518790722 + "score": 0.0026486089918762445 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.07997286319732666 - }, - "else": { - "operation": "boost", - "score": -0.13491088151931763 - } - } - }, - "else": { - "operation": "boost", - "score": -0.09875551611185074 - } - }, - "else": { - "operation": "boost", - "score": -0.07042880356311798 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0018094974802806973 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.1032603308558464 - }, - "else": { - "operation": "boost", - "score": 0.051690101623535156 - } - } - }, - "else": { - "operation": "boost", - "score": -0.011894289404153824 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_Statement" + "Function" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "boost", - "score": -0.026353677734732628 + "score": -0.09955127537250519 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1673.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.012972933240234852 - }, - "else": { - "operation": "boost", - "score": 0.05143539980053902 - } + "operation": "boost", + "score": 0.03264014795422554 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06132834777235985 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.1177181676030159 + }, + "else": { + "operation": "boost", + "score": 0.06949946284294128 + } }, "else": { - "operation": "boost", - "score": 0.047543179243803024 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11713245511054993 + }, + "else": { + "operation": "boost", + "score": 0.0621437169611454 + } } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 99.5, + "then": { + "operation": "boost", + "score": 0.035185135900974274 + }, + "else": { + "operation": "boost", + "score": 0.12819433212280273 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement" + ], "then": { "operation": "if_member", "feature": "Scope", "set": [ - "FunctionScope", "ClassScope", - "FileScope" + "FunctionScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.004924481268972158 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.015844276174902916 + }, + "else": { + "operation": "boost", + "score": -0.43732061982154846 + } }, "else": { "operation": "boost", - "score": 0.09710372984409332 + "score": 0.05041612684726715 } }, "else": { "operation": "boost", - "score": -0.024540802463889122 + "score": -0.031934984028339386 } }, "else": { - "operation": "boost", - "score": 0.03154253214597702 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07469067722558975 + }, + "else": { + "operation": "boost", + "score": -0.009897220879793167 + } } - }, - "else": { - "operation": "boost", - "score": 0.006648062262684107 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.057907834649086 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.40824535489082336 + }, + "else": { + "operation": "boost", + "score": 0.18635743856430054 + } }, "else": { "operation": "boost", - "score": 0.016320914030075073 + "score": 0.031670983880758286 } }, "else": { - "operation": "boost", - "score": -0.019737042486667633 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0060295164585113525 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0011045638239011168 + }, + "else": { + "operation": "boost", + "score": -0.018447138369083405 + } + } } } + } + }, + "else": { + "operation": "boost", + "score": -0.018182042986154556 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 458944.5, + "then": { + "operation": "boost", + "score": 0.07902766764163971 + }, + "else": { + "operation": "boost", + "score": 0.0044795754365623 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "boost", + "score": -0.07632175832986832 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03684954345226288 + "score": 0.12798883020877838 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 9623.0, "then": { "operation": "boost", - "score": 0.11089877784252167 + "score": -0.01989702321588993 }, "else": { "operation": "boost", - "score": 0.10530136525630951 + "score": 0.03846196085214615 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.015060569159686565 - }, - "else": { - "operation": "boost", - "score": 0.15614017844200134 - } + "operation": "boost", + "score": -0.27746549248695374 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.04657655954360962 + "score": -0.1496015191078186 }, "else": { "operation": "boost", - "score": 0.1188209280371666 + "score": 0.27847322821617126 } }, "else": { "operation": "boost", - "score": -0.05833810940384865 + "score": 0.0005293117719702423 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.14002302289009094 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10175486654043198 - }, - "else": { - "operation": "boost", - "score": 0.11140128970146179 - } - } + "operation": "boost", + "score": -0.0683029517531395 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.016493454575538635 + "score": 0.004071472212672234 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.07860633730888367 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11255265772342682 - }, - "else": { - "operation": "boost", - "score": 0.13377757370471954 - } - }, - "else": { - "operation": "boost", - "score": -0.11660099774599075 - } - } + "operation": "boost", + "score": -0.33362752199172974 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.037125542759895325 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.14676479995250702 - }, - "else": { - "operation": "boost", - "score": 0.04456391930580139 - } - } + "operation": "boost", + "score": 0.026825372129678726 } } } @@ -339598,2441 +342435,2721 @@ }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1540.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.0512433722615242 + "score": 0.030931947752833366 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 96602.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 168474.5, "then": { "operation": "boost", - "score": 0.07052335888147354 + "score": -0.011413118802011013 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.0, - "then": { - "operation": "boost", - "score": 0.09653052687644958 - }, - "else": { - "operation": "boost", - "score": -0.1453748643398285 - } + "operation": "boost", + "score": 0.0710921436548233 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.1140751764178276 - }, - "else": { - "operation": "boost", - "score": 0.11948603391647339 - } - }, - "else": { - "operation": "boost", - "score": -0.16690154373645782 - } + "operation": "boost", + "score": -0.059956930577754974 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 66036.0, "then": { + "operation": "boost", + "score": -0.1035885140299797 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 77.5, + "threshold": 55483.0, "then": { - "operation": "boost", - "score": -0.036639340221881866 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.10875600576400757 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10.5, + "threshold": 56010.5, "then": { "operation": "boost", - "score": -0.08403301984071732 + "score": 0.08369529992341995 }, "else": { "operation": "boost", - "score": 0.10144828259944916 + "score": 0.1354871690273285 } + }, + "else": { + "operation": "boost", + "score": -0.02074679359793663 } + }, + "else": { + "operation": "boost", + "score": -0.0018620836781337857 } - }, - "else": { - "operation": "boost", - "score": -0.5232328772544861 } } } }, "else": { - "operation": "boost", - "score": 0.00890728086233139 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1537.5, + "then": { + "operation": "boost", + "score": -0.2036678045988083 + }, + "else": { + "operation": "boost", + "score": -0.012843016535043716 + } } } } + }, + "else": { + "operation": "boost", + "score": 0.000763066578656435 } - }, - "else": { + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15677.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16126.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16170.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 20253.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Operator", "Constructor", - "Type", - "Namespace" + "Destructor", + "Function", + "Keyword", + "Unknown", + "Variable" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.010161848738789558 - }, - "else": { - "operation": "boost", - "score": 0.0060227252542972565 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 21122.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 34205.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 47253.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 200884.5, "then": { - "operation": "boost", - "score": 0.031086064875125885 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": -0.058975666761398315 + }, + "else": { + "operation": "boost", + "score": 0.05780510604381561 + } }, "else": { - "operation": "boost", - "score": 0.15725819766521454 - } - }, - "else": { - "operation": "boost", - "score": -0.05092532932758331 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.005817297380417585 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 98088.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.08588734269142151 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11638680845499039 - }, - "else": { - "operation": "boost", - "score": 0.07351258397102356 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13045144081115723 - } + "operation": "boost", + "score": -0.15008467435836792 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 59512.5, "then": { "operation": "boost", - "score": 0.09177961945533752 + "score": 0.02290835976600647 }, "else": { "operation": "boost", - "score": 0.06157601997256279 + "score": -0.05572620406746864 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 45940.0, "then": { "operation": "boost", - "score": -0.12506616115570068 + "score": 0.04754034802317619 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.01626795157790184 - }, - "else": { - "operation": "boost", - "score": 0.13235172629356384 - } + "operation": "boost", + "score": 0.1096353605389595 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.0371847003698349 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.09902752935886383 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06446623802185059 + }, + "else": { + "operation": "boost", + "score": 0.13605956733226776 + } + } }, "else": { "operation": "boost", - "score": 0.08834553509950638 + "score": 0.054442983120679855 } } } + }, + "else": { + "operation": "boost", + "score": -0.0498417392373085 } } + }, + "else": { + "operation": "boost", + "score": 0.09329540282487869 } }, "else": { - "operation": "boost", - "score": -0.011128704063594341 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.13893073797225952 + }, + "else": { + "operation": "boost", + "score": -0.031108509749174118 + } } }, "else": { - "operation": "boost", - "score": -0.00846597459167242 - } - }, - "else": { - "operation": "boost", - "score": -0.024037685245275497 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20712.0, + "then": { + "operation": "boost", + "score": 0.2496960461139679 + }, + "else": { + "operation": "boost", + "score": -0.10081268101930618 + } + }, + "else": { + "operation": "boost", + "score": 0.10938448458909988 + } + }, + "else": { + "operation": "boost", + "score": 0.006441863253712654 + } + } + }, + "else": { + "operation": "boost", + "score": 0.021702280268073082 } + }, + "else": { + "operation": "boost", + "score": -0.012641041539609432 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], + "operation": "boost", + "score": -0.0570656917989254 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 25976.0, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "boost", - "score": 0.4224223792552948 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 275328.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 276350.0, + "then": { + "operation": "boost", + "score": 0.008308450691401958 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.14190147817134857 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.12164130061864853 + }, + "else": { + "operation": "boost", + "score": 0.031403545290231705 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22165046632289886 + }, + "else": { + "operation": "boost", + "score": -0.10039646923542023 + } + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 93657.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11006.0, + "threshold": 105661.0, "then": { "operation": "boost", - "score": -0.019702879711985588 + "score": 0.013013623654842377 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "SemaSaysInScope", "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03309399634599686 + }, + "else": { + "operation": "boost", + "score": 0.04713093116879463 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006871533580124378 + } + } + }, + "else": { + "operation": "boost", + "score": -0.017571711912751198 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.15458574891090393 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.044737156480550766 + }, + "else": { + "operation": "boost", + "score": -0.01654960587620735 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18485.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18526.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24330.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26162.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 34707.0, "then": { + "operation": "boost", + "score": 0.003347428049892187 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 33949.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 16.0, + "operation": "boost", + "score": 0.10155636072158813 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.05421341210603714 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30221.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33451.5, + "then": { + "operation": "boost", + "score": 0.10214705020189285 + }, + "else": { + "operation": "boost", + "score": -0.11433859169483185 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28239.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29370.0, + "then": { + "operation": "boost", + "score": 0.08392294496297836 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.2167050689458847 + }, + "else": { + "operation": "boost", + "score": 0.10249950736761093 + } + }, + "else": { + "operation": "boost", + "score": 0.15298707783222198 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29244.0, + "then": { + "operation": "boost", + "score": 0.08252490311861038 + }, + "else": { + "operation": "boost", + "score": -0.24466246366500854 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01819685287773609 + } + } }, "else": { - "operation": "boost", - "score": -0.2014145851135254 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32401.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32947.0, + "then": { + "operation": "boost", + "score": 0.0027965730987489223 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.07218173146247864 + }, + "else": { + "operation": "boost", + "score": 0.16406691074371338 + } + }, + "else": { + "operation": "boost", + "score": 0.08465773612260818 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "boost", + "score": -0.1377706527709961 + }, + "else": { + "operation": "boost", + "score": 0.030664965510368347 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.08423177897930145 } + } + }, + "else": { + "operation": "boost", + "score": -0.08170419931411743 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.08726903051137924 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "boost", + "score": 0.01681874506175518 + } + }, + "else": { + "operation": "boost", + "score": -0.17999666929244995 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19362.0, + "then": { + "operation": "boost", + "score": -0.0029424570966511965 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19203.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 19307.0, "then": { "operation": "boost", - "score": 0.11200466752052307 + "score": 0.10851931571960449 }, "else": { "operation": "boost", - "score": 0.09750567376613617 + "score": 0.13251833617687225 } }, "else": { "operation": "boost", - "score": -0.7000288963317871 + "score": -0.021693743765354156 } + }, + "else": { + "operation": "boost", + "score": 0.08222652226686478 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22681.0, + "then": { + "operation": "boost", + "score": -0.10683444142341614 }, "else": { + "operation": "boost", + "score": -0.02416771464049816 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.08190029859542847 + }, + "else": { + "operation": "boost", + "score": 0.00661816680803895 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1274.0, + "threshold": 23872.5, "then": { + "operation": "boost", + "score": 0.09568852186203003 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.399953693151474 + "score": 0.09613870084285736 }, "else": { "operation": "boost", - "score": 0.09984475374221802 + "score": 0.17971430718898773 } + } + }, + "else": { + "operation": "boost", + "score": 0.027847636491060257 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.04119860753417015 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20439.5, + "then": { + "operation": "boost", + "score": -0.18505778908729553 }, "else": { - "operation": "boost", - "score": -0.03080056793987751 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.08245214074850082 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08832205832004547 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.16757172346115112 + }, + "else": { + "operation": "boost", + "score": 0.10907907783985138 + } + } + } } } } - }, - "else": { - "operation": "boost", - "score": -0.018549256026744843 } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ParenthesizedExpression", + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11125696450471878 - }, - "else": { - "operation": "boost", - "score": -0.03358175605535507 - } - }, - "else": { - "operation": "boost", - "score": 0.0656772181391716 - } - }, - "else": { - "operation": "boost", - "score": 0.005791411269456148 - } + "operation": "boost", + "score": 0.10715487599372864 }, "else": { "operation": "boost", - "score": 0.007965834811329842 + "score": -0.040841493755578995 } } }, + "else": { + "operation": "boost", + "score": -0.05215192958712578 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.008282183669507504 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": 0.08660727739334106 + }, + "else": { + "operation": "boost", + "score": -0.060027897357940674 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1930340677499771 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15964.5, + "then": { + "operation": "boost", + "score": 0.13317276537418365 + }, + "else": { + "operation": "boost", + "score": 0.09342730045318604 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.15051497519016266 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15964.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018793512135744095 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.10101009905338287, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16033.5, "then": { "operation": "boost", - "score": 0.004450688604265451 + "score": 0.1628478467464447 }, "else": { "operation": "boost", - "score": -0.026277143508195877 + "score": 0.110450878739357 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Operator", - "Unknown", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.041041478514671326 - }, - "else": { - "operation": "boost", - "score": -0.1001054123044014 - } - }, - "else": { - "operation": "boost", - "score": 0.04851873591542244 - } + "operation": "boost", + "score": 0.11646219342947006 }, "else": { "operation": "boost", - "score": -0.03294484689831734 + "score": 0.11491748690605164 } }, "else": { - "operation": "boost", - "score": -0.00696588447317481 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0648629441857338 + }, + "else": { + "operation": "boost", + "score": 0.17944516241550446 + } } } } + }, + "else": { + "operation": "boost", + "score": -0.01125249918550253 } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.015494339168071747 + "score": 0.07631704211235046 }, "else": { - "operation": "boost", - "score": 0.003509857691824436 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.1941167116165161 + }, + "else": { + "operation": "boost", + "score": -0.013706396333873272 + } } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15389.0, + "then": { + "operation": "boost", + "score": -0.12649263441562653 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14372.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", "Constructor", + "Destructor", "Function", - "Namespace" + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 14443.0, "then": { "operation": "boost", - "score": 0.06490448117256165 + "score": -0.06469683349132538 }, "else": { + "operation": "boost", + "score": 0.16446633636951447 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14800.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 15158.0, "then": { - "operation": "boost", - "score": -0.024112431332468987 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 15267.5, "then": { "operation": "boost", - "score": 0.011169728823006153 + "score": 0.11339212954044342 }, "else": { + "operation": "boost", + "score": -0.1117081567645073 + } + }, + "else": { + "operation": "boost", + "score": 0.08012787252664566 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.3291932940483093 + "score": -0.0075896866619586945 }, "else": { "operation": "boost", - "score": 0.11347991973161697 + "score": 0.11561501026153564 } + }, + "else": { + "operation": "boost", + "score": 0.07992283999919891 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 15079.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.01858898624777794 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": -0.06907968968153 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.2193271368741989 + }, + "else": { + "operation": "boost", + "score": 0.18973037600517273 + } + } }, "else": { "operation": "boost", - "score": 0.0899992287158966 + "score": -0.46941545605659485 } }, "else": { - "operation": "boost", - "score": -0.2328079789876938 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.12190546840429306 + }, + "else": { + "operation": "boost", + "score": -0.16148066520690918 + } } } } + }, + "else": { + "operation": "boost", + "score": 0.003526093438267708 } - }, - "else": { - "operation": "boost", - "score": 0.01847931742668152 } }, "else": { - "operation": "boost", - "score": -0.01997656747698784 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 14599.5, "then": { + "operation": "boost", + "score": 0.0722145214676857 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.017406756058335304 + "score": -0.11508127301931381 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.07770003378391266 + "score": 0.10438977926969528 }, "else": { "operation": "boost", - "score": 0.0042795455083251 + "score": 0.19095003604888916 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + } + }, + "else": { + "operation": "boost", + "score": -0.12057686597108841 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15236.0, + "then": { + "operation": "boost", + "score": -0.08515160530805588 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15033.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": -0.019771572202444077 + "score": 0.15573012828826904 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.0010421437909826636 + "score": 0.08633359521627426 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -1.1481515169143677 - }, - "else": { - "operation": "boost", - "score": -0.06802206486463547 - } + "operation": "boost", + "score": 0.1424151510000229 } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.01351480558514595 }, "else": { "operation": "boost", - "score": -0.011340834200382233 + "score": 0.023336302489042282 } + }, + "else": { + "operation": "boost", + "score": -0.008315442129969597 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14187.0, + "then": { + "operation": "boost", + "score": -0.13532164692878723 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14112.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10457184910774231 + }, + "else": { + "operation": "boost", + "score": 0.1095048040151596 } }, "else": { "operation": "boost", - "score": -0.05689384043216705 + "score": -7.69677571952343e-05 } } } - }, - "else": { - "operation": "boost", - "score": -0.0001371461694361642 } } }, { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 25.5, "then": { - "operation": "boost", - "score": -0.007000420242547989 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.10412155091762543 + }, + "else": { + "operation": "boost", + "score": 0.011969049461185932 + } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.044757578521966934 + "score": -0.2492140233516693 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "boost", - "score": 0.0409579761326313 + "score": 0.08571557700634003 }, "else": { "operation": "boost", - "score": 0.0755566880106926 + "score": -0.08906593918800354 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Type" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.020146099850535393 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { + "operation": "boost", + "score": -0.06696378439664841 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05684802681207657 - }, - "else": { - "operation": "boost", - "score": 0.03163072094321251 - } + "operation": "boost", + "score": 0.11697559058666229 }, "else": { "operation": "boost", - "score": -0.001966611947864294 + "score": 0.05267026647925377 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.029757961630821228 + "score": 0.05799271538853645 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.03397975116968155 - }, - "else": { - "operation": "boost", - "score": -0.3054511547088623 - } + "operation": "boost", + "score": 0.14457669854164124 } + }, + "else": { + "operation": "boost", + "score": 0.09713003039360046 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.02581658773124218 + }, + "else": { + "operation": "boost", + "score": 0.12750345468521118 + } + }, + "else": { + "operation": "boost", + "score": -0.05983280390501022 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": -0.13879606127738953 + }, + "else": { + "operation": "boost", + "score": 0.13254953920841217 + } + }, + "else": { + "operation": "boost", + "score": -0.055634137243032455 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.017171518877148628 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": -0.0044554173946380615 + "score": 0.12931445240974426 }, "else": { "operation": "boost", - "score": 0.02908875234425068 + "score": 0.12720991671085358 } }, "else": { "operation": "boost", - "score": 0.00033731688745319843 + "score": -0.10353177785873413 } }, - "else": { - "operation": "boost", - "score": 0.002777441870421171 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.0067928205244243145 - }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.03615214303135872 + "score": -0.013147346675395966 }, "else": { - "operation": "boost", - "score": -0.018900888040661812 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.17750601470470428 + }, + "else": { + "operation": "boost", + "score": 0.11073219776153564 + } + }, + "else": { + "operation": "boost", + "score": 0.1440533548593521 + } } } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.02133808098733425 - }, - "else": { - "operation": "boost", - "score": -0.015085973776876926 - } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.003187097841873765 + "score": -0.10710521042346954 }, "else": { - "operation": "boost", - "score": -0.10533810406923294 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0005072267958894372 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0008832048624753952 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06297758966684341 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23252.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": -0.10366316139698029 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.6856123805046082 + }, + "else": { + "operation": "boost", + "score": 0.010957224294543266 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.03886756673455238 + "score": 0.04988966882228851 }, "else": { "operation": "boost", - "score": 0.08852601051330566 + "score": -0.03533121570944786 } }, "else": { + "operation": "boost", + "score": 0.03163977339863777 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.05945603922009468 + "score": -0.13163548707962036 }, "else": { "operation": "boost", - "score": 0.08177496492862701 + "score": -0.030518047511577606 } - } - }, - "else": { - "operation": "boost", - "score": -0.004853356163948774 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1133054792881012 }, "else": { - "operation": "boost", - "score": -0.04152899980545044 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09543825685977936 + }, + "else": { + "operation": "boost", + "score": 0.012562853284180164 + } } - }, - "else": { - "operation": "boost", - "score": 0.09142494946718216 } } - }, - "else": { - "operation": "boost", - "score": -0.004645606502890587 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "boost", - "score": -0.12149791419506073 + "score": 0.09237629175186157 }, "else": { "operation": "boost", - "score": -0.57929527759552 + "score": 0.05526411160826683 } } }, "else": { + "operation": "boost", + "score": 0.0010294170351698995 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.07979682087898254 + }, + "else": { + "operation": "boost", + "score": -0.040280234068632126 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.06966809183359146 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.007313149981200695 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.05311813950538635 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.07216043025255203 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.031789518892765045 - }, - "else": { - "operation": "boost", - "score": 0.01591135561466217 - } - } - } - } + "operation": "boost", + "score": -0.02286849543452263 }, "else": { "operation": "boost", - "score": -0.0011936655500903726 + "score": 0.018981389701366425 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1825026273727417 + }, + "else": { + "operation": "boost", + "score": -0.16993781924247742 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02500000037252903, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07983478903770447 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.16744115948677063 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.31045278906822205 - }, - "else": { - "operation": "boost", - "score": 0.0831466093659401 - } - }, - "else": { - "operation": "boost", - "score": 0.09380719065666199 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04641703888773918 - } - }, - "else": { - "operation": "boost", - "score": 0.0945003554224968 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.0022505908273160458 + "score": -0.019414009526371956 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08396031707525253 + "score": 0.2672592103481293 }, "else": { "operation": "boost", - "score": 0.09521451592445374 + "score": -0.16680264472961426 } }, "else": { "operation": "boost", - "score": 0.14243264496326447 + "score": -0.010754132643342018 } }, "else": { - "operation": "boost", - "score": -0.49875301122665405 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005224030464887619 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.655197024345398 + "score": 0.11160359531641006 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "boost", - "score": -0.10030949860811234 + "score": 0.02223992720246315 }, "else": { - "operation": "boost", - "score": 0.11954007297754288 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.10533341765403748 + }, + "else": { + "operation": "boost", + "score": 0.07805066555738449 + } } } - }, - "else": { - "operation": "boost", - "score": -0.0601884201169014 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.1046779602766037 - }, - "else": { - "operation": "boost", - "score": 0.1230822205543518 - } - }, - "else": { - "operation": "boost", - "score": 0.0371597483754158 } - }, - "else": { - "operation": "boost", - "score": -0.0005539284902624786 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.0031839795410633087 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": -0.21244792640209198 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { + "operation": "boost", + "score": -0.025725366547703743 + }, + "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsDeprecated", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.10135935246944427 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.11963541805744171 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.13542933762073517 + }, + "else": { + "operation": "boost", + "score": 0.11157302558422089 + } + } }, "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.004564330447465181 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.11498810350894928 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.029814640060067177 + }, + "else": { + "operation": "boost", + "score": -0.11733856797218323 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.032039035111665726 + }, + "else": { + "operation": "boost", + "score": 0.10683972388505936 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.019061224535107613 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.015332215465605259 + }, + "else": { + "operation": "boost", + "score": 0.094378761947155 + } + }, + "else": { + "operation": "boost", + "score": -0.04554837942123413 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "boost", - "score": 0.12652993202209473 + "score": 0.10079740732908249 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": -0.08144917339086533 + }, + "else": { + "operation": "boost", + "score": -0.21576841175556183 + } } }, "else": { - "operation": "boost", - "score": -0.37304773926734924 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.040636174380779266 + }, + "else": { + "operation": "boost", + "score": -0.06109688803553581 + } + }, + "else": { + "operation": "boost", + "score": 0.16946083307266235 + } } - }, - "else": { - "operation": "boost", - "score": 0.09077988564968109 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.006797381676733494 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { - "operation": "boost", - "score": -0.021840736269950867 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { + "operation": "boost", + "score": -0.16067686676979065 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.060475364327430725 - }, - "else": { - "operation": "boost", - "score": 0.12677742540836334 - } + "operation": "boost", + "score": -0.16592146456241608 }, "else": { "operation": "boost", - "score": 0.12490660697221756 + "score": 0.028020506724715233 } - }, - "else": { - "operation": "boost", - "score": 0.02975262887775898 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.060001689940690994 + "score": -1.2617284059524536 }, "else": { "operation": "boost", - "score": 0.104563869535923 + "score": -0.15336763858795166 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.1490388810634613 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005661584436893463 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08793377876281738 + "score": -0.30416548252105713 }, "else": { "operation": "boost", - "score": 0.01262042298913002 + "score": 0.025080444291234016 } }, "else": { "operation": "boost", - "score": 0.11020481586456299 + "score": -0.04283928871154785 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.10331454128026962 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.12320776283740997 + }, + "else": { + "operation": "boost", + "score": 0.10171295702457428 + } }, "else": { "operation": "boost", - "score": 0.12192396074533463 + "score": -0.020673541352152824 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.09844443947076797 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.07942113280296326 + "score": 0.23902475833892822 }, "else": { "operation": "boost", - "score": 0.012964945286512375 + "score": 0.07357488572597504 } } + }, + "else": { + "operation": "boost", + "score": -0.3658659756183624 } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.01302577555179596 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.011878753080964088 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.03929354250431061 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3311.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3500.0, - "then": { - "operation": "boost", - "score": 0.033024322241544724 - }, - "else": { - "operation": "boost", - "score": 0.12177680432796478 - } - }, - "else": { - "operation": "boost", - "score": -0.025617072358727455 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.017040370032191277 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { - "operation": "boost", - "score": 0.04260038584470749 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { - "operation": "boost", - "score": -0.11478453129529953 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08837002515792847 + "score": 0.03134883567690849 }, "else": { - "operation": "boost", - "score": 0.07133070379495621 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09622263163328171 + }, + "else": { + "operation": "boost", + "score": 0.08478452265262604 + } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "boost", - "score": 0.100611612200737 + "score": -0.26023992896080017 }, "else": { "operation": "boost", - "score": 0.10779924690723419 + "score": -0.0024286045227199793 } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05575264245271683 - } - } - }, - "else": { - "operation": "boost", - "score": -0.034878090023994446 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.03522808477282524 - }, - "else": { - "operation": "boost", - "score": 0.007039055228233337 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.07885421812534332 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11347155272960663 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "boost", - "score": 0.23075444996356964 + "score": 0.11748211085796356 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.09312749654054642 + "score": -0.0006375951343216002 }, "else": { "operation": "boost", - "score": 0.14928261935710907 + "score": 0.07440595328807831 } } }, "else": { "operation": "boost", - "score": -0.15749487280845642 + "score": -0.08038520067930222 } } }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1058567464351654 - }, - "else": { - "operation": "boost", - "score": 0.10999688506126404 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.061838164925575256 - }, "else": { "operation": "boost", - "score": 0.5093629360198975 + "score": -0.03854178637266159 } - }, - "else": { - "operation": "boost", - "score": 0.01716517098248005 } } - }, - "else": { - "operation": "boost", - "score": -0.11465691775083542 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0020454612094908953 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { + "operation": "boost", + "score": 0.21183638274669647 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.11938928812742233 + "score": -0.12898515164852142 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.09388848394155502 - }, - "else": { - "operation": "boost", - "score": 0.10991144925355911 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01928785815834999 - } - }, - "else": { - "operation": "boost", - "score": -0.016927268356084824 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.1637892872095108 - }, - "else": { - "operation": "boost", - "score": -0.08688316494226456 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.11302733421325684 - }, - "else": { - "operation": "boost", - "score": -0.029730452224612236 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.02961147204041481 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.013427432626485825 - }, - "else": { - "operation": "boost", - "score": 0.10088977962732315 - } - }, - "else": { - "operation": "boost", - "score": -0.14294709265232086 - } - } - } - } - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16827067732810974 - }, - "else": { - "operation": "boost", - "score": 0.22632654011249542 - } - }, - "else": { - "operation": "boost", - "score": -0.013382741250097752 - } - }, - "else": { - "operation": "boost", - "score": 0.03150663524866104 - } - }, - "else": { - "operation": "boost", - "score": -0.013879799284040928 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.01784767396748066 - }, - "else": { - "operation": "boost", - "score": 0.008546704426407814 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.11856492608785629 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.02202451415359974 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.1103363186120987 + }, + "else": { + "operation": "boost", + "score": -0.0064478530548512936 + } + }, + "else": { + "operation": "boost", + "score": -0.0008703027851879597 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.14732405543327332 + }, + "else": { + "operation": "boost", + "score": 0.08869225531816483 + } + } + } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { + "operation": "boost", + "score": -0.07658293098211288 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "boost", - "score": 0.08837790787220001 + "score": -0.15219168365001678 }, "else": { - "operation": "boost", - "score": -0.6524826288223267 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.8067386746406555 + }, + "else": { + "operation": "boost", + "score": -0.0971212387084961 + } } - }, - "else": { - "operation": "boost", - "score": 0.09201841801404953 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 877.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.19841724634170532 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.17447873950004578 + }, + "else": { + "operation": "boost", + "score": -0.020349182188510895 + } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 209.0, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09737909585237503 + "score": -0.07740827649831772 }, "else": { - "operation": "boost", - "score": 0.05861712992191315 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.14582180976867676 + }, + "else": { + "operation": "boost", + "score": 0.22491395473480225 + } + }, + "else": { + "operation": "boost", + "score": -0.1054949164390564 + } } }, "else": { - "operation": "boost", - "score": 0.05846020206809044 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.000552432902622968 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.28117677569389343 + }, + "else": { + "operation": "boost", + "score": 0.044987037777900696 + } + } + }, + "else": { + "operation": "boost", + "score": -0.13643133640289307 + } } } }, "else": { "operation": "boost", - "score": -0.2525063753128052 + "score": 0.0015990616520866752 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08386269211769104 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 80.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.15752655267715454 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.10859548300504684 - }, - "else": { - "operation": "boost", - "score": 0.1373744159936905 - } + "operation": "boost", + "score": 0.01715882122516632 }, "else": { "operation": "boost", - "score": -0.10767380148172379 + "score": -0.11605405062437057 } + }, + "else": { + "operation": "boost", + "score": 0.058787696063518524 } } } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0010348353534936905 + } + }, + "else": { + "operation": "boost", + "score": -0.00012085591879440472 + } + }, + { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1449158489704132 }, "else": { "operation": "boost", - "score": 0.04292680695652962 + "score": 0.1174992173910141 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.02932683378458023 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.1023002341389656 + }, + "else": { + "operation": "boost", + "score": 0.34577444195747375 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, "then": { "operation": "boost", - "score": 0.11004232615232468 + "score": -0.0644126757979393 }, "else": { "operation": "boost", - "score": 0.03440432250499725 + "score": 0.1916436403989792 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.028765013441443443 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.011282887309789658 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": -0.19704501330852509 - }, - "else": { - "operation": "boost", - "score": -0.05327858775854111 - } - } - } + "operation": "boost", + "score": -0.04317072033882141 }, "else": { "operation": "if_greater", @@ -342040,1573 +345157,1099 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.010732363909482956 + "score": 0.05324305221438408 }, "else": { "operation": "boost", - "score": -0.08562622964382172 + "score": -0.26725876331329346 } }, "else": { - "operation": "boost", - "score": -0.01013268157839775 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.292702853679657 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09583625197410583 + }, + "else": { + "operation": "boost", + "score": 0.1137901172041893 + } + }, + "else": { + "operation": "boost", + "score": -0.027512211352586746 + } + } } } } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.02364920638501644 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.014024495147168636 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, + "then": { + "operation": "boost", + "score": 0.0016842068871483207 + }, + "else": { + "operation": "boost", + "score": 0.11168976873159409 + } }, "else": { "operation": "boost", - "score": 0.04152324050664902 + "score": -0.11500362306833267 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { "operation": "boost", - "score": 0.04275303706526756 + "score": 0.38597264885902405 }, "else": { "operation": "boost", - "score": -0.040929120033979416 + "score": -0.10851152241230011 } }, "else": { - "operation": "boost", - "score": 0.0516987070441246 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.1651105284690857 + }, + "else": { + "operation": "boost", + "score": -0.12318670004606247 + } } } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.03246968984603882 + "score": -0.05943842977285385 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.005770217161625624 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": -0.02203275077044964 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.2893243730068207 - }, - "else": { - "operation": "boost", - "score": -0.19346536695957184 - } - }, - "else": { - "operation": "boost", - "score": -0.022660044953227043 - } - } - } + "operation": "boost", + "score": -0.21274343132972717 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.11819060146808624 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.00745236175134778 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.04826226085424423 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07460103929042816 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1252421736717224 - }, - "else": { - "operation": "boost", - "score": 0.1227855309844017 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.010335388593375683 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.0389166995882988 - }, - "else": { - "operation": "boost", - "score": 0.13524498045444489 - } - } - } + "operation": "boost", + "score": -0.6700765490531921 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.2112884372472763 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10169610381126404 - }, - "else": { - "operation": "boost", - "score": 0.025602729991078377 - } - }, - "else": { - "operation": "boost", - "score": 0.006014605052769184 - } - } + "operation": "boost", + "score": -0.08439483493566513 } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": 0.007118739653378725 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { + "operation": "boost", + "score": 0.11032525449991226 + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.009402510710060596 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.060276493430137634 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.018655380234122276 + "score": -0.10209211707115173 }, "else": { "operation": "boost", - "score": 0.10918322205543518 + "score": 0.2085787057876587 } + } + }, + "else": { + "operation": "boost", + "score": 0.007206847425550222 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.17613214254379272 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0133872851729393 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.008067110553383827 - }, - "else": { - "operation": "boost", - "score": 0.05822988599538803 - } - } + "operation": "boost", + "score": 0.06472878158092499 } + }, + "else": { + "operation": "boost", + "score": 0.032681237906217575 } }, "else": { "operation": "boost", - "score": 0.015766004100441933 + "score": -0.10462729632854462 } } } } }, "else": { - "operation": "boost", - "score": 0.0014059861423447728 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0008745655068196356 + }, + "else": { + "operation": "boost", + "score": -0.11847374588251114 + } } + }, + "else": { + "operation": "boost", + "score": -0.11211700737476349 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { - "operation": "boost", - "score": 0.0059222010895609856 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { + "operation": "boost", + "score": 0.005075282882899046 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", "Type" ], + "then": { + "operation": "boost", + "score": 0.14235714077949524 + }, + "else": { + "operation": "boost", + "score": 0.03897722437977791 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01860186830163002 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.045837387442588806 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.012326105497777462 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.12623755633831024 - }, - "else": { - "operation": "boost", - "score": 0.1168174296617508 - } - }, - "else": { - "operation": "boost", - "score": 0.06973452121019363 - } - }, - "else": { - "operation": "boost", - "score": -0.005340272095054388 - } - } + "operation": "boost", + "score": 0.011619794182479382 }, "else": { "operation": "boost", - "score": -0.008888984099030495 + "score": -0.023177823051810265 } }, "else": { - "operation": "boost", - "score": 0.001149671385064721 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.07819042354822159 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.137796550989151 - }, - "else": { - "operation": "boost", - "score": 0.06141616031527519 - } - } + "operation": "boost", + "score": 0.1325153261423111 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "boost", - "score": 0.00743847107514739 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.04598645120859146 + }, + "else": { + "operation": "boost", + "score": -0.007403425872325897 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "boost", - "score": 0.11421047151088715 + "score": -0.04463667795062065 }, "else": { "operation": "boost", - "score": 0.01913519576191902 + "score": 0.06470697373151779 } } }, "else": { - "operation": "boost", - "score": 0.01747273840010166 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0139304893091321 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04270947352051735 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.12748391926288605 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.09763524681329727 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "boost", - "score": 0.08367172628641129 + "score": 0.07570170611143112 }, "else": { "operation": "boost", - "score": 0.14712435007095337 + "score": 0.019418522715568542 } }, "else": { "operation": "boost", - "score": -0.10166620463132858 + "score": 0.024660976603627205 } } } + }, + "else": { + "operation": "boost", + "score": 0.013648148626089096 } + }, + "else": { + "operation": "boost", + "score": 0.0035410216078162193 } - }, - "else": { - "operation": "boost", - "score": -0.015454304404556751 } + }, + "else": { + "operation": "boost", + "score": 0.001787587534636259 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.07457376271486282 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.005256766453385353 + "score": -0.016896545886993408 }, "else": { "operation": "boost", - "score": -0.07786449790000916 + "score": 0.02421683631837368 } - }, - "else": { - "operation": "boost", - "score": 0.0012188851833343506 } }, - "else": { - "operation": "boost", - "score": -0.00648330757394433 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06121326982975006 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Unknown" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.004511814098805189 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 277.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13942307233810425, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12669728696346283 - }, - "else": { - "operation": "boost", - "score": 0.07093636691570282 - } - }, - "else": { - "operation": "boost", - "score": -0.10475537180900574 - } + "operation": "boost", + "score": 0.1085054948925972 }, "else": { "operation": "boost", - "score": 0.017482386901974678 + "score": 0.037017542868852615 } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 25.5, "then": { - "operation": "boost", - "score": 0.022778989747166634 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.0025486210361123085 + "score": -0.4045681953430176 }, "else": { "operation": "boost", - "score": -0.739951491355896 + "score": -0.11886722594499588 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0020302394405007362 - }, - "else": { - "operation": "boost", - "score": -0.03473619744181633 - } - }, - "else": { - "operation": "boost", - "score": -0.09421028196811676 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.0026016782503575087 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10804763436317444 }, "else": { - "operation": "boost", - "score": 0.007441780064254999 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "boost", - "score": 0.11153572052717209 + "score": -0.2165651023387909 }, "else": { "operation": "boost", - "score": -1.5909855365753174 + "score": -0.019347146153450012 } }, "else": { "operation": "boost", - "score": 0.09568189084529877 + "score": -0.2412654459476471 } }, "else": { "operation": "boost", - "score": -0.030170345678925514 - } - }, - "else": { - "operation": "boost", - "score": 0.10694333910942078 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09404150396585464 - }, - "else": { - "operation": "boost", - "score": -0.18042980134487152 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00751735782250762 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05055035278201103 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04519057273864746 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.012823281809687614 - }, - "else": { - "operation": "boost", - "score": 0.09575028717517853 - } - }, - "else": { - "operation": "boost", - "score": 0.026948057115077972 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011423279531300068 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.014078921638429165 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0031269621104002 - }, - "else": { - "operation": "boost", - "score": 0.024979455396533012 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.003720036707818508 - }, - "else": { - "operation": "boost", - "score": 0.006117536686360836 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.002730569802224636 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 391.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 395.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.10968631505966187 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 460.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 462.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 558.0, - "then": { - "operation": "boost", - "score": 0.022298011928796768 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 524.0, - "then": { - "operation": "boost", - "score": 0.1468123346567154 - }, - "else": { - "operation": "boost", - "score": 0.0973275750875473 - } + "score": 0.01632385328412056 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1066.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1090.0, + "feature": "FractionNameInContext", + "threshold": 0.0773809552192688, "then": { - "operation": "boost", - "score": 0.0019574682228267193 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.047235772013664246 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.08248594403266907 + }, + "else": { + "operation": "boost", + "score": -0.13137206435203552 + } + }, + "else": { + "operation": "boost", + "score": 0.08546362072229385 + } + } }, "else": { - "operation": "boost", - "score": 0.09459394961595535 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1015.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -1.4604294300079346 + "score": -0.0575505755841732 }, "else": { "operation": "boost", - "score": -0.07872742414474487 + "score": 0.06066865846514702 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.1517820954322815 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 894.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": -3.696253538131714 + "score": 0.08875743299722672 }, "else": { "operation": "boost", - "score": -0.24455250799655914 + "score": -0.10891043394804001 } } } } - }, - "else": { + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17737385630607605 + }, + "else": { + "operation": "boost", + "score": -0.10332676768302917 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.13246114552021027 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 473.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 4277.0, "then": { + "operation": "boost", + "score": -0.18518251180648804 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 320998.0, + "threshold": 470.0, "then": { - "operation": "boost", - "score": 0.09786694496870041 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7240.0, + "feature": "FractionNameInContext", + "threshold": 0.1388888955116272, "then": { "operation": "boost", - "score": 0.00568772666156292 + "score": 0.10710134357213974 }, "else": { + "operation": "boost", + "score": 0.09061522781848907 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.08565762639045715 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 621.0, - "then": { - "operation": "boost", - "score": 0.0017244991613551974 - }, - "else": { - "operation": "boost", - "score": 0.07162890583276749 - } + "operation": "boost", + "score": 0.12611782550811768 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3069.0, + "threshold": 172.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3502.5, + "threshold": 181.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5251.5, + "threshold": 260.5, "then": { "operation": "boost", - "score": 0.07531154155731201 + "score": 0.028544271364808083 }, "else": { "operation": "boost", - "score": -0.10190063714981079 + "score": -0.20066054165363312 } }, "else": { "operation": "boost", - "score": 0.1162247285246849 + "score": 0.14569386839866638 } }, "else": { "operation": "boost", - "score": -0.08625443279743195 + "score": -0.14166995882987976 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5368.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "boost", - "score": -0.36092275381088257 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.0032102770637720823 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.0, + "then": { + "operation": "boost", + "score": 0.17496807873249054 + }, + "else": { + "operation": "boost", + "score": 0.1193743646144867 + } + } }, "else": { - "operation": "boost", - "score": -0.055297333747148514 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "boost", + "score": 0.09045982360839844 + }, + "else": { + "operation": "boost", + "score": -0.19308362901210785 + } + }, + "else": { + "operation": "boost", + "score": 0.0752643272280693 + } } + }, + "else": { + "operation": "boost", + "score": -0.025213081389665604 } } } + } + }, + "else": { + "operation": "boost", + "score": 0.0036132840905338526 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.04974352568387985 + }, + "else": { + "operation": "boost", + "score": 0.11276467889547348 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.11872652173042297 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.009982336312532425 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 816.0, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.00168310955632478 + "score": -0.11280040442943573 }, "else": { "operation": "boost", - "score": 0.07909034192562103 + "score": 0.24519257247447968 } + }, + "else": { + "operation": "boost", + "score": 0.10642364621162415 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.07592976838350296 + }, + "else": { + "operation": "boost", + "score": -0.06021460145711899 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 471.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.12228931486606598 + "score": -0.04923815280199051 }, "else": { "operation": "boost", - "score": -0.28904688358306885 + "score": -0.14063920080661774 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1462.0, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.027011973783373833 + "score": -0.11815554648637772 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1402.0, + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "boost", - "score": 0.11502334475517273 + "score": 0.14507439732551575 }, "else": { - "operation": "boost", - "score": -0.18846282362937927 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 903.5, + "feature": "FractionNameInContext", + "threshold": 0.0773809552192688, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 995.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1303.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { - "operation": "boost", - "score": -0.8447687029838562 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1190.5, + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.11272060126066208 + "score": -0.1505434364080429 }, "else": { "operation": "boost", - "score": 0.060237180441617966 + "score": 0.10345831513404846 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07405632734298706 - }, - "else": { - "operation": "boost", - "score": -0.08434034883975983 - } + "operation": "boost", + "score": -0.25999513268470764 } + }, + "else": { + "operation": "boost", + "score": -0.04109102860093117 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { "operation": "boost", - "score": -0.06092308461666107 + "score": 0.2463977038860321 }, "else": { "operation": "boost", - "score": 0.14407701790332794 + "score": 0.0835973471403122 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 580.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.04384274780750275 + "score": -0.08049901574850082 }, "else": { - "operation": "boost", - "score": 0.0861348956823349 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.06500755250453949 + "score": 0.030053265392780304 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 660.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 738.5, - "then": { - "operation": "boost", - "score": -0.09089936316013336 - }, - "else": { - "operation": "boost", - "score": 0.11436174064874649 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.5778682231903076 - }, - "else": { - "operation": "boost", - "score": -1.4555426836013794 - } - } + "operation": "boost", + "score": 0.2242230325937271 } - }, - "else": { - "operation": "boost", - "score": 0.09385652840137482 } + }, + "else": { + "operation": "boost", + "score": -0.11379829049110413 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": -0.01434897817671299 + }, + "else": { + "operation": "boost", + "score": -0.12097402662038803 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": -0.04237757995724678 + }, + "else": { + "operation": "boost", + "score": -0.007305561099201441 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 693.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 867.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1085.0, - "then": { - "operation": "boost", - "score": 0.13142022490501404 - }, - "else": { - "operation": "boost", - "score": -0.0024039228446781635 - } - }, - "else": { - "operation": "boost", - "score": 0.11556235700845718 - } - }, - "else": { - "operation": "boost", - "score": -0.31096163392066956 - } + "operation": "boost", + "score": -0.007924535311758518 }, "else": { "operation": "boost", - "score": -0.1054157093167305 + "score": 0.038678672164678574 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 520.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.08101922273635864 - }, - "else": { - "operation": "boost", - "score": -0.09889526665210724 - } - }, - "else": { - "operation": "boost", - "score": 0.10037891566753387 - } + "operation": "boost", + "score": -0.06640305370092392 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.12785771489143372 - }, - "else": { - "operation": "boost", - "score": -0.7479925155639648 - } - }, - "else": { - "operation": "boost", - "score": 0.04783685877919197 - } - }, - "else": { - "operation": "boost", - "score": -1.0112189054489136 - } + "operation": "boost", + "score": -0.00015368203457910568 } } } @@ -343617,2888 +346260,3085 @@ }, "else": { "operation": "boost", - "score": 0.10219712555408478 + "score": 0.00612610811367631 } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0011048917658627033 + }, + "else": { + "operation": "boost", + "score": -0.12132454663515091 + } + } + }, + "else": { + "operation": "boost", + "score": -7.444595394190401e-05 + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.005737107712775469 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25182.5, + "then": { + "operation": "boost", + "score": -0.15879981219768524 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24136.5, + "then": { + "operation": "boost", + "score": 0.10340968519449234 + }, + "else": { + "operation": "boost", + "score": 0.08576512336730957 + } + } + }, + "else": { + "operation": "boost", + "score": 0.011164126917719841 + } + }, + "else": { + "operation": "boost", + "score": -0.0022497500758618116 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 713.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0008517478127032518 + }, + "else": { + "operation": "boost", + "score": -0.02283237688243389 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 703.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 704.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 709.5, + "then": { + "operation": "boost", + "score": 0.14288917183876038 + }, + "else": { + "operation": "boost", + "score": -0.05498979985713959 + } + }, + "else": { + "operation": "boost", + "score": 0.2963414490222931 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { - "operation": "boost", - "score": -0.4537450671195984 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 422.5, "then": { - "operation": "boost", - "score": 0.07674819231033325 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 470.5, + "then": { + "operation": "boost", + "score": 0.1140264943242073 + }, + "else": { + "operation": "boost", + "score": 0.3683401942253113 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 430.5, + "threshold": 41.5, "then": { "operation": "boost", - "score": -0.6512492299079895 + "score": -0.06404566019773483 }, "else": { - "operation": "boost", - "score": 0.08045675605535507 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { + "operation": "boost", + "score": 0.1275358945131302 + }, + "else": { + "operation": "boost", + "score": 0.0436648465692997 + } } } }, "else": { - "operation": "boost", - "score": 0.12702856957912445 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 665.0, + "then": { + "operation": "boost", + "score": -0.5544900298118591 + }, + "else": { + "operation": "boost", + "score": -0.03756100684404373 + } } + }, + "else": { + "operation": "boost", + "score": 0.0302895437926054 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.10366718471050262 + "score": 0.10326594859361649 }, "else": { "operation": "boost", - "score": -0.29011911153793335 + "score": 0.1375289410352707 } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.005523754749447107 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10417396575212479 - }, - "else": { - "operation": "boost", - "score": -0.20185315608978271 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11914.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13286.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.10009732842445374 - }, - "else": { - "operation": "boost", - "score": 0.018634820356965065 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13235.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.009297979064285755 - }, - "else": { - "operation": "boost", - "score": 0.11438488215208054 - } - }, - "else": { "operation": "boost", - "score": 0.37172871828079224 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12735.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13063.0, - "then": { - "operation": "boost", - "score": 0.047620609402656555 - }, - "else": { - "operation": "boost", - "score": 0.09309361129999161 - } - }, - "else": { - "operation": "boost", - "score": -0.08969324082136154 - } + "score": -0.09381242841482162 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12036.5, - "then": { - "operation": "boost", - "score": 0.010723716579377651 - }, - "else": { - "operation": "boost", - "score": 0.31848445534706116 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5247.0, - "then": { - "operation": "boost", - "score": -0.03755826875567436 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2734.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2833.0, + "threshold": 326.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 381.0, "then": { - "operation": "boost", - "score": 0.05913146957755089 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11530226469039917 + }, + "else": { + "operation": "boost", + "score": 0.06460288166999817 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4067.0, + "threshold": 364.5, "then": { "operation": "boost", - "score": 0.08218292146921158 + "score": 0.13291983306407928 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3468.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.11049765348434448 + "score": 0.13737672567367554 }, "else": { - "operation": "boost", - "score": 0.10300324857234955 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.14202260971069336 + }, + "else": { + "operation": "boost", + "score": -0.2633465826511383 + } } } } }, "else": { "operation": "boost", - "score": 0.10859324038028717 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08931917697191238 - }, - "else": { - "operation": "boost", - "score": 0.030952295288443565 + "score": 0.021927153691649437 } } }, "else": { "operation": "boost", - "score": 0.005088873207569122 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 476.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1972.5, - "then": { - "operation": "boost", - "score": 0.10483860969543457 - }, - "else": { - "operation": "boost", - "score": -0.143084317445755 - } - }, - "else": { - "operation": "boost", - "score": 0.1187051311135292 - } - }, - "else": { - "operation": "boost", - "score": 0.13538393378257751 - } - }, - "else": { - "operation": "boost", - "score": 0.13695821166038513 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0018927183700725436 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.011312219314277172 - }, - "else": { - "operation": "boost", - "score": -0.06509137898683548 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.09714686125516891 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1110.5, - "then": { - "operation": "boost", - "score": -0.035544198006391525 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1098.5, - "then": { - "operation": "boost", - "score": 0.10201174765825272 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 688.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 794.5, - "then": { - "operation": "boost", - "score": 0.056869298219680786 - }, - "else": { - "operation": "boost", - "score": 0.10428232699632645 + "score": 0.004757261369377375 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 434.5, - "then": { - "operation": "boost", - "score": -0.04859844595193863 - }, - "else": { - "operation": "boost", - "score": 0.09802622348070145 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 454.0, + "threshold": 369.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 754.0, + "threshold": 403.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 496.5, "then": { - "operation": "boost", - "score": -0.008324316702783108 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.12684151530265808 + "score": -0.10200589150190353 }, "else": { "operation": "boost", - "score": 0.10328803956508636 + "score": 0.1103859543800354 } + }, + "else": { + "operation": "boost", + "score": -0.11278107762336731 } }, "else": { "operation": "boost", - "score": 0.03138609975576401 + "score": 0.11668990552425385 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 55.5, "then": { "operation": "boost", - "score": 0.08842921257019043 + "score": 0.00792363379150629 }, "else": { - "operation": "boost", - "score": 0.11552780866622925 - } - } - }, - "else": { - "operation": "boost", - "score": -0.19174805283546448 - } - }, - "else": { - "operation": "boost", - "score": 0.01179643627256155 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.0707482174038887 - }, - "else": { - "operation": "boost", - "score": 0.09336821734905243 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07604878395795822 - }, - "else": { - "operation": "boost", - "score": 0.011674950830638409 - } - }, - "else": { - "operation": "boost", - "score": -0.23244693875312805 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14452964067459106 - }, - "else": { - "operation": "boost", - "score": 0.014463038183748722 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 676.5, - "then": { - "operation": "boost", - "score": 0.28383252024650574 - }, - "else": { - "operation": "boost", - "score": 0.12250266224145889 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 521.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 922.5, - "then": { - "operation": "boost", - "score": 0.09410280734300613 - }, - "else": { - "operation": "boost", - "score": -0.22041882574558258 - } - }, - "else": { - "operation": "boost", - "score": 0.11535605043172836 - } - }, - "else": { - "operation": "boost", - "score": 0.019269365817308426 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 408.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.09240173548460007 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.027123969048261642 - }, - "else": { - "operation": "boost", - "score": 0.07608432322740555 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03878534585237503 - } - }, - "else": { - "operation": "boost", - "score": -0.6578812003135681 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0031567257829010487 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00032464246032759547 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7329.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9213.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19203.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23416.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28706.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09045996516942978 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29165.0, - "then": { - "operation": "boost", - "score": 0.022259263321757317 - }, - "else": { - "operation": "boost", - "score": 0.07213837653398514 - } - } - }, - "else": { - "operation": "boost", - "score": -0.056564874947071075 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "threshold": 42.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.020071007311344147 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10347672551870346 - }, - "else": { - "operation": "boost", - "score": 0.11086565256118774 - } - }, - "else": { - "operation": "boost", - "score": -0.04980979487299919 - } - } - }, - "else": { - "operation": "boost", - "score": 0.022385617718100548 - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 533860.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.0663256049156189 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": -0.11609134078025818 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -1.8823069334030151 - }, - "else": { - "operation": "boost", - "score": -0.20008179545402527 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06555846333503723 - } + "operation": "boost", + "score": -0.19396010041236877 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 371693.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "Variable" ], "then": { "operation": "boost", - "score": 0.044653672724962234 + "score": 0.20392785966396332 }, "else": { "operation": "boost", - "score": -0.5038248896598816 + "score": 0.07279861718416214 } }, "else": { - "operation": "boost", - "score": 0.1074037104845047 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "boost", + "score": 0.04122689366340637 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.6406691074371338 + }, + "else": { + "operation": "boost", + "score": -0.20260092616081238 + } + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 288180.0, + "threshold": 45.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.5, "then": { "operation": "boost", - "score": 0.06602200120687485 + "score": 0.15111680328845978 }, "else": { "operation": "boost", - "score": -0.11611029505729675 + "score": 0.18125957250595093 } }, "else": { "operation": "boost", - "score": -0.2019246518611908 + "score": 0.053130678832530975 } }, "else": { "operation": "boost", - "score": -0.010720081627368927 + "score": -0.10285642743110657 } } } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1269841343164444, + "then": { + "operation": "boost", + "score": 0.11537493020296097 + }, + "else": { + "operation": "boost", + "score": -0.17439715564250946 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "boost", + "score": -0.3653605878353119 + }, + "else": { + "operation": "boost", + "score": 0.018400128930807114 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.02902437560260296 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20414.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10403764247894287 + "score": 0.03310782462358475 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 33.5, "then": { - "operation": "boost", - "score": 0.013067732565104961 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22160.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.10878154635429382 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 280.0, + "then": { + "operation": "boost", + "score": 0.19558805227279663 + }, + "else": { + "operation": "boost", + "score": -0.16498465836048126 + } + }, + "else": { + "operation": "boost", + "score": 0.1508549302816391 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.0, + "then": { + "operation": "boost", + "score": 0.2939662039279938 + }, + "else": { + "operation": "boost", + "score": 0.1078404113650322 + } + } }, "else": { "operation": "boost", - "score": 0.08840467035770416 + "score": 0.017107179388403893 } + }, + "else": { + "operation": "boost", + "score": 0.15324410796165466 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20349.0, + "threshold": 600.5, "then": { - "operation": "boost", - "score": -0.1885685920715332 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 657.5, "then": { - "operation": "boost", - "score": -0.05634760484099388 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.047158896923065186 + }, + "else": { + "operation": "boost", + "score": -1.4080199003219604 + } + }, + "else": { + "operation": "boost", + "score": 0.030949043110013008 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20157.5, + "threshold": 651.5, "then": { - "operation": "boost", - "score": 0.11953003704547882 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.2876319885253906 + }, + "else": { + "operation": "boost", + "score": -0.12176434695720673 + } }, "else": { - "operation": "boost", - "score": 0.06293146312236786 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 624.5, + "then": { + "operation": "boost", + "score": 0.023080356419086456 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 618.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.11400946229696274 + }, + "else": { + "operation": "boost", + "score": 0.3625253140926361 + } + }, + "else": { + "operation": "boost", + "score": 0.07214350998401642 + } + }, + "else": { + "operation": "boost", + "score": 0.10833583772182465 + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.009197017177939415 } } } - }, - "else": { - "operation": "boost", - "score": 0.0372607596218586 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": 0.13435347378253937 - }, - "else": { - "operation": "boost", - "score": -0.008088726550340652 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19035.0, - "then": { - "operation": "boost", - "score": 0.13109977543354034 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18751.5, - "then": { - "operation": "boost", - "score": -0.0044226557947695255 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.060026995837688446 - }, - "else": { - "operation": "boost", - "score": 0.11074569076299667 - } } } } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005972077138721943 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.10762867331504822 }, "else": { "operation": "boost", - "score": 0.00878005288541317 + "score": 0.10896634310483932 } }, "else": { "operation": "boost", - "score": -0.00810197088867426 + "score": 0.042593590915203094 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.03482880815863609 + }, + "else": { + "operation": "boost", + "score": -0.003128657117486 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0154523104429245 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008648641407489777 + }, + "else": { + "operation": "boost", + "score": 0.0038975635543465614 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8890.0, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8956.0, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.014090278185904026 + }, + "else": { + "operation": "boost", + "score": 0.08671071380376816 + } + }, + "else": { + "operation": "boost", + "score": 0.024508539587259293 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0003901041636709124 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.032546889036893845 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9064.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.10181281715631485 + "score": -0.08317417651414871 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10711608827114105 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.08788464218378067 + }, + "else": { + "operation": "boost", + "score": 0.05788338929414749 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumNameInContext", "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.09195108711719513 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "boost", + "score": 0.06632306426763535 + }, + "else": { + "operation": "boost", + "score": -0.036170948296785355 + } }, "else": { "operation": "boost", - "score": -0.1036488264799118 + "score": 0.043342482298612595 } } } }, "else": { "operation": "boost", - "score": 0.0700712725520134 + "score": 0.013019423931837082 } }, "else": { "operation": "boost", - "score": -0.15356415510177612 + "score": 0.016024909913539886 } }, - "else": { - "operation": "boost", - "score": 0.10980775952339172 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7522.0, - "then": { - "operation": "boost", - "score": -0.06036657467484474 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7369.0, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1415833979845047 + "score": 0.002985353348776698 }, "else": { "operation": "boost", - "score": 0.11135481297969818 + "score": 0.06268303096294403 } }, "else": { - "operation": "boost", - "score": -0.17477181553840637 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12811419367790222 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10772862285375595 - }, - "else": { - "operation": "boost", - "score": -0.026470046490430832 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "boost", - "score": -0.02814542129635811 + "score": 0.0177592895925045 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.005065077915787697 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8573.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0012630345299839973 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8751.0, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "boost", - "score": 0.10265152156352997 + "score": -0.016065942123532295 }, "else": { "operation": "boost", - "score": 0.10343826562166214 + "score": 0.0336727537214756 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "boost", + "score": -0.3769509792327881 }, "else": { "operation": "boost", - "score": 0.09566408395767212 + "score": -0.0015337354270741343 } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.01961546018719673 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.010564353317022324 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.07890944182872772 + }, + "else": { + "operation": "boost", + "score": -0.037787456065416336 + } + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" ], "then": { "operation": "boost", - "score": 0.11157681047916412 + "score": 0.0345376692712307 }, "else": { "operation": "boost", - "score": 0.0949820801615715 + "score": -0.003644523210823536 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07914714515209198 + "score": 0.0852794200181961 }, "else": { "operation": "boost", - "score": -0.4432945251464844 + "score": 0.02364375814795494 } } } }, "else": { + "operation": "boost", + "score": -0.024633437395095825 + } + }, + "else": { + "operation": "boost", + "score": -0.023376494646072388 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.016374342143535614 + }, + "else": { + "operation": "boost", + "score": 0.12507317960262299 + } + }, + "else": { + "operation": "boost", + "score": -0.16707104444503784 + } + }, + "else": { + "operation": "boost", + "score": -0.05711999163031578 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { + "operation": "boost", + "score": 0.007855551317334175 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8213.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10999692231416702 + "score": 0.06529653072357178 }, "else": { "operation": "boost", - "score": -0.015877947211265564 + "score": 0.0135762058198452 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0012438463745638728 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07548469305038452 + }, + "else": { + "operation": "boost", + "score": 0.105148084461689 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09771163761615753 + }, + "else": { + "operation": "boost", + "score": -0.2594146430492401 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.5216602087020874 + }, + "else": { + "operation": "boost", + "score": 0.13525277376174927 + } } }, "else": { "operation": "boost", - "score": 0.038481418043375015 + "score": -0.14552322030067444 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8668.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "boost", - "score": 0.10688057541847229 + "score": 0.041137587279081345 }, "else": { "operation": "boost", - "score": 0.058038871735334396 + "score": 0.6383157968521118 } }, "else": { "operation": "boost", - "score": -0.36983662843704224 + "score": -0.019406944513320923 } }, "else": { "operation": "boost", - "score": -0.1053377240896225 + "score": 0.020172469317913055 } } } } } + } + }, + "else": { + "operation": "boost", + "score": -0.0026479351799935102 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0036198378074914217 + }, + "else": { + "operation": "boost", + "score": 0.000986419036053121 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1806.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1907.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0017539974069222808 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "boost", + "score": -0.06810459494590759 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2696.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2798.5, + "then": { + "operation": "boost", + "score": 0.02586337737739086 + }, + "else": { + "operation": "boost", + "score": 0.12158030271530151 + } + }, + "else": { + "operation": "boost", + "score": -0.07641494274139404 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7360.5, + "threshold": 549246.0, "then": { + "operation": "boost", + "score": -0.1678907871246338 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8910.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 8.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27874.5, "then": { - "operation": "boost", - "score": 0.09747283160686493 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 29053.5, "then": { - "operation": "boost", - "score": -0.35631972551345825 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 29460.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11009763181209564 - }, - "else": { - "operation": "boost", - "score": -0.00396140618249774 - } - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 30061.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 32511.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 41287.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 56010.5, "then": { - "operation": "boost", - "score": 0.15072087943553925 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59248.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74544.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76763.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.21878241002559662 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89371.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { + "operation": "boost", + "score": -0.0013633514754474163 + }, + "else": { + "operation": "boost", + "score": 0.07768499851226807 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83997.5, + "then": { + "operation": "boost", + "score": -0.19684317708015442 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78428.0, + "then": { + "operation": "boost", + "score": 0.03155224025249481 + }, + "else": { + "operation": "boost", + "score": -0.24131928384304047 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06279517710208893 + } + }, + "else": { + "operation": "boost", + "score": -0.06867776066064835 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57673.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.09220459312200546 + }, + "else": { + "operation": "boost", + "score": 0.13887354731559753 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.1216035857796669 + }, + "else": { + "operation": "boost", + "score": 0.10291720181703568 + } + }, + "else": { + "operation": "boost", + "score": -0.09989980608224869 + } + }, + "else": { + "operation": "boost", + "score": 0.09063626825809479 + } + } + } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" ], "then": { "operation": "boost", - "score": 0.10742440819740295 + "score": 0.011164963245391846 }, "else": { "operation": "boost", - "score": -0.23176667094230652 + "score": -0.08407217264175415 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38518.5, "then": { "operation": "boost", - "score": 0.10464361310005188 + "score": 0.09983105957508087 }, "else": { - "operation": "boost", - "score": -0.10377661138772964 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34582.0, + "then": { + "operation": "boost", + "score": -0.16018353402614594 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.310783326625824 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33449.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.06892485171556473 + }, + "else": { + "operation": "boost", + "score": 0.09961015731096268 + } + }, + "else": { + "operation": "boost", + "score": 0.04004734754562378 + } + }, + "else": { + "operation": "boost", + "score": -0.005290532950311899 + } + } + } } } }, "else": { "operation": "boost", - "score": 0.10873671621084213 + "score": -0.13839608430862427 } }, "else": { - "operation": "boost", - "score": -0.3125990331172943 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.07448951154947281 + }, + "else": { + "operation": "boost", + "score": 0.11661342531442642 + } } + }, + "else": { + "operation": "boost", + "score": -0.2919430434703827 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.09467247873544693 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8265.5, + "threshold": 28939.5, "then": { "operation": "boost", - "score": -0.14314283430576324 + "score": 0.08905299752950668 }, "else": { "operation": "boost", - "score": 0.06986264884471893 + "score": 0.15324975550174713 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8058.5, - "then": { - "operation": "boost", - "score": 0.05417369678616524 - }, - "else": { - "operation": "boost", - "score": 0.10834277421236038 - } - }, - "else": { - "operation": "boost", - "score": 0.08063752204179764 - } - }, - "else": { - "operation": "boost", - "score": -0.10210646688938141 - } + "operation": "boost", + "score": -0.13240079581737518 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.4862916171550751 + }, + "else": { + "operation": "boost", + "score": 0.07263519614934921 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": 0.12689079344272614 + }, + "else": { + "operation": "boost", + "score": 0.11092915385961533 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20345.0, + "then": { + "operation": "boost", + "score": -0.05194682627916336 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19203.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19345.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19589.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20039.5, "then": { "operation": "boost", - "score": 0.04247593507170677 + "score": -0.0014483650447800756 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7875.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11312159895896912 + "score": -0.2505825161933899 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": -0.03623289242386818 - }, - "else": { - "operation": "boost", - "score": 0.12561248242855072 - } + "operation": "boost", + "score": 0.06940280646085739 } } }, "else": { "operation": "boost", - "score": 0.044691264629364014 + "score": -0.19375787675380707 } }, "else": { "operation": "boost", - "score": -0.04390530288219452 + "score": 0.1214219406247139 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8054.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8158.0, + "threshold": 16817.5, "then": { + "operation": "boost", + "score": -0.08418220281600952 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8476.5, + "threshold": 13805.5, "then": { - "operation": "boost", - "score": -0.12682819366455078 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 15079.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8416.5, + "threshold": 16793.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.11197265982627869 + }, + "else": { + "operation": "boost", + "score": 0.007172781508415937 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14845.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.1087404116988182 + "score": 0.114164337515831 }, "else": { - "operation": "boost", - "score": -0.4267744719982147 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14962.0, + "then": { + "operation": "boost", + "score": 0.09142516553401947 + }, + "else": { + "operation": "boost", + "score": -0.1309400349855423 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14176.0, "then": { "operation": "boost", - "score": 0.1104322150349617 + "score": -0.1588621288537979 }, "else": { - "operation": "boost", - "score": 0.07359102368354797 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.1054634153842926 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14068.0, + "then": { + "operation": "boost", + "score": 0.10765470564365387 + }, + "else": { + "operation": "boost", + "score": -0.11217347532510757 + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.16081589460372925 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8150.0, + "threshold": 13693.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.12477309256792068 - }, - "else": { - "operation": "boost", - "score": 0.08546657860279083 - } + "operation": "boost", + "score": -0.33300670981407166 }, "else": { - "operation": "boost", - "score": 0.10944489389657974 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13235.5, "then": { - "operation": "boost", - "score": 0.11624304950237274 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13324.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11179501563310623 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13553.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.10017330199480057 + }, + "else": { + "operation": "boost", + "score": 0.11192436516284943 + } + }, + "else": { + "operation": "boost", + "score": -0.07133864611387253 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.16638007760047913 + }, + "else": { + "operation": "boost", + "score": 0.1594296395778656 + } + }, + "else": { + "operation": "boost", + "score": -0.10897865146398544 + } + } }, "else": { - "operation": "boost", - "score": -0.525761067867279 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5543.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10863.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11532.5, + "then": { + "operation": "boost", + "score": -0.013430512510240078 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.10168366134166718 + }, + "else": { + "operation": "boost", + "score": 0.19793888926506042 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01583576202392578 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6177.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10478.0, + "then": { + "operation": "boost", + "score": -0.057782549411058426 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10082.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10145.5, + "then": { + "operation": "boost", + "score": 0.007354799658060074 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10111.5, + "then": { + "operation": "boost", + "score": -0.13220572471618652 + }, + "else": { + "operation": "boost", + "score": 0.08791010081768036 + } + }, + "else": { + "operation": "boost", + "score": 0.1139787882566452 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005073870532214642 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11502142250537872 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4407.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4906.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5397.0, + "then": { + "operation": "boost", + "score": 0.07396332174539566 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.7294478416442871 + }, + "else": { + "operation": "boost", + "score": -0.04783402010798454 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4496.5, + "then": { + "operation": "boost", + "score": -0.9507569670677185 + }, + "else": { + "operation": "boost", + "score": 0.1049342006444931 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4575.5, + "then": { + "operation": "boost", + "score": 0.13816478848457336 + }, + "else": { + "operation": "boost", + "score": 0.14058445394039154 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04633854702115059 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0001611550251254812 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.03612349554896355 } } } - }, - "else": { - "operation": "boost", - "score": -0.00395452044904232 } } - }, - "else": { - "operation": "boost", - "score": -0.08077273517847061 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.10653692483901978 - }, - "else": { - "operation": "boost", - "score": 0.11299459636211395 - } - }, - "else": { - "operation": "boost", - "score": -0.25572407245635986 - } - }, - "else": { - "operation": "boost", - "score": 0.11493047326803207 + }, + "else": { + "operation": "boost", + "score": -0.10316995531320572 } } }, "else": { "operation": "boost", - "score": 0.02016156166791916 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": 0.01469360664486885 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08245760947465897 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.02943088486790657 - }, - "else": { - "operation": "boost", - "score": 0.0669204592704773 - } + "score": -0.05391942337155342 } } - }, - "else": { - "operation": "boost", - "score": 0.08527535945177078 } }, "else": { - "operation": "boost", - "score": -0.032231781631708145 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.008097292855381966 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.037269238382577896 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 1912.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31517.0, - "then": { - "operation": "boost", - "score": -0.06081049516797066 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04379652440547943 - }, - "else": { - "operation": "boost", - "score": 0.14676102995872498 - } - } + "operation": "boost", + "score": -0.007679438684135675 }, "else": { "operation": "boost", - "score": -0.202397882938385 + "score": 0.14121337234973907 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0057387156412005424 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7434.5, - "then": { - "operation": "boost", - "score": 0.01041041873395443 - }, - "else": { - "operation": "boost", - "score": 0.10481611639261246 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00024920282885432243 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.028705457225441933 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.0, - "then": { - "operation": "boost", - "score": 0.006398837082087994 }, "else": { - "operation": "boost", - "score": -0.18874359130859375 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.015296237543225288 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.0634690597653389 + "score": 0.1896066516637802 }, "else": { "operation": "boost", - "score": 0.10372588783502579 + "score": 0.024186206981539726 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 77.0, + "threshold": 1910.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 81.5, + "threshold": 1912.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 150.0, + "threshold": 1919.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 157.5, + "threshold": 2031.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2047.5, "then": { "operation": "boost", - "score": 0.08870965987443924 + "score": 0.009342742152512074 }, "else": { - "operation": "boost", - "score": -1.0634597539901733 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1458333432674408, + "then": { + "operation": "boost", + "score": 0.13143973052501678 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2038.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.08650492876768112 + }, + "else": { + "operation": "boost", + "score": 0.14874619245529175 + } + }, + "else": { + "operation": "boost", + "score": -0.017449136823415756 + } + } } }, "else": { "operation": "boost", - "score": 0.10343969613313675 + "score": -0.04279699921607971 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 94.5, + "threshold": 1916.5, "then": { "operation": "boost", - "score": -0.2888478934764862 + "score": 0.15689939260482788 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.23725222051143646 - }, - "else": { - "operation": "boost", - "score": -0.4302901029586792 - } + "operation": "boost", + "score": -0.10890495777130127 } } }, "else": { "operation": "boost", - "score": 0.14423689246177673 - } - }, - "else": { - "operation": "boost", - "score": -0.08682970702648163 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0016605686396360397 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10236728936433792 - }, - "else": { - "operation": "boost", - "score": -0.033064406365156174 + "score": -0.26035088300704956 } }, "else": { "operation": "boost", - "score": -0.06830690801143646 + "score": 0.08736031502485275 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 163.5, + "threshold": 2008.0, "then": { "operation": "boost", - "score": 0.0968737006187439 + "score": -0.09539715945720673 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.0, + "feature": "FileProximityDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.0, - "then": { - "operation": "boost", - "score": -0.009076130576431751 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.062202099710702896 - }, - "else": { - "operation": "boost", - "score": 0.09614437818527222 - } - } + "operation": "boost", + "score": -0.2318737953901291 }, "else": { "operation": "boost", - "score": -0.09670703858137131 + "score": 0.1729883849620819 } } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.19727984070777893 + }, + "else": { + "operation": "boost", + "score": 0.0981530249118805 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.10845710337162018 + "score": -0.04341047629714012 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1815.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.08042021840810776 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 51.5, + "threshold": 1845.0, "then": { + "operation": "boost", + "score": 0.019951194524765015 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 57.5, + "threshold": 1841.5, "then": { + "operation": "boost", + "score": 0.1226947084069252 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 1819.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2617889642715454 + "score": -0.08404616266489029 }, "else": { - "operation": "boost", - "score": 0.08905868232250214 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1827.5, + "then": { + "operation": "boost", + "score": 0.029540197923779488 + }, + "else": { + "operation": "boost", + "score": 0.2992948591709137 + } } }, "else": { "operation": "boost", - "score": 0.003642786294221878 + "score": 0.163064643740654 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1872.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1887.5, + "then": { + "operation": "boost", + "score": 0.06958982348442078 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11485632508993149 + "score": 0.13288362324237823 }, "else": { "operation": "boost", - "score": 0.09082090854644775 + "score": 0.08441374450922012 } } }, "else": { "operation": "boost", - "score": -0.020992251113057137 + "score": 0.0031670655589550734 } } }, "else": { "operation": "boost", - "score": -0.038223668932914734 + "score": -0.07397418469190598 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "boost", - "score": 0.10844169557094574 - }, - "else": { - "operation": "boost", - "score": -0.20338734984397888 - } + "operation": "boost", + "score": -0.044861651957035065 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 1812.5, "then": { + "operation": "boost", + "score": 0.009236724115908146 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 267.0, + "threshold": 1810.5, "then": { - "operation": "boost", - "score": 0.1066020205616951 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.018454860895872116 + }, + "else": { + "operation": "boost", + "score": 0.18852946162223816 + } }, "else": { - "operation": "boost", - "score": -0.020859787240624428 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.14425432682037354 + }, + "else": { + "operation": "boost", + "score": 0.2734017074108124 + } } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1788.5, + "then": { + "operation": "boost", + "score": -0.1004670262336731 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1787.5, + "then": { + "operation": "boost", + "score": 0.17133212089538574 + }, + "else": { + "operation": "boost", + "score": -0.00024253195442724973 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11829.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12183.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0006156276795081794 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13537.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18769.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 236336.5, + "threshold": 19474.5, "then": { - "operation": "boost", - "score": 0.09490302205085754 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110.5, + "threshold": 19577.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 137.5, + "threshold": 21689.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 304.5, + "threshold": 24475.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 306.5, + "threshold": 33380.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 34205.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 48070.0, "then": { - "operation": "boost", - "score": -0.12800295650959015 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1753.0, + "threshold": 55854.0, "then": { - "operation": "boost", - "score": 0.0016553750028833747 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 758.0, + "threshold": 57582.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 868.0, + "threshold": 108163.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1155.0, + "threshold": 191566.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1622.5, - "then": { - "operation": "boost", - "score": 0.105888232588768 - }, - "else": { - "operation": "boost", - "score": -0.0867585688829422 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 978.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.1092950701713562 + "score": 0.040630489587783813 }, "else": { - "operation": "boost", - "score": 0.019251257181167603 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06929202377796173 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.08800239861011505 + }, + "else": { + "operation": "boost", + "score": -0.035297639667987823 + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 822.5, - "then": { - "operation": "boost", - "score": 0.1251228153705597 }, "else": { "operation": "boost", - "score": 0.1069672554731369 + "score": -0.14772261679172516 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 464.0, - "then": { - "operation": "boost", - "score": -0.016144651919603348 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 414.5, + "threshold": 96602.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 98088.5, "then": { - "operation": "boost", - "score": -0.12511998414993286 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.03410328924655914 + }, + "else": { + "operation": "boost", + "score": 0.10936596244573593 + } }, "else": { - "operation": "boost", - "score": 0.09646381437778473 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.0946134403347969 + }, + "else": { + "operation": "boost", + "score": 0.03408088907599449 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 91011.5, "then": { + "operation": "boost", + "score": -0.12751677632331848 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 59512.5, "then": { - "operation": "boost", - "score": -0.018946249037981033 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 364.5, + "threshold": 85788.5, "then": { - "operation": "boost", - "score": 0.031228404492139816 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11574497818946838 + }, + "else": { + "operation": "boost", + "score": 0.016895493492484093 + } }, "else": { "operation": "boost", - "score": 0.22820498049259186 + "score": -0.04750330373644829 } + }, + "else": { + "operation": "boost", + "score": 0.09202045947313309 } - }, - "else": { - "operation": "boost", - "score": -0.023201214149594307 } } } + }, + "else": { + "operation": "boost", + "score": -0.14304348826408386 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12864944338798523 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0828707292675972 + }, + "else": { + "operation": "boost", + "score": 0.1304665058851242 + } } } }, "else": { "operation": "boost", - "score": -0.08008144795894623 + "score": -0.1217944473028183 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.022886764258146286 + }, + "else": { + "operation": "boost", + "score": 0.1323566883802414 + } + }, + "else": { + "operation": "boost", + "score": 0.08059763163328171 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47253.0, + "then": { + "operation": "boost", + "score": 0.10602591931819916 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09036314487457275 + }, + "else": { + "operation": "boost", + "score": 0.1227310448884964 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04188518971204758 + } } } }, "else": { - "operation": "boost", - "score": -0.24207821488380432 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11904682964086533 + }, + "else": { + "operation": "boost", + "score": -0.07920675724744797 + } } }, "else": { - "operation": "boost", - "score": -0.005602053366601467 - } - }, - "else": { - "operation": "boost", - "score": 0.12036052346229553 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.08886607736349106 - }, - "else": { - "operation": "boost", - "score": -0.12139546871185303 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33451.5, + "then": { + "operation": "boost", + "score": 0.10188651829957962 + }, + "else": { + "operation": "boost", + "score": 0.05901963263750076 + } } }, - "else": { - "operation": "boost", - "score": -0.008069631643593311 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.5, - "then": { - "operation": "boost", - "score": 0.3234180212020874 - }, - "else": { - "operation": "boost", - "score": 0.01591462641954422 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, - "then": { - "operation": "boost", - "score": 0.10998613387346268 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30221.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.04893101006746292 + "score": -0.09547091275453568 }, "else": { - "operation": "boost", - "score": 0.13259878754615784 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": 0.13648952543735504 + }, + "else": { + "operation": "boost", + "score": -0.013871436938643456 + } } }, "else": { - "operation": "boost", - "score": 0.020960431545972824 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27669.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.035923901945352554 + }, + "else": { + "operation": "boost", + "score": 0.12706251442432404 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.033323902636766434 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.19045336544513702 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.18403393030166626 + }, + "else": { + "operation": "boost", + "score": 0.01546520460397005 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.13380731642246246 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07823356986045837 + }, + "else": { + "operation": "boost", + "score": -0.11432745307683945 + } + } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.10818123072385788 - }, - "else": { - "operation": "boost", - "score": 0.11234263330698013 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "boost", - "score": -0.03329605609178543 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09393060952425003 - }, - "else": { - "operation": "boost", - "score": -0.20946455001831055 - } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13476347923278809 + "score": -0.0197854395955801 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11503175646066666 - }, - "else": { - "operation": "boost", - "score": -0.036090027540922165 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0009360757539980114 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 467.0, - "then": { - "operation": "boost", - "score": -0.06428588181734085 - }, - "else": { - "operation": "boost", - "score": 0.11565160006284714 - } - }, - "else": { - "operation": "boost", - "score": -0.14521068334579468 - } - }, - "else": { - "operation": "boost", - "score": 0.024848802015185356 - } - }, - "else": { - "operation": "boost", - "score": 0.012239346280694008 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 309.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 313.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 446.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 676.5, + "threshold": 23527.5, "then": { "operation": "boost", - "score": 0.08500952273607254 + "score": 0.13226276636123657 }, "else": { "operation": "boost", - "score": 0.12029504776000977 + "score": 0.04727589711546898 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 504.5, + "threshold": 23639.5, "then": { + "operation": "boost", + "score": 0.08922752737998962 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 961.0, + "threshold": 22914.5, "then": { "operation": "boost", - "score": 0.09886380285024643 + "score": -0.05590580403804779 }, "else": { "operation": "boost", - "score": -0.2264346033334732 + "score": 0.06026998162269592 } - }, - "else": { - "operation": "boost", - "score": 0.10360242426395416 } } - }, - "else": { - "operation": "boost", - "score": 0.03133267164230347 } - }, - "else": { - "operation": "boost", - "score": 0.020488504320383072 } }, "else": { "operation": "boost", - "score": 0.1172361969947815 + "score": -0.08500894904136658 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 20296.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11202048510313034 + }, + "else": { + "operation": "boost", + "score": 0.01274467445909977 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 149.5, + "threshold": 20253.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { "operation": "boost", - "score": -0.01571737229824066 + "score": -0.27314746379852295 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11603476107120514 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.09637495130300522 + }, + "else": { + "operation": "boost", + "score": -0.03857005015015602 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.16995620727539062 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.11562962830066681 + "score": 0.03852362930774689 }, "else": { "operation": "boost", - "score": 0.004982424434274435 + "score": 0.09196925163269043 } - }, - "else": { - "operation": "boost", - "score": 0.09223390370607376 } } } @@ -346506,1404 +349346,1449 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46.5, + "threshold": 20039.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, + "operation": "boost", + "score": -0.18930327892303467 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.3396815061569214 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.09524156153202057 + "score": 0.0636298879981041 }, "else": { "operation": "boost", - "score": -0.0586981475353241 + "score": 0.09765913337469101 } - }, - "else": { - "operation": "boost", - "score": -0.3332127332687378 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, - "then": { - "operation": "boost", - "score": 0.07252669334411621 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, - "then": { - "operation": "boost", - "score": -0.6828874349594116 - }, - "else": { - "operation": "boost", - "score": -0.02611038275063038 - } - } + "operation": "boost", + "score": 0.012626209296286106 } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.14573360979557037 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19203.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19307.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.0027620841283351183 + }, + "else": { + "operation": "boost", + "score": 0.10816754400730133 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": -0.01243122760206461 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.107379250228405 + }, + "else": { + "operation": "boost", + "score": 0.14624089002609253 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": 0.18314632773399353 + }, + "else": { + "operation": "boost", + "score": 0.031003009527921677 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1447726935148239 + }, + "else": { + "operation": "boost", + "score": -0.020762117579579353 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12513.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12536.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12587.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.03620478883385658 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12934.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.15250112116336823 + }, + "else": { + "operation": "boost", + "score": 0.028716782107949257 + } + }, + "else": { + "operation": "boost", + "score": 0.02736271359026432 + } + } + }, + "else": { + "operation": "boost", + "score": -0.44049304723739624 + } + }, + "else": { + "operation": "boost", + "score": 0.15675309300422668 + } + }, + "else": { + "operation": "boost", + "score": -0.00999701488763094 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08065535128116608 + }, + "else": { + "operation": "boost", + "score": -0.22872860729694366 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10644.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11245.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11730.0, + "then": { + "operation": "boost", + "score": -0.15869306027889252 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.10525618493556976 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12117015570402145 - }, - "else": { - "operation": "boost", - "score": 0.1358531266450882 - } - }, - "else": { - "operation": "boost", - "score": -0.1692117601633072 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06020870432257652 - }, - "else": { - "operation": "boost", - "score": 0.10403859615325928 - } - }, - "else": { - "operation": "boost", - "score": -0.13464371860027313 - } - }, - "else": { - "operation": "boost", - "score": -0.12553906440734863 - } - } + "operation": "boost", + "score": 0.12254016846418381 } + }, + "else": { + "operation": "boost", + "score": -0.1116589605808258 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 99.5, + "threshold": 11573.5, "then": { "operation": "boost", - "score": -0.07202153652906418 + "score": 0.11522858589887619 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.5, - "then": { - "operation": "boost", - "score": 0.10784265398979187 - }, - "else": { - "operation": "boost", - "score": -0.17518490552902222 - } + "operation": "boost", + "score": -0.10146766155958176 }, "else": { "operation": "boost", - "score": 0.12833741307258606 + "score": 0.1360122263431549 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.0, - "then": { - "operation": "boost", - "score": 0.1820254772901535 - }, - "else": { - "operation": "boost", - "score": -0.15613850951194763 - } - }, - "else": { - "operation": "boost", - "score": 0.04722153767943382 - } + "operation": "boost", + "score": 0.10207793861627579 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.02726178988814354 - }, - "else": { - "operation": "boost", - "score": -0.4792892634868622 - } + "operation": "boost", + "score": -0.23394566774368286 } } } } + }, + "else": { + "operation": "boost", + "score": 0.034612901508808136 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11605.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { - "operation": "boost", - "score": 0.08231177181005478 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11948325484991074 + }, + "else": { + "operation": "boost", + "score": -0.11737806349992752 + } }, "else": { "operation": "boost", - "score": 0.14099016785621643 + "score": 0.09980429708957672 } }, "else": { "operation": "boost", - "score": -0.10995344072580338 + "score": 0.0571204274892807 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Operator", - "Namespace" - ], + "operation": "boost", + "score": 0.0007847179658710957 + } + }, + "else": { + "operation": "boost", + "score": -0.06846821308135986 + } + }, + "else": { + "operation": "boost", + "score": -0.06486909091472626 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10586.5, + "then": { + "operation": "boost", + "score": 0.17429175972938538 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7917.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8445.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.018481815233826637 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09156593680381775 + }, + "else": { + "operation": "boost", + "score": 0.013567850925028324 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 8337.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 8385.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 217.0, + "threshold": 8416.5, "then": { - "operation": "boost", - "score": 0.11759188771247864 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.12372121959924698 + }, + "else": { + "operation": "boost", + "score": 0.14865365624427795 + } + }, + "else": { + "operation": "boost", + "score": 0.10086923837661743 + } }, "else": { "operation": "boost", - "score": -0.1776786744594574 + "score": 0.19438932836055756 } }, "else": { - "operation": "boost", - "score": -0.27923649549484253 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": -0.1003078892827034 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.2215220183134079 + }, + "else": { + "operation": "boost", + "score": -0.10248871147632599 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11713583767414093 + }, + "else": { + "operation": "boost", + "score": 0.09607210010290146 + } + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 8158.0, "then": { "operation": "boost", - "score": 0.09218358248472214 + "score": -0.0008727031527087092 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 186.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.11304944008588791 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76.5, + "threshold": 7957.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": -0.23625360429286957 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8150.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0902610793709755 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.13035304844379425 + }, + "else": { + "operation": "boost", + "score": 0.1582752764225006 + } + } + }, + "else": { + "operation": "boost", + "score": 0.128321573138237 + } + }, + "else": { + "operation": "boost", + "score": 0.09776128828525543 + } }, "else": { - "operation": "boost", - "score": 0.10864213854074478 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7960.0, + "then": { + "operation": "boost", + "score": 0.19943132996559143 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.02101626619696617 + }, + "else": { + "operation": "boost", + "score": 0.1276753842830658 + } + } } }, "else": { "operation": "boost", - "score": -0.13820281624794006 + "score": -0.056698333472013474 } + }, + "else": { + "operation": "boost", + "score": -0.003758565057069063 } } } }, "else": { - "operation": "boost", - "score": -0.04511398822069168 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8416.5, + "then": { + "operation": "boost", + "score": -0.22748856246471405 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.4380287230014801 + }, + "else": { + "operation": "boost", + "score": -0.056201204657554626 + } + }, + "else": { + "operation": "boost", + "score": 0.006778122391551733 + } + } } } }, "else": { "operation": "boost", - "score": 0.003015809925273061 + "score": -8.121519203996286e-05 } } } - }, - "else": { - "operation": "boost", - "score": -0.0004046738613396883 } }, { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.009460430592298508 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" + "Constructor", + "Function", + "Operator", + "Unknown", + "Variable" ], + "then": { + "operation": "boost", + "score": 0.0013085210230201483 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1026315838098526, + "then": { + "operation": "boost", + "score": -0.00495831947773695 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.11743872612714767 + }, + "else": { + "operation": "boost", + "score": -0.19512809813022614 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0013206922449171543 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.09970255941152573 - }, - "else": { - "operation": "boost", - "score": 0.05979118123650551 - } - } + "operation": "boost", + "score": 0.0045783366076648235 }, "else": { "operation": "boost", - "score": -0.011111805215477943 + "score": -0.022647840902209282 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FractionNameInContext", + "threshold": 0.09307359158992767, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope" + "Function", + "Namespace", + "Type" ], "then": { + "operation": "boost", + "score": 0.010891723446547985 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", - "CCC_Statement" + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": -0.01348403561860323 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { - "operation": "boost", - "score": 0.03673667833209038 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.9285714626312256, "then": { "operation": "boost", - "score": 0.057841334491968155 + "score": 0.03862724453210831 }, "else": { "operation": "boost", - "score": 0.032606206834316254 + "score": 0.10701294243335724 } + }, + "else": { + "operation": "boost", + "score": -0.017233097925782204 } + }, + "else": { + "operation": "boost", + "score": 0.009974646382033825 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04562067240476608 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.012839671224355698 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08546748012304306 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11881187558174133 - }, - "else": { - "operation": "boost", - "score": 0.06465831398963928 - } - } - }, - "else": { - "operation": "boost", - "score": -0.07212293893098831 - } - }, - "else": { - "operation": "boost", - "score": 0.06902388483285904 - } - }, - "else": { - "operation": "boost", - "score": 0.016266725957393646 - } - } - } + "operation": "boost", + "score": 0.027845485135912895 }, "else": { "operation": "boost", - "score": 0.02407318353652954 + "score": -0.029359914362430573 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, "then": { "operation": "boost", - "score": 0.020435338839888573 + "score": -0.024060439318418503 }, "else": { - "operation": "boost", - "score": 0.008519905619323254 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.20680804550647736 + }, + "else": { + "operation": "boost", + "score": -0.11269066482782364 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.003804483450949192 } }, "else": { + "operation": "boost", + "score": 0.1487712413072586 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.04107268899679184 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 106.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 88.0, "then": { + "operation": "boost", + "score": 0.008503410965204239 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 671.0, + "threshold": 76.5, "then": { - "operation": "boost", - "score": -0.0817590057849884 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": 0.12257537990808487 + }, + "else": { + "operation": "boost", + "score": 0.0595666840672493 + } }, "else": { - "operation": "boost", - "score": 0.13549020886421204 - } - }, - "else": { - "operation": "boost", - "score": -0.07522863894701004 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.1075885072350502 + "score": 0.21159453690052032 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 34.5, "then": { + "operation": "boost", + "score": -0.011417328380048275 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 31.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0537690706551075 + "score": 0.13017207384109497 }, "else": { "operation": "boost", - "score": -0.45377781987190247 + "score": -0.014370478689670563 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "boost", - "score": 0.1385803371667862 + "score": -0.055715739727020264 }, "else": { "operation": "boost", - "score": 0.12025943398475647 + "score": 0.0847141370177269 } } - }, - "else": { - "operation": "boost", - "score": -0.12473326176404953 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.10284503549337387 + "score": -0.03667774051427841 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.09962036460638046 - }, - "else": { - "operation": "boost", - "score": 0.09068930894136429 - } - }, - "else": { - "operation": "boost", - "score": 0.1156356930732727 - } + "operation": "boost", + "score": 0.12997108697891235 } }, "else": { - "operation": "boost", - "score": 0.04683058708906174 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.15494567155838013 - }, - "else": { - "operation": "boost", - "score": -0.01442849449813366 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.05240800976753235 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.11088072508573532 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12021069973707199 + }, + "else": { + "operation": "boost", + "score": 0.20812183618545532 + } }, "else": { "operation": "boost", - "score": 0.0030251541174948215 + "score": 0.14336547255516052 } - }, - "else": { - "operation": "boost", - "score": 0.11509500443935394 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24.5, + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, - "then": { - "operation": "boost", - "score": 0.12591588497161865 - }, - "else": { - "operation": "boost", - "score": 0.11483011394739151 - } - }, - "else": { - "operation": "boost", - "score": 0.028019307181239128 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, "then": { - "operation": "boost", - "score": 0.07541455328464508 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "boost", + "score": 0.10650280863046646 + }, + "else": { + "operation": "boost", + "score": -0.02856401726603508 + } }, "else": { "operation": "boost", - "score": -0.7378110885620117 + "score": 0.139256551861763 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.1260748654603958 - }, - "else": { - "operation": "boost", - "score": 0.17104984819889069 - } + "operation": "boost", + "score": 0.008131735026836395 } }, "else": { "operation": "boost", - "score": -0.11448338627815247 + "score": -0.03114437870681286 } + }, + "else": { + "operation": "boost", + "score": -0.14095382392406464 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0037141749635338783 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.08479895442724228 - }, - "else": { - "operation": "boost", - "score": 0.10843289643526077 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09869582951068878 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11429958790540695 - }, - "else": { - "operation": "boost", - "score": 0.39014506340026855 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06602144986391068 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.012959827668964863 - }, - "else": { - "operation": "boost", - "score": 0.1518419235944748 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06358561664819717 - } - } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Operator", - "Unknown", - "Function", - "Type", - "Namespace" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 63.0, "then": { "operation": "boost", - "score": 0.024121101945638657 + "score": 0.1013699471950531 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13359639048576355 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12774740159511566 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0955759659409523 - }, - "else": { - "operation": "boost", - "score": -0.10512267798185349 - } - } - } + "operation": "boost", + "score": 0.13894611597061157 } - }, - "else": { - "operation": "boost", - "score": -0.027478624135255814 } }, "else": { "operation": "boost", - "score": -0.0165246594697237 + "score": 0.00937922578305006 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0005073270876891911 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04209822043776512 - }, - "else": { - "operation": "boost", - "score": -0.0788494199514389 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011312730610370636 - } + "operation": "boost", + "score": -0.2931327223777771 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.0, "then": { "operation": "boost", - "score": 0.019674312323331833 + "score": 0.09901975840330124 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": -0.10133962333202362 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06991801410913467 - }, - "else": { - "operation": "boost", - "score": -0.03318848833441734 - } - } + "operation": "boost", + "score": -0.21011514961719513 } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 396.0, "then": { + "operation": "boost", + "score": 0.013202695176005363 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 383.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.004817558452486992 + }, + "else": { + "operation": "boost", + "score": -0.26215848326683044 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": -1.2733756303787231 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, + "then": { + "operation": "boost", + "score": -0.010915043763816357 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.43560606241226196, + "then": { + "operation": "boost", + "score": 0.18934477865695953 + }, + "else": { + "operation": "boost", + "score": -0.24224631488323212 + } + } }, "else": { "operation": "boost", - "score": 0.026929957792162895 + "score": -0.06200917065143585 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.43560606241226196, "then": { "operation": "boost", - "score": 0.060969822108745575 + "score": 0.06463377177715302 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.0, "then": { "operation": "boost", - "score": 0.13763058185577393 + "score": 0.11332742124795914 }, "else": { "operation": "boost", - "score": 0.2594850957393646 + "score": -0.004547253251075745 } } } }, - "else": { - "operation": "boost", - "score": 0.0030240293126553297 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.0014395592734217644 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219281.5, - "then": { - "operation": "boost", - "score": 0.07612890750169754 - }, - "else": { - "operation": "boost", - "score": -0.020339567214250565 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" + "Type" ], "then": { - "operation": "boost", - "score": 0.06372739374637604 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15716373920440674 + }, + "else": { + "operation": "boost", + "score": -0.10066086798906326 + } }, "else": { "operation": "boost", - "score": -0.24703416228294373 + "score": 0.07998667657375336 } }, "else": { "operation": "boost", - "score": -0.020562658086419106 + "score": 0.01040854025632143 } }, "else": { - "operation": "boost", - "score": 0.026929106563329697 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.004208981525152922 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04812847077846527 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.0041258311830461025 + }, + "else": { + "operation": "boost", + "score": -0.05108823627233505 + } + } + } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 41.5, + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.12137055397033691 + "score": -0.3433738350868225 }, "else": { "operation": "boost", - "score": 0.10790538787841797 + "score": 0.04736846685409546 } }, "else": { - "operation": "boost", - "score": 0.021256355568766594 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.13284257054328918 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.21902331709861755 + }, + "else": { + "operation": "boost", + "score": 0.04088028892874718 + } + }, + "else": { + "operation": "boost", + "score": 0.0543585829436779 + } + } } }, "else": { - "operation": "boost", - "score": 0.08889096975326538 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159.0, + "then": { + "operation": "boost", + "score": 0.15852268040180206 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.050375182181596756 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": -0.1765713095664978 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.03591807186603546 + }, + "else": { + "operation": "boost", + "score": 0.19423364102840424 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.025682376697659492 + }, + "else": { + "operation": "boost", + "score": -0.428786039352417 + } + } + } + } + } } }, "else": { "operation": "boost", - "score": -0.032105572521686554 + "score": -0.006742340046912432 } } - }, - "else": { - "operation": "boost", - "score": 0.03225648030638695 } }, "else": { - "operation": "boost", - "score": -0.013818695209920406 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.009462008252739906 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 227.0, "then": { - "operation": "boost", - "score": -0.005468500312417746 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": 0.12620535492897034 + }, + "else": { + "operation": "boost", + "score": 0.09681551158428192 + } }, "else": { "operation": "boost", - "score": -0.02957906946539879 + "score": 0.004889004863798618 } } - }, - "else": { - "operation": "boost", - "score": -0.003014660906046629 } } } @@ -347911,1761 +350796,35455 @@ }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Constructor", - "Function", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" + "Function", + "Variable" ], "then": { + "operation": "boost", + "score": 0.015315339900553226 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.04051947966217995 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "boost", + "score": 0.14612190425395966 + }, + "else": { + "operation": "boost", + "score": 0.1215500682592392 + } }, "else": { + "operation": "boost", + "score": 0.10781387984752655 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 31.5, "then": { + "operation": "boost", + "score": 0.04624377563595772 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.2817460298538208, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "boost", + "score": 0.005101995076984167 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12318.0, + "threshold": 22.5, "then": { "operation": "boost", - "score": -1.2747036218643188 + "score": -0.12774251401424408 }, "else": { "operation": "boost", - "score": 0.05327229201793671 + "score": -0.006793798878788948 } }, "else": { - "operation": "boost", - "score": -0.6404602527618408 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10959983617067337 + }, + "else": { + "operation": "boost", + "score": -0.07994464039802551 + } + }, + "else": { + "operation": "boost", + "score": -0.07451748847961426 + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1260291486978531 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10776817053556442 - }, - "else": { - "operation": "boost", - "score": 0.07584003359079361 - } + "operation": "boost", + "score": -0.13138704001903534 } }, "else": { + "operation": "boost", + "score": -0.014080526307225227 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 325.0, + "then": { + "operation": "boost", + "score": 0.10447166860103607 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.007373692933470011 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { "operation": "boost", - "score": 0.10766423493623734 + "score": -0.010254988446831703 }, "else": { "operation": "boost", - "score": 0.1168011948466301 + "score": -0.276410311460495 } }, + "else": { + "operation": "boost", + "score": 0.011209148913621902 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01117696613073349 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, "then": { "operation": "boost", - "score": -0.5230382680892944 + "score": 0.03261213004589081 }, "else": { - "operation": "boost", - "score": 0.10852646827697754 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06201232969760895 + }, + "else": { + "operation": "boost", + "score": 0.07934162765741348 + } + }, + "else": { + "operation": "boost", + "score": -0.13305503129959106 + } } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019326256588101387 + }, + "else": { + "operation": "boost", + "score": -0.06461445987224579 + } } } }, "else": { - "operation": "boost", - "score": 0.008403596468269825 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6076923608779907, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.05158375948667526 + }, + "else": { + "operation": "boost", + "score": -0.04997266083955765 + } + }, + "else": { + "operation": "boost", + "score": -0.011335772462189198 + } } }, "else": { - "operation": "boost", - "score": 0.01246523018926382 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.030110886320471764 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.21573716402053833 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 41.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "boost", + "score": -0.8320100903511047 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { + "operation": "boost", + "score": -0.00014146666217129678 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.0, + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, "then": { "operation": "boost", - "score": -0.01041154470294714 + "score": 0.0009191466378979385 }, "else": { "operation": "boost", - "score": 0.10513119399547577 + "score": -0.19915008544921875 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": -0.04426044970750809 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.5, + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, "then": { "operation": "boost", - "score": 0.07133892178535461 + "score": -0.08122441172599792 }, "else": { - "operation": "boost", - "score": -0.05587886646389961 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": 0.12189282476902008 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.009990357793867588 + }, + "else": { + "operation": "boost", + "score": 0.12737378478050232 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10965732485055923 + }, + "else": { + "operation": "boost", + "score": 0.04792246222496033 + } + } + }, + "else": { + "operation": "boost", + "score": 0.025219637900590897 + } } } }, + "else": { + "operation": "boost", + "score": 0.14880667626857758 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06352661550045013 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07490447908639908 + "score": 0.3103807866573334 }, "else": { "operation": "boost", - "score": 0.1011657863855362 + "score": 0.015217396430671215 } } + }, + "else": { + "operation": "boost", + "score": -0.00596721051260829 } - }, - "else": { - "operation": "boost", - "score": 0.00806854385882616 } - } - }, - "else": { - "operation": "boost", - "score": -0.0459512397646904 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.021170098334550858 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.009801347739994526 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.018331680446863174 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro" + ], "then": { "operation": "boost", - "score": -0.0266172643750906 + "score": 0.01829686388373375 }, "else": { - "operation": "boost", - "score": 0.09321700781583786 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.030829496681690216 + }, + "else": { + "operation": "boost", + "score": -0.0017074269708245993 + } } } } } + }, + "else": { + "operation": "boost", + "score": -0.01768609695136547 } } - }, - "else": { - "operation": "boost", - "score": -0.00017012325406540185 } + }, + "else": { + "operation": "boost", + "score": -0.00015043704479467124 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7329.5, + "threshold": 1735.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 1736.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0046780845150351524 - }, - "else": { - "operation": "boost", - "score": -0.026343777775764465 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1739.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.044042594730854034 - }, - "else": { - "operation": "boost", - "score": 0.0981258824467659 - } - }, - "else": { - "operation": "boost", - "score": 0.016466841101646423 - } - }, - "else": { - "operation": "boost", - "score": 0.0009819614933803678 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7434.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.011080209165811539 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73593.0, + "threshold": 6708.0, "then": { + "operation": "boost", + "score": 0.00012328811862971634 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 6508.0, "then": { - "operation": "boost", - "score": 0.08752705901861191 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83201.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110939.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6604.5, "then": { "operation": "boost", - "score": 0.0435432605445385 + "score": 0.11062289774417877 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 197058.0, - "then": { - "operation": "boost", - "score": -0.11055287718772888 - }, - "else": { - "operation": "boost", - "score": -0.2317870408296585 - } + "operation": "boost", + "score": 0.11272071301937103 } }, "else": { - "operation": "boost", - "score": 0.01883835531771183 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13245181739330292 + "score": 0.11064426600933075 }, "else": { "operation": "boost", - "score": -0.008589637465775013 + "score": 0.06093024089932442 } - }, - "else": { - "operation": "boost", - "score": -2.759380578994751 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34453.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06011049821972847 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "boost", - "score": 0.0988512709736824 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59352.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.08976670354604721 - }, - "else": { - "operation": "boost", - "score": 0.03773108497262001 - } + "operation": "boost", + "score": -0.10038573294878006 }, "else": { - "operation": "boost", - "score": 0.025091204792261124 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2741563022136688 - } - } - }, - "else": { - "operation": "boost", - "score": -0.02022102102637291 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10251887887716293 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 209.0, - "then": { - "operation": "boost", - "score": 0.0672769844532013 - }, - "else": { - "operation": "boost", - "score": 0.16754034161567688 - } - }, - "else": { - "operation": "boost", - "score": -0.015415072441101074 - } - }, - "else": { - "operation": "boost", - "score": -0.059765323996543884 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5654.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7108.5, - "then": { - "operation": "boost", - "score": -0.21160122752189636 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6969.5, - "then": { - "operation": "boost", - "score": 0.12765946984291077 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 6592.0, "then": { "operation": "boost", - "score": 0.09050492942333221 + "score": 0.25576451420783997 }, "else": { "operation": "boost", - "score": -0.05629127845168114 + "score": -0.10012417286634445 } - }, - "else": { - "operation": "boost", - "score": 0.13455452024936676 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.24702033400535583 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.04028250277042389 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6676.0, "then": { "operation": "boost", - "score": -0.05994337424635887 + "score": -0.01992574706673622 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 6652.5, "then": { - "operation": "boost", - "score": 0.15017573535442352 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.09166666865348816, "then": { "operation": "boost", - "score": -0.025971582159399986 + "score": 0.15263082087039948 }, "else": { - "operation": "boost", - "score": 0.1541374921798706 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.1582229882478714 + }, + "else": { + "operation": "boost", + "score": 0.1285155862569809 + } + }, + "else": { + "operation": "boost", + "score": 0.0026428618002682924 + } } + }, + "else": { + "operation": "boost", + "score": 0.06350115686655045 } } } }, "else": { - "operation": "boost", - "score": -0.03430768474936485 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.12009607255458832 + }, + "else": { + "operation": "boost", + "score": 0.9905678033828735 + } + }, + "else": { + "operation": "boost", + "score": -0.09373102337121964 + } } - }, - "else": { - "operation": "boost", - "score": 0.01531133521348238 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0277081448584795 - } - }, - "else": { - "operation": "boost", - "score": 0.008589616045355797 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Function", - "Type" - ], - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", "CCC_Statement", - "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", + "Function", + "Keyword", + "Macro", "Operator", - "Unknown", - "Constructor", "Type", - "Namespace" + "Unknown" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 6230.0, "then": { + "operation": "boost", + "score": -0.05411802604794502 + }, + "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6103.5, "then": { - "operation": "boost", - "score": -0.10199395567178726 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6106.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.0972222238779068, "then": { - "operation": "boost", - "score": -0.08014735579490662 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": -0.10371968895196915 + }, + "else": { + "operation": "boost", + "score": 0.1346864253282547 + } }, "else": { "operation": "boost", - "score": 0.029215797781944275 + "score": -0.03205994516611099 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.0850372314453125, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.020851654931902885 + "score": 0.14260882139205933 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": -0.07895655930042267 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11980102956295013 - }, - "else": { - "operation": "boost", - "score": 0.09108821302652359 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.13209538161754608 - }, - "else": { - "operation": "boost", - "score": 0.10894696414470673 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.1336333006620407 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10575567185878754 - }, - "else": { - "operation": "boost", - "score": 0.07459262013435364 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.12831901013851166 - }, - "else": { - "operation": "boost", - "score": 0.09228207170963287 - } - }, - "else": { - "operation": "boost", - "score": -0.02570757456123829 - } - }, - "else": { - "operation": "boost", - "score": 0.08839435130357742 - } - }, - "else": { - "operation": "boost", - "score": 0.0541829951107502 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05266723409295082 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.04116327315568924 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10621823370456696 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11782949417829514 - }, - "else": { - "operation": "boost", - "score": 0.04109268635511398 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05027230083942413 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08495038002729416 - }, - "else": { - "operation": "boost", - "score": 0.026860956102609634 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.022822683677077293 - }, - "else": { - "operation": "boost", - "score": 0.056837018579244614 - } - } - } + "operation": "boost", + "score": 0.1155787855386734 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.07121023535728455 - }, - "else": { - "operation": "boost", - "score": 0.08268275856971741 - } + "operation": "boost", + "score": -0.1203993558883667 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.038101449608802795 - }, - "else": { - "operation": "boost", - "score": 0.07634971290826797 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.04093904048204422 + "score": 0.26792091131210327 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.14745934307575226 + "score": 0.1368415504693985 }, "else": { "operation": "boost", - "score": 0.06289325654506683 + "score": -0.10643711686134338 } }, "else": { - "operation": "boost", - "score": 0.13310931622982025 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.052785418927669525 - }, - "else": { - "operation": "boost", - "score": -0.045165229588747025 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.3627302348613739 + }, + "else": { + "operation": "boost", + "score": -0.10362881422042847 + } } - }, - "else": { - "operation": "boost", - "score": 0.06827963143587112 } } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.10571535676717758 }, "else": { "operation": "boost", - "score": -0.10148368030786514 + "score": -0.10389361530542374 } - }, - "else": { - "operation": "boost", - "score": -0.04914555698633194 } - }, - "else": { - "operation": "boost", - "score": 0.036635711789131165 } }, "else": { - "operation": "boost", - "score": 0.025602800771594048 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.22924166917800903 - }, - "else": { - "operation": "boost", - "score": -0.031645823270082474 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 21.0, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 1913.5, "then": { "operation": "boost", - "score": -0.004660372156649828 + "score": 0.0646524652838707 }, "else": { "operation": "boost", - "score": 0.036719389259815216 + "score": 0.1509207934141159 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 5826.0, "then": { + "operation": "boost", + "score": -0.047760382294654846 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 5763.5, "then": { - "operation": "boost", - "score": 0.03326508030295372 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.12706084549427032 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 5774.5, "then": { "operation": "boost", - "score": 0.08999203145503998 + "score": -0.10175739228725433 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.0, "then": { "operation": "boost", - "score": 0.19262754917144775 + "score": 0.13586242496967316 }, "else": { "operation": "boost", - "score": 0.14250285923480988 + "score": 0.22371451556682587 } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.008989043533802032 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.08735332638025284 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.057311076670885086 - }, - "else": { - "operation": "boost", - "score": 0.13145746290683746 - } + "operation": "boost", + "score": 0.08224225044250488 }, "else": { "operation": "boost", - "score": -0.10013201832771301 + "score": 0.9052746295928955 } - }, - "else": { - "operation": "boost", - "score": -0.075736865401268 } }, "else": { - "operation": "boost", - "score": 0.20743407309055328 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5339.0, "then": { "operation": "boost", - "score": -0.11282815039157867 + "score": -0.03156474232673645 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 5294.5, "then": { - "operation": "boost", - "score": 0.0864289402961731 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.10063910484313965 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.12315382063388824 + }, + "else": { + "operation": "boost", + "score": 0.10503843426704407 + } + }, + "else": { + "operation": "boost", + "score": 0.07882405817508698 + } + } }, "else": { - "operation": "boost", - "score": 0.061699219048023224 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1329420953989029 - } - }, - "else": { - "operation": "boost", - "score": 0.01774229109287262 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.3053397536277771 - }, - "else": { - "operation": "boost", - "score": 0.12433672696352005 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04257486015558243 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.04437035694718361 - }, - "else": { - "operation": "boost", - "score": -0.01625852845609188 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.006992395967245102 - } - }, - "else": { - "operation": "boost", - "score": 0.0029971993062645197 - } - }, - "else": { - "operation": "boost", - "score": -0.0063846176490187645 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": 0.00018523613107390702 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.036074113100767136 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.056800372898578644 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1397029608488083 - }, - "else": { - "operation": "boost", - "score": 0.10804705321788788 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08391793072223663 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.1351318657398224 - }, - "else": { - "operation": "boost", - "score": 0.12582221627235413 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06596704572439194 - } - }, - "else": { - "operation": "boost", - "score": 0.03609349951148033 - } - }, - "else": { - "operation": "boost", - "score": 0.008639214560389519 - } - } - }, - "else": { - "operation": "boost", - "score": 0.023399455472826958 - } - }, - "else": { - "operation": "boost", - "score": -0.01264221128076315 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0022675246000289917 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 391.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.10833494365215302 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 460.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 464.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4841.0, + "then": { + "operation": "boost", + "score": -0.46755093336105347 + }, + "else": { + "operation": "boost", + "score": -0.07918781787157059 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4094.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4100.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.06837083399295807 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.012718046084046364 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5089.0, + "then": { + "operation": "boost", + "score": -0.17996609210968018 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4794.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4841.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.947649359703064 + }, + "else": { + "operation": "boost", + "score": 0.08417579531669617 + } + }, + "else": { + "operation": "boost", + "score": 0.1326487958431244 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4174.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4399.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4409.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4523.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4629.5, + "then": { + "operation": "boost", + "score": 0.06763248890638351 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4601.5, + "then": { + "operation": "boost", + "score": 0.12829342484474182 + }, + "else": { + "operation": "boost", + "score": 0.12293767184019089 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09270070493221283 + } + }, + "else": { + "operation": "boost", + "score": -0.13510867953300476 + } + }, + "else": { + "operation": "boost", + "score": -0.060408033430576324 + } + }, + "else": { + "operation": "boost", + "score": 0.15604616701602936 + } + }, + "else": { + "operation": "boost", + "score": -0.15153071284294128 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.138527974486351 + }, + "else": { + "operation": "boost", + "score": 0.10239937901496887 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.027734726667404175 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4288.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4694.5, + "then": { + "operation": "boost", + "score": -0.03319510072469711 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4556.0, + "then": { + "operation": "boost", + "score": 0.1108761802315712 + }, + "else": { + "operation": "boost", + "score": -0.05749588832259178 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4225.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.12426846474409103 + }, + "else": { + "operation": "boost", + "score": 0.1457972675561905 + } + }, + "else": { + "operation": "boost", + "score": 0.19417019188404083 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.14905089139938354 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3952.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.061093371361494064 + }, + "else": { + "operation": "boost", + "score": -0.24087324738502502 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3947.5, + "then": { + "operation": "boost", + "score": 0.11323720961809158 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3480.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3552.0, + "then": { + "operation": "boost", + "score": -0.009904558770358562 + }, + "else": { + "operation": "boost", + "score": 0.10998837649822235 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15006370842456818 + }, + "else": { + "operation": "boost", + "score": 0.11874406784772873 + } + }, + "else": { + "operation": "boost", + "score": 0.005005742888897657 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2722.5, + "then": { + "operation": "boost", + "score": -0.010739848017692566 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2714.5, + "then": { + "operation": "boost", + "score": 0.2211056500673294 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2190.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2536.5, + "then": { + "operation": "boost", + "score": 0.05332908779382706 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2499.0, + "then": { + "operation": "boost", + "score": 0.11900884658098221 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2323.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.1035681962966919 + }, + "else": { + "operation": "boost", + "score": -0.10334575176239014 + } + }, + "else": { + "operation": "boost", + "score": 0.13981637358665466 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2244.5, + "then": { + "operation": "boost", + "score": 0.12198911607265472 + }, + "else": { + "operation": "boost", + "score": 0.14196011424064636 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10102817416191101 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.038910865783691406 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2484.5, + "then": { + "operation": "boost", + "score": -0.03391047194600105 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2363.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2366.5, + "then": { + "operation": "boost", + "score": 0.08261040598154068 + }, + "else": { + "operation": "boost", + "score": 0.14572782814502716 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2337.5, + "then": { + "operation": "boost", + "score": -0.1108454018831253 + }, + "else": { + "operation": "boost", + "score": 0.07847504317760468 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.012641890905797482 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.02759283408522606 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2634.0, + "then": { + "operation": "boost", + "score": -0.10852296650409698 + }, + "else": { + "operation": "boost", + "score": 0.12726083397865295 + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.037322353571653366 + } + }, + "else": { + "operation": "boost", + "score": 8.269980025943369e-05 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1762.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "boost", + "score": -0.06683828681707382 + }, + "else": { + "operation": "boost", + "score": 0.019282560795545578 + } + }, + "else": { + "operation": "boost", + "score": -0.013467930257320404 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.018417418003082275 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1276366114616394 + }, + "else": { + "operation": "boost", + "score": 0.13383498787879944 + } + }, + "else": { + "operation": "boost", + "score": 0.0003398528788238764 + } + } + }, + "else": { + "operation": "boost", + "score": -0.13681426644325256 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.0995328426361084 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.17991560697555542 + }, + "else": { + "operation": "boost", + "score": 0.0028157236520200968 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1749.0, + "then": { + "operation": "boost", + "score": 0.006579865701496601 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.027483217418193817 + }, + "else": { + "operation": "boost", + "score": -0.11641919612884521 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.13363032042980194 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.016395092010498047 + }, + "else": { + "operation": "boost", + "score": 0.1903800070285797 + } + }, + "else": { + "operation": "boost", + "score": -0.31455281376838684 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1692.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.13979212939739227 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1722.0, + "then": { + "operation": "boost", + "score": -1.2210355997085571 + }, + "else": { + "operation": "boost", + "score": -0.0982460007071495 + } + }, + "else": { + "operation": "boost", + "score": -0.5101847052574158 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.04748566076159477 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.46288424730300903 + }, + "else": { + "operation": "boost", + "score": -0.14104978740215302 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12408814579248428 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.039620209485292435 + }, + "else": { + "operation": "boost", + "score": -0.13474318385124207 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00011076776718255132 + } + } + }, + { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0006235274486243725 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83.5, + "then": { + "operation": "boost", + "score": 0.018084779381752014 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.1246897354722023 + }, + "else": { + "operation": "boost", + "score": 0.08738625049591064 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 81.5, + "then": { + "operation": "boost", + "score": 0.2848409414291382 + }, + "else": { + "operation": "boost", + "score": -0.14054016768932343 + } + }, + "else": { + "operation": "boost", + "score": -0.08169574290513992 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.005488248076289892 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0015640847850590944 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.014184869825839996 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0012802921701222658 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.09093855321407318 + }, + "else": { + "operation": "boost", + "score": 0.045287854969501495 + } + }, + "else": { + "operation": "boost", + "score": 0.0186917744576931 + } + }, + "else": { + "operation": "boost", + "score": -0.008814084343612194 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0025486373342573643 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7638888955116272, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "boost", + "score": -0.2601226270198822 + }, + "else": { + "operation": "boost", + "score": 0.11659891158342361 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.15079312026500702 + }, + "else": { + "operation": "boost", + "score": -0.8938156962394714 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": 0.013856029137969017 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.25764477252960205 + }, + "else": { + "operation": "boost", + "score": -0.08368518948554993 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.005654971580952406 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": 0.10359665751457214 + }, + "else": { + "operation": "boost", + "score": 0.014844010584056377 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.875, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0855996385216713 + }, + "else": { + "operation": "boost", + "score": -0.30032095313072205 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.022366071119904518 + }, + "else": { + "operation": "boost", + "score": -0.15035122632980347 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008468158543109894 + } + }, + "else": { + "operation": "boost", + "score": -0.021916547790169716 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": 0.014040899462997913 + }, + "else": { + "operation": "boost", + "score": 0.00010057917825179175 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.007942584343254566 + }, + "else": { + "operation": "boost", + "score": -0.04681152105331421 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.014349951408803463 + }, + "else": { + "operation": "boost", + "score": -0.41259753704071045 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.0658303052186966 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -1.1137136220932007 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": 0.08150769025087357 + }, + "else": { + "operation": "boost", + "score": -0.2642790973186493 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00012213621812406927 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.1375259906053543 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11167633533477783 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.09693747758865356 + }, + "else": { + "operation": "boost", + "score": 0.038359202444553375 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10107722878456116 + }, + "else": { + "operation": "boost", + "score": 0.07519262284040451 + } + }, + "else": { + "operation": "boost", + "score": -0.09214441478252411 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.011397041380405426 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.029796335846185684 + }, + "else": { + "operation": "boost", + "score": 0.24533304572105408 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04855336993932724 + }, + "else": { + "operation": "boost", + "score": -0.05282102897763252 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.00547413993626833 + }, + "else": { + "operation": "boost", + "score": -0.06581904739141464 + } + }, + "else": { + "operation": "boost", + "score": 0.0008587961783632636 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "boost", + "score": -0.0239335335791111 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0015161177143454552 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.059221722185611725 + }, + "else": { + "operation": "boost", + "score": 0.11165471374988556 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "boost", + "score": 0.00694099348038435 + }, + "else": { + "operation": "boost", + "score": 0.07487130165100098 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0411117859184742 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1071116030216217 + }, + "else": { + "operation": "boost", + "score": -0.020033160224556923 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0021393171045929193 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.027066044509410858 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12586145102977753 + }, + "else": { + "operation": "boost", + "score": -0.06677839159965515 + } + }, + "else": { + "operation": "boost", + "score": -0.03270149603486061 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": -0.1714538186788559 + }, + "else": { + "operation": "boost", + "score": 0.021456852555274963 + } + }, + "else": { + "operation": "boost", + "score": -0.0034874831326305866 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.008188139647245407 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "boost", + "score": 0.08532016724348068 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "boost", + "score": 0.01488092914223671 + }, + "else": { + "operation": "boost", + "score": -0.13062702119350433 + } + }, + "else": { + "operation": "boost", + "score": 0.08403728157281876 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06750784814357758 + }, + "else": { + "operation": "boost", + "score": -0.17881989479064941 + } + }, + "else": { + "operation": "boost", + "score": -0.03580096736550331 + } + }, + "else": { + "operation": "boost", + "score": -0.004578745923936367 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05575799569487572 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": 0.02512104995548725 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "boost", + "score": 0.05880139768123627 + }, + "else": { + "operation": "boost", + "score": 0.18190321326255798 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.012001915834844112 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09390370547771454 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.16559509932994843 + }, + "else": { + "operation": "boost", + "score": -0.010800772346556187 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16623452305793762 + }, + "else": { + "operation": "boost", + "score": 0.09691859781742096 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10330333560705185 + }, + "else": { + "operation": "boost", + "score": 0.011512034572660923 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.015989357605576515 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "boost", + "score": 0.006824877113103867 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0521966889500618 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -1.9616578817367554 + }, + "else": { + "operation": "boost", + "score": -0.12959615886211395 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0602974109351635 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": 0.1313377171754837 + }, + "else": { + "operation": "boost", + "score": 0.34511059522628784 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.13909314572811127 + }, + "else": { + "operation": "boost", + "score": 0.060029324144124985 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04476054385304451 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0033556295093148947 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.009789817966520786 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "boost", + "score": -0.11278403550386429 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0042070504277944565 + }, + "else": { + "operation": "boost", + "score": 0.02500372752547264 + } + }, + "else": { + "operation": "boost", + "score": 0.12203548103570938 + } + }, + "else": { + "operation": "boost", + "score": -0.005062886513769627 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07493621855974197, + "then": { + "operation": "boost", + "score": 0.14264212548732758 + }, + "else": { + "operation": "boost", + "score": -0.31586751341819763 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.010028764605522156 + }, + "else": { + "operation": "boost", + "score": -0.06245467811822891 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0940265879034996 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.030073290690779686 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": 0.047029487788677216 + }, + "else": { + "operation": "boost", + "score": 0.08359416574239731 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.008348691277205944 + }, + "else": { + "operation": "boost", + "score": -0.4484379291534424 + } + } + }, + "else": { + "operation": "boost", + "score": -0.006416900083422661 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.009091842919588089 + }, + "else": { + "operation": "boost", + "score": -0.012315655127167702 + } + }, + "else": { + "operation": "boost", + "score": 0.03451596200466156 + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.041716594249010086 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05312570929527283 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.01591220684349537 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "boost", + "score": 0.0030031870119273663 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.042584698647260666 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22107619047164917 + }, + "else": { + "operation": "boost", + "score": 0.0757262110710144 + } + }, + "else": { + "operation": "boost", + "score": -0.01846211776137352 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06975522637367249 + }, + "else": { + "operation": "boost", + "score": 0.13451321423053741 + } + }, + "else": { + "operation": "boost", + "score": 0.031981974840164185 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.13780231773853302 + }, + "else": { + "operation": "boost", + "score": 0.04267524555325508 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3229166865348816, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 8.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.1161186546087265 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.044457364827394485 + }, + "else": { + "operation": "boost", + "score": 0.09055398404598236 + } + } + }, + "else": { + "operation": "boost", + "score": -0.19276553392410278 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03943074494600296 + }, + "else": { + "operation": "boost", + "score": -0.0423135943710804 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02193569950759411 + } + }, + "else": { + "operation": "boost", + "score": -0.2330666333436966 + } + }, + "else": { + "operation": "boost", + "score": 0.08540928363800049 + } + }, + "else": { + "operation": "boost", + "score": -0.17533645033836365 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.23303167521953583, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.25833332538604736, + "then": { + "operation": "boost", + "score": 0.031707439571619034 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.07693447917699814 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.026252098381519318 + }, + "else": { + "operation": "boost", + "score": 0.10719364881515503 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.03943401947617531 + }, + "else": { + "operation": "boost", + "score": 0.12588703632354736 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.010290322825312614 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.006128065288066864 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.009011110290884972 + }, + "else": { + "operation": "boost", + "score": -0.22701358795166016 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "boost", + "score": -0.006453422363847494 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.027739493176341057 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12304951995611191 + }, + "else": { + "operation": "boost", + "score": 0.06678856164216995 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08394119888544083 + }, + "else": { + "operation": "boost", + "score": 0.007223767694085836 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.011631263419985771 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08948409557342529 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7638888955116272, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.11630784720182419 + }, + "else": { + "operation": "boost", + "score": 0.09461646527051926 + } + }, + "else": { + "operation": "boost", + "score": -0.10590849816799164 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.45073845982551575 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0034390916116535664 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.004086512140929699 + }, + "else": { + "operation": "boost", + "score": 0.1201171725988388 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.43560606241226196, + "then": { + "operation": "boost", + "score": 0.0825694277882576 + }, + "else": { + "operation": "boost", + "score": 0.1270308792591095 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.16230861842632294 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05086611583828926 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4017857313156128, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": 0.10157617181539536 + }, + "else": { + "operation": "boost", + "score": -0.14204268157482147 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.12716901302337646 + }, + "else": { + "operation": "boost", + "score": 0.07378587126731873 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": 0.10518968850374222 + }, + "else": { + "operation": "boost", + "score": 0.08169177174568176 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.06279534101486206 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": 0.08646604418754578 + }, + "else": { + "operation": "boost", + "score": 0.12302924692630768 + } + }, + "else": { + "operation": "boost", + "score": 0.04682553932070732 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10646111518144608 + }, + "else": { + "operation": "boost", + "score": 0.044357091188430786 + } + }, + "else": { + "operation": "boost", + "score": 0.014319192618131638 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.0659526139497757 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07915341854095459 + }, + "else": { + "operation": "boost", + "score": 0.007028700318187475 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.05418337881565094 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.3137863874435425 + }, + "else": { + "operation": "boost", + "score": -0.10278372466564178 + } + }, + "else": { + "operation": "boost", + "score": 0.0073613631539046764 + } + }, + "else": { + "operation": "boost", + "score": 0.06846142560243607 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1269841343164444, + "then": { + "operation": "boost", + "score": 0.6522120833396912 + }, + "else": { + "operation": "boost", + "score": -0.035529881715774536 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 0.022784795612096786 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -7.69749385653995e-05 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.007629256695508957 + }, + "else": { + "operation": "boost", + "score": 0.03164307400584221 + } + }, + "else": { + "operation": "boost", + "score": -0.000568569463212043 + } + } + }, + "else": { + "operation": "boost", + "score": 9.3999900855124e-05 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.020868362858891487 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10267425328493118 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.24263393878936768 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.11218754947185516 + }, + "else": { + "operation": "boost", + "score": 0.7206336259841919 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07848496735095978 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.4141807556152344 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06534970551729202 + }, + "else": { + "operation": "boost", + "score": 0.21705137193202972 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13599.5, + "then": { + "operation": "boost", + "score": 0.08135409653186798 + }, + "else": { + "operation": "boost", + "score": -0.27067306637763977 + } + }, + "else": { + "operation": "boost", + "score": -0.027467096224427223 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04923814535140991 + }, + "else": { + "operation": "boost", + "score": -1.0112886428833008 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12748.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63761.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 412896.5, + "then": { + "operation": "boost", + "score": -0.007675651926547289 + }, + "else": { + "operation": "boost", + "score": 0.030687058344483376 + } + }, + "else": { + "operation": "boost", + "score": -0.033183466643095016 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12655.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.064731664955616 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.18738430738449097 + }, + "else": { + "operation": "boost", + "score": 0.12947750091552734 + } + }, + "else": { + "operation": "boost", + "score": 0.11310593038797379 + } + }, + "else": { + "operation": "boost", + "score": 0.10026057064533234 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 803.0, + "then": { + "operation": "boost", + "score": 0.11073093116283417 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1161511242389679 + }, + "else": { + "operation": "boost", + "score": -0.012675746344029903 + } + }, + "else": { + "operation": "boost", + "score": 0.10635156184434891 + } + }, + "else": { + "operation": "boost", + "score": 0.040790826082229614 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7253.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7318.0, + "then": { + "operation": "boost", + "score": 0.04935721307992935 + }, + "else": { + "operation": "boost", + "score": 0.0981278344988823 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": -0.06623204052448273 + }, + "else": { + "operation": "boost", + "score": 0.06029690429568291 + } + }, + "else": { + "operation": "boost", + "score": 0.005417935084551573 + } + }, + "else": { + "operation": "boost", + "score": 0.004940217360854149 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004259520210325718 + }, + "else": { + "operation": "boost", + "score": -0.0028424658812582493 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05662418529391289 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.0710848569869995 + }, + "else": { + "operation": "boost", + "score": -0.08699189126491547 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.03991975635290146 + }, + "else": { + "operation": "boost", + "score": 0.09931419044733047 + } + }, + "else": { + "operation": "boost", + "score": -0.07154642045497894 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0003105397627223283 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": -0.12901118397712708 + }, + "else": { + "operation": "boost", + "score": -0.0005618362338282168 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 270.5, + "then": { + "operation": "boost", + "score": 0.006915526930242777 + }, + "else": { + "operation": "boost", + "score": 0.0003460862790234387 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09089943021535873 + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01333978958427906 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14642858505249023, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0760764479637146 + }, + "else": { + "operation": "boost", + "score": -0.0590139701962471 + } + }, + "else": { + "operation": "boost", + "score": -0.02217288687825203 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "boost", + "score": -0.24900391697883606 + }, + "else": { + "operation": "boost", + "score": 0.1124921515583992 + } + }, + "else": { + "operation": "boost", + "score": -0.07213376462459564 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2124060094356537, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.13487093150615692 + }, + "else": { + "operation": "boost", + "score": 0.04632548615336418 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "boost", + "score": -0.16676628589630127 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": 0.030545109882950783 + }, + "else": { + "operation": "boost", + "score": 0.07584115862846375 + } + }, + "else": { + "operation": "boost", + "score": 0.009987925179302692 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6190476417541504, + "then": { + "operation": "boost", + "score": 0.06243975833058357 + }, + "else": { + "operation": "boost", + "score": 0.022931858897209167 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": -0.09627501666545868 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.06262243539094925 + }, + "else": { + "operation": "boost", + "score": 0.026809746399521828 + } + }, + "else": { + "operation": "boost", + "score": -0.00014879308582749218 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02903778851032257 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "boost", + "score": -0.16215643286705017 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "boost", + "score": 0.05317150056362152 + }, + "else": { + "operation": "boost", + "score": 0.004212627653032541 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01880170963704586 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1586807668209076 + } + }, + "else": { + "operation": "boost", + "score": 0.010759647004306316 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.028517944738268852 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18465909361839294, + "then": { + "operation": "boost", + "score": 0.007029456086456776 + }, + "else": { + "operation": "boost", + "score": 0.04845726862549782 + } + }, + "else": { + "operation": "boost", + "score": -0.005841538775712252 + } + } + }, + "else": { + "operation": "boost", + "score": -0.014221674762666225 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.012261517345905304 + }, + "else": { + "operation": "boost", + "score": -0.18928998708724976 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1087176576256752 + }, + "else": { + "operation": "boost", + "score": 0.07327045500278473 + } + }, + "else": { + "operation": "boost", + "score": 0.05917420983314514 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.031650375574827194 + }, + "else": { + "operation": "boost", + "score": -0.0060585238970816135 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.11853129416704178 + }, + "else": { + "operation": "boost", + "score": 0.04730523005127907 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.24594800174236298 + }, + "else": { + "operation": "boost", + "score": 0.00584126403555274 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0006064096814952791 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.0006402921862900257 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.17382030189037323 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.037638742476701736 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10635218769311905 + }, + "else": { + "operation": "boost", + "score": 0.010782798752188683 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "boost", + "score": 0.1297631412744522 + }, + "else": { + "operation": "boost", + "score": 0.016771923750638962 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "boost", + "score": -0.09350723028182983 + }, + "else": { + "operation": "boost", + "score": 0.1397639364004135 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.04724838212132454 + }, + "else": { + "operation": "boost", + "score": 0.11798577755689621 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.12967905402183533 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8285714387893677, + "then": { + "operation": "boost", + "score": 0.07712467014789581 + }, + "else": { + "operation": "boost", + "score": -0.10228125005960464 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.127532958984375 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.0, + "then": { + "operation": "boost", + "score": -0.20683163404464722 + }, + "else": { + "operation": "boost", + "score": -0.11871728301048279 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.004780021961778402 + } + } + }, + "else": { + "operation": "boost", + "score": 0.021837513893842697 + } + }, + "else": { + "operation": "boost", + "score": 0.005821967963129282 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1069.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3926.0, + "then": { + "operation": "boost", + "score": 0.0013428315287455916 + }, + "else": { + "operation": "boost", + "score": 0.08930227160453796 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.008198805153369904 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": -0.17305883765220642 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.006289428099989891 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.2096593976020813 + }, + "else": { + "operation": "boost", + "score": 0.06044718995690346 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02500000037252903, + "then": { + "operation": "boost", + "score": -0.08814448118209839 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.008850467391312122 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 134.0, + "then": { + "operation": "boost", + "score": -0.34752485156059265 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103.0, + "then": { + "operation": "boost", + "score": 0.10112950205802917 + }, + "else": { + "operation": "boost", + "score": -0.03611159324645996 + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.44938454031944275 + }, + "else": { + "operation": "boost", + "score": -0.005079749505966902 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "boost", + "score": 0.08861159533262253 + }, + "else": { + "operation": "boost", + "score": -0.0005819007637910545 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": -0.22970545291900635 + }, + "else": { + "operation": "boost", + "score": -0.0203646719455719 + } + }, + "else": { + "operation": "boost", + "score": 0.020597543567419052 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.00698439497500658 + }, + "else": { + "operation": "boost", + "score": -0.07215136289596558 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 0.03178038075566292 + }, + "else": { + "operation": "boost", + "score": -0.009641232900321484 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.08360118418931961 + }, + "else": { + "operation": "boost", + "score": 0.13468365371227264 + } + }, + "else": { + "operation": "boost", + "score": 0.028621409088373184 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 288840.5, + "then": { + "operation": "boost", + "score": 0.0658484473824501 + }, + "else": { + "operation": "boost", + "score": -0.002247788244858384 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.03392729535698891 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5889.5, + "then": { + "operation": "boost", + "score": -0.04272134229540825 + }, + "else": { + "operation": "boost", + "score": 0.1127319484949112 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012602034024894238 + } + }, + "else": { + "operation": "boost", + "score": 0.0021028893534094095 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.029411764815449715, + "then": { + "operation": "boost", + "score": -0.0028923412319272757 + }, + "else": { + "operation": "boost", + "score": 0.013613100163638592 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.004240578040480614 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.014339649118483067 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.007614071946591139 + }, + "else": { + "operation": "boost", + "score": 0.00881929136812687 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.023742806166410446 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00347530422732234 + } + }, + "else": { + "operation": "boost", + "score": -0.00542040541768074 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0038442297372967005 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.006299011874943972 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10085643082857132 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.04335467517375946 + }, + "else": { + "operation": "boost", + "score": -0.15239304304122925 + } + }, + "else": { + "operation": "boost", + "score": -0.024575117975473404 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02713767997920513 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.128583624958992 + }, + "else": { + "operation": "boost", + "score": -0.008139806799590588 + } + }, + "else": { + "operation": "boost", + "score": 0.04244643449783325 + } + }, + "else": { + "operation": "boost", + "score": -0.009161504916846752 + } + }, + "else": { + "operation": "boost", + "score": 0.003007500898092985 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10863.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17887.5, + "then": { + "operation": "boost", + "score": -0.1027209609746933 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15370.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.13032813370227814 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.13221649825572968 + }, + "else": { + "operation": "boost", + "score": 0.13522617518901825 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11165100336074829 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12431.0, + "then": { + "operation": "boost", + "score": -0.11539562046527863 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11532.5, + "then": { + "operation": "boost", + "score": 0.13134680688381195 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.17979411780834198 + }, + "else": { + "operation": "boost", + "score": -0.12618644535541534 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.013381152413785458 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00033020341652445495 + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.14122337102890015 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06866231560707092 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.24213221669197083 + }, + "else": { + "operation": "boost", + "score": 0.019235245883464813 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.05731617659330368 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.05921519920229912 + }, + "else": { + "operation": "boost", + "score": 0.0053690648637712 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.049443136900663376 + }, + "else": { + "operation": "boost", + "score": -0.001728787086904049 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": 0.06016599014401436 + }, + "else": { + "operation": "boost", + "score": 0.00735178217291832 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": -0.010770363733172417 + }, + "else": { + "operation": "boost", + "score": 0.006845247931778431 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.01191246323287487 + }, + "else": { + "operation": "boost", + "score": -0.009662264958024025 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5902777910232544, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": 0.048695698380470276 + }, + "else": { + "operation": "boost", + "score": 0.12792766094207764 + } + }, + "else": { + "operation": "boost", + "score": 0.004613263066858053 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.27619048953056335, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38181817531585693, + "then": { + "operation": "boost", + "score": -0.11934083700180054 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "boost", + "score": 0.09475798159837723 + }, + "else": { + "operation": "boost", + "score": -0.026563070714473724 + } + } + }, + "else": { + "operation": "boost", + "score": -0.21393027901649475 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": 0.06035498529672623 + }, + "else": { + "operation": "boost", + "score": -0.027996741235256195 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08704271167516708 + }, + "else": { + "operation": "boost", + "score": -0.008299360983073711 + } + } + }, + "else": { + "operation": "boost", + "score": -0.047167517244815826 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0004336679703556001 + }, + "else": { + "operation": "boost", + "score": 0.10607238858938217 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": 0.04620152339339256 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": -0.09569961577653885 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.12600840628147125 + }, + "else": { + "operation": "boost", + "score": -0.15422675013542175 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.17794419825077057 + }, + "else": { + "operation": "boost", + "score": 0.05721056088805199 + } + }, + "else": { + "operation": "boost", + "score": -0.09700004011392593 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0375942625105381 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": 0.11777611821889877 + }, + "else": { + "operation": "boost", + "score": 0.03442057967185974 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": -0.1305059790611267 + }, + "else": { + "operation": "boost", + "score": -0.1432504951953888 + } + }, + "else": { + "operation": "boost", + "score": 0.019978290423750877 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08071714639663696 + }, + "else": { + "operation": "boost", + "score": -0.10256323963403702 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.07657654583454132 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11839602142572403 + }, + "else": { + "operation": "boost", + "score": 0.1017267182469368 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 378.5, + "then": { + "operation": "boost", + "score": -0.08872105181217194 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 242.0, + "then": { + "operation": "boost", + "score": 0.1710006594657898 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1607009321451187 + }, + "else": { + "operation": "boost", + "score": 0.0608319416642189 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.014105632901191711 + } + } + }, + "else": { + "operation": "boost", + "score": -0.036470819264650345 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.008412652648985386 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.0179850272834301 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.0020349284168332815 + }, + "else": { + "operation": "boost", + "score": 0.01396418921649456 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0029026144184172153 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04303227737545967 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.03182249143719673 + }, + "else": { + "operation": "boost", + "score": -0.18607909977436066 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": 0.14680156111717224 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1107073575258255 + }, + "else": { + "operation": "boost", + "score": -0.32276251912117004 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.5433186292648315 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6190476417541504, + "then": { + "operation": "boost", + "score": 0.12027788907289505 + }, + "else": { + "operation": "boost", + "score": 0.04847332462668419 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": 0.028812166303396225 + }, + "else": { + "operation": "boost", + "score": 0.0968761295080185 + } + }, + "else": { + "operation": "boost", + "score": -0.03965676948428154 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.025616999715566635 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, + "then": { + "operation": "boost", + "score": -0.15293173491954803 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.05154518783092499 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1805531084537506 + }, + "else": { + "operation": "boost", + "score": 0.09463092684745789 + } + } + }, + "else": { + "operation": "boost", + "score": -0.026384197175502777 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.006968471221625805 + }, + "else": { + "operation": "boost", + "score": 0.11610047519207001 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.16294749081134796 + }, + "else": { + "operation": "boost", + "score": 0.003331075655296445 + } + }, + "else": { + "operation": "boost", + "score": -0.23983146250247955 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13284431397914886 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0008885439019650221 + }, + "else": { + "operation": "boost", + "score": 0.3133951425552368 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01977641135454178 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07074019312858582 + }, + "else": { + "operation": "boost", + "score": -0.11096924543380737 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.15173588693141937 + }, + "else": { + "operation": "boost", + "score": -0.3145747482776642 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.08137832581996918 + }, + "else": { + "operation": "boost", + "score": 0.1702299565076828 + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02500000037252903, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017296496778726578 + }, + "else": { + "operation": "boost", + "score": 0.06930581480264664 + } + }, + "else": { + "operation": "boost", + "score": -0.001490830210968852 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "boost", + "score": 0.02910751663148403 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0607316717505455, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.6670101284980774 + }, + "else": { + "operation": "boost", + "score": 0.031051507219672203 + } + }, + "else": { + "operation": "boost", + "score": 0.24003562331199646 + } + }, + "else": { + "operation": "boost", + "score": 0.06804630905389786 + } + }, + "else": { + "operation": "boost", + "score": 0.06660228967666626 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0007405687938444316 + } + }, + "else": { + "operation": "boost", + "score": -0.1013248935341835 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08412367850542068 + }, + "else": { + "operation": "boost", + "score": -0.0929211750626564 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.006503264419734478 + }, + "else": { + "operation": "boost", + "score": 0.08140189945697784 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": -0.029292931780219078 + }, + "else": { + "operation": "boost", + "score": -0.5430244207382202 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029560478404164314 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.23303167521953583, + "then": { + "operation": "boost", + "score": 0.016423417255282402 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "boost", + "score": 0.09883609414100647 + }, + "else": { + "operation": "boost", + "score": -0.008407507091760635 + } + }, + "else": { + "operation": "boost", + "score": 0.07094305008649826 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "boost", + "score": 0.06885360181331635 + }, + "else": { + "operation": "boost", + "score": -0.002242338377982378 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "boost", + "score": 0.01939292997121811 + }, + "else": { + "operation": "boost", + "score": 0.10452122241258621 + } + }, + "else": { + "operation": "boost", + "score": -0.010670403949916363 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10720852762460709 + }, + "else": { + "operation": "boost", + "score": -0.10106255859136581 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "boost", + "score": -0.4001947045326233 + }, + "else": { + "operation": "boost", + "score": -0.06302788853645325 + } + }, + "else": { + "operation": "boost", + "score": -0.01555691473186016 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006401639897376299 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01695038564503193 + } + }, + "else": { + "operation": "boost", + "score": -0.0003310550528112799 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04863428324460983 + }, + "else": { + "operation": "boost", + "score": -0.05825084447860718 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.3610004484653473 + }, + "else": { + "operation": "boost", + "score": -0.06960459798574448 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.045240577310323715 + }, + "else": { + "operation": "boost", + "score": 0.01905595324933529 + } + }, + "else": { + "operation": "boost", + "score": 0.01478190440684557 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05186716839671135 + }, + "else": { + "operation": "boost", + "score": -0.08574992418289185 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0007541659288108349 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.19498702883720398 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.0022035769652575254 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.17067183554172516 + }, + "else": { + "operation": "boost", + "score": -0.020332539454102516 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, + "then": { + "operation": "boost", + "score": -0.8568675518035889 + }, + "else": { + "operation": "boost", + "score": -0.048641398549079895 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.02308301068842411 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "boost", + "score": -0.1523962914943695 + }, + "else": { + "operation": "boost", + "score": -0.7621148824691772 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09307359158992767, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03173946961760521 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3452380895614624, + "then": { + "operation": "boost", + "score": -0.16742241382598877 + }, + "else": { + "operation": "boost", + "score": 0.0932743102312088 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2193.0, + "then": { + "operation": "boost", + "score": -0.5864349603652954 + }, + "else": { + "operation": "boost", + "score": 0.0244560819119215 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.006042244378477335 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05195540562272072 + }, + "else": { + "operation": "boost", + "score": -0.07536085695028305 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0038183829747140408 + }, + "else": { + "operation": "boost", + "score": 0.011010621674358845 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019699091091752052 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03387642651796341 + }, + "else": { + "operation": "boost", + "score": -0.005324922036379576 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": 0.018517140299081802 + }, + "else": { + "operation": "boost", + "score": -0.01585778407752514 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.018470043316483498 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": -0.17789269983768463 + }, + "else": { + "operation": "boost", + "score": -0.5141041874885559 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.11536779254674911 + }, + "else": { + "operation": "boost", + "score": 0.11228173971176147 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.1679169088602066 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 2.085143804550171 + }, + "else": { + "operation": "boost", + "score": -0.215487539768219 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0022437286097556353 + }, + "else": { + "operation": "boost", + "score": 0.2133762538433075 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.31569933891296387 + }, + "else": { + "operation": "boost", + "score": 0.012196850031614304 + } + } + }, + "else": { + "operation": "boost", + "score": 0.035311006009578705 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0017088082386180758 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.008186894468963146 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.22455960512161255 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.08000044524669647 + }, + "else": { + "operation": "boost", + "score": -0.08400948345661163 + } + } + }, + "else": { + "operation": "boost", + "score": -0.022646315395832062 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": 0.13781432807445526 + }, + "else": { + "operation": "boost", + "score": -0.1972404569387436 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.021143361926078796 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.15518823266029358 + }, + "else": { + "operation": "boost", + "score": 0.1255931407213211 + } + }, + "else": { + "operation": "boost", + "score": -0.022619882598519325 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006088665686547756 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "boost", + "score": 0.07972359657287598 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.000993890454992652 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "boost", + "score": 0.03984522446990013 + }, + "else": { + "operation": "boost", + "score": -0.11149302870035172 + } + }, + "else": { + "operation": "boost", + "score": -0.10529980063438416 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09790155291557312 + }, + "else": { + "operation": "boost", + "score": -0.12634973227977753 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11894316226243973 + }, + "else": { + "operation": "boost", + "score": 0.20550866425037384 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.6397669315338135 + }, + "else": { + "operation": "boost", + "score": 0.03664487600326538 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0357222743332386 + }, + "else": { + "operation": "boost", + "score": -0.13571949303150177 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06019172817468643 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1435985118150711 + }, + "else": { + "operation": "boost", + "score": 0.09525004774332047 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01769859716296196 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.1391877830028534 + }, + "else": { + "operation": "boost", + "score": -1.065373182296753 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012208488769829273 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.17236238718032837 + }, + "else": { + "operation": "boost", + "score": -0.030373718589544296 + } + }, + "else": { + "operation": "boost", + "score": 0.11994339525699615 + } + }, + "else": { + "operation": "boost", + "score": 0.11348898708820343 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.025117134675383568 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.5625308752059937 + }, + "else": { + "operation": "boost", + "score": -0.19306132197380066 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04732731729745865 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.08714766800403595 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.10474996268749237 + }, + "else": { + "operation": "boost", + "score": -0.15862329304218292 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "boost", + "score": 0.12789659202098846 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "boost", + "score": -2.2526040077209473 + }, + "else": { + "operation": "boost", + "score": 0.03464505076408386 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": 0.06564965844154358 + }, + "else": { + "operation": "boost", + "score": -0.0493890680372715 + } + } + }, + "else": { + "operation": "boost", + "score": -0.019192645326256752 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0017105145379900932 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008591155521571636 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 325.0, + "then": { + "operation": "boost", + "score": 0.10191763937473297 + }, + "else": { + "operation": "boost", + "score": 0.007807421498000622 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.11009787768125534 + }, + "else": { + "operation": "boost", + "score": -0.011263714171946049 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.05318979173898697 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.9166666269302368, + "then": { + "operation": "boost", + "score": -0.11964184790849686 + }, + "else": { + "operation": "boost", + "score": 0.0344131663441658 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": -0.04964796453714371 + }, + "else": { + "operation": "boost", + "score": 0.13178148865699768 + } + }, + "else": { + "operation": "boost", + "score": -0.11983273923397064 + } + }, + "else": { + "operation": "boost", + "score": 0.011920970864593983 + } + }, + "else": { + "operation": "boost", + "score": 0.011403867974877357 + } + } + }, + "else": { + "operation": "boost", + "score": -0.022251373156905174 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.015373732894659042 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": -0.11524420976638794 + }, + "else": { + "operation": "boost", + "score": 0.033531997352838516 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "boost", + "score": -0.7600228190422058 + }, + "else": { + "operation": "boost", + "score": -0.10165601968765259 + } + }, + "else": { + "operation": "boost", + "score": -0.03495439514517784 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.14455507695674896 + }, + "else": { + "operation": "boost", + "score": 0.11000493913888931 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "boost", + "score": -0.01460171490907669 + }, + "else": { + "operation": "boost", + "score": 0.1046830415725708 + } + } + }, + "else": { + "operation": "boost", + "score": 0.018424903973937035 + } + }, + "else": { + "operation": "boost", + "score": 0.0016359920846298337 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0067720008082687855 + }, + "else": { + "operation": "boost", + "score": -0.054735779762268066 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0009782543638721108 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.10370026528835297 + }, + "else": { + "operation": "boost", + "score": -0.013941665180027485 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00015643158985767514 + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.03637566417455673, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.0010722011793404818 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.109202541410923 + }, + "else": { + "operation": "boost", + "score": 0.010355936363339424 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.027908507734537125 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "boost", + "score": -0.06720230728387833 + }, + "else": { + "operation": "boost", + "score": -0.7703006267547607 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.07205747067928314 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.12568072974681854 + }, + "else": { + "operation": "boost", + "score": 0.09955912828445435 + } + }, + "else": { + "operation": "boost", + "score": 0.08616844564676285 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "boost", + "score": -0.28564366698265076 + }, + "else": { + "operation": "boost", + "score": 0.05544666200876236 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.039958540350198746 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82455.5, + "then": { + "operation": "boost", + "score": 0.03313414379954338 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32879.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.4432595670223236 + }, + "else": { + "operation": "boost", + "score": -0.06961333006620407 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": -0.05736614018678665 + }, + "else": { + "operation": "boost", + "score": -0.12868578732013702 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5659.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": -0.1595577895641327 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11879199743270874 + }, + "else": { + "operation": "boost", + "score": -0.12784773111343384 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4916.0, + "then": { + "operation": "boost", + "score": -0.7370010018348694 + }, + "else": { + "operation": "boost", + "score": -0.11933595687150955 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.12500593066215515 + }, + "else": { + "operation": "boost", + "score": 0.13566522300243378 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68.0, + "then": { + "operation": "boost", + "score": 0.0991358608007431 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.019419290125370026 + }, + "else": { + "operation": "boost", + "score": 0.11378739774227142 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": -0.004516097716987133 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.11203529685735703 + }, + "else": { + "operation": "boost", + "score": 0.11315039545297623 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.12523780763149261 + }, + "else": { + "operation": "boost", + "score": 0.0941460132598877 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.0, + "then": { + "operation": "boost", + "score": 0.02442270889878273 + }, + "else": { + "operation": "boost", + "score": -0.4288650155067444 + } + }, + "else": { + "operation": "boost", + "score": 0.10319150239229202 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.3047841191291809 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.25460588932037354 + }, + "else": { + "operation": "boost", + "score": 0.1624363362789154 + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 271.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "boost", + "score": -0.09901779890060425 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 348.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1625.0, + "then": { + "operation": "boost", + "score": -0.009181240573525429 + }, + "else": { + "operation": "boost", + "score": 0.11288133263587952 + } + }, + "else": { + "operation": "boost", + "score": 0.13983742892742157 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5773809552192688, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "boost", + "score": -0.028961731120944023 + }, + "else": { + "operation": "boost", + "score": -0.23461532592773438 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.032510530203580856 + }, + "else": { + "operation": "boost", + "score": -0.23825404047966003 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06356745958328247 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "boost", + "score": -0.19938182830810547 + }, + "else": { + "operation": "boost", + "score": 0.05775947496294975 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.17203447222709656 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.07060011476278305 + }, + "else": { + "operation": "boost", + "score": 0.06608245521783829 + } + }, + "else": { + "operation": "boost", + "score": -0.31499502062797546 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0802028626203537 + }, + "else": { + "operation": "boost", + "score": 0.08368996530771255 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96.5, + "then": { + "operation": "boost", + "score": -0.3051929175853729 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.5, + "then": { + "operation": "boost", + "score": 0.08433090150356293 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": -0.30030444264411926 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08257577568292618 + }, + "else": { + "operation": "boost", + "score": -0.16264985501766205 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.057085201144218445 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08373535424470901 + }, + "else": { + "operation": "boost", + "score": -0.1336865872144699 + } + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3969.0, + "then": { + "operation": "boost", + "score": 0.07570970058441162 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10574988275766373 + }, + "else": { + "operation": "boost", + "score": -0.3664775490760803 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.19370301067829132 + }, + "else": { + "operation": "boost", + "score": 0.1151425763964653 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": -0.005662471987307072 + }, + "else": { + "operation": "boost", + "score": -0.7194625735282898 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.013001542538404465 + } + }, + "else": { + "operation": "boost", + "score": -0.24959354102611542 + } + }, + "else": { + "operation": "boost", + "score": 0.08331488817930222 + } + }, + "else": { + "operation": "boost", + "score": 0.03402448073029518 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.45475533604621887 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": 0.06776534765958786 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.16157636046409607 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.23130545020103455 + }, + "else": { + "operation": "boost", + "score": 0.0981127992272377 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09359677881002426 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10769926011562347 + }, + "else": { + "operation": "boost", + "score": -0.7934179902076721 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00701347179710865 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005825493950396776 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.06566081196069717 + }, + "else": { + "operation": "boost", + "score": 0.12236205488443375 + } + }, + "else": { + "operation": "boost", + "score": 0.021438930183649063 + } + }, + "else": { + "operation": "boost", + "score": 0.007352425251156092 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "boost", + "score": 0.12722785770893097 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.012550457380712032 + }, + "else": { + "operation": "boost", + "score": -0.7692952156066895 + } + } + }, + "else": { + "operation": "boost", + "score": 0.014104786328971386 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 275598.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 458944.5, + "then": { + "operation": "boost", + "score": -0.027762748301029205 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.062463901937007904 + }, + "else": { + "operation": "boost", + "score": 0.11257898807525635 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2666666805744171, + "then": { + "operation": "boost", + "score": 0.13035835325717926 + }, + "else": { + "operation": "boost", + "score": -0.2774823009967804 + } + }, + "else": { + "operation": "boost", + "score": -0.009962293319404125 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.032219935208559036 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.060661762952804565, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.01083978358656168 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.023719534277915955 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": 0.11487483978271484 + }, + "else": { + "operation": "boost", + "score": -0.13356436789035797 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09502469003200531 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06691808253526688 + }, + "else": { + "operation": "boost", + "score": 0.014961973764002323 + } + }, + "else": { + "operation": "boost", + "score": 0.072830930352211 + } + } + }, + "else": { + "operation": "boost", + "score": 0.014261558651924133 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.20140354335308075 + }, + "else": { + "operation": "boost", + "score": 0.03324282541871071 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.13678909838199615 + }, + "else": { + "operation": "boost", + "score": 0.00940156914293766 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.8708022832870483 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": 0.14826929569244385 + }, + "else": { + "operation": "boost", + "score": 0.01475533377379179 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.01702365279197693 + }, + "else": { + "operation": "boost", + "score": -0.0036100978031754494 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.06221186742186546 + }, + "else": { + "operation": "boost", + "score": 0.0222668144851923 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10813067108392715 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.060661762952804565, + "then": { + "operation": "boost", + "score": 0.006738922093063593 + }, + "else": { + "operation": "boost", + "score": 0.10512302070856094 + } + }, + "else": { + "operation": "boost", + "score": -0.0016710031777620316 + } + } + }, + "else": { + "operation": "boost", + "score": -0.002796327928081155 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.1565963327884674 + }, + "else": { + "operation": "boost", + "score": -0.03055974282324314 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00035413887235336006 + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.001743600587360561 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.00040012854151427746 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "boost", + "score": 0.11404836922883987 + }, + "else": { + "operation": "boost", + "score": -0.10004192590713501 + } + }, + "else": { + "operation": "boost", + "score": 0.005486816167831421 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { + "operation": "boost", + "score": -0.0026329203974455595 + }, + "else": { + "operation": "boost", + "score": -0.0237779151648283 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0972222238779068, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.11369969695806503 + }, + "else": { + "operation": "boost", + "score": -0.0806017592549324 + } + }, + "else": { + "operation": "boost", + "score": 0.08895602077245712 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.16362237930297852 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.02099432982504368 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.2969926595687866 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11409083008766174 + }, + "else": { + "operation": "boost", + "score": 0.032875023782253265 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04024846851825714 + }, + "else": { + "operation": "boost", + "score": 0.11329200863838196 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09499821811914444 + }, + "else": { + "operation": "boost", + "score": -0.07440132647752762 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01607595942914486 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1240268349647522 + }, + "else": { + "operation": "boost", + "score": -0.16759055852890015 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.07257521897554398 + }, + "else": { + "operation": "boost", + "score": -0.02465050294995308 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14548014104366302 + }, + "else": { + "operation": "boost", + "score": 0.1018873006105423 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020167091861367226 + } + }, + "else": { + "operation": "boost", + "score": 0.004356069955974817 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.013800320215523243 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.11803765594959259 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.05524570867419243 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.09953916072845459 + }, + "else": { + "operation": "boost", + "score": 0.3079167902469635 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": -0.011178099550306797 + }, + "else": { + "operation": "boost", + "score": 0.12356936931610107 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.1114116758108139 + }, + "else": { + "operation": "boost", + "score": -0.045126158744096756 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.07560541480779648 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3452380895614624, + "then": { + "operation": "boost", + "score": 0.06046309694647789 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.12297340482473373 + }, + "else": { + "operation": "boost", + "score": 0.1278836727142334 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15692394971847534 + }, + "else": { + "operation": "boost", + "score": 0.013486754149198532 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "boost", + "score": 0.10386651754379272 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.03434880077838898 + }, + "else": { + "operation": "boost", + "score": -0.08113288879394531 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.010697540827095509 + } + }, + "else": { + "operation": "boost", + "score": 0.0030818909872323275 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.09796150028705597 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11249999701976776, + "then": { + "operation": "boost", + "score": 0.07298754155635834 + }, + "else": { + "operation": "boost", + "score": 0.12290910631418228 + } + }, + "else": { + "operation": "boost", + "score": -0.07622656226158142 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.03192492201924324 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09499246627092361 + }, + "else": { + "operation": "boost", + "score": -0.14908438920974731 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.035098522901535034, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.039230771362781525, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.049461886286735535 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_PreprocessorExpression", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.0022833591792732477 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.006149402819573879 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.021018482744693756 + }, + "else": { + "operation": "boost", + "score": -0.1815851926803589 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.14911498129367828 + }, + "else": { + "operation": "boost", + "score": -0.02601313404738903 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006764498073607683 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.026858873665332794 + }, + "else": { + "operation": "boost", + "score": -0.030840333551168442 + } + }, + "else": { + "operation": "boost", + "score": 0.036577653139829636 + } + }, + "else": { + "operation": "boost", + "score": -0.019347483292222023 + } + }, + "else": { + "operation": "boost", + "score": 0.03932476416230202 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.03852396458387375 + }, + "else": { + "operation": "boost", + "score": 0.09138932824134827 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07003697752952576 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.023279543966054916 + }, + "else": { + "operation": "boost", + "score": -0.09843596816062927 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.035964660346508026 + }, + "else": { + "operation": "boost", + "score": 0.010486018843948841 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15614719688892365 + }, + "else": { + "operation": "boost", + "score": 0.01078835129737854 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1558704376220703, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.00787798035889864 + }, + "else": { + "operation": "boost", + "score": -0.001036793808452785 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.0017211450031027198 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1315823495388031 + }, + "else": { + "operation": "boost", + "score": -0.18372343480587006 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.27215465903282166 + }, + "else": { + "operation": "boost", + "score": -0.06862006336450577 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": -0.09661403298377991 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03275167569518089 + }, + "else": { + "operation": "boost", + "score": 0.10240981727838516 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.23621562123298645 + }, + "else": { + "operation": "boost", + "score": -0.01224904228001833 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01856665126979351 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.010584604926407337 + }, + "else": { + "operation": "boost", + "score": 0.002660900354385376 + } + }, + "else": { + "operation": "boost", + "score": -0.0015701205702498555 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.011316635645925999 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.09898827224969864 + }, + "else": { + "operation": "boost", + "score": 0.03142077848315239 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, + "then": { + "operation": "boost", + "score": 0.0033885869197547436 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.07841872423887253 + }, + "else": { + "operation": "boost", + "score": 0.04298624023795128 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03608047589659691 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01810193806886673 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.010288363322615623 + }, + "else": { + "operation": "boost", + "score": -0.012733865529298782 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005697482731193304 + } + }, + "else": { + "operation": "boost", + "score": -0.024293839931488037 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14974918961524963 + } + }, + "else": { + "operation": "boost", + "score": -0.00024055314133875072 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.030666593462228775 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.1391420215368271 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.06929594278335571 + }, + "else": { + "operation": "boost", + "score": 0.04996083676815033 + } + }, + "else": { + "operation": "boost", + "score": 0.04607656970620155 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009555956348776817 + } + }, + "else": { + "operation": "boost", + "score": 0.01061207614839077 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.02569383569061756 + }, + "else": { + "operation": "boost", + "score": -0.0224851593375206 + } + }, + "else": { + "operation": "boost", + "score": 0.021841252222657204 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0004713085072580725 + }, + "else": { + "operation": "boost", + "score": 0.052588582038879395 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00017763057257980108 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.009036761708557606 + }, + "else": { + "operation": "boost", + "score": 0.029996130615472794 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "boost", + "score": -0.3243067264556885 + }, + "else": { + "operation": "boost", + "score": -0.0019024793291464448 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004406399559229612 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011595351621508598 + }, + "else": { + "operation": "boost", + "score": -0.001273528323508799 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0023607518523931503 + } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1291343867778778 + }, + "else": { + "operation": "boost", + "score": 0.06300811469554901 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, + "then": { + "operation": "boost", + "score": 0.17939706146717072 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11193715780973434 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": -0.20433934032917023 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 0.29618531465530396 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.10256435722112656 + }, + "else": { + "operation": "boost", + "score": 0.18087142705917358 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "boost", + "score": 0.012529445812106133 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 2.300654172897339 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.19921882450580597 + }, + "else": { + "operation": "boost", + "score": 0.18668989837169647 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05888419598340988 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "boost", + "score": 0.13821496069431305 + }, + "else": { + "operation": "boost", + "score": 0.059458017349243164 + } + }, + "else": { + "operation": "boost", + "score": -0.4083215892314911 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.06350846588611603 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.021493475884199142 + }, + "else": { + "operation": "boost", + "score": 0.12623731791973114 + } + }, + "else": { + "operation": "boost", + "score": -0.0461236834526062 + } + }, + "else": { + "operation": "boost", + "score": -0.07195708155632019 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": 0.19748014211654663 + }, + "else": { + "operation": "boost", + "score": 0.1637095808982849 + } + }, + "else": { + "operation": "boost", + "score": 0.040919892489910126 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": 0.09581983089447021 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.20520617067813873 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": -0.11489581316709518 + }, + "else": { + "operation": "boost", + "score": 0.134088933467865 + } + }, + "else": { + "operation": "boost", + "score": -0.23839642107486725 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.06353235244750977 + }, + "else": { + "operation": "boost", + "score": -0.49239131808280945 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.07578974217176437 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.0010361244203522801 + }, + "else": { + "operation": "boost", + "score": 0.2014501839876175 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": 0.09817677736282349 + }, + "else": { + "operation": "boost", + "score": 0.19139109551906586 + } + }, + "else": { + "operation": "boost", + "score": 0.06972930580377579 + } + }, + "else": { + "operation": "boost", + "score": 0.12969347834587097 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03258739039301872 + } + }, + "else": { + "operation": "boost", + "score": -0.3189833462238312 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15387585759162903 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.06887877732515335 + }, + "else": { + "operation": "boost", + "score": -0.0014465772546827793 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.07016344368457794 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.002436999697238207 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.3881589472293854 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -4.674543380737305 + }, + "else": { + "operation": "boost", + "score": 0.016870856285095215 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.06192624196410179 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.12635710835456848 + }, + "else": { + "operation": "boost", + "score": 0.09580536931753159 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "boost", + "score": -0.3360721468925476 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.005685066804289818 + }, + "else": { + "operation": "boost", + "score": -0.030562300235033035 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, + "then": { + "operation": "boost", + "score": 0.12009009718894958 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36980.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.05504960939288139 + }, + "else": { + "operation": "boost", + "score": -0.03017379343509674 + } + }, + "else": { + "operation": "boost", + "score": -0.05408273637294769 + } + }, + "else": { + "operation": "boost", + "score": 0.005334124434739351 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.11268599331378937 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": -0.1415904462337494 + }, + "else": { + "operation": "boost", + "score": -0.0011606644839048386 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "boost", + "score": -0.21518473327159882 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.013766392134130001 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.0925246998667717 + }, + "else": { + "operation": "boost", + "score": 0.12264148145914078 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09085650742053986 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": -0.3254176676273346 + }, + "else": { + "operation": "boost", + "score": -0.017985768616199493 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38181817531585693, + "then": { + "operation": "boost", + "score": 0.05470235273241997 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.6654525399208069 + }, + "else": { + "operation": "boost", + "score": -0.08088700473308563 + } + }, + "else": { + "operation": "boost", + "score": -0.13477212190628052 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234.5, + "then": { + "operation": "boost", + "score": 0.051085274666547775 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.0234243031591177 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172.5, + "then": { + "operation": "boost", + "score": 0.12071242928504944 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.02582913637161255 + }, + "else": { + "operation": "boost", + "score": 0.04641666263341904 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.003892738837748766 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": 0.0856826975941658 + }, + "else": { + "operation": "boost", + "score": -0.08049960434436798 + } + }, + "else": { + "operation": "boost", + "score": 0.03586186468601227 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.1479843705892563 + }, + "else": { + "operation": "boost", + "score": -0.008545505814254284 + } + }, + "else": { + "operation": "boost", + "score": 0.03818855807185173 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.15773777663707733 + }, + "else": { + "operation": "boost", + "score": -0.012298418208956718 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78.5, + "then": { + "operation": "boost", + "score": -0.00570278475061059 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.059738051146268845 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71.5, + "then": { + "operation": "boost", + "score": -0.460662841796875 + }, + "else": { + "operation": "boost", + "score": -1.089254379272461 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { + "operation": "boost", + "score": 0.022798001766204834 + }, + "else": { + "operation": "boost", + "score": -0.19306187331676483 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1944444477558136, + "then": { + "operation": "boost", + "score": 0.09169796854257584 + }, + "else": { + "operation": "boost", + "score": -0.2841401994228363 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.16357344388961792 + }, + "else": { + "operation": "boost", + "score": 0.08164482563734055 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.13492803275585175 + }, + "else": { + "operation": "boost", + "score": -0.13582852482795715 + } + }, + "else": { + "operation": "boost", + "score": 0.12426618486642838 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "boost", + "score": 0.09297651797533035 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, + "then": { + "operation": "boost", + "score": -0.26782357692718506 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.10418243706226349 + }, + "else": { + "operation": "boost", + "score": -0.1841191202402115 + } + }, + "else": { + "operation": "boost", + "score": 0.004712248221039772 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14642222225666046 + }, + "else": { + "operation": "boost", + "score": -0.016526218503713608 + } + }, + "else": { + "operation": "boost", + "score": -0.06628250330686569 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.10450492054224014 + }, + "else": { + "operation": "boost", + "score": 0.11204418540000916 + } + }, + "else": { + "operation": "boost", + "score": -0.037011098116636276 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": -0.7681601643562317 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.014747509732842445 + }, + "else": { + "operation": "boost", + "score": -0.2598820924758911 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.009900417178869247 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.08556336909532547 + }, + "else": { + "operation": "boost", + "score": 0.016324980184435844 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.023801308125257492 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "boost", + "score": -0.48719194531440735 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1828109622001648 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": -0.3937397301197052 + }, + "else": { + "operation": "boost", + "score": 0.14647860825061798 + } + } + }, + "else": { + "operation": "boost", + "score": -0.14223134517669678 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": -0.2005445808172226 + }, + "else": { + "operation": "boost", + "score": -0.12431816011667252 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06256032735109329 + }, + "else": { + "operation": "boost", + "score": -0.09744632244110107 + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00011282770719844848 + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2401.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2435.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2759.0, + "then": { + "operation": "boost", + "score": 0.018205825239419937 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2533.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2678.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2724.0, + "then": { + "operation": "boost", + "score": 0.18424706161022186 + }, + "else": { + "operation": "boost", + "score": -0.11449357122182846 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2632.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.033542729914188385 + }, + "else": { + "operation": "boost", + "score": 0.11453805863857269 + } + }, + "else": { + "operation": "boost", + "score": 0.09417887777090073 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05308517813682556 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10872606933116913 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2188.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2248.5, + "then": { + "operation": "boost", + "score": -0.06981304287910461 + }, + "else": { + "operation": "boost", + "score": -0.31384536623954773 + } + }, + "else": { + "operation": "boost", + "score": 0.0027252701111137867 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0007822386105544865 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1806.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1812.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1925.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2003.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2010.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4992.0, + "then": { + "operation": "boost", + "score": 0.001385536277666688 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4982.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.08938620984554291 + }, + "else": { + "operation": "boost", + "score": 0.16577160358428955 + } + }, + "else": { + "operation": "boost", + "score": 0.1513882279396057 + } + }, + "else": { + "operation": "boost", + "score": -0.30567097663879395 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4502.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4917.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.0953642874956131 + }, + "else": { + "operation": "boost", + "score": 0.13103225827217102 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4751.0, + "then": { + "operation": "boost", + "score": -0.048263005912303925 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4533.5, + "then": { + "operation": "boost", + "score": -0.032444488257169724 + }, + "else": { + "operation": "boost", + "score": 0.14734682440757751 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4601.5, + "then": { + "operation": "boost", + "score": 0.10748492926359177 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.057259451597929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06281501054763794, + "then": { + "operation": "boost", + "score": 0.06582222878932953 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.10645415633916855 + }, + "else": { + "operation": "boost", + "score": 0.3359915614128113 + } + } + }, + "else": { + "operation": "boost", + "score": -0.011415696702897549 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.027261532843112946 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4094.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4100.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.03601694107055664 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4288.5, + "then": { + "operation": "boost", + "score": -0.10840556770563126 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4201.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.1248740628361702 + }, + "else": { + "operation": "boost", + "score": 0.14387506246566772 + } + }, + "else": { + "operation": "boost", + "score": 0.18999901413917542 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.15049423277378082 + }, + "else": { + "operation": "boost", + "score": 0.014797285199165344 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4015.0, + "then": { + "operation": "boost", + "score": -0.17227387428283691 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4013.5, + "then": { + "operation": "boost", + "score": 0.11394326388835907 + }, + "else": { + "operation": "boost", + "score": 0.02155294455587864 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0004068452399224043 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.017748765647411346 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.20779792964458466 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.11361668258905411 + }, + "else": { + "operation": "boost", + "score": -0.027567682787775993 + } + }, + "else": { + "operation": "boost", + "score": -0.18300999701023102 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2531.5, + "then": { + "operation": "boost", + "score": 0.021374309435486794 + }, + "else": { + "operation": "boost", + "score": -0.10034435242414474 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "boost", + "score": -0.05222681909799576 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.0814322829246521 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { + "operation": "boost", + "score": -0.10081915557384491 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.10996975004673004 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.02111547812819481 + }, + "else": { + "operation": "boost", + "score": 0.09057797491550446 + } + } + }, + "else": { + "operation": "boost", + "score": -0.010152717120945454 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2055.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2738.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14241.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20296.0, + "then": { + "operation": "boost", + "score": -0.00778497289866209 + }, + "else": { + "operation": "boost", + "score": 0.07563334703445435 + } + }, + "else": { + "operation": "boost", + "score": -0.07665803283452988 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12934.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13154.5, + "then": { + "operation": "boost", + "score": 0.01586247608065605 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.109281025826931 + }, + "else": { + "operation": "boost", + "score": 0.18134832382202148 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.004511157516390085 + }, + "else": { + "operation": "boost", + "score": -0.10696611553430557 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07700473070144653 + }, + "else": { + "operation": "boost", + "score": -0.13858292996883392 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.009230878204107285 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0912698432803154, + "then": { + "operation": "boost", + "score": -0.06034204736351967 + }, + "else": { + "operation": "boost", + "score": 0.29333963990211487 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.17916099727153778 + }, + "else": { + "operation": "boost", + "score": 0.019511668011546135 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.008940663188695908 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06919434666633606 + }, + "else": { + "operation": "boost", + "score": -0.1348135769367218 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.11280494928359985 + }, + "else": { + "operation": "boost", + "score": 0.08269201964139938 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2009.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11981268227100372 + }, + "else": { + "operation": "boost", + "score": -0.06092749163508415 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.1292477399110794 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1430128514766693 + }, + "else": { + "operation": "boost", + "score": 0.13940951228141785 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.13913317024707794 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1988.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1991.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.07178331166505814 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1996.0, + "then": { + "operation": "boost", + "score": 0.09285056591033936 + }, + "else": { + "operation": "boost", + "score": 0.14654424786567688 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09235423803329468 + } + }, + "else": { + "operation": "boost", + "score": -0.1941969245672226 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1928.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1940.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.13523466885089874 + }, + "else": { + "operation": "boost", + "score": 0.10069186240434647 + } + }, + "else": { + "operation": "boost", + "score": -0.018779784440994263 + } + }, + "else": { + "operation": "boost", + "score": -0.13481710851192474 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1937.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.14337603747844696 + }, + "else": { + "operation": "boost", + "score": 0.14570480585098267 + } + }, + "else": { + "operation": "boost", + "score": -0.10062512755393982 + } + }, + "else": { + "operation": "boost", + "score": -0.01726219616830349 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.07754141837358475 + }, + "else": { + "operation": "boost", + "score": -0.3332156538963318 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1924.5, + "then": { + "operation": "boost", + "score": 0.2852163016796112 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1820.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1910.0, + "then": { + "operation": "boost", + "score": -0.17584703862667084 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1895.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1904.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.056439753621816635 + }, + "else": { + "operation": "boost", + "score": 0.14092770218849182 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.14090873301029205 + }, + "else": { + "operation": "boost", + "score": 0.08794928342103958 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.06773702800273895 + }, + "else": { + "operation": "boost", + "score": 0.1676609069108963 + } + }, + "else": { + "operation": "boost", + "score": -0.08771222829818726 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.13414014875888824 + }, + "else": { + "operation": "boost", + "score": 0.07277590036392212 + } + }, + "else": { + "operation": "boost", + "score": 0.004628479015082121 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.211378276348114 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1818.0, + "then": { + "operation": "boost", + "score": 0.15215718746185303 + }, + "else": { + "operation": "boost", + "score": 0.0010912357829511166 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04331805929541588 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1813.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1844.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1858.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1887.5, + "then": { + "operation": "boost", + "score": 0.04824512451887131 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.05667645111680031 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.1439816802740097 + }, + "else": { + "operation": "boost", + "score": 0.037133656442165375 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09756551682949066 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1841.5, + "then": { + "operation": "boost", + "score": 0.11855549365282059 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.016113005578517914 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1821.5, + "then": { + "operation": "boost", + "score": -0.04498232528567314 + }, + "else": { + "operation": "boost", + "score": 0.17544376850128174 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.14980411529541016 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1820.5, + "then": { + "operation": "boost", + "score": 0.012565139681100845 + }, + "else": { + "operation": "boost", + "score": -0.4448087811470032 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1810.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.17711129784584045 + }, + "else": { + "operation": "boost", + "score": 0.11352844536304474 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.05038895457983017 + }, + "else": { + "operation": "boost", + "score": 0.25210291147232056 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1803.5, + "then": { + "operation": "boost", + "score": -0.1225680336356163 + }, + "else": { + "operation": "boost", + "score": -0.00021546843345277011 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.03637566417455673, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -6.990712427068502e-05 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Namespace", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0513157919049263, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.049116481095552444 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10398078709840775 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0017798524349927902 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.06514030694961548 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -2.406282663345337 + }, + "else": { + "operation": "boost", + "score": -0.2332841455936432 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "boost", + "score": -0.3016655743122101 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.0, + "then": { + "operation": "boost", + "score": 0.11903852969408035 + }, + "else": { + "operation": "boost", + "score": -0.10252116620540619 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.12539373338222504 + }, + "else": { + "operation": "boost", + "score": 0.11650554090738297 + } + }, + "else": { + "operation": "boost", + "score": -0.1629137396812439 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0016985007096081972 + } + }, + "else": { + "operation": "boost", + "score": -0.04847463592886925 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.040277354419231415 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.01899680681526661 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.04312863200902939 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03382410109043121 + }, + "else": { + "operation": "boost", + "score": -0.10049979388713837 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.23994003236293793 + }, + "else": { + "operation": "boost", + "score": -0.1096000149846077 + } + }, + "else": { + "operation": "boost", + "score": -0.027065835893154144 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.046782102435827255 + }, + "else": { + "operation": "boost", + "score": -0.30243420600891113 + } + }, + "else": { + "operation": "boost", + "score": -0.03719916567206383 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14575877785682678 + }, + "else": { + "operation": "boost", + "score": 0.06729834526777267 + } + }, + "else": { + "operation": "boost", + "score": -0.1822981834411621 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.1531650573015213 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10189130902290344 + }, + "else": { + "operation": "boost", + "score": 0.51908278465271 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05918502062559128 + } + }, + "else": { + "operation": "boost", + "score": -0.12109913676977158 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5889.5, + "then": { + "operation": "boost", + "score": -0.03796956315636635 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.1094973161816597 + }, + "else": { + "operation": "boost", + "score": 0.1340571790933609 + } + } + }, + "else": { + "operation": "boost", + "score": -0.18637290596961975 + } + }, + "else": { + "operation": "boost", + "score": -0.3129623234272003 + } + }, + "else": { + "operation": "boost", + "score": -0.32362881302833557 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "boost", + "score": 0.11573608964681625 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "boost", + "score": 0.011171447113156319 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": 0.11770213395357132 + }, + "else": { + "operation": "boost", + "score": -0.10251732915639877 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0920913890004158 + }, + "else": { + "operation": "boost", + "score": -0.0072579155676066875 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 288840.5, + "then": { + "operation": "boost", + "score": -0.09612740576267242 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 152619.0, + "then": { + "operation": "boost", + "score": 0.055048294365406036 + }, + "else": { + "operation": "boost", + "score": 0.007898235693573952 + } + }, + "else": { + "operation": "boost", + "score": 0.08104989677667618 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "boost", + "score": 0.0036993888206779957 + }, + "else": { + "operation": "boost", + "score": 0.08566375076770782 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.12113688886165619 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": -0.5503409504890442 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.125589981675148 + }, + "else": { + "operation": "boost", + "score": 0.039896879345178604 + } + }, + "else": { + "operation": "boost", + "score": 0.02212965302169323 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05330458655953407 + } + }, + "else": { + "operation": "boost", + "score": 0.1166180893778801 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025655221194028854 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.027988681569695473 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 251.5, + "then": { + "operation": "boost", + "score": 0.1284208595752716 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": -0.22639217972755432 + }, + "else": { + "operation": "boost", + "score": 0.08224368095397949 + } + }, + "else": { + "operation": "boost", + "score": -0.10825160145759583 + } + }, + "else": { + "operation": "boost", + "score": -0.20225483179092407 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "boost", + "score": -0.004588827956467867 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10787864774465561 + }, + "else": { + "operation": "boost", + "score": 0.06118359416723251 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.05169610306620598 + }, + "else": { + "operation": "boost", + "score": 0.07333498448133469 + } + }, + "else": { + "operation": "boost", + "score": 0.031113281846046448 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.01340906135737896 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "boost", + "score": 0.1270955502986908 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.026495525613427162 + }, + "else": { + "operation": "boost", + "score": 0.12848877906799316 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.015492808073759079 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.13533388078212738 + }, + "else": { + "operation": "boost", + "score": -0.13872230052947998 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.11107993870973587 + }, + "else": { + "operation": "boost", + "score": 0.08298780769109726 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.004911534953862429 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.007290103007107973 + }, + "else": { + "operation": "boost", + "score": -0.2451322376728058 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.060661762952804565, + "then": { + "operation": "boost", + "score": -0.0013184752315282822 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.28353169560432434 + }, + "else": { + "operation": "boost", + "score": 0.006489384453743696 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.09138132631778717 + }, + "else": { + "operation": "boost", + "score": 0.052692756056785583 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "boost", + "score": 0.028123727068305016 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "boost", + "score": -0.11829746514558792 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09517018496990204 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.12976229190826416 + }, + "else": { + "operation": "boost", + "score": -0.20516334474086761 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.047910258173942566 + }, + "else": { + "operation": "boost", + "score": -0.37890082597732544 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05550771951675415 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.875, + "then": { + "operation": "boost", + "score": 0.09934873133897781 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.034807782620191574 + }, + "else": { + "operation": "boost", + "score": -0.17241835594177246 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": 0.04773160442709923 + }, + "else": { + "operation": "boost", + "score": -0.021041981875896454 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.0645182728767395 + }, + "else": { + "operation": "boost", + "score": 0.03139628469944 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.044759202748537064 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.05590379610657692 + }, + "else": { + "operation": "boost", + "score": 0.09362877160310745 + } + }, + "else": { + "operation": "boost", + "score": 0.05790785700082779 + } + } + }, + "else": { + "operation": "boost", + "score": 0.023456381633877754 + } + }, + "else": { + "operation": "boost", + "score": -0.004943088628351688 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { + "operation": "boost", + "score": -0.011336876079440117 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.2715471684932709 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.06856188923120499 + }, + "else": { + "operation": "boost", + "score": -0.03893286734819412 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": -0.3013829290866852 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0212321188300848 + }, + "else": { + "operation": "boost", + "score": -0.08223582804203033 + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019518274813890457 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 356.5, + "then": { + "operation": "boost", + "score": 0.10278939455747604 + }, + "else": { + "operation": "boost", + "score": -0.0959552451968193 + } + }, + "else": { + "operation": "boost", + "score": -0.0066990661434829235 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.030399437993764877 + }, + "else": { + "operation": "boost", + "score": -0.08281359076499939 + } + }, + "else": { + "operation": "boost", + "score": -0.06053333729505539 + } + }, + "else": { + "operation": "boost", + "score": 0.0014120271662250161 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.14128297567367554 + }, + "else": { + "operation": "boost", + "score": -0.030172273516654968 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00034551462158560753 + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.03637566417455673, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.0014662266476079822 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.23303167521953583, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.23669467866420746, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4330357313156128, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.07072515040636063 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4833333492279053, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.22067514061927795 + }, + "else": { + "operation": "boost", + "score": 0.04252662509679794 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.012441588565707207 + }, + "else": { + "operation": "boost", + "score": -0.41408437490463257 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00717447092756629 + } + }, + "else": { + "operation": "boost", + "score": -0.003697415813803673 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.08967070281505585 + }, + "else": { + "operation": "boost", + "score": 0.011782958172261715 + } + }, + "else": { + "operation": "boost", + "score": 0.02583692967891693 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.007088583428412676 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65.0, + "then": { + "operation": "boost", + "score": 0.13218152523040771 + }, + "else": { + "operation": "boost", + "score": -0.3094911575317383 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "boost", + "score": -0.4317587912082672 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.0, + "then": { + "operation": "boost", + "score": 0.08462221920490265 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.2532254755496979 + }, + "else": { + "operation": "boost", + "score": -0.023592276498675346 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13143008947372437 + }, + "else": { + "operation": "boost", + "score": -0.10251113772392273 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11639553308486938 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Other" + ], + "then": { + "operation": "boost", + "score": 0.1403682380914688 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10650499910116196 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.1644304245710373 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.09867171198129654 + }, + "else": { + "operation": "boost", + "score": 0.08809565007686615 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05156460031867027 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.03578803315758705 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.21467748284339905 + }, + "else": { + "operation": "boost", + "score": -1.214383602142334 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09512558579444885 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2008928656578064, + "then": { + "operation": "boost", + "score": 0.02070314809679985 + }, + "else": { + "operation": "boost", + "score": 0.2867428660392761 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7571429014205933, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.1244945153594017 + }, + "else": { + "operation": "boost", + "score": 0.06219375878572464 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4305555522441864, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11028841882944107 + }, + "else": { + "operation": "boost", + "score": 0.04883616417646408 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10579074174165726 + }, + "else": { + "operation": "boost", + "score": 0.13585002720355988 + } + }, + "else": { + "operation": "boost", + "score": 0.03582865372300148 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10613323003053665 + }, + "else": { + "operation": "boost", + "score": -0.09625564515590668 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1495118886232376 + }, + "else": { + "operation": "boost", + "score": 0.1368730217218399 + } + }, + "else": { + "operation": "boost", + "score": -0.1073484942317009 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01737036183476448 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07667307555675507 + }, + "else": { + "operation": "boost", + "score": 0.900870144367218 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11137006431818008 + }, + "else": { + "operation": "boost", + "score": -0.02905457466840744 + } + }, + "else": { + "operation": "boost", + "score": 0.24640949070453644 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.018973566591739655 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 902.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.028624454513192177 + }, + "else": { + "operation": "boost", + "score": -0.5466465950012207 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 311.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.016885817050933838 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": 0.06876880675554276 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.24439579248428345 + }, + "else": { + "operation": "boost", + "score": 0.17334455251693726 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08429230749607086 + } + }, + "else": { + "operation": "boost", + "score": 0.1341726928949356 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.051305707544088364 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08828114718198776 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.10588720440864563 + }, + "else": { + "operation": "boost", + "score": -0.1192231997847557 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.0, + "then": { + "operation": "boost", + "score": -0.20141687989234924 + }, + "else": { + "operation": "boost", + "score": 0.07478144764900208 + } + }, + "else": { + "operation": "boost", + "score": 0.1555338352918625 + } + }, + "else": { + "operation": "boost", + "score": -0.011494789272546768 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05996715649962425 + }, + "else": { + "operation": "boost", + "score": 0.018279241397976875 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.00022965602693147957 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0010981193045154214 + }, + "else": { + "operation": "boost", + "score": -0.01753764972090721 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": -0.10005566477775574 + }, + "else": { + "operation": "boost", + "score": 0.7831994295120239 + } + }, + "else": { + "operation": "boost", + "score": 0.015368758700788021 + } + }, + "else": { + "operation": "boost", + "score": 0.00866064615547657 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.008635423146188259 + }, + "else": { + "operation": "boost", + "score": 0.010340661741793156 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.004655259661376476 + }, + "else": { + "operation": "boost", + "score": -0.007080096285790205 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0004588330630213022 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.066706083714962 + }, + "else": { + "operation": "boost", + "score": 0.03191021457314491 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.006935302633792162 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03780249133706093 + }, + "else": { + "operation": "boost", + "score": 0.059748902916908264 + } + }, + "else": { + "operation": "boost", + "score": -0.010445206426084042 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.025984669104218483 + }, + "else": { + "operation": "boost", + "score": -0.09411772340536118 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.050646085292100906 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.01781660132110119 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.06478282064199448 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": -0.47009873390197754 + }, + "else": { + "operation": "boost", + "score": -0.01973256841301918 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11208966374397278 + }, + "else": { + "operation": "boost", + "score": 0.047653503715991974 + } + }, + "else": { + "operation": "boost", + "score": 0.039640218019485474 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.024196622893214226 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0423373319208622 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.18491914868354797 + }, + "else": { + "operation": "boost", + "score": 0.0657803937792778 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7321428656578064, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": 0.034104492515325546 + }, + "else": { + "operation": "boost", + "score": 0.13029515743255615 + } + }, + "else": { + "operation": "boost", + "score": -0.0006372497882694006 + } + }, + "else": { + "operation": "boost", + "score": -0.052012667059898376 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.24475477635860443 + }, + "else": { + "operation": "boost", + "score": 0.019336003810167313 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.17660711705684662 + }, + "else": { + "operation": "boost", + "score": -0.18491162359714508 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.024200573563575745 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.3695704936981201 + }, + "else": { + "operation": "boost", + "score": -0.05091933533549309 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3079.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3851.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4010.0, + "then": { + "operation": "boost", + "score": 0.010703977197408676 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": 0.05997980758547783 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3952.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.9461108446121216 + }, + "else": { + "operation": "boost", + "score": -0.15138867497444153 + } + }, + "else": { + "operation": "boost", + "score": -0.05275628715753555 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3797.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1701415479183197 + }, + "else": { + "operation": "boost", + "score": 0.049531422555446625 + } + }, + "else": { + "operation": "boost", + "score": 0.02467690221965313 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.16961456835269928 + }, + "else": { + "operation": "boost", + "score": 0.10176054388284683 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2910.0, + "then": { + "operation": "boost", + "score": -0.1706266552209854 + }, + "else": { + "operation": "boost", + "score": -0.0015018951380625367 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.13488785922527313 + }, + "else": { + "operation": "boost", + "score": -0.02950967289507389 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00035461224615573883 + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0032579349353909492 + }, + "else": { + "operation": "boost", + "score": 0.0008662227774038911 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.00033240378252230585 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": 0.006768862251192331 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.1143195852637291 + }, + "else": { + "operation": "boost", + "score": -0.41940632462501526 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1360577642917633 + }, + "else": { + "operation": "boost", + "score": 0.0937328189611435 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0085873082280159 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": -0.014820441603660583 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.3668237328529358 + }, + "else": { + "operation": "boost", + "score": 0.09920833259820938 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06794735789299011 + }, + "else": { + "operation": "boost", + "score": -0.42853763699531555 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.02235167846083641 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11330650001764297 + }, + "else": { + "operation": "boost", + "score": 0.0644262433052063 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01232698280364275 + } + } + }, + "else": { + "operation": "boost", + "score": 0.038777098059654236 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2894.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8442.0, + "then": { + "operation": "boost", + "score": -0.08932037651538849 + }, + "else": { + "operation": "boost", + "score": 0.16791664063930511 + } + }, + "else": { + "operation": "boost", + "score": 0.0377357117831707 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.010136555880308151 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.017299525439739227 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.02894928865134716 + }, + "else": { + "operation": "boost", + "score": -0.3320145905017853 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.006526482757180929 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.0015749548329040408 + }, + "else": { + "operation": "boost", + "score": -0.07696346193552017 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01109375897794962 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.009839381091296673 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.15731379389762878 + }, + "else": { + "operation": "boost", + "score": 0.10244908928871155 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.04992561414837837 + }, + "else": { + "operation": "boost", + "score": -0.016231611371040344 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.01190702710300684 + }, + "else": { + "operation": "boost", + "score": -0.07965582609176636 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": -1.3367421627044678 + }, + "else": { + "operation": "boost", + "score": -0.053482286632061005 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0669642835855484, + "then": { + "operation": "boost", + "score": -0.004520495422184467 + }, + "else": { + "operation": "boost", + "score": 0.06496426463127136 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": -0.6021850109100342 + }, + "else": { + "operation": "boost", + "score": -0.00456261308863759 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 595.0, + "then": { + "operation": "boost", + "score": 0.09891100227832794 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.061345748603343964 + }, + "else": { + "operation": "boost", + "score": -0.07029801607131958 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.002890028292313218 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132.0, + "then": { + "operation": "boost", + "score": 0.12444180250167847 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": -0.046333663165569305 + }, + "else": { + "operation": "boost", + "score": 0.08311536908149719 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.012412501499056816 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.023655293509364128 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.07169897854328156 + }, + "else": { + "operation": "boost", + "score": 0.10858093947172165 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012099376879632473 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.06845619529485703 + }, + "else": { + "operation": "boost", + "score": 0.1097591370344162 + } + } + }, + "else": { + "operation": "boost", + "score": 0.033951643854379654 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.022675270214676857 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05935875326395035 + }, + "else": { + "operation": "boost", + "score": -0.12220030277967453 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.022897230461239815 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.06747273355722427 + }, + "else": { + "operation": "boost", + "score": 0.11010821908712387 + } + }, + "else": { + "operation": "boost", + "score": -0.004303271882236004 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0036613030824810266 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 752.5, + "then": { + "operation": "boost", + "score": -0.0112198106944561 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 742.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": 0.37012264132499695 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.017505386844277382 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.2052839994430542 + }, + "else": { + "operation": "boost", + "score": 0.027636218816041946 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 81.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 137.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.018511129543185234 + }, + "else": { + "operation": "boost", + "score": -0.22660376131534576 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.07017318904399872 + }, + "else": { + "operation": "boost", + "score": 0.21786512434482574 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 100.5, + "then": { + "operation": "boost", + "score": 0.05316148325800896 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98.5, + "then": { + "operation": "boost", + "score": 0.5134268999099731 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93.0, + "then": { + "operation": "boost", + "score": -0.1237817332148552 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.3339700400829315 + }, + "else": { + "operation": "boost", + "score": 0.5608999729156494 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10937419533729553 + } + }, + "else": { + "operation": "boost", + "score": 0.02986641228199005 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0071958452463150024 + }, + "else": { + "operation": "boost", + "score": 0.24818198382854462 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7071428298950195, + "then": { + "operation": "boost", + "score": 0.03676450252532959 + }, + "else": { + "operation": "boost", + "score": 0.016293605789542198 + } + } + }, + "else": { + "operation": "boost", + "score": -0.014197162352502346 + } + }, + "else": { + "operation": "boost", + "score": 0.0023741016630083323 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.011052320711314678 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 144.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 155.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 703.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 710.5, + "then": { + "operation": "boost", + "score": -0.03867759555578232 + }, + "else": { + "operation": "boost", + "score": 0.2644121050834656 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.02579346112906933 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 309.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.08427340537309647 + }, + "else": { + "operation": "boost", + "score": 0.21304866671562195 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232.0, + "then": { + "operation": "boost", + "score": -0.10615997016429901 + }, + "else": { + "operation": "boost", + "score": 0.11866056174039841 + } + }, + "else": { + "operation": "boost", + "score": -0.029747502878308296 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 522.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 552.5, + "then": { + "operation": "boost", + "score": 0.012475301511585712 + }, + "else": { + "operation": "boost", + "score": -0.2525935471057892 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 470.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 490.5, + "then": { + "operation": "boost", + "score": 0.02957426942884922 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.10960228741168976 + }, + "else": { + "operation": "boost", + "score": 0.2100578099489212 + } + }, + "else": { + "operation": "boost", + "score": 0.062703937292099 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03873191773891449 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 311.5, + "then": { + "operation": "boost", + "score": -0.016269654035568237 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 264.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 270.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 294.5, + "then": { + "operation": "boost", + "score": 0.1885848045349121 + }, + "else": { + "operation": "boost", + "score": -0.01550076249986887 + } + }, + "else": { + "operation": "boost", + "score": 0.17573219537734985 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 211.5, + "then": { + "operation": "boost", + "score": -0.08078823983669281 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 210.5, + "then": { + "operation": "boost", + "score": 0.17137083411216736 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.08777671307325363 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199.0, + "then": { + "operation": "boost", + "score": 0.10526739805936813 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.3613099753856659 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 189.0, + "then": { + "operation": "boost", + "score": 0.16974952816963196 + }, + "else": { + "operation": "boost", + "score": -0.09699587523937225 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.030943335965275764 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 154.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.15555457770824432 + }, + "else": { + "operation": "boost", + "score": 0.15039373934268951 + } + }, + "else": { + "operation": "boost", + "score": 0.0862959623336792 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.022986093536019325 + }, + "else": { + "operation": "boost", + "score": 0.00801964569836855 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.009312614798545837 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.03803030028939247 + }, + "else": { + "operation": "boost", + "score": -0.046054087579250336 + } + }, + "else": { + "operation": "boost", + "score": 0.008587577380239964 + } + }, + "else": { + "operation": "boost", + "score": -0.009664658457040787 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0008784137899056077 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0278007909655571 + } + } + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14372.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15158.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15677.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16126.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16170.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58073.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 66036.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.007683295290917158 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.07604683190584183 + }, + "else": { + "operation": "boost", + "score": 0.024662146344780922 + } + } + }, + "else": { + "operation": "boost", + "score": -0.013734758831560612 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09244557470083237 + }, + "else": { + "operation": "boost", + "score": 0.03579706326127052 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62580.5, + "then": { + "operation": "boost", + "score": -0.07050791382789612 + }, + "else": { + "operation": "boost", + "score": 0.020229298621416092 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.028098614886403084 + } + }, + "else": { + "operation": "boost", + "score": -0.14566488564014435 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43302.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52191.5, + "then": { + "operation": "boost", + "score": 0.0661521777510643 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.13885067403316498 + }, + "else": { + "operation": "boost", + "score": 0.15010987222194672 + } + }, + "else": { + "operation": "boost", + "score": -0.1828698366880417 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47293.0, + "then": { + "operation": "boost", + "score": -0.08466453105211258 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, + "then": { + "operation": "boost", + "score": 0.06950643658638 + }, + "else": { + "operation": "boost", + "score": 0.004769977182149887 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.10620104521512985 + }, + "else": { + "operation": "boost", + "score": 0.0743224248290062 + } + }, + "else": { + "operation": "boost", + "score": -0.19705070555210114 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.369306355714798 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.034168317914009094 + }, + "else": { + "operation": "boost", + "score": 0.11624347418546677 + } + }, + "else": { + "operation": "boost", + "score": 0.12983128428459167 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06036591902375221 + }, + "else": { + "operation": "boost", + "score": 0.1168675497174263 + } + }, + "else": { + "operation": "boost", + "score": 0.06167628616094589 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28180.0, + "then": { + "operation": "boost", + "score": -0.0253477580845356 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.027763957157731056 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25183.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26541.5, + "then": { + "operation": "boost", + "score": 0.020584821701049805 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07743952423334122 + }, + "else": { + "operation": "boost", + "score": 0.109901562333107 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0854903981089592 + } + }, + "else": { + "operation": "boost", + "score": -0.029975933954119682 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04982319474220276 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17984.0, + "then": { + "operation": "boost", + "score": 0.006967628840357065 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.12791964411735535 + }, + "else": { + "operation": "boost", + "score": 0.09362327307462692 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16732.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.09224442392587662 + }, + "else": { + "operation": "boost", + "score": 0.12028756737709045 + } + }, + "else": { + "operation": "boost", + "score": 0.1083819791674614 + } + }, + "else": { + "operation": "boost", + "score": 0.0018303488614037633 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.056879498064517975 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.15574361383914948 + }, + "else": { + "operation": "boost", + "score": 0.008427934721112251 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34707.0, + "then": { + "operation": "boost", + "score": 0.002795967971906066 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33949.0, + "then": { + "operation": "boost", + "score": 0.09605545550584793 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32401.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32947.0, + "then": { + "operation": "boost", + "score": 0.017646435648202896 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.06724836677312851 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.17645592987537384 + }, + "else": { + "operation": "boost", + "score": 0.08251935988664627 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07299959659576416 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30221.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.020444542169570923 + }, + "else": { + "operation": "boost", + "score": -0.12426794320344925 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27939.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28180.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28239.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28548.0, + "then": { + "operation": "boost", + "score": -0.10018864274024963 + }, + "else": { + "operation": "boost", + "score": 0.186709925532341 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28548.0, + "then": { + "operation": "boost", + "score": 0.11095379292964935 + }, + "else": { + "operation": "boost", + "score": 0.017528071999549866 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10540648549795151 + } + }, + "else": { + "operation": "boost", + "score": 0.0117184454575181 + } + }, + "else": { + "operation": "boost", + "score": 0.1319737434387207 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.12108982354402542 + }, + "else": { + "operation": "boost", + "score": 0.17178265750408173 + } + }, + "else": { + "operation": "boost", + "score": 0.1076442301273346 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24330.0, + "then": { + "operation": "boost", + "score": -0.048079945147037506 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.07735341042280197 + }, + "else": { + "operation": "boost", + "score": 0.0076113734394311905 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03367885574698448 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23685.0, + "then": { + "operation": "boost", + "score": -0.20473426580429077 + }, + "else": { + "operation": "boost", + "score": -0.010615679435431957 + } + } + }, + "else": { + "operation": "boost", + "score": -0.018538091331720352 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.007669732440263033 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": 0.0853932648897171 + }, + "else": { + "operation": "boost", + "score": -0.05261294171214104 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.31975406408309937 + }, + "else": { + "operation": "boost", + "score": -0.17965173721313477 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15950.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15964.5, + "then": { + "operation": "boost", + "score": 0.13020268082618713 + }, + "else": { + "operation": "boost", + "score": 0.10554957389831543 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01813952811062336 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.11480019986629486 + }, + "else": { + "operation": "boost", + "score": -0.10097275674343109 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16033.5, + "then": { + "operation": "boost", + "score": 0.07482133060693741 + }, + "else": { + "operation": "boost", + "score": 0.12578728795051575 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.15555556118488312, + "then": { + "operation": "boost", + "score": 0.09985187649726868 + }, + "else": { + "operation": "boost", + "score": 0.056854359805583954 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16033.5, + "then": { + "operation": "boost", + "score": 0.23054258525371552 + }, + "else": { + "operation": "boost", + "score": -0.10192440450191498 + } + }, + "else": { + "operation": "boost", + "score": 0.05990195274353027 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.009490490891039371 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1406518965959549 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07573805004358292 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.1941222846508026 + }, + "else": { + "operation": "boost", + "score": -0.011608892120420933 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15389.0, + "then": { + "operation": "boost", + "score": -0.11715395003557205 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.07393573224544525 + }, + "else": { + "operation": "boost", + "score": -0.025660252198576927 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14845.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.1118321344256401 + }, + "else": { + "operation": "boost", + "score": 0.10791436582803726 + } + }, + "else": { + "operation": "boost", + "score": 0.053846586495637894 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.017626211047172546 + }, + "else": { + "operation": "boost", + "score": 0.09670031815767288 + } + }, + "else": { + "operation": "boost", + "score": 0.017108600586652756 + } + }, + "else": { + "operation": "boost", + "score": -0.1595916897058487 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15079.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.038539811968803406 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": -0.06564934551715851 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.18695250153541565 + }, + "else": { + "operation": "boost", + "score": 0.19205662608146667 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3400067090988159 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03138389065861702 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.11175715178251266 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.10722309350967407 + }, + "else": { + "operation": "boost", + "score": -0.0008033037302084267 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.021130334585905075 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.11345499008893967 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14599.5, + "then": { + "operation": "boost", + "score": -0.042418427765369415 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.10416190326213837 + }, + "else": { + "operation": "boost", + "score": 0.19175168871879578 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.12646019458770752 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.05554979294538498 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.19047562777996063 + }, + "else": { + "operation": "boost", + "score": 0.22651907801628113 + } + }, + "else": { + "operation": "boost", + "score": -0.0310211144387722 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08399903774261475 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14187.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.155925914645195 + }, + "else": { + "operation": "boost", + "score": -0.12321489304304123 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14112.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10378208011388779 + }, + "else": { + "operation": "boost", + "score": 0.10820979624986649 + } + }, + "else": { + "operation": "boost", + "score": -7.190542237367481e-05 + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0035594291985034943 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 600.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.00685389619320631 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 641.0, + "then": { + "operation": "boost", + "score": -0.045936468988657 + }, + "else": { + "operation": "boost", + "score": 0.10158269107341766 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30193.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32056.0, + "then": { + "operation": "boost", + "score": 0.08208037912845612 + }, + "else": { + "operation": "boost", + "score": 0.10754086077213287 + } + }, + "else": { + "operation": "boost", + "score": 0.019893130287528038 + } + }, + "else": { + "operation": "boost", + "score": 0.02268063649535179 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0011797514744102955 + }, + "else": { + "operation": "boost", + "score": -0.033017612993717194 + } + }, + "else": { + "operation": "boost", + "score": 0.00620337063446641 + } + }, + "else": { + "operation": "boost", + "score": 0.0002474274660926312 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.008118373341858387 + }, + "else": { + "operation": "boost", + "score": 0.0006101387552917004 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 102.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 115.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 143.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 209.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.013413389213383198 + }, + "else": { + "operation": "boost", + "score": 0.18601757287979126 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 524.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1777482032775879 + }, + "else": { + "operation": "boost", + "score": -0.15912814438343048 + } + }, + "else": { + "operation": "boost", + "score": -0.040699128061532974 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.126386359333992 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 201.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.1804409772157669 + }, + "else": { + "operation": "boost", + "score": 0.19975174963474274 + } + }, + "else": { + "operation": "boost", + "score": 0.10823579877614975 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1333499550819397 + }, + "else": { + "operation": "boost", + "score": -0.010056725703179836 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 153.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 364.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 467.5, + "then": { + "operation": "boost", + "score": -0.0861969143152237 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 462.5, + "then": { + "operation": "boost", + "score": 0.11427243798971176 + }, + "else": { + "operation": "boost", + "score": 0.031945083290338516 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11997878551483154 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 254.5, + "then": { + "operation": "boost", + "score": 0.18623369932174683 + }, + "else": { + "operation": "boost", + "score": 0.1296849101781845 + } + } + }, + "else": { + "operation": "boost", + "score": -0.009081565774977207 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 360.5, + "then": { + "operation": "boost", + "score": -0.38245922327041626 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 155.5, + "then": { + "operation": "boost", + "score": -0.07465756684541702 + }, + "else": { + "operation": "boost", + "score": -0.5838568210601807 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.010758774355053902 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 496.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 534.5, + "then": { + "operation": "boost", + "score": -0.003930029459297657 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0973203256726265 + }, + "else": { + "operation": "boost", + "score": 0.12583622336387634 + } + }, + "else": { + "operation": "boost", + "score": 0.06767022609710693 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 414.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 416.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.04207262396812439 + }, + "else": { + "operation": "boost", + "score": -1.3365211486816406 + } + }, + "else": { + "operation": "boost", + "score": -1.014699935913086 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 183.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 213.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.03981500864028931 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 394.5, + "then": { + "operation": "boost", + "score": 0.06684733182191849 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 370.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": 0.0905425176024437 + }, + "else": { + "operation": "boost", + "score": -0.21959106624126434 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 366.5, + "then": { + "operation": "boost", + "score": 0.19435983896255493 + }, + "else": { + "operation": "boost", + "score": -0.0214750524610281 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.04334450885653496 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.055600814521312714 + }, + "else": { + "operation": "boost", + "score": 0.10489661246538162 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 194.0, + "then": { + "operation": "boost", + "score": 0.07073598355054855 + }, + "else": { + "operation": "boost", + "score": -0.5511264801025391 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10101009905338287, + "then": { + "operation": "boost", + "score": 0.015080546028912067 + }, + "else": { + "operation": "boost", + "score": 0.1115151196718216 + } + }, + "else": { + "operation": "boost", + "score": -0.20632484555244446 + } + }, + "else": { + "operation": "boost", + "score": -0.027136793360114098 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05523078143596649 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.0317179411649704 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 106.5, + "then": { + "operation": "boost", + "score": -0.32976678013801575 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.10951811075210571 + }, + "else": { + "operation": "boost", + "score": -0.1639670580625534 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.10996689647436142 + }, + "else": { + "operation": "boost", + "score": -1.2181775569915771 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.017123332247138023 + }, + "else": { + "operation": "boost", + "score": -0.3928969204425812 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.07380350679159164 + }, + "else": { + "operation": "boost", + "score": 0.12999209761619568 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.025117971003055573 + }, + "else": { + "operation": "boost", + "score": 0.11044101417064667 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.02576266974210739 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.04664482921361923 + }, + "else": { + "operation": "boost", + "score": -0.22557051479816437 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0002242497430415824 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.014083604328334332 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.002288749674335122 + }, + "else": { + "operation": "boost", + "score": -0.5120421051979065 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1136835440993309 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator" + ], + "then": { + "operation": "boost", + "score": 0.023512640967965126 + }, + "else": { + "operation": "boost", + "score": -0.02249937132000923 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.013639305718243122 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.12786021828651428 + }, + "else": { + "operation": "boost", + "score": 0.040020521730184555 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.11609821021556854 + }, + "else": { + "operation": "boost", + "score": -0.1043776348233223 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10971935093402863 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10249985009431839 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.03405416011810303 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.05672251805663109 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.03760063275694847 + }, + "else": { + "operation": "boost", + "score": 0.02926800772547722 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.03998567909002304 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": 0.09422367066144943 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.02559938281774521 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.15000000596046448, + "then": { + "operation": "boost", + "score": 0.22376617789268494 + }, + "else": { + "operation": "boost", + "score": 0.20907603204250336 + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0649118721485138 + }, + "else": { + "operation": "boost", + "score": 0.007548295892775059 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.002405688865110278 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.04653679579496384, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.027068575844168663 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2967033088207245, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "boost", + "score": -0.12108323723077774 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10960186272859573 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1341480165719986 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.11180570721626282 + }, + "else": { + "operation": "boost", + "score": -0.10478320717811584 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.14393271505832672 + } + }, + "else": { + "operation": "boost", + "score": -0.004287227522581816 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02188705839216709 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": 0.19737812876701355 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2211551070213318 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10002314299345016 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.48389896750450134 + }, + "else": { + "operation": "boost", + "score": -0.10349395126104355 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.007097084075212479 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10411010682582855 + }, + "else": { + "operation": "boost", + "score": 0.033849600702524185 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07528083771467209 + } + }, + "else": { + "operation": "boost", + "score": 0.007034088019281626 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.06656750291585922 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": -0.11567345261573792 + }, + "else": { + "operation": "boost", + "score": -0.015236211009323597 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.11185935884714127 + }, + "else": { + "operation": "boost", + "score": 0.1371854990720749 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0008002194808796048 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "boost", + "score": 0.1098007783293724 + }, + "else": { + "operation": "boost", + "score": -0.010802354663610458 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0003309750172775239 + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.005301021039485931 + }, + "else": { + "operation": "boost", + "score": 0.02188258059322834 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.002007532399147749 + }, + "else": { + "operation": "boost", + "score": -0.022701699286699295 + } + }, + "else": { + "operation": "boost", + "score": 0.0027206195518374443 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.03168109431862831 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1132287010550499 + }, + "else": { + "operation": "boost", + "score": -0.04514506831765175 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.09359700232744217 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.1046639084815979 + }, + "else": { + "operation": "boost", + "score": -0.7101231217384338 + } + }, + "else": { + "operation": "boost", + "score": -0.13889165222644806 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0016409491654485464 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.054411765187978745, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3376.5, + "then": { + "operation": "boost", + "score": 0.11832238733768463 + }, + "else": { + "operation": "boost", + "score": -0.08065947145223618 + } + }, + "else": { + "operation": "boost", + "score": -0.019946392625570297 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05918659642338753 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1999.5, + "then": { + "operation": "boost", + "score": -0.14811840653419495 + }, + "else": { + "operation": "boost", + "score": 0.008960187435150146 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0223456472158432 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1022.5, + "then": { + "operation": "boost", + "score": -0.05933516100049019 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 620.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 671.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": -0.05052435025572777 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 800.0, + "then": { + "operation": "boost", + "score": 0.14743857085704803 + }, + "else": { + "operation": "boost", + "score": 0.06330098956823349 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1731649488210678 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05492454394698143 + }, + "else": { + "operation": "boost", + "score": -1.0154190063476562 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 602.0, + "then": { + "operation": "boost", + "score": -0.8555435538291931 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 186.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 394.0, + "then": { + "operation": "boost", + "score": -0.09374702721834183 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 320.5, + "then": { + "operation": "boost", + "score": 0.11349578946828842 + }, + "else": { + "operation": "boost", + "score": -0.07170417159795761 + } + }, + "else": { + "operation": "boost", + "score": 0.11321723461151123 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 177.5, + "then": { + "operation": "boost", + "score": -1.30049729347229 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 100.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 152.0, + "then": { + "operation": "boost", + "score": -0.1732483208179474 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07959507405757904 + }, + "else": { + "operation": "boost", + "score": -0.2803528606891632 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88.5, + "then": { + "operation": "boost", + "score": -0.23415076732635498 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85.5, + "then": { + "operation": "boost", + "score": 0.13245852291584015 + }, + "else": { + "operation": "boost", + "score": -0.07543142884969711 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 277.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.08425020426511765 + }, + "else": { + "operation": "boost", + "score": -0.11743220686912537 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 230.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0555555559694767, + "then": { + "operation": "boost", + "score": 0.05802232027053833 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.1290074586868286 + }, + "else": { + "operation": "boost", + "score": 0.15538741648197174 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 216.0, + "then": { + "operation": "boost", + "score": -0.3508942425251007 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 206.5, + "then": { + "operation": "boost", + "score": 0.12409542500972748 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.04190914332866669 + }, + "else": { + "operation": "boost", + "score": 0.1268816441297531 + } + }, + "else": { + "operation": "boost", + "score": 0.021460600197315216 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89.5, + "then": { + "operation": "boost", + "score": 0.1976948231458664 + }, + "else": { + "operation": "boost", + "score": 0.0848580151796341 + } + } + }, + "else": { + "operation": "boost", + "score": -0.024750523269176483 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.22143886983394623 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.06668658554553986 + }, + "else": { + "operation": "boost", + "score": 0.17549660801887512 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.12145281583070755 + }, + "else": { + "operation": "boost", + "score": -0.03896215930581093 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.21273142099380493 + }, + "else": { + "operation": "boost", + "score": -0.2187759280204773 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "boost", + "score": 0.003465122776106 + }, + "else": { + "operation": "boost", + "score": -0.22878508269786835 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129.0, + "then": { + "operation": "boost", + "score": 0.06609602272510529 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": 0.07394488155841827 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": 0.11619465798139572 + }, + "else": { + "operation": "boost", + "score": 0.08235520869493484 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00015363974671345204 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 304.0, + "then": { + "operation": "boost", + "score": 0.06116804853081703 + }, + "else": { + "operation": "boost", + "score": -0.006962424144148827 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05697322636842728 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.14038363099098206 + }, + "else": { + "operation": "boost", + "score": 0.07246336340904236 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05512005090713501 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02285965159535408 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { + "operation": "boost", + "score": -0.09532858431339264 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.01762492023408413 + }, + "else": { + "operation": "boost", + "score": -0.05474628135561943 + } + }, + "else": { + "operation": "boost", + "score": -0.03869294375181198 + } + } + }, + "else": { + "operation": "boost", + "score": -0.045216962695121765 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.05917961150407791 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1300591230392456 + }, + "else": { + "operation": "boost", + "score": 0.050921641290187836 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03228786960244179 + } + }, + "else": { + "operation": "boost", + "score": -0.021451961249113083 + } + }, + "else": { + "operation": "boost", + "score": -0.02923152968287468 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.04420216754078865 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.343011736869812 + }, + "else": { + "operation": "boost", + "score": 0.18959665298461914 + } + }, + "else": { + "operation": "boost", + "score": -0.07183479517698288 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06515216082334518 + }, + "else": { + "operation": "boost", + "score": -0.019348153844475746 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0972222238779068, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.11022694408893585 + }, + "else": { + "operation": "boost", + "score": -0.07490687817335129 + } + }, + "else": { + "operation": "boost", + "score": 0.08922728151082993 + } + }, + "else": { + "operation": "boost", + "score": 0.0032811793498694897 + } + }, + "else": { + "operation": "boost", + "score": 0.013076757080852985 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10049468278884888 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.13863855600357056 + }, + "else": { + "operation": "boost", + "score": 0.12042906880378723 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08662862330675125 + } + }, + "else": { + "operation": "boost", + "score": 0.09269659966230392 + } + }, + "else": { + "operation": "boost", + "score": 0.1721367985010147 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7333333492279053, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.10142102092504501 + }, + "else": { + "operation": "boost", + "score": 0.11821380257606506 + } + }, + "else": { + "operation": "boost", + "score": 0.018635286018252373 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.02918752282857895 + }, + "else": { + "operation": "boost", + "score": 0.004340766463428736 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.027291329577565193 + }, + "else": { + "operation": "boost", + "score": -0.03288481757044792 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018075324594974518 + }, + "else": { + "operation": "boost", + "score": -0.04537227377295494 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.15324607491493225 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.18233714997768402 + }, + "else": { + "operation": "boost", + "score": 0.1079963743686676 + } + }, + "else": { + "operation": "boost", + "score": 0.044744595885276794 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08989080786705017 + }, + "else": { + "operation": "boost", + "score": 0.02901962585747242 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0963413342833519 + }, + "else": { + "operation": "boost", + "score": -0.07637607306241989 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06281501054763794, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.13021452724933624 + }, + "else": { + "operation": "boost", + "score": 0.032845206558704376 + } + }, + "else": { + "operation": "boost", + "score": -0.1498962640762329 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": 0.08550523966550827 + }, + "else": { + "operation": "boost", + "score": -0.09205379337072372 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10161993652582169 + }, + "else": { + "operation": "boost", + "score": 0.12728609144687653 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0013991851592436433 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.000350393820554018 + }, + "else": { + "operation": "boost", + "score": -0.001738725695759058 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11888.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12705.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.008934392593801022 + }, + "else": { + "operation": "boost", + "score": -0.4729049801826477 + } + }, + "else": { + "operation": "boost", + "score": 0.023091726005077362 + } + }, + "else": { + "operation": "boost", + "score": 0.08210089057683945 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11365.5, + "then": { + "operation": "boost", + "score": -0.17898491024971008 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9533.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.08063910901546478 + }, + "else": { + "operation": "boost", + "score": -0.07413031160831451 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6280.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.013501114211976528 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.0003054952248930931 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": -0.09075348824262619 + }, + "else": { + "operation": "boost", + "score": -0.8494770526885986 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7475.5, + "then": { + "operation": "boost", + "score": -0.013466978445649147 + }, + "else": { + "operation": "boost", + "score": -0.12576347589492798 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.002546543488278985 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 360.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -1.3913437128067017 + }, + "else": { + "operation": "boost", + "score": 0.057604409754276276 + } + }, + "else": { + "operation": "boost", + "score": -0.05978022888302803 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.0, + "then": { + "operation": "boost", + "score": -0.0636514276266098 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87.0, + "then": { + "operation": "boost", + "score": -0.9167431592941284 + }, + "else": { + "operation": "boost", + "score": -0.15481504797935486 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11499452590942383 + } + } + }, + "else": { + "operation": "boost", + "score": -0.018223131075501442 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "boost", + "score": -0.03555060923099518 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10039597749710083 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": 0.09185341745615005 + }, + "else": { + "operation": "boost", + "score": 0.11180734634399414 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04729058966040611 + }, + "else": { + "operation": "boost", + "score": 0.018983056768774986 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.004501497372984886 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.02522488869726658 + }, + "else": { + "operation": "boost", + "score": -0.0004893142031505704 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.004405850078910589 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 227.5, + "then": { + "operation": "boost", + "score": 0.12644924223423004 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.006423818878829479 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.002420699456706643 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3741258978843689, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.04478763788938522 + }, + "else": { + "operation": "boost", + "score": 0.154534250497818 + } + }, + "else": { + "operation": "boost", + "score": 0.014132020063698292 + } + }, + "else": { + "operation": "boost", + "score": 0.11363521218299866 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7638888955116272, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10562597960233688 + }, + "else": { + "operation": "boost", + "score": -0.6604711413383484 + } + }, + "else": { + "operation": "boost", + "score": -0.023198217153549194 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.027004782110452652 + }, + "else": { + "operation": "boost", + "score": -0.05957361310720444 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, + "then": { + "operation": "boost", + "score": 0.12674468755722046 + }, + "else": { + "operation": "boost", + "score": -0.1171223521232605 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "boost", + "score": 0.05877493694424629 + }, + "else": { + "operation": "boost", + "score": 0.12201395630836487 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": 0.10546255111694336 + }, + "else": { + "operation": "boost", + "score": 0.08227811008691788 + } + } + }, + "else": { + "operation": "boost", + "score": 0.014890623278915882 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07073865830898285 + }, + "else": { + "operation": "boost", + "score": -0.009399844333529472 + } + }, + "else": { + "operation": "boost", + "score": -0.034934330731630325 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": -0.09551811218261719 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.0872441902756691 + }, + "else": { + "operation": "boost", + "score": -0.027757516130805016 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": -0.002254464663565159 + }, + "else": { + "operation": "boost", + "score": 0.10677506029605865 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.10074304789304733 + }, + "else": { + "operation": "boost", + "score": -0.03932157903909683 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": -0.3010164797306061 + }, + "else": { + "operation": "boost", + "score": -0.04600876569747925 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.20329806208610535 + }, + "else": { + "operation": "boost", + "score": 0.07404352724552155 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "boost", + "score": 0.09638061374425888 + }, + "else": { + "operation": "boost", + "score": 0.11622750759124756 + } + }, + "else": { + "operation": "boost", + "score": 0.061517708003520966 + } + }, + "else": { + "operation": "boost", + "score": -0.4130903482437134 + } + }, + "else": { + "operation": "boost", + "score": -0.09018781781196594 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.024411844089627266 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.38271281123161316 + }, + "else": { + "operation": "boost", + "score": -0.10219011455774307 + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12003768235445023 + }, + "else": { + "operation": "boost", + "score": 0.07624708116054535 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.5, + "then": { + "operation": "boost", + "score": 0.0660373866558075 + }, + "else": { + "operation": "boost", + "score": 0.11363115906715393 + } + }, + "else": { + "operation": "boost", + "score": 0.05441557243466377 + } + }, + "else": { + "operation": "boost", + "score": 0.028153197839856148 + } + }, + "else": { + "operation": "boost", + "score": -0.06748653948307037 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.02722638100385666 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.012526094913482666 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "boost", + "score": -0.3523814082145691 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.14594118297100067 + }, + "else": { + "operation": "boost", + "score": 0.0034146159887313843 + } + }, + "else": { + "operation": "boost", + "score": -0.03628644347190857 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.048972852528095245 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "boost", + "score": -0.46276402473449707 + }, + "else": { + "operation": "boost", + "score": -0.0649782046675682 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.007840631529688835 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.01315837912261486 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10752640664577484 + }, + "else": { + "operation": "boost", + "score": 0.022014964371919632 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.07853154838085175 + }, + "else": { + "operation": "boost", + "score": -0.03438090160489082 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "boost", + "score": -0.058565352112054825 + }, + "else": { + "operation": "boost", + "score": -0.6056565642356873 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { + "operation": "boost", + "score": 0.17632804811000824 + }, + "else": { + "operation": "boost", + "score": -0.018036585301160812 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.10196654498577118 + }, + "else": { + "operation": "boost", + "score": 0.04858868941664696 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 112.5, + "then": { + "operation": "boost", + "score": -0.7036119103431702 + }, + "else": { + "operation": "boost", + "score": -7.564284896943718e-05 + } + }, + "else": { + "operation": "boost", + "score": -4.726995944976807 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.06442447006702423 + }, + "else": { + "operation": "boost", + "score": 0.12761035561561584 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.02763739600777626 + }, + "else": { + "operation": "boost", + "score": -0.26597318053245544 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0019255742663517594 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.002029197756201029 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": -0.05871185287833214 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.13752175867557526 + }, + "else": { + "operation": "boost", + "score": -0.10170809179544449 + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135496.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08601552993059158 + }, + "else": { + "operation": "boost", + "score": -0.45747697353363037 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.018967455253005028 + }, + "else": { + "operation": "boost", + "score": 0.10653454065322876 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.02291194163262844 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.6179695725440979 + }, + "else": { + "operation": "boost", + "score": -0.1661480814218521 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.11256316304206848 + }, + "else": { + "operation": "boost", + "score": 0.08299461007118225 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8415.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.02521541714668274 + }, + "else": { + "operation": "boost", + "score": 0.19941692054271698 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09761904925107956, + "then": { + "operation": "boost", + "score": 0.027928262948989868 + }, + "else": { + "operation": "boost", + "score": 0.08057219535112381 + } + }, + "else": { + "operation": "boost", + "score": -0.013276657089591026 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00014576248941011727 + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0033338316716253757 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 600.5, + "then": { + "operation": "boost", + "score": 0.00767519511282444 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.005476553924381733 + }, + "else": { + "operation": "boost", + "score": 0.00014990216004662216 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01095727737993002 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.949999988079071, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.025113599374890327 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04039640724658966 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.021191870793700218 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13185147941112518 + }, + "else": { + "operation": "boost", + "score": 0.11623238027095795 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6396104097366333, + "then": { + "operation": "boost", + "score": -0.03964105620980263 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.09535907953977585 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.022710874676704407 + }, + "else": { + "operation": "boost", + "score": 0.002910449169576168 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0021294753532856703 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3229166865348816, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.028723645955324173 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5773809552192688, + "then": { + "operation": "boost", + "score": 0.007968499325215816 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": -0.200082927942276 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.12286292016506195 + }, + "else": { + "operation": "boost", + "score": 0.0752536803483963 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.10806982219219208 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.08284850418567657 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.006548721808940172 + }, + "else": { + "operation": "boost", + "score": -15.621244430541992 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017544696107506752 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": 0.0683710128068924 + }, + "else": { + "operation": "boost", + "score": -0.013599694706499577 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.18474891781806946 + }, + "else": { + "operation": "boost", + "score": 0.0853043869137764 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005525926593691111 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.7498225569725037 + }, + "else": { + "operation": "boost", + "score": -0.14842729270458221 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": 0.10961715131998062 + }, + "else": { + "operation": "boost", + "score": 0.2964102327823639 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.06780336052179337 + }, + "else": { + "operation": "boost", + "score": -0.6102394461631775 + } + }, + "else": { + "operation": "boost", + "score": -0.0350937582552433 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8257575631141663, + "then": { + "operation": "boost", + "score": -0.1939070075750351 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6306818127632141, + "then": { + "operation": "boost", + "score": 0.000652398681268096 + }, + "else": { + "operation": "boost", + "score": -0.07330796867609024 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.24231784045696259 + }, + "else": { + "operation": "boost", + "score": 0.049974311143159866 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.1167193055152893 + }, + "else": { + "operation": "boost", + "score": 0.14469920098781586 + } + }, + "else": { + "operation": "boost", + "score": -0.6293841600418091 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.4502456784248352 + }, + "else": { + "operation": "boost", + "score": 0.06784401088953018 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.01606006920337677 + }, + "else": { + "operation": "boost", + "score": -0.3282831013202667 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12838992476463318 + }, + "else": { + "operation": "boost", + "score": 0.17067968845367432 + } + }, + "else": { + "operation": "boost", + "score": -0.06094209849834442 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": -0.005747743416577578 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.23885948956012726 + }, + "else": { + "operation": "boost", + "score": -0.0024991745594888926 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.061818379908800125 + }, + "else": { + "operation": "boost", + "score": 0.03521082177758217 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.27711865305900574 + }, + "else": { + "operation": "boost", + "score": 0.009307477623224258 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.026200823485851288 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.07511632889509201 + }, + "else": { + "operation": "boost", + "score": -0.0031122544314712286 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0022830406669527292 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3033088445663452, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "boost", + "score": 0.038235854357481 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.34954750537872314, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3827838897705078, + "then": { + "operation": "boost", + "score": 0.03177713602781296 + }, + "else": { + "operation": "boost", + "score": 0.10527556389570236 + } + }, + "else": { + "operation": "boost", + "score": 0.08053376525640488 + } + }, + "else": { + "operation": "boost", + "score": -0.06594208627939224 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12753742933273315 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1113523542881012 + }, + "else": { + "operation": "boost", + "score": -0.010429256595671177 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.016284707933664322 + }, + "else": { + "operation": "boost", + "score": 0.046848364174366 + } + }, + "else": { + "operation": "boost", + "score": 0.0038611043710261583 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.003449592273682356 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06303153187036514 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.3388873338699341 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.10130243003368378 + }, + "else": { + "operation": "boost", + "score": -0.07808836549520493 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02035270631313324 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.10966351628303528 + }, + "else": { + "operation": "boost", + "score": 0.04811601713299751 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.2572380602359772 + }, + "else": { + "operation": "boost", + "score": 0.15784955024719238 + } + }, + "else": { + "operation": "boost", + "score": 0.06779975444078445 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": 0.0036645028740167618 + }, + "else": { + "operation": "boost", + "score": -0.2936517894268036 + } + }, + "else": { + "operation": "boost", + "score": -0.015425116755068302 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118.5, + "then": { + "operation": "boost", + "score": 0.12071310728788376 + }, + "else": { + "operation": "boost", + "score": 0.03644314408302307 + } + } + }, + "else": { + "operation": "boost", + "score": 0.017300115898251534 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0031096667516976595 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.003558429656550288 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10181710124015808 + }, + "else": { + "operation": "boost", + "score": 0.09171529859304428 + } + }, + "else": { + "operation": "boost", + "score": -0.04231654852628708 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6515151262283325, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09937754273414612 + }, + "else": { + "operation": "boost", + "score": -0.10351768136024475 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5192307829856873, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5419580936431885, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.1626499891281128 + }, + "else": { + "operation": "boost", + "score": 0.11563431471586227 + } + }, + "else": { + "operation": "boost", + "score": 0.147891104221344 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, + "then": { + "operation": "boost", + "score": 0.04380355030298233 + }, + "else": { + "operation": "boost", + "score": 0.079181969165802 + } + } + }, + "else": { + "operation": "boost", + "score": 0.002772320993244648 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, + "then": { + "operation": "boost", + "score": 0.00822471920400858 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, + "then": { + "operation": "boost", + "score": 0.049432575702667236 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": 0.085516057908535 + }, + "else": { + "operation": "boost", + "score": -0.2281983494758606 + } + }, + "else": { + "operation": "boost", + "score": 0.1195487454533577 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": 0.12135501205921173 + }, + "else": { + "operation": "boost", + "score": 0.06299892067909241 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07702288031578064 + }, + "else": { + "operation": "boost", + "score": 0.01602390967309475 + } + } + }, + "else": { + "operation": "boost", + "score": 0.059144001454114914 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0578555166721344 + } + }, + "else": { + "operation": "boost", + "score": -0.014020880684256554 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04014884680509567 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10818713903427124, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "boost", + "score": -0.013702026568353176 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.12001483887434006 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09311527758836746 + }, + "else": { + "operation": "boost", + "score": -0.06359412521123886 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.12551249563694 + }, + "else": { + "operation": "boost", + "score": -0.023392200469970703 + } + } + }, + "else": { + "operation": "boost", + "score": -0.004152842331677675 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": -0.2856179475784302 + }, + "else": { + "operation": "boost", + "score": -0.05166150629520416 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00021744145487900823 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0004076477198395878 + } + }, + { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14079271256923676 + }, + "else": { + "operation": "boost", + "score": 0.1104288175702095 + } + }, + "else": { + "operation": "boost", + "score": -0.26014411449432373 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": 0.08640711009502411 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.010657158680260181 + }, + "else": { + "operation": "boost", + "score": -0.1118631586432457 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.15658017992973328 + }, + "else": { + "operation": "boost", + "score": -0.39793476462364197 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11191517114639282 + }, + "else": { + "operation": "boost", + "score": 0.30197542905807495 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02009790949523449 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.16996966302394867 + }, + "else": { + "operation": "boost", + "score": 0.023189377039670944 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.3310299515724182 + }, + "else": { + "operation": "boost", + "score": -0.11191446334123611 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.02268357016146183 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, + "then": { + "operation": "boost", + "score": 0.05668352171778679 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": 0.11813176423311234 + }, + "else": { + "operation": "boost", + "score": -0.1941245049238205 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1212640330195427 + } + }, + "else": { + "operation": "boost", + "score": -0.0867091491818428 + } + } + }, + "else": { + "operation": "boost", + "score": -0.018739651888608932 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.003528944216668606 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.006676039658486843 + }, + "else": { + "operation": "boost", + "score": -0.00025159845245070755 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05255052074790001 + }, + "else": { + "operation": "boost", + "score": -0.024388806894421577 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 648.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07493621855974197, + "then": { + "operation": "boost", + "score": 0.058372508734464645 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2314.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2591.0, + "then": { + "operation": "boost", + "score": -0.06663410365581512 + }, + "else": { + "operation": "boost", + "score": 0.12172283232212067 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.5773042440414429 + }, + "else": { + "operation": "boost", + "score": -0.18739281594753265 + } + }, + "else": { + "operation": "boost", + "score": 0.07307474315166473 + } + }, + "else": { + "operation": "boost", + "score": -0.27136701345443726 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 369.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 396.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 495.5, + "then": { + "operation": "boost", + "score": 0.1023239865899086 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 446.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10724063217639923 + }, + "else": { + "operation": "boost", + "score": -0.571541965007782 + } + }, + "else": { + "operation": "boost", + "score": 0.06841817498207092 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11186657845973969 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 357.5, + "then": { + "operation": "boost", + "score": -0.3698512315750122 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 270.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "boost", + "score": -0.47297433018684387 + }, + "else": { + "operation": "boost", + "score": 0.06468790024518967 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1594158411026001 + }, + "else": { + "operation": "boost", + "score": 0.08492524921894073 + } + }, + "else": { + "operation": "boost", + "score": 0.020636023953557014 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "boost", + "score": -0.08285515755414963 + }, + "else": { + "operation": "boost", + "score": -0.2712676227092743 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.005254830699414015 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.47727274894714355, + "then": { + "operation": "boost", + "score": 0.001955318031832576 + }, + "else": { + "operation": "boost", + "score": 0.12992693483829498 + } + }, + "else": { + "operation": "boost", + "score": 0.14884710311889648 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.017589787021279335 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.007815854623913765 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07805849611759186 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.12540237605571747 + }, + "else": { + "operation": "boost", + "score": 0.1172608733177185 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.03814122453331947 + }, + "else": { + "operation": "boost", + "score": -0.3134682774543762 + } + }, + "else": { + "operation": "boost", + "score": -0.07878445833921432 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.047449130564928055 + }, + "else": { + "operation": "boost", + "score": 0.14271409809589386 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "boost", + "score": 0.040356799960136414 + }, + "else": { + "operation": "boost", + "score": -0.12367759644985199 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": -0.15803831815719604 + }, + "else": { + "operation": "boost", + "score": 0.12354511767625809 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.39979252219200134 + }, + "else": { + "operation": "boost", + "score": -0.08949190378189087 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1163838654756546 + }, + "else": { + "operation": "boost", + "score": -0.17204231023788452 + } + }, + "else": { + "operation": "boost", + "score": 0.10775469988584518 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.23428019881248474 + }, + "else": { + "operation": "boost", + "score": -0.03648418188095093 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1385016143321991 + }, + "else": { + "operation": "boost", + "score": 0.024469653144478798 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.15385660529136658 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.04292033240199089 + }, + "else": { + "operation": "boost", + "score": 0.11204966902732849 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04385901987552643 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.03412652760744095 + }, + "else": { + "operation": "boost", + "score": 0.09757173806428909 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.11757905036211014 + }, + "else": { + "operation": "boost", + "score": 0.10205813497304916 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.6752322912216187 + }, + "else": { + "operation": "boost", + "score": -0.13085930049419403 + } + }, + "else": { + "operation": "boost", + "score": -0.08085771650075912 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.018315142020583153 + }, + "else": { + "operation": "boost", + "score": 0.09391529113054276 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.007340544369071722 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.905667245388031 + }, + "else": { + "operation": "boost", + "score": -0.18206727504730225 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.379807710647583, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.05430695042014122 + }, + "else": { + "operation": "boost", + "score": 0.08072561025619507 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.020027251914143562 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "boost", + "score": 0.15379808843135834 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": -0.28311285376548767 + }, + "else": { + "operation": "boost", + "score": -0.05833187699317932 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": 0.09189345687627792 + }, + "else": { + "operation": "boost", + "score": -0.0014984289882704616 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.07591983675956726 + }, + "else": { + "operation": "boost", + "score": -0.13651078939437866 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.3862011134624481 + }, + "else": { + "operation": "boost", + "score": -0.15031908452510834 + } + }, + "else": { + "operation": "boost", + "score": -0.20240607857704163 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1733531355857849 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.48828479647636414 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11069735884666443 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13895483314990997 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.005608633626252413 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.32472899556159973 + }, + "else": { + "operation": "boost", + "score": -0.7463006377220154 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.023689284920692444 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.010523960925638676 + }, + "else": { + "operation": "boost", + "score": 0.12197326868772507 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "boost", + "score": 0.1059802994132042 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2750000059604645, + "then": { + "operation": "boost", + "score": -0.15690121054649353 + }, + "else": { + "operation": "boost", + "score": -0.07496210187673569 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01707945391535759 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.021771930158138275 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": 0.1284501850605011 + }, + "else": { + "operation": "boost", + "score": 0.184225395321846 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.08678064495325089 + }, + "else": { + "operation": "boost", + "score": -0.04159202054142952 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004338522907346487 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.5815138220787048 + }, + "else": { + "operation": "boost", + "score": -0.1725580245256424 + } + }, + "else": { + "operation": "boost", + "score": 0.005571874789893627 + } + }, + "else": { + "operation": "boost", + "score": 0.00931217148900032 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -5.885892460355535e-05 + } + } + }, + { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.03637566417455673, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Namespace", + "Operator", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": -0.003420937340706587 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.09366082400083542 + }, + "else": { + "operation": "boost", + "score": 0.1354462057352066 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.015606977045536041 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.13971373438835144 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.12919671833515167 + }, + "else": { + "operation": "boost", + "score": 0.3541596531867981 + } + }, + "else": { + "operation": "boost", + "score": -0.12609587609767914 + } + }, + "else": { + "operation": "boost", + "score": -0.1420121192932129 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03145745024085045 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.09418672323226929 + }, + "else": { + "operation": "boost", + "score": 0.15049293637275696 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.13529445230960846 + }, + "else": { + "operation": "boost", + "score": -0.12501634657382965 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.1225099191069603 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.12010353058576584 + }, + "else": { + "operation": "boost", + "score": 0.13132597506046295 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": -0.038659416139125824 + }, + "else": { + "operation": "boost", + "score": -0.28405359387397766 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2089.0, + "then": { + "operation": "boost", + "score": -0.12366662919521332 + }, + "else": { + "operation": "boost", + "score": 0.03374401852488518 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.012743436731398106 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.0, + "then": { + "operation": "boost", + "score": -0.45892080664634705 + }, + "else": { + "operation": "boost", + "score": 0.04986034706234932 + } + }, + "else": { + "operation": "boost", + "score": 0.10190503299236298 + } + }, + "else": { + "operation": "boost", + "score": -0.23325388133525848 + } + }, + "else": { + "operation": "boost", + "score": -0.3678254783153534 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.021763021126389503 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16228070855140686, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10485170781612396 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.025716962292790413 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.23033185303211212 + }, + "else": { + "operation": "boost", + "score": -0.030539153143763542 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.38492146134376526 + }, + "else": { + "operation": "boost", + "score": 0.13191404938697815 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.1355130523443222 + }, + "else": { + "operation": "boost", + "score": 0.10161642730236053 + } + } + }, + "else": { + "operation": "boost", + "score": 0.050497427582740784 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": 0.099618099629879 + }, + "else": { + "operation": "boost", + "score": 0.055220700800418854 + } + }, + "else": { + "operation": "boost", + "score": -0.018641510978341103 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.1374674141407013 + }, + "else": { + "operation": "boost", + "score": -0.2607700824737549 + } + }, + "else": { + "operation": "boost", + "score": 0.1734626293182373 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": 0.11707256734371185 + }, + "else": { + "operation": "boost", + "score": 0.06515488773584366 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": -0.19972550868988037 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.010942035354673862 + }, + "else": { + "operation": "boost", + "score": 0.0658605620265007 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12379114329814911 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": 4.898026943206787 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": 0.3958979547023773 + }, + "else": { + "operation": "boost", + "score": -0.10308888554573059 + } + }, + "else": { + "operation": "boost", + "score": 1.4179489612579346 + } + }, + "else": { + "operation": "boost", + "score": -0.10111163556575775 + } + }, + "else": { + "operation": "boost", + "score": -0.009403270669281483 + } + }, + "else": { + "operation": "boost", + "score": 0.1291501373052597 + } + } + }, + "else": { + "operation": "boost", + "score": -0.004261022433638573 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007576953154057264 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2666666805744171, + "then": { + "operation": "boost", + "score": 0.09278362989425659 + }, + "else": { + "operation": "boost", + "score": 0.5039477348327637 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10302132368087769 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": -0.04070572927594185 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06831046938896179 + }, + "else": { + "operation": "boost", + "score": -0.40767979621887207 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27110.5, + "then": { + "operation": "boost", + "score": 0.11164231598377228 + }, + "else": { + "operation": "boost", + "score": -1.2503443956375122 + } + }, + "else": { + "operation": "boost", + "score": -0.028642170131206512 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03282612934708595 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08387959748506546 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, + "then": { + "operation": "boost", + "score": 0.11431077867746353 + }, + "else": { + "operation": "boost", + "score": 0.05303077772259712 + } + }, + "else": { + "operation": "boost", + "score": -0.16483858227729797 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14206397533416748 + }, + "else": { + "operation": "boost", + "score": 0.06522573530673981 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.03881407156586647 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5889.5, + "then": { + "operation": "boost", + "score": -0.0327271968126297 + }, + "else": { + "operation": "boost", + "score": 0.08139026910066605 + } + }, + "else": { + "operation": "boost", + "score": 0.13331516087055206 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11537165194749832 + }, + "else": { + "operation": "boost", + "score": 0.02081494778394699 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11420439183712006 + }, + "else": { + "operation": "boost", + "score": -0.24566766619682312 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.030561890453100204 + }, + "else": { + "operation": "boost", + "score": -0.3345744013786316 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12271155416965485 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.009028811939060688 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.046732090413570404 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": -0.6841458678245544 + }, + "else": { + "operation": "boost", + "score": 0.003673472674563527 + } + }, + "else": { + "operation": "boost", + "score": -0.0603073351085186 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.020617762580513954 + }, + "else": { + "operation": "boost", + "score": -0.0558333694934845 + } + }, + "else": { + "operation": "boost", + "score": -0.004573109559714794 + } + }, + "else": { + "operation": "boost", + "score": -0.5126512050628662 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.018847787752747536 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20510.0, + "then": { + "operation": "boost", + "score": -0.16394731402397156 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.1013222262263298 + }, + "else": { + "operation": "boost", + "score": 0.0708022192120552 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12447784096002579 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01057424582540989 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.02474166825413704 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5833333730697632, + "then": { + "operation": "boost", + "score": 0.13135065138339996 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 0.031145166605710983 + }, + "else": { + "operation": "boost", + "score": 0.11618729680776596 + } + }, + "else": { + "operation": "boost", + "score": -0.6646227836608887 + } + }, + "else": { + "operation": "boost", + "score": -0.07685066759586334 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.26153475046157837 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": 0.10369322448968887 + }, + "else": { + "operation": "boost", + "score": 0.08416080474853516 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08282847702503204 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06944242864847183 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": 0.3330828845500946 + }, + "else": { + "operation": "boost", + "score": 0.211892768740654 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": -0.6412124037742615 + }, + "else": { + "operation": "boost", + "score": -0.059334490448236465 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": 0.08216653764247894 + }, + "else": { + "operation": "boost", + "score": -0.030637508258223534 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.11547267436981201 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.0013969243736937642 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "boost", + "score": 0.08460716158151627 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.16287311911582947 + }, + "else": { + "operation": "boost", + "score": -0.037009622901678085 + } + } + }, + "else": { + "operation": "boost", + "score": 0.033659473061561584 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0008188149658963084 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0018717256607487798 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.12744779884815216 + }, + "else": { + "operation": "boost", + "score": -0.026753833517432213 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0003313148918095976 + } + }, + { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.0010340693406760693 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.00977100245654583 + }, + "else": { + "operation": "boost", + "score": 0.040800515562295914 + } + }, + "else": { + "operation": "boost", + "score": 0.004357234574854374 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19049.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20297.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107021.0, + "then": { + "operation": "boost", + "score": 0.05921294167637825 + }, + "else": { + "operation": "boost", + "score": -0.14153078198432922 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.05231042206287384 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.07977164536714554 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10764674097299576 + }, + "else": { + "operation": "boost", + "score": 0.15929162502288818 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 126.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 128.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 348.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.09458060562610626 + }, + "else": { + "operation": "boost", + "score": 0.15304826200008392 + } + }, + "else": { + "operation": "boost", + "score": -0.28047776222229004 + } + }, + "else": { + "operation": "boost", + "score": 0.15970081090927124 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 137.5, + "then": { + "operation": "boost", + "score": -0.09669370204210281 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": 0.19814862310886383 + }, + "else": { + "operation": "boost", + "score": 0.05207948014140129 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1859825700521469 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6190476417541504, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.0, + "then": { + "operation": "boost", + "score": -0.11422621458768845 + }, + "else": { + "operation": "boost", + "score": 0.275857150554657 + } + }, + "else": { + "operation": "boost", + "score": -0.23085732758045197 + } + }, + "else": { + "operation": "boost", + "score": -0.0013455427251756191 + } + }, + "else": { + "operation": "boost", + "score": 0.07553237676620483 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03222213312983513 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.00794920139014721 + }, + "else": { + "operation": "boost", + "score": -0.019234564155340195 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.014152809046208858 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": -0.061390869319438934 + }, + "else": { + "operation": "boost", + "score": 0.1164303570985794 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.09634160995483398 + }, + "else": { + "operation": "boost", + "score": 0.14888045191764832 + } + }, + "else": { + "operation": "boost", + "score": -0.1190553605556488 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 367.5, + "then": { + "operation": "boost", + "score": -0.3707546591758728 + }, + "else": { + "operation": "boost", + "score": 0.013386226259171963 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "boost", + "score": 0.15622195601463318 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.17791233956813812 + }, + "else": { + "operation": "boost", + "score": 0.1444680094718933 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.18229830265045166 + }, + "else": { + "operation": "boost", + "score": -0.032402005046606064 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.05959658324718475 + }, + "else": { + "operation": "boost", + "score": -0.14156252145767212 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": -0.048192135989665985 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11069852113723755 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.046460844576358795 + }, + "else": { + "operation": "boost", + "score": 0.12190036475658417 + } + }, + "else": { + "operation": "boost", + "score": 0.056120824068784714 + } + }, + "else": { + "operation": "boost", + "score": -0.06823164969682693 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.13155825436115265 + }, + "else": { + "operation": "boost", + "score": 0.07138953357934952 + } + }, + "else": { + "operation": "boost", + "score": -0.04047468304634094 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.006769618950784206 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08967070281505585 + }, + "else": { + "operation": "boost", + "score": 0.13041600584983826 + } + } + }, + "else": { + "operation": "boost", + "score": -0.051516514271497726 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": 0.04363810643553734 + }, + "else": { + "operation": "boost", + "score": -0.021265344694256783 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.0, + "then": { + "operation": "boost", + "score": -0.03945392742753029 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79.0, + "then": { + "operation": "boost", + "score": 0.11617469042539597 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "boost", + "score": -0.010470082983374596 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58.5, + "then": { + "operation": "boost", + "score": 0.15850205719470978 + }, + "else": { + "operation": "boost", + "score": 0.08075249940156937 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.06456397473812103 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00441723270341754 + }, + "else": { + "operation": "boost", + "score": 0.13430672883987427 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.08945433050394058 + }, + "else": { + "operation": "boost", + "score": 0.0028666530270129442 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.11149422079324722 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.013722638599574566 + }, + "else": { + "operation": "boost", + "score": -0.26654210686683655 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "boost", + "score": 0.3979248106479645 + }, + "else": { + "operation": "boost", + "score": -0.10154261440038681 + } + }, + "else": { + "operation": "boost", + "score": 0.02741674892604351 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.004186372272670269 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123410.5, + "then": { + "operation": "boost", + "score": -3.3753154277801514 + }, + "else": { + "operation": "boost", + "score": -0.05324548855423927 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10046844929456711 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.06938831508159637 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06917565315961838 + }, + "else": { + "operation": "boost", + "score": -0.027119427919387817 + } + }, + "else": { + "operation": "boost", + "score": -0.2950431704521179 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0029395839665085077 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013540792278945446 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 318.0, + "then": { + "operation": "boost", + "score": -0.10159600526094437 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 246.5, + "then": { + "operation": "boost", + "score": 0.27397847175598145 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.5, + "then": { + "operation": "boost", + "score": -0.13872887194156647 + }, + "else": { + "operation": "boost", + "score": 0.17676201462745667 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.037087179720401764 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23737.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04237362742424011 + }, + "else": { + "operation": "boost", + "score": 0.0771266520023346 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.11901114881038666 + }, + "else": { + "operation": "boost", + "score": -0.015197151340544224 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": 0.14960525929927826 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.1432460993528366 + }, + "else": { + "operation": "boost", + "score": 0.23810695111751556 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.40806710720062256 + }, + "else": { + "operation": "boost", + "score": 0.15369518101215363 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08337413519620895 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.010039162822067738 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 270.0, + "then": { + "operation": "boost", + "score": -0.026091165840625763 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 178.5, + "then": { + "operation": "boost", + "score": 0.09694814682006836 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 166.5, + "then": { + "operation": "boost", + "score": 0.18508172035217285 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120.5, + "then": { + "operation": "boost", + "score": 0.04315142706036568 + }, + "else": { + "operation": "boost", + "score": 0.1424558013677597 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84.0, + "then": { + "operation": "boost", + "score": -0.34897729754447937 + }, + "else": { + "operation": "boost", + "score": 0.09038704633712769 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.14779676496982574 + } + }, + "else": { + "operation": "boost", + "score": 0.008044593967497349 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1941809058189392 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0717831626534462 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 739.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3455.5, + "then": { + "operation": "boost", + "score": 0.09185352176427841 + }, + "else": { + "operation": "boost", + "score": 0.147108793258667 + } + }, + "else": { + "operation": "boost", + "score": -0.10538287460803986 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.22794502973556519 + }, + "else": { + "operation": "boost", + "score": 0.040550604462623596 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 302.0, + "then": { + "operation": "boost", + "score": -0.469855397939682 + }, + "else": { + "operation": "boost", + "score": -0.0354030504822731 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06890193372964859 + }, + "else": { + "operation": "boost", + "score": 0.10539340227842331 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01832405850291252 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006511671468615532 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148.5, + "then": { + "operation": "boost", + "score": -0.017326753586530685 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.1283216029405594 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11361591517925262 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.09793592244386673 + }, + "else": { + "operation": "boost", + "score": -0.2154294103384018 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0035732234828174114 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0005623570177704096 + }, + "else": { + "operation": "boost", + "score": -0.002394032897427678 + } + } + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.012828750535845757 + }, + "else": { + "operation": "boost", + "score": 0.004616008140146732 + } + }, + "else": { + "operation": "boost", + "score": 0.0003361884446348995 + } + }, + "else": { + "operation": "boost", + "score": 0.0004818516317754984 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.0009564811480231583 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 368430.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.12645940482616425 + }, + "else": { + "operation": "boost", + "score": 0.05943805351853371 + } + }, + "else": { + "operation": "boost", + "score": 0.030491255223751068 + } + }, + "else": { + "operation": "boost", + "score": 0.009110996499657631 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "boost", + "score": 0.026018181815743446 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, + "then": { + "operation": "boost", + "score": -0.030940482392907143 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263945.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": -0.13942420482635498 + }, + "else": { + "operation": "boost", + "score": 0.08556574583053589 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0010097638005390763 + }, + "else": { + "operation": "boost", + "score": 0.01657867804169655 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07767973840236664 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.042297616600990295 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.13076448440551758 + }, + "else": { + "operation": "boost", + "score": -0.031062370166182518 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.0440199039876461 + }, + "else": { + "operation": "boost", + "score": -0.01591833308339119 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05342138186097145 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.005422063637524843 + }, + "else": { + "operation": "boost", + "score": 0.08720025420188904 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.022727273404598236, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.011408981867134571 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.007429703138768673 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.02117789350450039 + }, + "else": { + "operation": "boost", + "score": -0.06946586072444916 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.055481743067502975 + } + }, + "else": { + "operation": "boost", + "score": -0.0341188870370388 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18465909361839294, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.007502318359911442 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.0282040573656559 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.24309226870536804 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.012593698687851429 + }, + "else": { + "operation": "boost", + "score": 0.07585714012384415 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0883827805519104 + }, + "else": { + "operation": "boost", + "score": -0.05007272958755493 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12806519865989685 + }, + "else": { + "operation": "boost", + "score": 0.06419746577739716 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.030382169410586357 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.06695858389139175 + }, + "else": { + "operation": "boost", + "score": 0.4228033721446991 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": 0.003360023256391287 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0707661435008049 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08905031532049179 + }, + "else": { + "operation": "boost", + "score": -0.10222882032394409 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0357246957719326 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.007550030946731567 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.02287282980978489 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006256320513784885 + }, + "else": { + "operation": "boost", + "score": 0.08241478353738785 + } + } + }, + "else": { + "operation": "boost", + "score": 0.007937203161418438 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.032826680690050125 + }, + "else": { + "operation": "boost", + "score": -0.05726964771747589 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0028794892132282257 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.024177493527531624 + }, + "else": { + "operation": "boost", + "score": -0.20260243117809296 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1673.5, + "then": { + "operation": "boost", + "score": 0.030293811112642288 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.1170412003993988 + }, + "else": { + "operation": "boost", + "score": 0.066253162920475 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.04545454680919647, + "then": { + "operation": "boost", + "score": 0.1144193783402443 + }, + "else": { + "operation": "boost", + "score": 0.06230400502681732 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99.5, + "then": { + "operation": "boost", + "score": 0.045506253838539124 + }, + "else": { + "operation": "boost", + "score": 0.12327919900417328 + } + }, + "else": { + "operation": "boost", + "score": 0.0033772673923522234 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.19981545209884644 + }, + "else": { + "operation": "boost", + "score": 0.1718015968799591 + } + }, + "else": { + "operation": "boost", + "score": 0.018716897815465927 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08808711171150208 + }, + "else": { + "operation": "boost", + "score": -0.000827132782433182 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.009427818469703197 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.18714606761932373 + }, + "else": { + "operation": "boost", + "score": -0.0780431479215622 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.028027920052409172 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10200362652540207 + }, + "else": { + "operation": "boost", + "score": 0.1365889608860016 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.008912676945328712 + } + }, + "else": { + "operation": "boost", + "score": 0.04449954628944397 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.04592491686344147 + }, + "else": { + "operation": "boost", + "score": -0.0073208617977797985 + } + }, + "else": { + "operation": "boost", + "score": -0.01722591556608677 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273295.0, + "then": { + "operation": "boost", + "score": -0.1109352707862854 + }, + "else": { + "operation": "boost", + "score": -0.016672169789671898 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00461661396548152 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "boost", + "score": -0.020973864942789078 + }, + "else": { + "operation": "boost", + "score": 0.001360265421681106 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21360.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04475614055991173 + }, + "else": { + "operation": "boost", + "score": -0.035499271005392075 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.027468791231513023 + }, + "else": { + "operation": "boost", + "score": -2.294180393218994 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0133458711206913 + }, + "else": { + "operation": "boost", + "score": 0.14439883828163147 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": -0.11719121783971786 + }, + "else": { + "operation": "boost", + "score": 0.09686118364334106 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.21319101750850677 + } + }, + "else": { + "operation": "boost", + "score": 0.023954574018716812 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.056397803127765656 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.057460684329271317 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1876213252544403 + }, + "else": { + "operation": "boost", + "score": -0.0003596088499762118 + } + } + }, + "else": { + "operation": "boost", + "score": 0.021241411566734314 + } + }, + "else": { + "operation": "boost", + "score": 0.01759721338748932 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18069.5, + "then": { + "operation": "boost", + "score": 0.10876457393169403 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.003373744897544384 + }, + "else": { + "operation": "boost", + "score": 0.054462894797325134 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1104.5, + "then": { + "operation": "boost", + "score": -0.3149561285972595 + }, + "else": { + "operation": "boost", + "score": 0.05086645111441612 + } + }, + "else": { + "operation": "boost", + "score": -0.1375562697649002 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0220491960644722 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.014791904017329216 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.027783378958702087 + }, + "else": { + "operation": "boost", + "score": -0.09127666056156158 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": -0.01793511211872101 + }, + "else": { + "operation": "boost", + "score": -0.15112349390983582 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.20340481400489807 + }, + "else": { + "operation": "boost", + "score": 0.019239775836467743 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.011682243086397648 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.010286040604114532 + }, + "else": { + "operation": "boost", + "score": -0.05250777304172516 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.06528730690479279 + }, + "else": { + "operation": "boost", + "score": 0.010450853034853935 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.008050629869103432 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13260358572006226 + }, + "else": { + "operation": "boost", + "score": 0.00702510355040431 + } + }, + "else": { + "operation": "boost", + "score": -0.0003372419159859419 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06971387565135956 + }, + "else": { + "operation": "boost", + "score": -0.019581977277994156 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0009657945483922958 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14372.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15158.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15677.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16126.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16170.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0035041123628616333 + }, + "else": { + "operation": "boost", + "score": -0.009365526027977467 + } + }, + "else": { + "operation": "boost", + "score": -0.1803659051656723 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07421792298555374 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16033.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.12430448085069656 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.09089646488428116 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.0, + "then": { + "operation": "boost", + "score": 0.1897999495267868 + }, + "else": { + "operation": "boost", + "score": -0.10057473182678223 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00017187716730404645 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15964.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.0919816717505455, + "then": { + "operation": "boost", + "score": 0.12129112333059311 + }, + "else": { + "operation": "boost", + "score": 0.1334044486284256 + } + }, + "else": { + "operation": "boost", + "score": 0.10601187497377396 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15687.5, + "then": { + "operation": "boost", + "score": 0.03594502434134483 + }, + "else": { + "operation": "boost", + "score": 0.07383687049150467 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.12934301793575287 + }, + "else": { + "operation": "boost", + "score": 0.02967831864953041 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15389.0, + "then": { + "operation": "boost", + "score": -0.1088445857167244 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06888314336538315 + }, + "else": { + "operation": "boost", + "score": -0.02457386627793312 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14845.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.10803373903036118 + }, + "else": { + "operation": "boost", + "score": 0.10715392976999283 + } + }, + "else": { + "operation": "boost", + "score": 0.05028427019715309 + } + }, + "else": { + "operation": "boost", + "score": 0.03386608138680458 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15079.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03122262842953205 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": -0.06047037988901138 + }, + "else": { + "operation": "boost", + "score": 0.1609697788953781 + } + }, + "else": { + "operation": "boost", + "score": -0.3016008138656616 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14408.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14845.0, + "then": { + "operation": "boost", + "score": 0.0712692067027092 + }, + "else": { + "operation": "boost", + "score": -0.03505285084247589 + } + }, + "else": { + "operation": "boost", + "score": 0.1280476599931717 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.11209006607532501 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14599.5, + "then": { + "operation": "boost", + "score": -0.039773374795913696 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.10407532751560211 + }, + "else": { + "operation": "boost", + "score": 0.2082744836807251 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03525437042117119 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13666.0, + "then": { + "operation": "boost", + "score": -0.05111447349190712 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12990.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.055144187062978745 + }, + "else": { + "operation": "boost", + "score": 0.032474979758262634 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008417613804340363 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13599.5, + "then": { + "operation": "boost", + "score": 0.03745046257972717 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 1.9708610773086548 + }, + "else": { + "operation": "boost", + "score": -0.10101968050003052 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10190887004137039 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13130.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13159.0, + "then": { + "operation": "boost", + "score": 0.014225159771740437 + }, + "else": { + "operation": "boost", + "score": -0.28136903047561646 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.081771120429039 + }, + "else": { + "operation": "boost", + "score": 0.1345331221818924 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.040442414581775665 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.2079620063304901 + }, + "else": { + "operation": "boost", + "score": 0.09331492334604263 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12720.5, + "then": { + "operation": "boost", + "score": -0.08421371132135391 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12677.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.07777668535709381 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.14352937042713165 + }, + "else": { + "operation": "boost", + "score": 0.10847757011651993 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.30916252732276917 + }, + "else": { + "operation": "boost", + "score": 0.07442381978034973 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10403.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10966.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11101.5, + "then": { + "operation": "boost", + "score": 0.025091471150517464 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.10045816749334335 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.00617872504517436 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.15885113179683685 + }, + "else": { + "operation": "boost", + "score": -0.03970901668071747 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09575733542442322 + }, + "else": { + "operation": "boost", + "score": 0.41146108508110046 + } + }, + "else": { + "operation": "boost", + "score": -0.0017585627501830459 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.123187355697155 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11554.5, + "then": { + "operation": "boost", + "score": 0.10338879376649857 + }, + "else": { + "operation": "boost", + "score": 0.13949079811573029 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11214.0, + "then": { + "operation": "boost", + "score": 0.07426393777132034 + }, + "else": { + "operation": "boost", + "score": -0.23405736684799194 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.10172607749700546 + }, + "else": { + "operation": "boost", + "score": 0.15392278134822845 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11855.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12457503378391266 + }, + "else": { + "operation": "boost", + "score": 0.06811664253473282 + } + }, + "else": { + "operation": "boost", + "score": -0.11815718561410904 + } + }, + "else": { + "operation": "boost", + "score": -0.02136162295937538 + } + } + }, + "else": { + "operation": "boost", + "score": -0.020887773483991623 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05777952820062637 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10295.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.16839613020420074 + }, + "else": { + "operation": "boost", + "score": -0.10649281740188599 + } + }, + "else": { + "operation": "boost", + "score": 0.11703060567378998 + } + }, + "else": { + "operation": "boost", + "score": 0.015644898638129234 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7917.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9027.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10082.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10145.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11181073635816574 + }, + "else": { + "operation": "boost", + "score": 0.002714512636885047 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.13015812635421753 + }, + "else": { + "operation": "boost", + "score": 0.04344042018055916 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.09748747199773788 + }, + "else": { + "operation": "boost", + "score": 0.1271021068096161 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.12151312828063965 + }, + "else": { + "operation": "boost", + "score": 0.16960546374320984 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9336.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.2852044403553009 + }, + "else": { + "operation": "boost", + "score": -0.015142427757382393 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.06823670864105225 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10588637739419937 + }, + "else": { + "operation": "boost", + "score": 0.19883500039577484 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.15143461525440216 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9135.0, + "then": { + "operation": "boost", + "score": 0.04004047438502312 + }, + "else": { + "operation": "boost", + "score": -0.1419990062713623 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00418293010443449 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0017099534161388874 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.1710485816001892 + }, + "else": { + "operation": "boost", + "score": -0.06620621681213379 + } + }, + "else": { + "operation": "boost", + "score": -0.10733892023563385 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8445.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8884.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8905.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.11765310913324356 + }, + "else": { + "operation": "boost", + "score": 1.150951862335205 + } + }, + "else": { + "operation": "boost", + "score": 0.004603848792612553 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.11819352954626083 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.07472161948680878 + }, + "else": { + "operation": "boost", + "score": 0.1857932060956955 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04752618074417114 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8337.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8385.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8416.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.12094645202159882 + }, + "else": { + "operation": "boost", + "score": 0.1437850445508957 + } + }, + "else": { + "operation": "boost", + "score": 0.08901721239089966 + } + }, + "else": { + "operation": "boost", + "score": 0.17186565697193146 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": -0.10027886927127838 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.21822252869606018 + }, + "else": { + "operation": "boost", + "score": -0.1024213656783104 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11511650681495667 + }, + "else": { + "operation": "boost", + "score": 0.09033394604921341 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8158.0, + "then": { + "operation": "boost", + "score": -0.0014758111210539937 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7957.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.1471228003501892 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7960.0, + "then": { + "operation": "boost", + "score": 0.1445208489894867 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.05188019201159477 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12564416229724884 + }, + "else": { + "operation": "boost", + "score": 0.13776181638240814 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05161791294813156 + } + }, + "else": { + "operation": "boost", + "score": 0.008276225998997688 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.007331099361181259 + } + } + }, + "else": { + "operation": "boost", + "score": -7.641374395461753e-05 + } + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.003264110069721937 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3506873548030853 + }, + "else": { + "operation": "boost", + "score": 0.009375886991620064 + } + }, + "else": { + "operation": "boost", + "score": 0.0002257624437334016 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "boost", + "score": -0.17634665966033936 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "boost", + "score": 0.12808075547218323 + }, + "else": { + "operation": "boost", + "score": 0.11073604226112366 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020878272131085396 + } + }, + "else": { + "operation": "boost", + "score": -0.0766461119055748 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.12044935673475266 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "boost", + "score": 0.008179529570043087 + }, + "else": { + "operation": "boost", + "score": 0.1313956379890442 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.09560336917638779 + }, + "else": { + "operation": "boost", + "score": 0.029003262519836426 + } + }, + "else": { + "operation": "boost", + "score": 0.052604783326387405 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.875, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07438682019710541 + }, + "else": { + "operation": "boost", + "score": -0.059588655829429626 + } + }, + "else": { + "operation": "boost", + "score": -0.05298245698213577 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.12764589488506317 + }, + "else": { + "operation": "boost", + "score": -0.14714157581329346 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": 0.05034945532679558 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.035476088523864746 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.06497775763273239 + }, + "else": { + "operation": "boost", + "score": 0.04472828283905983 + } + }, + "else": { + "operation": "boost", + "score": -0.027605576440691948 + } + }, + "else": { + "operation": "boost", + "score": -0.0351678766310215 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": 0.021092142909765244 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.13774192333221436 + }, + "else": { + "operation": "boost", + "score": -0.03350822255015373 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.09965476393699646 + }, + "else": { + "operation": "boost", + "score": -0.02262839674949646 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.23443223536014557, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.008169997483491898 + }, + "else": { + "operation": "boost", + "score": 0.020421752706170082 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.11997673660516739 + }, + "else": { + "operation": "boost", + "score": -0.15892240405082703 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14642858505249023, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": 0.21207594871520996 + }, + "else": { + "operation": "boost", + "score": 0.08033367246389389 + } + }, + "else": { + "operation": "boost", + "score": -0.02476922981441021 + } + }, + "else": { + "operation": "boost", + "score": 0.005698629654943943 + } + }, + "else": { + "operation": "boost", + "score": -0.0152140436694026 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.00921063032001257 + }, + "else": { + "operation": "boost", + "score": -0.16813194751739502 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1058914065361023 + }, + "else": { + "operation": "boost", + "score": 0.0866168811917305 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.0454183854162693 + }, + "else": { + "operation": "boost", + "score": 0.06038025766611099 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.13809524476528168, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.11376953125 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.03167149797081947 + }, + "else": { + "operation": "boost", + "score": 0.003306516446173191 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.08627994358539581 + }, + "else": { + "operation": "boost", + "score": 0.05114275589585304 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.43572309613227844 + }, + "else": { + "operation": "boost", + "score": 0.004165898077189922 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.017237482592463493 + }, + "else": { + "operation": "boost", + "score": 0.013414701446890831 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004602217581123114 + }, + "else": { + "operation": "boost", + "score": -0.02389409951865673 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": -0.16780488193035126 + }, + "else": { + "operation": "boost", + "score": 0.023549752309918404 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, + "then": { + "operation": "boost", + "score": 0.1309071183204651 + }, + "else": { + "operation": "boost", + "score": 0.044688090682029724 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01528547890484333 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8452380895614624, + "then": { + "operation": "boost", + "score": 0.0806574672460556 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.06906836479902267 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, + "then": { + "operation": "boost", + "score": 0.014307617209851742 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.10992980748414993 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "boost", + "score": -0.03401442617177963 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1001230925321579 + }, + "else": { + "operation": "boost", + "score": -0.02965199388563633 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": 0.07172486931085587 + }, + "else": { + "operation": "boost", + "score": 0.1251825988292694 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": 0.016915250569581985 + }, + "else": { + "operation": "boost", + "score": -0.01208247896283865 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.010010361671447754 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.02498052828013897 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.028943508863449097 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "boost", + "score": -0.05921999737620354 + }, + "else": { + "operation": "boost", + "score": -0.44207850098609924 + } + }, + "else": { + "operation": "boost", + "score": -0.0041506350971758366 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.008128098212182522 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0030462932772934437 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.11585478484630585 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129493.5, + "then": { + "operation": "boost", + "score": -0.21545323729515076 + }, + "else": { + "operation": "boost", + "score": -0.008294439874589443 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.08526869118213654 + }, + "else": { + "operation": "boost", + "score": 0.16861245036125183 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1021943986415863 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.1318020224571228 + }, + "else": { + "operation": "boost", + "score": -0.10097780078649521 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8541666269302368, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.24480144679546356 + }, + "else": { + "operation": "boost", + "score": 0.04353208839893341 + } + }, + "else": { + "operation": "boost", + "score": 0.06188097968697548 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": -0.008902235887944698 + }, + "else": { + "operation": "boost", + "score": -0.20484600961208344 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234.0, + "then": { + "operation": "boost", + "score": -0.1623237282037735 + }, + "else": { + "operation": "boost", + "score": 0.1494009792804718 + } + }, + "else": { + "operation": "boost", + "score": 0.016173573210835457 + } + }, + "else": { + "operation": "boost", + "score": 0.8656002283096313 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.01854240521788597 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": 0.07971157878637314 + }, + "else": { + "operation": "boost", + "score": -0.046286292374134064 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": -0.2155071198940277 + }, + "else": { + "operation": "boost", + "score": -0.009406396187841892 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.612500011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.054804105311632156 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.67722487449646 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07785462588071823 + }, + "else": { + "operation": "boost", + "score": 0.03725242242217064 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1177077442407608 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1961524933576584 + }, + "else": { + "operation": "boost", + "score": 0.07323724031448364 + } + } + }, + "else": { + "operation": "boost", + "score": -0.25202617049217224 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04323660582304001 + }, + "else": { + "operation": "boost", + "score": 0.02901238575577736 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.008498339913785458 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0017439215444028378 + }, + "else": { + "operation": "boost", + "score": -0.1316683292388916 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.006556342821568251 + }, + "else": { + "operation": "boost", + "score": -0.007002220489084721 + } + }, + "else": { + "operation": "boost", + "score": 0.0021026807371526957 + } + }, + "else": { + "operation": "boost", + "score": -0.005520411767065525 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.003001431468874216 + }, + "else": { + "operation": "boost", + "score": -0.00209369626827538 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.006678012665361166 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10507465153932571 + }, + "else": { + "operation": "boost", + "score": -0.0020220403093844652 + } + }, + "else": { + "operation": "boost", + "score": -0.07745368033647537 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006157553289085627 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0004272129153832793 + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.10901042819023132 + }, + "else": { + "operation": "boost", + "score": 0.03715813159942627 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.057405222207307816 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71820.5, + "then": { + "operation": "boost", + "score": 0.04215262457728386 + }, + "else": { + "operation": "boost", + "score": -0.04061729833483696 + } + }, + "else": { + "operation": "boost", + "score": 0.011964847333729267 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": 0.08968928456306458 + }, + "else": { + "operation": "boost", + "score": -0.05482078343629837 + } + }, + "else": { + "operation": "boost", + "score": -0.09934351593255997 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.0011457462096586823 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5277777910232544, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "boost", + "score": 0.07457973062992096 + }, + "else": { + "operation": "boost", + "score": 0.11119631677865982 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04053334519267082 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.10621203482151031 + }, + "else": { + "operation": "boost", + "score": -0.15587377548217773 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.012021339498460293 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.0722082182765007 + }, + "else": { + "operation": "boost", + "score": 0.0975220799446106 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.4203464090824127 + }, + "else": { + "operation": "boost", + "score": 0.10522758960723877 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.07760561257600784 + }, + "else": { + "operation": "boost", + "score": -0.15497159957885742 + } + }, + "else": { + "operation": "boost", + "score": 0.1536083221435547 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.3661811947822571 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.0255274660885334 + }, + "else": { + "operation": "boost", + "score": 0.10559382289648056 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.6111412048339844 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.046160921454429626 + }, + "else": { + "operation": "boost", + "score": -0.019150827080011368 + } + } + }, + "else": { + "operation": "boost", + "score": 0.043387629091739655 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0287712961435318 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3369.5, + "then": { + "operation": "boost", + "score": 0.018338466063141823 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 309.5, + "then": { + "operation": "boost", + "score": 0.11466530710458755 + }, + "else": { + "operation": "boost", + "score": 0.1666877716779709 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.037728242576122284 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.018507005646824837 + }, + "else": { + "operation": "boost", + "score": -0.1592172086238861 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06636658310890198 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.08083230257034302 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.14362812042236328 + }, + "else": { + "operation": "boost", + "score": -0.41596490144729614 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03323635831475258 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "boost", + "score": 0.03815658390522003 + }, + "else": { + "operation": "boost", + "score": -0.0008150962530635297 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "boost", + "score": 0.033956412225961685 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08502738177776337 + }, + "else": { + "operation": "boost", + "score": -0.22718143463134766 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02855616807937622 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.02612427994608879 + }, + "else": { + "operation": "boost", + "score": 0.1125035285949707 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.8925219774246216 + }, + "else": { + "operation": "boost", + "score": -0.1114160567522049 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06414251774549484 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.03465850651264191 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.049358487129211426 + }, + "else": { + "operation": "boost", + "score": -0.04166421666741371 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.03434648737311363 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44999998807907104, + "then": { + "operation": "boost", + "score": 0.030213341116905212 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.6463026404380798 + }, + "else": { + "operation": "boost", + "score": -0.20188063383102417 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, + "then": { + "operation": "boost", + "score": -0.20298460125923157 + }, + "else": { + "operation": "boost", + "score": -0.05639920383691788 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": -0.06541140377521515 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": -0.7067705988883972 + }, + "else": { + "operation": "boost", + "score": -0.21908219158649445 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08388136327266693 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02607531100511551 + }, + "else": { + "operation": "boost", + "score": 0.1874329149723053 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": -0.2264515608549118 + }, + "else": { + "operation": "boost", + "score": -0.059037454426288605 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": 0.16408449411392212 + }, + "else": { + "operation": "boost", + "score": -0.1283629983663559 + } + }, + "else": { + "operation": "boost", + "score": -0.08296842873096466 + } + } + }, + "else": { + "operation": "boost", + "score": -0.535735011100769 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00019356637494638562 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.028717007488012314 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": 0.1039828211069107 + }, + "else": { + "operation": "boost", + "score": 0.03493119776248932 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.07895570993423462 + }, + "else": { + "operation": "boost", + "score": 0.12587878108024597 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.008968859910964966 + }, + "else": { + "operation": "boost", + "score": 0.10953187942504883 + } + }, + "else": { + "operation": "boost", + "score": -0.025656381621956825 + } + }, + "else": { + "operation": "boost", + "score": 0.11047646403312683 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09442684799432755 + }, + "else": { + "operation": "boost", + "score": 0.08212263882160187 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1769106537103653 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10721.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83022.5, + "then": { + "operation": "boost", + "score": 0.04278842732310295 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36980.0, + "then": { + "operation": "boost", + "score": 0.18370972573757172 + }, + "else": { + "operation": "boost", + "score": 0.11625964194536209 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1565.0, + "then": { + "operation": "boost", + "score": -0.41609495878219604 + }, + "else": { + "operation": "boost", + "score": -0.02966233715415001 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.0, + "then": { + "operation": "boost", + "score": -0.6560274362564087 + }, + "else": { + "operation": "boost", + "score": -0.030761003494262695 + } + } + }, + "else": { + "operation": "boost", + "score": 0.023140033707022667 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.06553822755813599 + }, + "else": { + "operation": "boost", + "score": -0.1382266730070114 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01673804596066475 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": 0.11174428462982178 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 173.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.0843639150261879 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176.5, + "then": { + "operation": "boost", + "score": 0.016053898259997368 + }, + "else": { + "operation": "boost", + "score": 0.10591867566108704 + } + } + }, + "else": { + "operation": "boost", + "score": -0.17780271172523499 + } + }, + "else": { + "operation": "boost", + "score": 0.11175883561372757 + } + } + }, + "else": { + "operation": "boost", + "score": -0.16764762997627258 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1227714866399765 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, + "then": { + "operation": "boost", + "score": -0.20009024441242218 + }, + "else": { + "operation": "boost", + "score": 0.09924788773059845 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.24921177327632904 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.5, + "then": { + "operation": "boost", + "score": -0.37423548102378845 + }, + "else": { + "operation": "boost", + "score": 0.041051801294088364 + } + }, + "else": { + "operation": "boost", + "score": -0.10370370000600815 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07948167622089386, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09226870536804199 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2083333432674408, + "then": { + "operation": "boost", + "score": -0.005118700210005045 + }, + "else": { + "operation": "boost", + "score": -0.5102033019065857 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1037333607673645 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.13505318760871887 + }, + "else": { + "operation": "boost", + "score": 0.07233163714408875 + } + }, + "else": { + "operation": "boost", + "score": 0.10138405114412308 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": -0.37597933411598206 + }, + "else": { + "operation": "boost", + "score": 0.022890042513608932 + } + }, + "else": { + "operation": "boost", + "score": -0.28156018257141113 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4722222089767456, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.13177257776260376 + }, + "else": { + "operation": "boost", + "score": -0.13332630693912506 + } + }, + "else": { + "operation": "boost", + "score": 0.12394938617944717 + } + }, + "else": { + "operation": "boost", + "score": 0.026550451293587685 + } + }, + "else": { + "operation": "boost", + "score": 0.000605607230681926 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00010324580216547474 + } + }, + { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07153547555208206 + }, + "else": { + "operation": "boost", + "score": -0.07405544072389603 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07908811420202255 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.01580861024558544 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "boost", + "score": -0.028112415224313736 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.20714285969734192, + "then": { + "operation": "boost", + "score": 0.1343599557876587 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18465909361839294, + "then": { + "operation": "boost", + "score": 0.02301115356385708 + }, + "else": { + "operation": "boost", + "score": 0.06451801210641861 + } + } + }, + "else": { + "operation": "boost", + "score": -0.001635247841477394 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10818713903427124, + "then": { + "operation": "boost", + "score": -0.0007960319635458291 + }, + "else": { + "operation": "boost", + "score": -0.06212626397609711 + } + }, + "else": { + "operation": "boost", + "score": 0.0037024852354079485 + } + }, + "else": { + "operation": "boost", + "score": 0.021566130220890045 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10707096010446548 + }, + "else": { + "operation": "boost", + "score": 0.0064408485777676105 + } + }, + "else": { + "operation": "boost", + "score": -0.010614694096148014 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01625225506722927 + }, + "else": { + "operation": "boost", + "score": 0.09023912250995636 + } + }, + "else": { + "operation": "boost", + "score": -0.01723232865333557 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.75, + "then": { + "operation": "boost", + "score": -0.004955691285431385 + }, + "else": { + "operation": "boost", + "score": 0.07669413089752197 + } + }, + "else": { + "operation": "boost", + "score": 0.003786474699154496 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.037954047322273254 + }, + "else": { + "operation": "boost", + "score": 0.015594263561069965 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.051839519292116165 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0797424167394638 + }, + "else": { + "operation": "boost", + "score": 0.08473264425992966 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.016914257779717445 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, + "then": { + "operation": "boost", + "score": -0.10138452798128128 + }, + "else": { + "operation": "boost", + "score": 0.02029474452137947 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04284725710749626 + } + }, + "else": { + "operation": "boost", + "score": -0.0015443336451426148 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 34.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.130020871758461 + }, + "else": { + "operation": "boost", + "score": -0.1602732241153717 + } + }, + "else": { + "operation": "boost", + "score": -0.12588457763195038 + } + }, + "else": { + "operation": "boost", + "score": -0.2814861536026001 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.046561527997255325 + }, + "else": { + "operation": "boost", + "score": 0.15770238637924194 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8571428656578064, + "then": { + "operation": "boost", + "score": -0.2670295536518097 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_Type" + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.09813294559717178 + }, + "else": { + "operation": "boost", + "score": -0.2171333283185959 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00887535884976387 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.10821136832237244 + }, + "else": { + "operation": "boost", + "score": 0.15316647291183472 + } + } + }, + "else": { + "operation": "boost", + "score": -0.030701443552970886 + } + }, + "else": { + "operation": "boost", + "score": 0.020078426226973534 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.03028619848191738 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10914188623428345 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 30.5, + "then": { + "operation": "boost", + "score": 0.15147313475608826 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.4325912892818451 + }, + "else": { + "operation": "boost", + "score": -0.09333339333534241 + } + }, + "else": { + "operation": "boost", + "score": 0.14088718593120575 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0195540189743042 + } + }, + "else": { + "operation": "boost", + "score": 0.02418966218829155 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03918461874127388 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09612960368394852 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10238252580165863 + }, + "else": { + "operation": "boost", + "score": 0.05311477929353714 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0189192034304142 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.046602584421634674 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36980.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.19274787604808807 + }, + "else": { + "operation": "boost", + "score": 0.09543780237436295 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.06458333134651184, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.14131379127502441 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.12948040664196014 + }, + "else": { + "operation": "boost", + "score": -0.10274595022201538 + } + }, + "else": { + "operation": "boost", + "score": -0.008161724545061588 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12354326248168945 + }, + "else": { + "operation": "boost", + "score": -0.12174183875322342 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.17061744630336761 + }, + "else": { + "operation": "boost", + "score": -0.04172399267554283 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0657559186220169 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 25.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3205128312110901, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.3509986400604248 + }, + "else": { + "operation": "boost", + "score": 0.1818467229604721 + } + }, + "else": { + "operation": "boost", + "score": -0.04416912421584129 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06270391494035721 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.13423661887645721 + }, + "else": { + "operation": "boost", + "score": -0.07142744958400726 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.18709826469421387 + }, + "else": { + "operation": "boost", + "score": -0.11096404492855072 + } + }, + "else": { + "operation": "boost", + "score": -0.01564004458487034 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02340225875377655 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 558.0, + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.032992664724588394 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.004111388232558966 + "score": -0.10235980153083801 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11468975245952606 + "score": -0.13253523409366608 }, "else": { - "operation": "boost", - "score": 0.0943528264760971 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69539.5, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "boost", - "score": -0.02167423814535141 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7109.5, + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { + "operation": "boost", + "score": 0.02921346202492714 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, "then": { - "operation": "boost", - "score": 0.10144314914941788 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.12012193351984024 + }, + "else": { + "operation": "boost", + "score": 0.06412531435489655 + } }, "else": { "operation": "boost", - "score": 0.11411050707101822 + "score": 0.05844544246792793 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.04334588721394539 }, "else": { "operation": "boost", - "score": 0.06208343803882599 + "score": 0.025899328291416168 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.02844424545764923 }, "else": { "operation": "boost", - "score": -0.004836652893573046 + "score": -0.06994612514972687 } } } - }, - "else": { - "operation": "boost", - "score": 0.09777652472257614 } + } + }, + "else": { + "operation": "boost", + "score": -0.015635721385478973 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": -0.13653792440891266 + }, + "else": { + "operation": "boost", + "score": -0.02477451227605343 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.055183835327625275 }, "else": { + "operation": "boost", + "score": -0.0656089037656784 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.057259451597929, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 611.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.009757503867149353 - }, - "else": { - "operation": "boost", - "score": 0.08112356811761856 - } + "operation": "boost", + "score": 0.10763368010520935 }, "else": { "operation": "boost", - "score": 0.10018978267908096 + "score": 0.03671436756849289 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.035507019609212875 + } + }, + "else": { + "operation": "boost", + "score": -0.03983861953020096 + } + }, + "else": { + "operation": "boost", + "score": -0.0027320277877151966 + } + }, + "else": { + "operation": "boost", + "score": -0.022549008950591087 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00023631159274373204 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 143.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1566733866930008 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 144.5, + "then": { + "operation": "boost", + "score": 0.006182060576975346 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": -0.08429251611232758 + }, + "else": { + "operation": "boost", + "score": 0.14440174400806427 + } + }, + "else": { + "operation": "boost", + "score": -0.018516600131988525 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019455449655652046 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19512811303138733 + }, + "else": { + "operation": "boost", + "score": 0.44094178080558777 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02561151795089245 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 142.5, + "then": { + "operation": "boost", + "score": -0.08834530413150787 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.001418603234924376 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0132070854306221 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0011791492579504848 + }, + "else": { + "operation": "boost", + "score": -0.006547463126480579 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.0007184527348726988 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.023311985656619072 + }, + "else": { + "operation": "boost", + "score": -0.015267759561538696 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.011990376748144627 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008838364854454994 + }, + "else": { + "operation": "boost", + "score": 0.028571274131536484 + } + }, + "else": { + "operation": "boost", + "score": 0.007658597081899643 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.002962651662528515 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.009862770326435566 + }, + "else": { + "operation": "boost", + "score": 0.029346052557229996 + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25461.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32947.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44616.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47253.0, + "then": { + "operation": "boost", + "score": 0.02320082113146782 + }, + "else": { + "operation": "boost", + "score": 0.06230619177222252 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.2571876347064972 + }, + "else": { + "operation": "boost", + "score": -0.04567360505461693 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05105448141694069 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6406.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19643.0, + "then": { + "operation": "boost", + "score": -0.0685490071773529 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19203.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.12895700335502625 + }, + "else": { + "operation": "boost", + "score": 0.11939475685358047 + } + }, + "else": { + "operation": "boost", + "score": -0.003689663950353861 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": 0.0814533531665802 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.10050919651985168 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09436444193124771 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.024050235748291016 + }, + "else": { + "operation": "boost", + "score": -0.30878934264183044 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6360.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10702089220285416 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6388.5, + "then": { + "operation": "boost", + "score": 0.09617490321397781 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.12542498111724854 + }, + "else": { + "operation": "boost", + "score": 0.08455106616020203 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10507980734109879 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5870.0, + "then": { + "operation": "boost", + "score": -0.11787685751914978 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5523.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5579.5, + "then": { + "operation": "boost", + "score": 0.05020357668399811 + }, + "else": { + "operation": "boost", + "score": 0.14461179077625275 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 634.0, + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, "then": { "operation": "boost", - "score": 0.010365399532020092 + "score": 0.020966146141290665 }, "else": { - "operation": "boost", - "score": 0.1747329980134964 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.08672335743904114 + }, + "else": { + "operation": "boost", + "score": 0.03736511617898941 + } + }, + "else": { + "operation": "boost", + "score": 0.015665587037801743 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.032595645636320114 + "score": -0.06908457726240158 }, "else": { "operation": "boost", - "score": -0.4054372310638428 + "score": 0.007388540543615818 } } + }, + "else": { + "operation": "boost", + "score": 0.005772641859948635 } }, "else": { @@ -349673,622 +386252,2269 @@ "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_Statement", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04698091745376587 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.269696980714798, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7888889312744141, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1893010288476944 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": 0.0010298644192516804 + }, + "else": { + "operation": "boost", + "score": -0.7167338132858276 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.032270647585392 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0923716202378273 + }, + "else": { + "operation": "boost", + "score": -0.08598622679710388 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.06351396441459656 + }, + "else": { + "operation": "boost", + "score": 0.039094477891922 + } + }, + "else": { + "operation": "boost", + "score": -0.3235836327075958 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, + "then": { + "operation": "boost", + "score": 0.009499596431851387 + }, + "else": { + "operation": "boost", + "score": -0.01184885110706091 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1433647722005844 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.02105698175728321 + }, + "else": { + "operation": "boost", + "score": 0.022915182635188103 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10059922933578491 + }, + "else": { + "operation": "boost", + "score": -0.009732398204505444 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08295999467372894 + }, + "else": { + "operation": "boost", + "score": 0.032049939036369324 + } + } + } + } + } + }, + "else": { "operation": "boost", - "score": 0.08636423945426941 + "score": -0.0014247456565499306 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 193.5, + "then": { + "operation": "boost", + "score": 0.02366901934146881 + }, + "else": { + "operation": "boost", + "score": 0.12101747840642929 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119.0, + "then": { + "operation": "boost", + "score": -0.12603554129600525 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.01548160333186388 + }, + "else": { + "operation": "boost", + "score": -0.022590450942516327 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "boost", + "score": -0.2548324167728424 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.42222222685813904, + "then": { + "operation": "boost", + "score": 0.032816868275403976 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, + "then": { + "operation": "boost", + "score": 0.15581092238426208 + }, + "else": { + "operation": "boost", + "score": 0.04505274072289467 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020311495289206505 + } + } + } }, "else": { "operation": "boost", - "score": -0.34453830122947693 + "score": 0.000106193678220734 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.011669783852994442 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 474.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 612.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 657.5, + "threshold": 277.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3733.0, + "threshold": 406.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 477.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 498.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 607.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7144.0, + "feature": "FractionNameInContext", + "threshold": 0.0773809552192688, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 268815.5, - "then": { - "operation": "boost", - "score": 0.07468394935131073 - }, - "else": { - "operation": "boost", - "score": -0.025387294590473175 - } + "operation": "boost", + "score": 0.08511801809072495 + }, + "else": { + "operation": "boost", + "score": 0.0011247785296291113 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.27175623178482056 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5162.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11124803870916367 + "score": 0.08571306616067886 }, "else": { "operation": "boost", - "score": -0.028774376958608627 + "score": 0.09906323254108429 } } - }, - "else": { - "operation": "boost", - "score": 0.10530727356672287 } }, + "else": { + "operation": "boost", + "score": 0.13374511897563934 + } + }, + "else": { + "operation": "boost", + "score": -0.1438577026128769 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 394.5, + "then": { + "operation": "boost", + "score": 0.1280568391084671 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10493308305740356 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3994.0, + "threshold": 286.0, "then": { "operation": "boost", - "score": 0.00582013139501214 + "score": 0.029629185795783997 }, "else": { "operation": "boost", - "score": 0.061208467930555344 + "score": 0.0986485481262207 } } - }, - "else": { - "operation": "boost", - "score": -0.19084139168262482 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 70.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2715.0, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "boost", - "score": -0.48674771189689636 + "score": -0.11214601248502731 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1020.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.0, + "then": { + "operation": "boost", + "score": 0.07615137845277786 + }, + "else": { + "operation": "boost", + "score": -0.3967536389827728 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 166.5, + "then": { + "operation": "boost", + "score": 0.0465000681579113 + }, + "else": { + "operation": "boost", + "score": 0.12761476635932922 + } + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1049.5, + "threshold": 175.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1817.0, + "threshold": 176.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 234.5, "then": { + "operation": "boost", + "score": -0.2731361389160156 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2184.5, + "threshold": 220.0, "then": { "operation": "boost", - "score": 0.1302795559167862 + "score": 0.12298669666051865 }, "else": { "operation": "boost", - "score": -0.02572430670261383 + "score": 0.05236091837286949 } + } + }, + "else": { + "operation": "boost", + "score": 0.13289998471736908 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -1.6422371864318848 }, "else": { "operation": "boost", - "score": 0.12382940202951431 + "score": -0.12161683291196823 } }, "else": { "operation": "boost", - "score": 0.0010310913203284144 + "score": -0.06756269186735153 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.16317041218280792 }, "else": { "operation": "boost", - "score": 0.10611032694578171 + "score": 0.13804353773593903 } }, "else": { "operation": "boost", - "score": -0.08804783225059509 + "score": -0.0030586854554712772 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 686.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.06312979757785797 - }, - "else": { - "operation": "boost", - "score": -0.2239830642938614 - } + "operation": "boost", + "score": -0.026854364201426506 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, "then": { - "operation": "boost", - "score": 0.09259900450706482 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.0, + "then": { + "operation": "boost", + "score": 0.10573818534612656 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.1390971690416336 + }, + "else": { + "operation": "boost", + "score": 0.080037422478199 + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3308.0, + "threshold": 31.5, "then": { - "operation": "boost", - "score": 0.10111494362354279 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11665932834148407 + }, + "else": { + "operation": "boost", + "score": 0.16411222517490387 + } }, "else": { "operation": "boost", - "score": -0.014238185249269009 + "score": -0.029427440837025642 } } } }, + "else": { + "operation": "boost", + "score": -0.010252668522298336 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.35455477237701416 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 672.5, + "threshold": 33.5, "then": { "operation": "boost", - "score": -0.5300487279891968 + "score": -0.11889271438121796 }, "else": { "operation": "boost", - "score": -0.010616296902298927 + "score": 0.07754968851804733 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 884.0, - "then": { - "operation": "boost", - "score": -0.10086403042078018 - }, - "else": { - "operation": "boost", - "score": -0.8568227291107178 - } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.012277116999030113 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.007135351188480854 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 382.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 400.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.022636961191892624 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 569.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 826.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2446.5, + "then": { + "operation": "boost", + "score": 0.04364597052335739 + }, + "else": { + "operation": "boost", + "score": 0.11047214269638062 + } + }, + "else": { + "operation": "boost", + "score": 0.03638811036944389 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 745.5, + "then": { + "operation": "boost", + "score": 0.12015770375728607 + }, + "else": { + "operation": "boost", + "score": 0.06439972668886185 + } + } + }, + "else": { + "operation": "boost", + "score": -0.14639000594615936 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11481063812971115 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.1377071738243103 + }, + "else": { + "operation": "boost", + "score": 0.05902260169386864 + } + }, + "else": { + "operation": "boost", + "score": -0.019819138571619987 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.013199634850025177 + }, + "else": { + "operation": "boost", + "score": 0.0035141841508448124 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.875, + "then": { + "operation": "boost", + "score": -0.14306698739528656 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.1275458037853241 + }, + "else": { + "operation": "boost", + "score": 0.015876689925789833 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11538996547460556 + }, + "else": { + "operation": "boost", + "score": 0.009964835830032825 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04684371128678322 + }, + "else": { + "operation": "boost", + "score": -0.058129504323005676 + } + }, + "else": { + "operation": "boost", + "score": 0.01838085800409317 + } + }, + "else": { + "operation": "boost", + "score": -0.033590514212846756 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, + "then": { + "operation": "boost", + "score": 0.09226275980472565 + }, + "else": { + "operation": "boost", + "score": -0.037098463624715805 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.005481510888785124 + } + }, + "else": { + "operation": "boost", + "score": 0.0002670983667485416 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.0006786452140659094 + }, + "else": { + "operation": "boost", + "score": -0.006326609291136265 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0004520867660176009 + } + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, + "then": { + "operation": "boost", + "score": -0.011580000631511211 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04111652448773384 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1217019185423851 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.2376089245080948 + }, + "else": { + "operation": "boost", + "score": 0.06032702699303627 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.022740831598639488 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0013598876539617777 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.875, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10464941710233688 + }, + "else": { + "operation": "boost", + "score": -0.060932859778404236 + } + }, + "else": { + "operation": "boost", + "score": -0.1751461625099182 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.019231226295232773 + }, + "else": { + "operation": "boost", + "score": -0.16592609882354736 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008433796465396881 + }, + "else": { + "operation": "boost", + "score": -0.07218147814273834 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.36666667461395264, + "then": { + "operation": "boost", + "score": 0.15224669873714447 + }, + "else": { + "operation": "boost", + "score": -0.07347175478935242 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2124060094356537, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07564637064933777 + }, + "else": { + "operation": "boost", + "score": -0.18249493837356567 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "boost", + "score": 0.07218845933675766 + }, + "else": { + "operation": "boost", + "score": -0.005261126905679703 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "boost", + "score": 0.034926023334264755 + }, + "else": { + "operation": "boost", + "score": 0.07974226027727127 + } + } + }, + "else": { + "operation": "boost", + "score": 0.027074508368968964 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006575756706297398 + } + }, + "else": { + "operation": "boost", + "score": -0.004218052141368389 + } + }, + "else": { + "operation": "boost", + "score": 0.019407914951443672 + } + }, + "else": { + "operation": "boost", + "score": 0.005470613949000835 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0004050561983603984 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "boost", + "score": 0.0006895459955558181 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.5856161117553711 + }, + "else": { + "operation": "boost", + "score": 0.003168809460476041 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2234.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26715.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67917.5, + "then": { + "operation": "boost", + "score": 0.030278395861387253 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43912.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55833.5, + "then": { + "operation": "boost", + "score": -0.14183305203914642 + }, + "else": { + "operation": "boost", + "score": -0.5010406374931335 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.07665212452411652 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40755.0, + "then": { + "operation": "boost", + "score": -0.569713294506073 + }, + "else": { + "operation": "boost", + "score": -0.025200851261615753 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.043077122420072556 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.06392182409763336 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.12507034838199615 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": -0.14840492606163025 + }, + "else": { + "operation": "boost", + "score": 0.150568425655365 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07948565483093262 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.06835383921861649 + }, + "else": { + "operation": "boost", + "score": 0.0261981301009655 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, + "then": { + "operation": "boost", + "score": 0.010364708490669727 }, "else": { "operation": "boost", - "score": 0.08516591787338257 + "score": 0.6536605954170227 } + }, + "else": { + "operation": "boost", + "score": -0.24153678119182587 } + }, + "else": { + "operation": "boost", + "score": 0.10057003051042557 + } + }, + "else": { + "operation": "boost", + "score": -0.013230015523731709 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09165198355913162 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11897134780883789 + }, + "else": { + "operation": "boost", + "score": 0.10785892605781555 } }, "else": { + "operation": "boost", + "score": 0.061256133019924164 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.07510744780302048 + }, + "else": { + "operation": "boost", + "score": 0.004659051075577736 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0518743172287941 + }, + "else": { + "operation": "boost", + "score": -0.001897948794066906 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.0028219493106007576 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1837.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2635.0, + "then": { + "operation": "boost", + "score": -0.019577674567699432 + }, + "else": { + "operation": "boost", + "score": -0.7124608159065247 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 702.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 890.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1418.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 630.0, + "threshold": 1533.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.09855208545923233 - }, - "else": { - "operation": "boost", - "score": 0.1133643388748169 - } + "operation": "boost", + "score": 0.08237457275390625 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11683496832847595 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.07307519763708115 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.060777463018894196 - }, - "else": { - "operation": "boost", - "score": -0.27426910400390625 - } - } - } + "operation": "boost", + "score": 0.1209132969379425 } + }, + "else": { + "operation": "boost", + "score": 0.019135430455207825 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 873.5, + "then": { + "operation": "boost", + "score": 0.12972481548786163 + }, + "else": { + "operation": "boost", + "score": 0.10951138287782669 } + } + }, + "else": { + "operation": "boost", + "score": 0.02882395312190056 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01374523714184761 + } + } + }, + "else": { + "operation": "boost", + "score": 0.003568721003830433 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71608.5, + "then": { + "operation": "boost", + "score": 0.16879531741142273 + }, + "else": { + "operation": "boost", + "score": -0.03980913385748863 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.2989616096019745 + }, + "else": { + "operation": "boost", + "score": -0.06517060846090317 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.02845797874033451 + }, + "else": { + "operation": "boost", + "score": -0.03325086832046509 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 259462.0, + "then": { + "operation": "boost", + "score": -0.0008556596585549414 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.13959260284900665 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.24294430017471313 + }, + "else": { + "operation": "boost", + "score": 0.2116517275571823 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.01226656325161457 + }, + "else": { + "operation": "boost", + "score": -0.10656921565532684 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, + "then": { + "operation": "boost", + "score": -0.1593134105205536 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03161797672510147 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114340.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.03445158526301384 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Type" + "CCC_Statement", + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.12324083596467972 + "score": 0.061261385679244995 }, "else": { "operation": "boost", - "score": -0.15750941634178162 + "score": 0.0023799347691237926 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 471.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.10783607512712479 + "score": 0.048700615763664246 }, "else": { "operation": "boost", - "score": -0.2524101436138153 + "score": 0.012174658477306366 } } + } + }, + "else": { + "operation": "boost", + "score": 0.06953408569097519 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92051.0, + "then": { + "operation": "boost", + "score": -0.03545009717345238 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "boost", + "score": 0.024521280080080032 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1462.0, + "threshold": 56138.5, "then": { "operation": "boost", - "score": 0.02349073812365532 + "score": -0.01595141366124153 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1453.0, + "threshold": 54992.0, "then": { - "operation": "boost", - "score": 0.11783809959888458 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 700.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.12536601722240448 + "score": 0.1978272795677185 }, "else": { "operation": "boost", - "score": -0.1169477105140686 + "score": 0.13626278936862946 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.059694379568099976 + "score": 0.12697860598564148 }, "else": { "operation": "boost", - "score": 0.12373102456331253 + "score": 0.0583285428583622 } } }, "else": { - "operation": "boost", - "score": -0.4278988540172577 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08964300900697708 + }, + "else": { + "operation": "boost", + "score": -0.11918803304433823 + } } }, "else": { + "operation": "boost", + "score": -0.14650589227676392 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.16587990522384644 + }, + "else": { + "operation": "boost", + "score": 0.03100857511162758 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47294.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1392.0, + "threshold": 50563.0, "then": { - "operation": "boost", - "score": 0.09462673962116241 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", "Variable" ], "then": { "operation": "boost", - "score": 0.08895644545555115 + "score": 0.13454294204711914 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08062144368886948 - }, - "else": { - "operation": "boost", - "score": -0.2631862163543701 - } + "operation": "boost", + "score": -0.10896789282560349 } + }, + "else": { + "operation": "boost", + "score": -0.11604338139295578 } + }, + "else": { + "operation": "boost", + "score": -0.03479938581585884 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1331.0, + "threshold": 33610.5, "then": { - "operation": "boost", - "score": -1.2171803712844849 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 891.0, + "threshold": 34039.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 954.5, + "threshold": 34422.5, "then": { + "operation": "boost", + "score": 0.01123026479035616 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1190.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.09726721793413162 - }, - "else": { - "operation": "boost", - "score": 0.0028732072096318007 - } + "operation": "boost", + "score": 0.04460281878709793 + }, + "else": { + "operation": "boost", + "score": 0.11740434914827347 + } + } + }, + "else": { + "operation": "boost", + "score": -0.18268151581287384 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.09106404334306717 }, "else": { "operation": "boost", - "score": -0.10650062561035156 + "score": 0.14583688974380493 } }, "else": { "operation": "boost", - "score": 0.10527046769857407 + "score": -0.1055046021938324 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { - "operation": "boost", - "score": 0.05591215193271637 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": -0.19586089253425598 + }, + "else": { + "operation": "boost", + "score": 0.11769956350326538 + } + }, + "else": { + "operation": "boost", + "score": -0.33143237233161926 + } }, "else": { "operation": "boost", - "score": -0.1590830385684967 + "score": 0.04782579839229584 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33009.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function", - "Type" + "CCC_ClassStructUnion" ], "then": { - "operation": "boost", - "score": 0.12286421656608582 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10021448135375977 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.1085558533668518 + }, + "else": { + "operation": "boost", + "score": 0.19225098192691803 + } + } }, "else": { "operation": "boost", - "score": 0.02425779215991497 + "score": -0.10652130842208862 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 32401.5, "then": { - "operation": "boost", - "score": 0.14869174361228943 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.05479408800601959 + }, + "else": { + "operation": "boost", + "score": -0.03942059725522995 + } }, "else": { - "operation": "boost", - "score": -0.46035632491111755 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "boost", + "score": -0.11526291817426682 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31292.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11682300269603729 + }, + "else": { + "operation": "boost", + "score": 0.10575936734676361 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.06958585977554321 + }, + "else": { + "operation": "boost", + "score": -0.04391090199351311 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00027247637626715004 + } + } } } } @@ -350297,1498 +388523,1288 @@ } } } - }, - "else": { - "operation": "boost", - "score": 0.09653985500335693 } - }, - "else": { + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.00014864183322060853 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" + "Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12325061112642288 - }, - "else": { - "operation": "boost", - "score": -0.18822382390499115 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "NumReferences", + "threshold": 160.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1122.5, "then": { "operation": "boost", - "score": -0.008461110293865204 + "score": 0.0881490558385849 }, "else": { "operation": "boost", - "score": -0.17215275764465332 + "score": 0.1652044802904129 } }, "else": { "operation": "boost", - "score": -0.45036134123802185 + "score": -0.15835566818714142 } + }, + "else": { + "operation": "boost", + "score": 0.0013341588201001287 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.00560372369363904 - } - }, - "else": { - "operation": "boost", - "score": -0.00046386371832340956 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1213.0, - "then": { - "operation": "boost", - "score": -1.4637610912322998 }, "else": { "operation": "boost", - "score": 0.11373718827962875 + "score": -0.001102431328035891 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4712.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6495.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.001562589081004262 + "score": 0.00033857920789159834 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { + "operation": "boost", + "score": -0.1778232455253601 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.1398271769285202 + "score": 0.03278757259249687 }, "else": { - "operation": "boost", - "score": 0.12987728416919708 - } - }, - "else": { - "operation": "boost", - "score": 0.08939363062381744 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5805.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.13469047844409943 + "score": 0.1646849364042282 }, "else": { - "operation": "boost", - "score": 0.10276547074317932 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.1032906323671341 + }, + "else": { + "operation": "boost", + "score": 0.43785396218299866 + } } - }, - "else": { - "operation": "boost", - "score": 0.03631414473056793 } - }, - "else": { - "operation": "boost", - "score": -0.27521684765815735 } + }, + "else": { + "operation": "boost", + "score": -0.0004195295041427016 } } }, "else": { + "operation": "boost", + "score": 0.028802959248423576 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.11164341866970062 + }, + "else": { + "operation": "boost", + "score": 0.007166816387325525 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 590.5, + "threshold": 35.5, "then": { - "operation": "boost", - "score": 0.00871626939624548 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 585.5, + "threshold": 42.5, "then": { - "operation": "boost", - "score": 0.1486562341451645 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08712121844291687, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 441.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 452.0, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.2678571343421936, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.3693181872367859, "then": { "operation": "boost", - "score": -0.11663062125444412 + "score": 0.08140766620635986 }, "else": { "operation": "boost", - "score": 0.167011559009552 + "score": 0.14153917133808136 } }, "else": { "operation": "boost", - "score": -0.11641903966665268 + "score": -0.11064377427101135 } }, "else": { - "operation": "boost", - "score": 0.0985201969742775 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10623906552791595 + }, + "else": { + "operation": "boost", + "score": 0.07354053854942322 + } } }, "else": { "operation": "boost", - "score": -0.09724900871515274 + "score": 0.025616394355893135 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 452.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 527.0, + "threshold": 78.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 533.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 560.5, - "then": { - "operation": "boost", - "score": 0.11339423805475235 - }, - "else": { - "operation": "boost", - "score": -0.003162436420097947 - } - }, - "else": { - "operation": "boost", - "score": -0.39761948585510254 - } - }, - "else": { - "operation": "boost", - "score": 0.10755637288093567 - } - }, - "else": { "operation": "boost", - "score": -0.07223992049694061 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11223895102739334 - }, - "else": { - "operation": "boost", - "score": 0.04369568079710007 - } + "score": -0.41528311371803284 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 428.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.20996235311031342 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 424.5, + "threshold": 50.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.1614500731229782 - }, - "else": { - "operation": "boost", - "score": 0.11015193164348602 - } + "operation": "boost", + "score": -0.014033008366823196 }, "else": { "operation": "boost", - "score": 0.052434779703617096 + "score": 0.10282175242900848 } + }, + "else": { + "operation": "boost", + "score": -0.2984766960144043 } } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.012726353481411934 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 646.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 961.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.004112012684345245 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1725.5, - "then": { - "operation": "boost", - "score": -0.7502469420433044 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1262.0, - "then": { - "operation": "boost", - "score": 0.12787170708179474 - }, - "else": { - "operation": "boost", - "score": 0.10687698423862457 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.36665117740631104 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 579.5, - "then": { - "operation": "boost", - "score": 0.13260087370872498 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 446.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 514.5, - "then": { - "operation": "boost", - "score": -0.20934343338012695 - }, - "else": { - "operation": "boost", - "score": 0.10578006505966187 - } - }, - "else": { - "operation": "boost", - "score": -0.34679844975471497 - } - }, - "else": { - "operation": "boost", - "score": -0.18330809473991394 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.000418495706981048 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.003154624719172716 - }, - "else": { - "operation": "boost", - "score": -0.21177783608436584 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00031622109236195683 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 391.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.1065460592508316 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 460.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 462.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 473.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.005084900185465813 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.003968062344938517 + "score": -0.10211606323719025 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1462.0, + "threshold": 64.5, "then": { "operation": "boost", - "score": 0.022681105881929398 + "score": 0.0074435132555663586 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1402.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "threshold": 59.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, "then": { "operation": "boost", - "score": 0.11578826606273651 + "score": 0.13420416414737701 }, "else": { - "operation": "boost", - "score": -0.09569644927978516 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "boost", + "score": 0.07970547676086426 + }, + "else": { + "operation": "boost", + "score": 0.11914422363042831 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 48.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 700.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 740.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.047273870557546616 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 769.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 995.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1185.0, - "then": { - "operation": "boost", - "score": 0.09745687246322632 - }, - "else": { - "operation": "boost", - "score": -0.07242642343044281 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 856.0, - "then": { - "operation": "boost", - "score": 0.1762036234140396 - }, - "else": { - "operation": "boost", - "score": 0.12347692251205444 - } - } - }, - "else": { - "operation": "boost", - "score": 0.006627675611525774 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10972021520137787 - } + "operation": "boost", + "score": 0.11457803100347519 }, "else": { "operation": "boost", - "score": 0.0114559605717659 + "score": 0.0343395359814167 } }, "else": { "operation": "boost", - "score": 0.04102148488163948 + "score": -0.3668965697288513 } }, "else": { "operation": "boost", - "score": -0.053078893572092056 + "score": -0.06599827855825424 } } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { + "operation": "boost", + "score": 0.16642700135707855 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 471.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.08665014803409576 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "boost", + "score": 0.12172307074069977 + }, + "else": { + "operation": "boost", + "score": -0.10971590876579285 + } + }, + "else": { + "operation": "boost", + "score": 0.14242222905158997 + } + }, + "else": { + "operation": "boost", + "score": 0.08536576479673386 + } }, "else": { - "operation": "boost", - "score": 0.014905460178852081 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "boost", + "score": -0.330665647983551 + }, + "else": { + "operation": "boost", + "score": 0.03596092388033867 + } + }, + "else": { + "operation": "boost", + "score": 0.030366649851202965 + } } } - }, - "else": { - "operation": "boost", - "score": 0.09039585292339325 } }, "else": { + "operation": "boost", + "score": -0.013074085116386414 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_DotMemberAccess" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12522973120212555 - }, - "else": { - "operation": "boost", - "score": -0.1510152518749237 - } + "operation": "boost", + "score": 0.10020925849676132 }, "else": { "operation": "boost", - "score": -0.09436514228582382 + "score": -0.165740504860878 } + }, + "else": { + "operation": "boost", + "score": -0.2569580674171448 } } - }, - "else": { - "operation": "boost", - "score": 0.004664168227463961 } - }, - "else": { - "operation": "boost", - "score": -0.0007037675241008401 } }, "else": { + "operation": "boost", + "score": -0.004516164772212505 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 395.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.0641360729932785 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 604.5, + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 30.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.016123943030834198 - }, - "else": { - "operation": "boost", - "score": 0.08683925867080688 - } + "operation": "boost", + "score": 0.09712986648082733 }, "else": { + "operation": "boost", + "score": -0.016746761277318 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1109.5, + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.07684171199798584 - }, - "else": { - "operation": "boost", - "score": -0.4154883325099945 - } + "operation": "boost", + "score": -0.4020061492919922 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 790.0, + "feature": "FractionNameInContext", + "threshold": 0.18465909361839294, "then": { - "operation": "boost", - "score": 0.10668207705020905 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.042457785457372665 + }, + "else": { + "operation": "boost", + "score": -0.021389326080679893 + } }, "else": { "operation": "boost", - "score": 0.06956489384174347 + "score": -0.04054194316267967 } } }, "else": { "operation": "boost", - "score": -0.06709950417280197 + "score": 0.013950305990874767 } + }, + "else": { + "operation": "boost", + "score": 0.003291820175945759 } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": 0.012293247506022453 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 594.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10546955466270447 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 546.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.11490967869758606 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 440.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02985912188887596 + "score": 0.0784568265080452 }, "else": { "operation": "boost", - "score": 0.10188545286655426 + "score": 0.12062855064868927 } }, "else": { "operation": "boost", - "score": -0.15515990555286407 + "score": -0.015200447291135788 } + }, + "else": { + "operation": "boost", + "score": 0.14480134844779968 } + }, + "else": { + "operation": "boost", + "score": -0.026904894039034843 } + }, + "else": { + "operation": "boost", + "score": 0.005596037954092026 } }, "else": { "operation": "boost", - "score": 0.021726883947849274 + "score": -0.047432176768779755 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.09796811640262604 + "score": 0.008290820755064487 }, "else": { - "operation": "boost", - "score": -0.10590801388025284 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.08685418963432312 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 464.0, + "threshold": 20.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 507.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 512.0, - "then": { - "operation": "boost", - "score": 0.04415477439761162 - }, - "else": { - "operation": "boost", - "score": 0.09508407115936279 - } - }, - "else": { - "operation": "boost", - "score": -0.4069157540798187 - } + "operation": "boost", + "score": 0.11534325778484344 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 449.0, + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, "then": { - "operation": "boost", - "score": 0.08132800459861755 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 431.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { - "operation": "boost", - "score": -0.12014550715684891 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04843294247984886 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13118146359920502 + }, + "else": { + "operation": "boost", + "score": 0.09411739557981491 + } + }, + "else": { + "operation": "boost", + "score": 0.2768239378929138 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04335863143205643 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.19419197738170624 + }, + "else": { + "operation": "boost", + "score": -0.11535189300775528 + } + } }, "else": { "operation": "boost", - "score": 0.09394926577806473 + "score": -0.10232126712799072 } }, "else": { "operation": "boost", - "score": 0.015135345980525017 + "score": -0.11062265187501907 } + }, + "else": { + "operation": "boost", + "score": 0.006147294770926237 } } }, "else": { "operation": "boost", - "score": -0.07305784523487091 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.065894715487957 - }, - "else": { - "operation": "boost", - "score": -0.03821224346756935 + "score": -0.002508797449991107 } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0003283754922449589 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.02865593135356903 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Type" + "Function", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 444.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.009261944331228733 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 421.5, - "then": { - "operation": "boost", - "score": 0.10389867424964905 - }, - "else": { - "operation": "boost", - "score": 0.02675841562449932 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13849978148937225 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.05846068635582924 + "score": 0.1021743044257164 }, "else": { "operation": "boost", - "score": 0.003256283700466156 + "score": -0.06471828371286392 } }, + "else": { + "operation": "boost", + "score": 0.04537765681743622 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05458391085267067 + }, "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { + "operation": "boost", + "score": 0.01624303311109543 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.155690535902977 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0006534492131322622 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1704.0, - "then": { - "operation": "boost", - "score": 0.1431487649679184 - }, - "else": { - "operation": "boost", - "score": 0.06781362742185593 - } + "operation": "boost", + "score": -0.006599785294383764 }, "else": { "operation": "boost", - "score": 0.3092496693134308 + "score": 0.02490333281457424 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22649572789669037, + "then": { + "operation": "boost", + "score": -0.2794130742549896 }, "else": { "operation": "boost", - "score": -0.13273443281650543 + "score": -0.00019457688904367387 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "boost", + "score": -0.037613168358802795 + }, + "else": { + "operation": "boost", + "score": 0.045240480452775955 + } }, "else": { - "operation": "boost", - "score": 0.01917448081076145 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": 0.06102827563881874 + }, + "else": { + "operation": "boost", + "score": 0.03923942521214485 + } } + }, + "else": { + "operation": "boost", + "score": 0.013270038180053234 } }, "else": { + "operation": "boost", + "score": 0.01684088259935379 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 723.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 755.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.046681102365255356 - }, - "else": { - "operation": "boost", - "score": -0.10861244052648544 - } + "operation": "boost", + "score": 0.002276700222864747 }, "else": { "operation": "boost", - "score": -0.9795028567314148 + "score": -0.0671004131436348 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 447.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type" + ], "then": { "operation": "boost", - "score": -0.07107935100793839 + "score": 0.030941996723413467 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FractionNameInContext", + "threshold": 0.3484848737716675, "then": { - "operation": "boost", - "score": -0.15584196150302887 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.40833333134651184, + "then": { + "operation": "boost", + "score": -0.024815520271658897 + }, + "else": { + "operation": "boost", + "score": 0.043067481368780136 + } }, "else": { "operation": "boost", - "score": -3.1444900035858154 + "score": -0.02160709910094738 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.045977529138326645 - }, - "else": { - "operation": "boost", - "score": 0.11072813719511032 - } + "operation": "boost", + "score": 0.09490705281496048 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08379355072975159 - }, - "else": { - "operation": "boost", - "score": -0.1340940296649933 - } + "operation": "boost", + "score": 0.022270945832133293 } } } }, "else": { + "operation": "boost", + "score": -0.02033284865319729 + } + }, + "else": { + "operation": "boost", + "score": -0.019111253321170807 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.047654714435338974 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5924.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8214.5, - "then": { - "operation": "boost", - "score": -0.2397880256175995 - }, - "else": { - "operation": "boost", - "score": 0.09593097865581512 - } + "operation": "boost", + "score": 0.024965297430753708 }, "else": { + "operation": "boost", + "score": 0.004195658955723047 + } + }, + "else": { + "operation": "boost", + "score": -0.0022644877899438143 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10791762918233871 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 580.0, - "then": { - "operation": "boost", - "score": -0.08202183246612549 - }, - "else": { - "operation": "boost", - "score": 0.18747399747371674 - } - } + "operation": "boost", + "score": 0.07015518844127655 }, "else": { "operation": "boost", - "score": 0.005949351005256176 + "score": 0.10200157016515732 } }, "else": { - "operation": "boost", - "score": -0.043857622891664505 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 410.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.02834898792207241 + "score": 0.09578663855791092 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12123597413301468 - }, - "else": { - "operation": "boost", - "score": -0.26288366317749023 - } + "operation": "boost", + "score": -0.16412754356861115 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3628818690776825 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.050112638622522354 - }, - "else": { - "operation": "boost", - "score": -0.5195292830467224 - } - }, - "else": { - "operation": "boost", - "score": -0.5159109830856323 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.0456058643758297 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.6644179224967957 - }, - "else": { - "operation": "boost", - "score": -0.16465380787849426 - } - } - } + "operation": "boost", + "score": 0.12766902148723602 } } + }, + "else": { + "operation": "boost", + "score": -0.1410866677761078 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 532.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": -0.35336020588874817 + "score": 0.05293039232492447 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4467.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.15707632899284363 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1765.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { + "operation": "boost", + "score": 0.017085082828998566 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1860.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3478.5, - "then": { - "operation": "boost", - "score": 0.10681251436471939 - }, - "else": { - "operation": "boost", - "score": -0.09591950476169586 - } + "operation": "boost", + "score": 0.17139047384262085 }, "else": { "operation": "boost", - "score": 0.10796822607517242 + "score": -0.13362643122673035 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "boost", + "score": -0.10097910463809967 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 703.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07384754717350006 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 757.5, - "then": { - "operation": "boost", - "score": -0.10975154489278793 - }, - "else": { - "operation": "boost", - "score": -0.8249486684799194 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 668.0, - "then": { - "operation": "boost", - "score": 0.10047018527984619 - }, - "else": { - "operation": "boost", - "score": -0.038761384785175323 - } - } + "operation": "boost", + "score": -0.006354218348860741 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 518.0, + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { - "operation": "boost", - "score": 0.1097930446267128 + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, + "then": { + "operation": "boost", + "score": 0.01529089454561472 + }, + "else": { + "operation": "boost", + "score": 0.06105421856045723 + } + }, + "else": { + "operation": "boost", + "score": 0.0035899742506444454 + } }, "else": { "operation": "boost", - "score": -0.039172712713479996 + "score": 0.010210796259343624 } } } @@ -351798,1183 +389814,1169 @@ } }, "else": { + "operation": "boost", + "score": -0.002493911422789097 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5505050420761108, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope", + "FunctionScope" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5916666984558105, + "then": { + "operation": "boost", + "score": -0.054471131414175034 + }, + "else": { + "operation": "boost", + "score": 0.11160530894994736 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "boost", + "score": -0.06447757035493851 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.19225914776325226 + }, + "else": { + "operation": "boost", + "score": 0.1225217878818512 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 676.5, + "feature": "NumNameInContext", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.07387030869722366 + "score": -0.1801922768354416 }, "else": { "operation": "boost", - "score": 0.1155184656381607 + "score": 0.08484052121639252 } }, "else": { + "operation": "boost", + "score": -0.416925311088562 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.25040504336357117 + "score": 0.014295353554189205 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 446.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 566.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.03979470580816269 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 961.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.09103654325008392 + "score": 0.10316099226474762 }, "else": { "operation": "boost", - "score": 0.107828289270401 + "score": 0.07169421017169952 } }, "else": { "operation": "boost", - "score": -0.1405637264251709 + "score": 0.05700526013970375 } - }, - "else": { - "operation": "boost", - "score": 0.11460157483816147 } }, "else": { "operation": "boost", - "score": -0.1060740202665329 + "score": -0.12064848095178604 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 685.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 878.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.07050852477550507 + "score": 0.12138223648071289 }, "else": { "operation": "boost", - "score": 0.10457852482795715 + "score": 0.03308934345841408 } }, "else": { - "operation": "boost", - "score": -0.28907883167266846 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6904761791229248, + "then": { + "operation": "boost", + "score": -0.14847423136234283 + }, + "else": { + "operation": "boost", + "score": 0.10794214904308319 + } + }, + "else": { + "operation": "boost", + "score": -0.07508248090744019 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6293.5, - "then": { - "operation": "boost", - "score": 0.12429457157850266 - }, - "else": { - "operation": "boost", - "score": -0.08002349734306335 - } + "operation": "boost", + "score": -0.03137302026152611 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.01622501201927662 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.144953653216362 - }, - "else": { - "operation": "boost", - "score": 0.05782734230160713 - } + "operation": "boost", + "score": -0.07425526529550552 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3341.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3606.5, + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.005820554215461016 + "score": 0.16179245710372925 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { + "operation": "boost", + "score": 0.03240743651986122 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.0, "then": { "operation": "boost", - "score": -0.10676586627960205 + "score": -0.03317493200302124 }, "else": { - "operation": "boost", - "score": 0.09843171387910843 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.044335126876831055 + }, + "else": { + "operation": "boost", + "score": 0.11317108571529388 + } } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": 0.016512295231223106 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.053591251373291016 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, + "then": { + "operation": "boost", + "score": 0.06101454421877861 + }, + "else": { + "operation": "boost", + "score": 0.08727813512086868 + } + } + }, + "else": { + "operation": "boost", + "score": -0.003323411801829934 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.024277832359075546 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 112.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3370.5, + "threshold": 210.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.2896454930305481 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10607.5, + "then": { + "operation": "boost", + "score": 0.1193232461810112 + }, + "else": { + "operation": "boost", + "score": -0.011325075291097164 + } }, "else": { "operation": "boost", - "score": 0.08369076997041702 + "score": -0.25881803035736084 } }, "else": { - "operation": "boost", - "score": 0.17454001307487488 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.14388826489448547 + }, + "else": { + "operation": "boost", + "score": 0.09682421386241913 + } } }, "else": { + "operation": "boost", + "score": 0.14890284836292267 + } + }, + "else": { + "operation": "boost", + "score": 0.0072935232892632484 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Operator" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.0, "then": { - "operation": "boost", - "score": -0.10591036826372147 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03574608638882637 + }, + "else": { + "operation": "boost", + "score": 0.07426398992538452 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3488.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3536.0, - "then": { - "operation": "boost", - "score": -0.10313844680786133 - }, - "else": { - "operation": "boost", - "score": 0.20058684051036835 - } + "operation": "boost", + "score": 0.11150423437356949 }, "else": { "operation": "boost", - "score": -0.10254786908626556 + "score": -0.18056468665599823 } }, "else": { - "operation": "boost", - "score": 0.1462482362985611 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8192.0, + "then": { + "operation": "boost", + "score": 0.07144315540790558 + }, + "else": { + "operation": "boost", + "score": 0.1328655332326889 + } } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.20705828070640564 + }, + "else": { + "operation": "boost", + "score": 0.12083736807107925 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.15524600446224213 + }, + "else": { + "operation": "boost", + "score": 0.06437298655509949 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.03228142485022545 + }, + "else": { + "operation": "boost", + "score": 0.017613261938095093 + } } - }, - "else": { - "operation": "boost", - "score": -0.012307364493608475 } + }, + "else": { + "operation": "boost", + "score": -0.22260399162769318 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00031513572321273386 - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.002231793710961938 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.02250482514500618 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": 0.09062197804450989 + }, + "else": { + "operation": "boost", + "score": 0.11290279030799866 + } + }, + "else": { + "operation": "boost", + "score": 0.018495982512831688 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.014811055734753609 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6458333730697632, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { + "operation": "boost", + "score": -0.0064353421330451965 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26.5, + "threshold": 30.0, "then": { + "operation": "boost", + "score": -0.2785165011882782 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 78.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.14478494226932526 + "score": 0.030366284772753716 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.21796652674674988 - }, - "else": { - "operation": "boost", - "score": 0.11604470014572144 - } - }, - "else": { - "operation": "boost", - "score": 0.11048675328493118 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.0, - "then": { - "operation": "boost", - "score": 0.08501418679952621 - }, - "else": { - "operation": "boost", - "score": -0.2984693944454193 - } - } + "operation": "boost", + "score": -0.1128784790635109 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.05324793606996536 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { + "operation": "boost", + "score": -0.03708217665553093 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.1700281798839569 + "score": 0.1760471761226654 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.36736860871315 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09229850769042969 - }, - "else": { - "operation": "boost", - "score": 0.16501787304878235 - } - }, - "else": { - "operation": "boost", - "score": -0.06745336204767227 - } - } + "operation": "boost", + "score": 0.07285712659358978 } + }, + "else": { + "operation": "boost", + "score": -0.09973003715276718 } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { - "operation": "boost", - "score": -0.07176971435546875 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { "operation": "boost", - "score": 0.11028289794921875 + "score": 0.06765687465667725 }, "else": { "operation": "boost", - "score": -0.11935442686080933 + "score": 0.09316626191139221 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.9014007449150085 - }, - "else": { - "operation": "boost", - "score": -0.0040567428804934025 - } + "operation": "boost", + "score": 0.08581960201263428 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.11465905606746674 - }, - "else": { - "operation": "boost", - "score": -0.6311695575714111 - } - }, - "else": { - "operation": "boost", - "score": 0.047502052038908005 - } - }, - "else": { - "operation": "boost", - "score": 0.10855823010206223 - } + "operation": "boost", + "score": -0.1804981678724289 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.11863266676664352 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11067048460245132 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.10516338795423508 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.10099916905164719 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.15138623118400574 - }, - "else": { - "operation": "boost", - "score": 0.4249661862850189 - } - } - } - } - } + "operation": "boost", + "score": 0.11459980905056 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.7233436107635498 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 229.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.013689029030501842 - }, - "else": { - "operation": "boost", - "score": 0.09311804920434952 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 216.0, - "then": { - "operation": "boost", - "score": 0.12691707909107208 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.040521398186683655 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.03374063968658447 - }, - "else": { - "operation": "boost", - "score": 0.1160767674446106 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.19659768044948578 - } - } - }, - "else": { - "operation": "boost", - "score": -0.060239527374506 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, - "then": { - "operation": "boost", - "score": 0.11332403868436813 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10670294612646103 - }, - "else": { - "operation": "boost", - "score": -0.30553948879241943 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.0015244574751704931 - }, - "else": { - "operation": "boost", - "score": 0.13269400596618652 - } - }, - "else": { - "operation": "boost", - "score": -0.0434330478310585 - } - } + "operation": "boost", + "score": -0.16167116165161133 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02374875918030739 + "score": -0.22712810337543488 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.06215394660830498 - }, - "else": { - "operation": "boost", - "score": 0.11314556747674942 - } - }, - "else": { - "operation": "boost", - "score": 0.08865290135145187 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.07500752061605453 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10452774167060852 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11222435534000397 - }, - "else": { - "operation": "boost", - "score": 0.06443388015031815 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06381212919950485 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.4351242482662201 - }, - "else": { - "operation": "boost", - "score": 0.01820412091910839 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.15992499887943268 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11138025671243668 - }, - "else": { - "operation": "boost", - "score": 0.10862696170806885 - } - } - } - } + "operation": "boost", + "score": 0.0954921618103981 } } } } + }, + "else": { + "operation": "boost", + "score": -0.23372401297092438 } + }, + "else": { + "operation": "boost", + "score": -0.46004801988601685 } }, "else": { - "operation": "boost", - "score": -0.0017296049045398831 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0035976364742964506 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.07915277034044266 - }, - "else": { - "operation": "boost", - "score": 0.06824079155921936 - } + "operation": "boost", + "score": 0.11491642147302628 }, "else": { "operation": "boost", - "score": -0.1012941300868988 + "score": -0.01931682601571083 } }, "else": { - "operation": "boost", - "score": 0.02270866185426712 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07529082149267197 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.003144137328490615 + "score": 0.16309760510921478 }, "else": { "operation": "boost", - "score": 0.10476183146238327 + "score": 0.0910695418715477 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.5857143402099609, "then": { + "operation": "boost", + "score": 0.04021063819527626 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.13223804533481598 + "score": -0.1156231164932251 }, "else": { - "operation": "boost", - "score": 0.04601030796766281 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10620760917663574 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0693674236536026 + }, + "else": { + "operation": "boost", + "score": 0.09566418826580048 + } + } } - }, - "else": { - "operation": "boost", - "score": -0.031044354662299156 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.037848662585020065 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09522237628698349 - }, - "else": { - "operation": "boost", - "score": 0.09407306462526321 } } } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.7156781554222107 - }, - "else": { - "operation": "boost", - "score": 0.02536049671471119 - } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09162381291389465 + }, + "else": { + "operation": "boost", + "score": 0.026648417115211487 + } + } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.11258076876401901 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.005865557584911585 - }, - "else": { - "operation": "boost", - "score": 0.11599228531122208 - } - } + "operation": "boost", + "score": -0.008752009831368923 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.003407147480174899 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "NumNameInContext", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.07221994549036026 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "FractionNameInContext", + "threshold": 0.2679487466812134, "then": { - "operation": "boost", - "score": 0.10605646669864655 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.011419144459068775 + }, + "else": { + "operation": "boost", + "score": -0.006122835911810398 + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.018687045201659203 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { "operation": "boost", - "score": 0.008084351196885109 + "score": 0.016895709559321404 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14422.0, + "feature": "FileProximityDistanceCost", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.09637477248907089 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 444.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.09007740765810013 + "score": -0.02909168414771557 }, "else": { "operation": "boost", - "score": 0.09408626705408096 + "score": -0.17501327395439148 } + }, + "else": { + "operation": "boost", + "score": 0.06927590072154999 } } + }, + "else": { + "operation": "boost", + "score": -0.021837454289197922 } }, - "else": { - "operation": "boost", - "score": -0.0058025033213198185 - } - }, - "else": { - "operation": "boost", - "score": 0.09012136608362198 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 265874.5, - "then": { - "operation": "boost", - "score": 0.04521685093641281 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0056219156831502914 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 272.5, + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, "then": { "operation": "boost", - "score": 0.034664954990148544 + "score": 0.10586969554424286 }, "else": { "operation": "boost", - "score": 0.12059945613145828 + "score": 0.11924338340759277 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, "then": { "operation": "boost", - "score": 0.005008689593523741 + "score": 0.009843437001109123 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.019646788015961647 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.04518374428153038 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.12668852508068085 + "score": -0.011471418663859367 }, "else": { - "operation": "boost", - "score": 0.08716040849685669 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": -0.03357359766960144 + }, + "else": { + "operation": "boost", + "score": -0.18919523060321808 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.022599928081035614 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.0687028244137764 + "score": 0.11615650355815887 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2752525210380554, "then": { - "operation": "boost", - "score": 0.0400347039103508 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.010063815861940384 + "score": 0.09058568626642227 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.09063903987407684 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05589016526937485 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.1419769823551178 + }, + "else": { + "operation": "boost", + "score": 0.05625839903950691 + } + } }, "else": { "operation": "boost", - "score": 0.07645659893751144 + "score": 0.03780939429998398 } } + }, + "else": { + "operation": "boost", + "score": -0.003590669482946396 } } } @@ -352985,681 +390987,562 @@ } }, "else": { - "operation": "boost", - "score": -0.005107522010803223 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumNameInContext", + "threshold": 4.5, "then": { + "operation": "boost", + "score": -0.12088984251022339 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.004556549247354269 - }, - "else": { - "operation": "boost", - "score": -0.07846345007419586 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Function" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.24264705181121826, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0008709885296411812 + "score": -0.07078628987073898 }, "else": { - "operation": "boost", - "score": 0.037993814796209335 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.10470081865787506 + }, + "else": { + "operation": "boost", + "score": 0.09801536053419113 + } } }, + "else": { + "operation": "boost", + "score": 0.027827464044094086 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.011812795884907246 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { "operation": "boost", - "score": 0.08421199768781662 + "score": -0.03159727528691292 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.17253223061561584 - }, - "else": { - "operation": "boost", - "score": 0.11555762588977814 - } + "operation": "boost", + "score": -0.13897189497947693 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.0029191740322858095 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.05267103761434555 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0943041443824768 - }, - "else": { - "operation": "boost", - "score": -0.2835027873516083 - } - } - }, - "else": { - "operation": "boost", - "score": 0.14523963630199432 - } - } + "operation": "boost", + "score": 0.057517845183610916 } } - }, - "else": { - "operation": "boost", - "score": -0.018524151295423508 } - } - }, - "else": { - "operation": "boost", - "score": -0.013474998064339161 - } - }, - "else": { - "operation": "boost", - "score": -0.05167798697948456 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.006261436268687248 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.01418248750269413 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { + "operation": "boost", + "score": 0.010512608103454113 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.146021768450737 - }, - "else": { - "operation": "boost", - "score": 0.045987486839294434 - } - }, - "else": { - "operation": "boost", - "score": 0.04499959200620651 - } + "operation": "boost", + "score": -0.002020994434133172 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.09962349385023117 + "score": 0.12375235557556152 }, "else": { "operation": "boost", - "score": 0.08830726891756058 + "score": 0.059211768209934235 } } }, "else": { "operation": "boost", - "score": 0.10127152502536774 + "score": 0.014573031105101109 } - }, - "else": { - "operation": "boost", - "score": -0.016758600249886513 } - }, - "else": { - "operation": "boost", - "score": 0.03154369816184044 } } - }, - "else": { - "operation": "boost", - "score": -0.0020269076339900494 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.047370120882987976 - }, - "else": { - "operation": "boost", - "score": -0.008663583546876907 } } + }, + "else": { + "operation": "boost", + "score": 0.00020031046005897224 } } } + }, + "else": { + "operation": "boost", + "score": -0.0001454634766560048 } - }, - "else": { - "operation": "boost", - "score": -0.0008722601924091578 } }, { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_Statement", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", + "CCC_Other", "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.0023225729819387197 + "score": -0.004311550408601761 }, "else": { + "operation": "boost", + "score": -0.03057512268424034 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Macro", + "Namespace", + "Type", + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11460912972688675 + }, + "else": { + "operation": "boost", + "score": 0.009205548092722893 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0486026369035244 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.012021641246974468 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.10984189063310623 - }, - "else": { - "operation": "boost", - "score": -0.026279151439666748 - } + "operation": "boost", + "score": 0.003144486341625452 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.0626896545290947 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 276350.0, "then": { "operation": "boost", - "score": 0.07792454212903976 + "score": -0.04828207939863205 }, "else": { "operation": "boost", - "score": 0.11326075345277786 + "score": 0.0073621817864477634 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], "then": { "operation": "boost", - "score": -0.07621145993471146 + "score": 0.0007001481135375798 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10624305158853531 - }, - "else": { - "operation": "boost", - "score": -0.2014504224061966 - } + "operation": "boost", + "score": -0.025351259857416153 } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10206539928913116 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011455468833446503 - }, - "else": { - "operation": "boost", - "score": -0.007967577315866947 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, - "then": { - "operation": "boost", - "score": 0.010755171068012714 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.13412757217884064 - }, - "else": { - "operation": "boost", - "score": 0.1155596524477005 - } - }, - "else": { - "operation": "boost", - "score": -0.17645609378814697 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.0763779729604721 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "boost", - "score": 0.10166065394878387 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.011579221114516258 + }, + "else": { + "operation": "boost", + "score": -0.03309830650687218 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11236035078763962 + "score": -0.04135400429368019 }, "else": { "operation": "boost", - "score": -0.4561728239059448 + "score": -0.27304112911224365 } } } - }, - "else": { - "operation": "boost", - "score": 0.009580983780324459 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.01623273268342018 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": -0.36417892575263977 - }, - "else": { - "operation": "boost", - "score": 0.10910122096538544 - } - }, - "else": { - "operation": "boost", - "score": -0.27566131949424744 - } + "operation": "boost", + "score": 0.037222035229206085 }, "else": { "operation": "boost", - "score": -0.08327562361955643 + "score": -0.10177964717149734 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03596383333206177 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.08124514669179916 + "score": 0.0024551956448704004 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.1283019632101059 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 58.0, "then": { + "operation": "boost", + "score": -0.08479256182909012 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.22467753291130066 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.10637024790048599 + }, + "else": { + "operation": "boost", + "score": 0.05233054608106613 + } }, "else": { "operation": "boost", - "score": 0.11694282293319702 + "score": 0.13204322755336761 } - }, - "else": { - "operation": "boost", - "score": -0.26029884815216064 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.01700952649116516 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { - "operation": "boost", - "score": 0.11352366954088211 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.050626400858163834 + }, + "else": { + "operation": "boost", + "score": -0.14429804682731628 + } }, "else": { "operation": "boost", - "score": 0.025673897936940193 + "score": 0.0854552760720253 } }, "else": { "operation": "boost", - "score": -0.10487306118011475 + "score": 0.012552897445857525 } - }, - "else": { - "operation": "boost", - "score": 0.11486293375492096 } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.028582138940691948 + }, + "else": { + "operation": "boost", + "score": -0.06508219242095947 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.00870082713663578 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.03421967476606369 - }, - "else": { - "operation": "boost", - "score": -0.0400911383330822 - } - }, - "else": { - "operation": "boost", - "score": -0.23944847285747528 - } + "operation": "boost", + "score": -0.029360005632042885 }, "else": { "operation": "boost", - "score": 0.022505803033709526 + "score": -0.001137568848207593 } } } @@ -353667,737 +391550,1063 @@ }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297177.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.06167708337306976 - }, - "else": { - "operation": "boost", - "score": -0.03034280054271221 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.035114310681819916 - }, - "else": { - "operation": "boost", - "score": -0.08506546169519424 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05771917849779129 - }, - "else": { - "operation": "boost", - "score": 0.09093209356069565 - } - }, - "else": { - "operation": "boost", - "score": 0.009217003360390663 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Unknown" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1827.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10628953576087952 - }, - "else": { - "operation": "boost", - "score": -0.47082167863845825 - } - }, - "else": { - "operation": "boost", - "score": -0.025262773036956787 - } - }, - "else": { - "operation": "boost", - "score": -0.11545895040035248 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11266562342643738 - }, - "else": { - "operation": "boost", - "score": -0.009219027124345303 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { - "operation": "boost", - "score": 0.020402662456035614 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1196.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "boost", - "score": -0.020383575931191444 + "score": -0.1266002058982849 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1180.5, + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.21760733425617218 - }, - "else": { - "operation": "boost", - "score": 0.05071108788251877 - } - }, - "else": { - "operation": "boost", - "score": 0.014901559799909592 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.13274551928043365 + }, + "else": { + "operation": "boost", + "score": -0.1153671070933342 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 356.0, - "then": { - "operation": "boost", - "score": -0.04411202669143677 - }, - "else": { - "operation": "boost", - "score": 0.09476260840892792 - } + "operation": "boost", + "score": -0.010418250225484371 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.045268114656209946 + "score": 0.07424722611904144 }, "else": { "operation": "boost", - "score": 0.1129855290055275 + "score": 0.4494270384311676 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": -0.041779737919569016 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11535916477441788 - }, - "else": { - "operation": "boost", - "score": 0.010238615795969963 - } - } + "operation": "boost", + "score": 0.10908263176679611 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.037685416638851166 - }, - "else": { - "operation": "boost", - "score": 0.10543529689311981 - } + "operation": "boost", + "score": 0.0005711310659535229 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.09683255851268768 + }, + "else": { + "operation": "boost", + "score": 0.14098235964775085 } }, "else": { + "operation": "boost", + "score": 0.07457812130451202 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { + "operation": "boost", + "score": -0.15821675956249237 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.03686971589922905 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "boost", - "score": -0.21182721853256226 + "score": 0.10520046204328537 }, "else": { "operation": "boost", - "score": 0.13132813572883606 + "score": 0.0960698351264 } - }, - "else": { - "operation": "boost", - "score": -0.04199528321623802 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.05911698192358017 }, "else": { "operation": "boost", - "score": -0.2744795083999634 + "score": 0.10843616724014282 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6091.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.003483693115413189 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { "operation": "boost", - "score": -0.08493735641241074 + "score": -0.48665204644203186 }, "else": { "operation": "boost", - "score": -0.004769459832459688 + "score": -0.2214663028717041 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 2353.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { "operation": "boost", - "score": 0.004307464696466923 + "score": -0.559287965297699 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 2821.0, "then": { "operation": "boost", - "score": -0.10134756565093994 + "score": 0.04952392727136612 }, "else": { "operation": "boost", - "score": 0.10052650421857834 + "score": 0.11388401687145233 } } }, "else": { "operation": "boost", - "score": -0.04611366614699364 + "score": -0.016624774783849716 } } - }, - "else": { - "operation": "boost", - "score": -0.0014812814770266414 } + }, + "else": { + "operation": "boost", + "score": -0.008910941891372204 } + }, + "else": { + "operation": "boost", + "score": -0.0003088563389610499 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.004561457317322493 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11818061023950577 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 171.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10156191140413284 + }, + "else": { + "operation": "boost", + "score": 0.14657673239707947 + } + }, + "else": { + "operation": "boost", + "score": 0.07433415204286575 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.034071408212184906 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10717497766017914 + }, + "else": { + "operation": "boost", + "score": 0.018679527565836906 + } + } + }, + "else": { + "operation": "boost", + "score": 0.002231861697509885 + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 739.5, "then": { - "operation": "boost", - "score": 0.06244586035609245 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4868.5, + "then": { + "operation": "boost", + "score": 0.10212335735559464 + }, + "else": { + "operation": "boost", + "score": 0.13025353848934174 + } }, "else": { + "operation": "boost", + "score": -0.10023950040340424 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.05299096181988716 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08613144606351852 + }, + "else": { + "operation": "boost", + "score": 0.0038750567473471165 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.017725767567753792 - }, - "else": { - "operation": "boost", - "score": 0.12663032114505768 - } + "operation": "boost", + "score": -0.12263986468315125 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08194159716367722 + "score": -0.19704721868038177 }, "else": { "operation": "boost", - "score": 0.09377508610486984 + "score": 0.14322613179683685 } } } + }, + "else": { + "operation": "boost", + "score": -0.017701702192425728 } - }, - "else": { - "operation": "boost", - "score": 0.009951922111213207 } } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.10912660509347916 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.06719762086868286 + }, + "else": { + "operation": "boost", + "score": 0.1019468903541565 + } }, "else": { "operation": "boost", - "score": -0.0034023935440927744 + "score": 0.007907557301223278 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "boost", + "score": 0.011452412232756615 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.10355112701654434 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": -0.00632650637999177 + "score": 0.12200689315795898 }, "else": { + "operation": "boost", + "score": -0.08893584460020065 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 35.0, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.0833333358168602, + "then": { + "operation": "boost", + "score": -0.10547488927841187 + }, + "else": { + "operation": "boost", + "score": -1.2377821207046509 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 39.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.13333334028720856, "then": { "operation": "boost", - "score": 0.045596279203891754 + "score": 0.14458103477954865 }, "else": { "operation": "boost", - "score": -0.025244932621717453 + "score": -0.12103817611932755 } }, "else": { - "operation": "boost", - "score": -0.009173017926514149 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13163572549819946 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.01795496605336666 + }, + "else": { + "operation": "boost", + "score": 0.07696942239999771 + } + } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.048981864005327225 + }, + "else": { + "operation": "boost", + "score": 0.19910970330238342 + } + }, + "else": { + "operation": "boost", + "score": -0.12993896007537842 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.14689026772975922 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.04941356182098389 + "score": -0.43815314769744873 }, "else": { "operation": "boost", - "score": 0.11945166438817978 + "score": 0.20447179675102234 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, "then": { - "operation": "boost", - "score": 0.11050965636968613 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.02544621005654335 + }, + "else": { + "operation": "boost", + "score": 0.19021964073181152 + } }, "else": { "operation": "boost", - "score": 0.12388481944799423 + "score": 0.0372600220143795 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { + "operation": "boost", + "score": -0.08638297021389008 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13352929055690765 + "score": 0.09217248111963272 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.047753434628248215 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1775113046169281 + }, + "else": { + "operation": "boost", + "score": -0.012051818892359734 + } + }, + "else": { + "operation": "boost", + "score": 0.4113865792751312 + } }, "else": { "operation": "boost", - "score": -0.5302838087081909 + "score": -0.07542635500431061 } }, "else": { "operation": "boost", - "score": 0.13333268463611603 + "score": 0.08533185720443726 } } - }, - "else": { - "operation": "boost", - "score": 0.016924137249588966 } } + } + }, + "else": { + "operation": "boost", + "score": 0.03266829624772072 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10818713903427124, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.19281306862831116 + }, + "else": { + "operation": "boost", + "score": 0.07022646069526672 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0035237015690654516 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.05850023403763771 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.009901142679154873 + "score": 0.10705236345529556 }, "else": { "operation": "boost", - "score": 0.07154294103384018 + "score": -0.015421172603964806 } } + }, + "else": { + "operation": "boost", + "score": -0.1407686471939087 } - }, - "else": { - "operation": "boost", - "score": -0.011761737987399101 } } }, "else": { - "operation": "boost", - "score": -0.0844401940703392 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.0, + "then": { + "operation": "boost", + "score": 0.03625686839222908 + }, + "else": { + "operation": "boost", + "score": 0.14237266778945923 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -2.4820363521575928 + }, + "else": { + "operation": "boost", + "score": -0.026000086218118668 + } + } + }, + "else": { + "operation": "boost", + "score": 0.016221530735492706 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 3234.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.4553963541984558 + }, + "else": { + "operation": "boost", + "score": -0.07817521691322327 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3145.5, "then": { "operation": "boost", - "score": -0.06493102759122849 + "score": 0.13516667485237122 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.1633283942937851 + "score": -0.0019132355228066444 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.33095210790634155 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1602.5, + "then": { + "operation": "boost", + "score": -0.2511843144893646 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1381.0, + "then": { + "operation": "boost", + "score": 0.10409433394670486 + }, + "else": { + "operation": "boost", + "score": -0.0267350934445858 + } + } }, "else": { - "operation": "boost", - "score": -0.9506571292877197 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.14840231835842133 + }, + "else": { + "operation": "boost", + "score": -0.0055223372764885426 + } } } } - }, - "else": { - "operation": "boost", - "score": 0.0002136744005838409 } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0006290103192441165 }, "else": { "operation": "boost", - "score": 0.000948573462665081 + "score": -0.0018201445927843451 } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": -0.08924809098243713 + } + } + }, + { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.0018395435763522983 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.03062356449663639 - }, - "else": { - "operation": "boost", - "score": 0.1595979630947113 - } - } - }, - "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, @@ -354405,1271 +392614,608 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", "Function", - "Namespace" + "Keyword", + "Macro" ], "then": { - "operation": "boost", - "score": -0.11332527548074722 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07996450364589691 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263945.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, + "then": { + "operation": "boost", + "score": -0.03383629396557808 + }, + "else": { + "operation": "boost", + "score": 0.08005902171134949 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.012567941099405289 + }, + "else": { + "operation": "boost", + "score": 0.010880551300942898 + } + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 858647.0, "then": { "operation": "boost", - "score": 0.11247611790895462 + "score": -0.10505779087543488 }, "else": { "operation": "boost", - "score": -0.3222096264362335 + "score": -0.009539306163787842 } } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.44313979148864746 - }, - "else": { - "operation": "boost", - "score": -0.022226279601454735 - } + "operation": "boost", + "score": 0.004619547165930271 } + }, + "else": { + "operation": "boost", + "score": -0.0016081552021205425 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.05034294351935387 - }, - "else": { - "operation": "boost", - "score": -0.08661295473575592 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.06771028786897659 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08738276362419128 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.09486077725887299 + }, + "else": { + "operation": "boost", + "score": 0.16157403588294983 + } + }, + "else": { + "operation": "boost", + "score": 0.1962926983833313 + } + } }, "else": { "operation": "boost", - "score": -0.13387079536914825 + "score": 0.06838086992502213 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.568488597869873 }, "else": { "operation": "boost", - "score": 0.09254157543182373 + "score": 0.04103521257638931 } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0008145553874783218 - } - }, - { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.06378210335969925 - }, - "else": { - "operation": "boost", - "score": -0.11297336220741272 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.00010794147237902507 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.007717037573456764 }, "else": { - "operation": "boost", - "score": -0.10573960840702057 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16649.0, + "threshold": 254.5, "then": { - "operation": "boost", - "score": 0.012158913537859917 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 258.5, + "then": { + "operation": "boost", + "score": 0.0616641491651535 + }, + "else": { + "operation": "boost", + "score": 0.22136101126670837 + } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": -0.20093318819999695 + "score": -1.2869962453842163 }, "else": { - "operation": "boost", - "score": 0.10419701784849167 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.016595540568232536 + }, + "else": { + "operation": "boost", + "score": 0.09149549156427383 + } } }, "else": { "operation": "boost", - "score": 0.04633164778351784 + "score": 0.024530835449695587 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 348.0, - "then": { - "operation": "boost", - "score": -0.018603401258587837 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 313.5, - "then": { - "operation": "boost", - "score": 0.09407202899456024 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 229.5, - "then": { - "operation": "boost", - "score": -0.02316010184586048 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, - "then": { - "operation": "boost", - "score": 0.11651613563299179 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.5, - "then": { - "operation": "boost", - "score": -0.15063126385211945 - }, - "else": { - "operation": "boost", - "score": 0.09538327902555466 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.6947469711303711 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.0916864201426506 - }, - "else": { - "operation": "boost", - "score": -0.2931008040904999 - } - }, - "else": { - "operation": "boost", - "score": 0.10212986916303635 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10930949449539185 - }, - "else": { - "operation": "boost", - "score": -0.11462529748678207 - } - }, - "else": { - "operation": "boost", - "score": -0.047572407871484756 - } - } - }, - "else": { - "operation": "boost", - "score": -0.060561783611774445 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.056049346923828125 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.010264805518090725 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.06697729974985123 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": -0.9596304893493652 - }, - "else": { - "operation": "boost", - "score": -0.3590363562107086 - } - } - } - } - } - } - } + "operation": "boost", + "score": -0.04191283881664276 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08576854318380356 - }, - "else": { - "operation": "boost", - "score": -0.114412322640419 - } - }, - "else": { - "operation": "boost", - "score": 0.021915633231401443 - } - }, - "else": { - "operation": "boost", - "score": 0.05478818342089653 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.4932118058204651 - }, - "else": { - "operation": "boost", - "score": -0.3596130907535553 - } - } + "operation": "boost", + "score": 0.021771855652332306 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 10.0, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1300443708896637 - }, - "else": { - "operation": "boost", - "score": -0.031324855983257294 - } + "operation": "boost", + "score": -0.0838884562253952 }, "else": { "operation": "boost", - "score": 0.005557127296924591 + "score": 0.2058526575565338 } } }, "else": { + "operation": "boost", + "score": 0.015099333599209785 + } + }, + "else": { + "operation": "boost", + "score": -0.058374568819999695 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.012798049487173557 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1615.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1639.0, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0356200747191906 + "score": -0.2071797400712967 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03496947139501572 + "score": -0.02602568455040455 }, "else": { - "operation": "boost", - "score": 0.19545257091522217 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04031198099255562 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", - "Variable", + "Constructor", "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", "Operator", - "Unknown", - "Constructor", "Type", - "Namespace" + "Variable" ], "then": { "operation": "boost", - "score": 0.1666792780160904 + "score": 0.09026122093200684 }, "else": { "operation": "boost", - "score": -0.505709707736969 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.11460010707378387 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10034927725791931 - }, - "else": { - "operation": "boost", - "score": -0.10121184587478638 - } + "score": -0.10000117123126984 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "boost", - "score": 0.3085139989852905 - }, - "else": { - "operation": "boost", - "score": 0.06696678698062897 - } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.024800816550850868 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.05910249799489975 - }, - "else": { - "operation": "boost", - "score": 0.0973525419831276 - } - }, - "else": { - "operation": "boost", - "score": 0.0 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.46254271268844604 - }, - "else": { - "operation": "boost", - "score": -0.10130380094051361 - } - } + "operation": "boost", + "score": -0.19453516602516174 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.15207135677337646 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, "then": { "operation": "boost", - "score": -0.11956058442592621 + "score": 0.18892046809196472 }, "else": { "operation": "boost", - "score": 0.10429756343364716 + "score": 0.09926760196685791 } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.10415098816156387 - }, - "else": { - "operation": "boost", - "score": 0.0026562537532299757 - } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.006180633790791035 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.08390699326992035 - }, - "else": { - "operation": "boost", - "score": -0.0281053576618433 - } - } + "operation": "boost", + "score": 0.013733488507568836 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.29445481300354004 }, "else": { "operation": "boost", - "score": -0.03519997000694275 + "score": -0.03839542344212532 } }, "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1409132033586502 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.023849720135331154 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.009404129348695278 - }, - "else": { - "operation": "boost", - "score": -0.05812111124396324 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 15605.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 838.0, + "threshold": 16033.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 219439.0, "then": { - "operation": "boost", - "score": -0.013300331309437752 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 234850.0, "then": { "operation": "boost", - "score": 0.05269069969654083 + "score": -0.0031076185405254364 }, "else": { "operation": "boost", - "score": -0.33596494793891907 + "score": -0.16449719667434692 } + }, + "else": { + "operation": "boost", + "score": 0.02113214321434498 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 735.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.08889203518629074 + "score": 0.11621938645839691 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.028061265125870705 - }, - "else": { - "operation": "boost", - "score": -0.05789916589856148 - } + "operation": "boost", + "score": -0.19613780081272125 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 13946.0, "then": { "operation": "boost", - "score": 0.11050862073898315 + "score": -0.1620010882616043 }, "else": { - "operation": "boost", - "score": -0.30428245663642883 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.053861103951931 + "score": -0.014628218486905098 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 948.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.04772607609629631 + "score": 0.4389839470386505 }, "else": { - "operation": "boost", - "score": -0.19403177499771118 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "boost", - "score": -0.020631110295653343 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.12486311048269272 - }, - "else": { - "operation": "boost", - "score": 0.07903818786144257 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.016808252781629562 - }, - "else": { - "operation": "boost", - "score": 0.1402163803577423 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08949548751115799 - }, - "else": { - "operation": "boost", - "score": -0.6340553760528564 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.4050194025039673 - }, - "else": { - "operation": "boost", - "score": 0.12019115686416626 - } - }, - "else": { - "operation": "boost", - "score": -0.10795020312070847 - } + "score": 0.13135851919651031 }, "else": { "operation": "boost", - "score": 0.0015976623399183154 + "score": -0.09342202544212341 } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.15007257461547852 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.0065987748093903065 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.14861907064914703 }, "else": { "operation": "boost", - "score": 0.15267761051654816 + "score": 0.06536819785833359 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistanceCost", + "threshold": 23.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.08789321035146713 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.18215247988700867 - }, - "else": { - "operation": "boost", - "score": 0.010525195859372616 - } - }, - "else": { - "operation": "boost", - "score": 0.0179100651293993 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0965641513466835 - } + "operation": "boost", + "score": 0.00520961033180356 }, "else": { "operation": "boost", - "score": 0.03496309369802475 + "score": -0.04519061744213104 } } } - }, - "else": { + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04588489979505539 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55801.5, + "then": { + "operation": "boost", + "score": -0.12577266991138458 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.1282811015844345 + }, + "else": { + "operation": "boost", + "score": -0.10834933072328568 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "boost", + "score": -0.10118549317121506 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.07284963876008987 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.12077067792415619 - }, - "else": { - "operation": "boost", - "score": 0.10703549534082413 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.0889589935541153 - }, - "else": { - "operation": "boost", - "score": 0.11156845092773438 - } - } + "operation": "boost", + "score": 0.05758035182952881 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 24093.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.016394976526498795 + "score": 0.07398053258657455 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.1367480605840683 - }, - "else": { - "operation": "boost", - "score": -0.3230268359184265 - } + "operation": "boost", + "score": 0.12518151104450226 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.029200134798884392 - }, - "else": { - "operation": "boost", - "score": 0.14172956347465515 - } - }, - "else": { - "operation": "boost", - "score": -0.004184836987406015 - } + "operation": "boost", + "score": 0.16277997195720673 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.05109884962439537 - }, - "else": { - "operation": "boost", - "score": -0.007858586497604847 - } + "operation": "boost", + "score": -0.3171735107898712 } + }, + "else": { + "operation": "boost", + "score": 0.022748274728655815 } + }, + "else": { + "operation": "boost", + "score": -0.015606881119310856 } - }, - "else": { - "operation": "boost", - "score": 0.020581314340233803 } } } @@ -355678,1463 +393224,2081 @@ }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07234769314527512 - }, - "else": { - "operation": "boost", - "score": 0.0631183311343193 - } - }, - "else": { - "operation": "boost", - "score": -0.07154730707406998 - } - }, - "else": { - "operation": "boost", - "score": -0.0007746167830191553 - } - }, - "else": { - "operation": "boost", - "score": 0.10331084579229355 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.001933826133608818 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.11364448070526123 - }, - "else": { - "operation": "boost", - "score": -0.12895174324512482 - } - } - }, - "else": { - "operation": "boost", - "score": -0.18170765042304993 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04395516961812973 - }, - "else": { - "operation": "boost", - "score": -0.0859576016664505 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08167087286710739 - }, - "else": { - "operation": "boost", - "score": -0.019127285107970238 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -2.4026456230785698e-05 - } - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0018399425316601992 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.005538186524063349 - }, - "else": { - "operation": "boost", - "score": -0.007099279668182135 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ParenthesizedExpression" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { + "operation": "boost", + "score": -0.023558596149086952 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.0048832339234650135 + "score": 0.0022884225472807884 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.12427201867103577 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.09536249935626984 + "score": -0.024608075618743896 }, "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, + "then": { + "operation": "boost", + "score": -0.004745498299598694 + }, + "else": { + "operation": "boost", + "score": 0.020411629229784012 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { "operation": "boost", - "score": -0.10480455309152603 + "score": 0.00493338517844677 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { + "operation": "boost", + "score": -0.0023401177022606134 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.10532920807600021 + }, + "else": { + "operation": "boost", + "score": -0.062200017273426056 + } + } } } } }, "else": { "operation": "boost", - "score": -0.06930069625377655 + "score": -0.005029371008276939 } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": -0.06750716269016266 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.12763427197933197 + }, + "else": { + "operation": "boost", + "score": 0.05713396519422531 + } }, "else": { "operation": "boost", - "score": 0.06772234290838242 + "score": 0.08336839824914932 } - } - }, - "else": { - "operation": "boost", - "score": 0.011025740765035152 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007489602081477642 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 294602.0, "then": { "operation": "boost", - "score": -0.021252118051052094 + "score": -0.031132616102695465 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Unknown", + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 6653.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10936740040779114 + }, + "else": { + "operation": "boost", + "score": 0.1060967668890953 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014029252342879772 + }, + "else": { + "operation": "boost", + "score": -0.02773539535701275 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2204572707414627 + "score": -0.0011295386357232928 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10109599679708481 - }, - "else": { - "operation": "boost", - "score": 0.07680962979793549 - } + "operation": "boost", + "score": -0.015504920855164528 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Statement", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.11198756843805313 - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ParenthesizedExpression", + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.20407168567180634 + "score": 0.18413811922073364 }, "else": { "operation": "boost", - "score": 0.08712541311979294 + "score": 0.07507546991109848 } + }, + "else": { + "operation": "boost", + "score": 0.06251420080661774 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.01052157487720251 + "score": 0.07081421464681625 }, "else": { "operation": "boost", - "score": 0.1238420382142067 + "score": 0.043044909834861755 } } } }, "else": { "operation": "boost", - "score": 0.012826112098991871 + "score": 0.010933182202279568 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "boost", + "score": 0.03432159870862961 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.0005937851965427399 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13998.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { - "operation": "boost", - "score": 0.03399742767214775 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { "operation": "boost", - "score": 0.09751220047473907 + "score": 0.0023065090645104647 }, "else": { - "operation": "boost", - "score": 0.11744139343500137 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.010186317376792431 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.12088781595230103 + }, + "else": { + "operation": "boost", + "score": 0.12834300100803375 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.018665216863155365 } }, "else": { - "operation": "boost", - "score": -0.07543954998254776 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.00785101018846035 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1994190365076065 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.03413897752761841 + }, + "else": { + "operation": "boost", + "score": 0.09701702743768692 + } + }, + "else": { + "operation": "boost", + "score": 0.032249122858047485 + } + }, + "else": { + "operation": "boost", + "score": 0.0214782003313303 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005759338848292828 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "boost", + "score": -0.01652326062321663 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.09784293919801712 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72713.0, + "then": { + "operation": "boost", + "score": -0.15076492726802826 + }, + "else": { + "operation": "boost", + "score": 0.016895882785320282 + } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.019299160689115524 + "score": 0.05586816743016243 }, "else": { - "operation": "boost", - "score": -0.12641742825508118 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36980.0, + "then": { + "operation": "boost", + "score": 0.04825780168175697 + }, + "else": { + "operation": "boost", + "score": -0.0607980340719223 + } } } + }, + "else": { + "operation": "boost", + "score": -0.046476900577545166 } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.1036534309387207 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.05431767925620079 + "score": 0.0927814394235611 }, "else": { "operation": "boost", - "score": 0.007782378233969212 + "score": -0.051255401223897934 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Type" + "Type" ], "then": { "operation": "boost", - "score": 0.04444018006324768 + "score": 0.11628150194883347 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.0382830873131752 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13795356452465057 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1136757954955101 - }, - "else": { - "operation": "boost", - "score": 0.01110877189785242 - } - } - } + "operation": "boost", + "score": 0.037893783301115036 } }, "else": { "operation": "boost", - "score": 0.04880242422223091 + "score": 0.1241949200630188 } + }, + "else": { + "operation": "boost", + "score": 0.026205414906144142 } - }, - "else": { - "operation": "boost", - "score": 0.0033682279754430056 } + }, + "else": { + "operation": "boost", + "score": -0.016951261088252068 } - }, - "else": { - "operation": "boost", - "score": 0.00037265062564983964 } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.041544605046510696 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.002076759934425354 + }, + "else": { + "operation": "boost", + "score": 0.00850109662860632 + } + }, + "else": { + "operation": "boost", + "score": -2.8240128813195042e-06 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": 0.004716977477073669 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.11111972481012344 + }, + "else": { + "operation": "boost", + "score": -0.2852419912815094 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1277230978012085 }, "else": { "operation": "boost", - "score": -0.012829042971134186 + "score": 0.09033071249723434 } } + }, + "else": { + "operation": "boost", + "score": 0.006714810151606798 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "boost", + "score": -0.17579662799835205 }, "else": { + "operation": "boost", + "score": 0.0009848774643614888 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14372.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15158.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15677.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 16126.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.0204616691917181 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16170.5, + "then": { + "operation": "boost", + "score": 0.003436499275267124 + }, + "else": { + "operation": "boost", + "score": -0.17235681414604187 + } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": -0.018482277169823647 + "score": -0.007215278688818216 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1074118.5, "then": { "operation": "boost", - "score": 0.008581782691180706 + "score": 0.08231926709413528 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10148649662733078 - }, - "else": { - "operation": "boost", - "score": -0.14938940107822418 - } + "operation": "boost", + "score": -0.04824540764093399 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07480168342590332 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 16033.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.0, "then": { - "operation": "boost", - "score": 0.022593140602111816 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.08557764440774918 + "score": 0.15192297101020813 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.018838685005903244 - }, - "else": { - "operation": "boost", - "score": 0.09906835108995438 - } - }, - "else": { - "operation": "boost", - "score": -0.13123507797718048 - } + "operation": "boost", + "score": 0.08925667405128479 } + }, + "else": { + "operation": "boost", + "score": 0.1642187535762787 } }, "else": { - "operation": "boost", - "score": -0.038913603872060776 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08919265121221542 + }, + "else": { + "operation": "boost", + "score": -0.07123707234859467 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 15964.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "boost", - "score": -0.2044840157032013 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.19381938874721527 + "score": 0.12057824432849884 }, "else": { "operation": "boost", - "score": -1.5396077632904053 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05858014151453972 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 308.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21470.0, - "then": { - "operation": "boost", - "score": 0.05040978640317917 - }, - "else": { - "operation": "boost", - "score": 0.11355443298816681 - } - }, - "else": { - "operation": "boost", - "score": -0.14588484168052673 - } - }, - "else": { - "operation": "boost", - "score": 0.119831882417202 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0438089482486248 - }, - "else": { - "operation": "boost", - "score": -0.3233487010002136 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.01677219569683075 - }, - "else": { - "operation": "boost", - "score": -0.5210446715354919 - } - }, - "else": { - "operation": "boost", - "score": 0.024648120626807213 - } + "score": 0.12910480797290802 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08317450433969498 - }, - "else": { - "operation": "boost", - "score": 0.10797899961471558 - } - }, - "else": { - "operation": "boost", - "score": 0.0629810318350792 - } + "operation": "boost", + "score": 0.10093075037002563 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 15687.5, "then": { + "operation": "boost", + "score": 0.035667113959789276 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3171.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.0, "then": { "operation": "boost", - "score": 0.02799614891409874 + "score": 0.014867128804326057 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.022720549255609512 + "score": -0.18368585407733917 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.39826324582099915 - }, - "else": { - "operation": "boost", - "score": -0.12498242408037186 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { "operation": "boost", - "score": 0.085941843688488 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.2123987227678299 - }, - "else": { - "operation": "boost", - "score": -0.23428353667259216 - } + "score": 0.1083170473575592 } - }, - "else": { - "operation": "boost", - "score": -0.004975901450961828 } } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1198127344250679 + }, + "else": { + "operation": "boost", + "score": 0.026115750893950462 + } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15389.0, + "then": { + "operation": "boost", + "score": -0.09925859421491623 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06703482568264008 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_TopLevel" + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.01501523982733488 + "score": 0.06315435469150543 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { - "operation": "boost", - "score": 0.03317462280392647 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.12386784702539444 + }, + "else": { + "operation": "boost", + "score": 0.06931983679533005 + } }, "else": { "operation": "boost", - "score": 0.10778061300516129 + "score": -0.06257608532905579 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.21616092324256897 - }, - "else": { - "operation": "boost", - "score": 0.05478822439908981 - } + "operation": "boost", + "score": -0.050584230571985245 } } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.002275702776387334 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15079.5, "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.031658679246902466 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": -0.09188617765903473 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.1577855944633484 + }, + "else": { + "operation": "boost", + "score": 0.157576322555542 + } + }, + "else": { + "operation": "boost", + "score": -0.11666391789913177 + } + } + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14845.0, "then": { - "operation": "boost", - "score": 0.04461078345775604 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.05084504559636116 + "score": 0.10996665060520172 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.0399295836687088 + "score": 0.003976177424192429 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10707342624664307 - }, - "else": { - "operation": "boost", - "score": 0.09877005964517593 - } - }, - "else": { - "operation": "boost", - "score": -0.10239730030298233 - } + "operation": "boost", + "score": 0.09200970828533173 } } + }, + "else": { + "operation": "boost", + "score": -0.02041461504995823 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14599.5, "then": { + "operation": "boost", + "score": 0.011080422438681126 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.5739210247993469 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.034361060708761215 + "score": 0.14549696445465088 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.0825238972902298 + "score": 0.17312155663967133 }, "else": { "operation": "boost", - "score": 0.11862460523843765 + "score": 0.03719789534807205 } } }, + "else": { + "operation": "boost", + "score": -0.055069562047719955 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0019320267019793391 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14187.0, + "then": { + "operation": "boost", + "score": -0.11677736043930054 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14112.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10361836850643158 + }, + "else": { + "operation": "boost", + "score": 0.10755576193332672 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12748.5, + "then": { + "operation": "boost", + "score": -0.08568226546049118 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 12677.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 12720.5, "then": { + "operation": "boost", + "score": 0.042771317064762115 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": -0.1063745990395546 + "score": 0.09045524150133133 }, "else": { - "operation": "boost", - "score": 0.11924582719802856 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.14198987185955048 + }, + "else": { + "operation": "boost", + "score": 0.10569652169942856 + } } - }, - "else": { - "operation": "boost", - "score": 0.07424243539571762 } }, "else": { "operation": "boost", - "score": 0.03705926612019539 + "score": 0.014368527568876743 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "operation": "boost", + "score": -0.014791684225201607 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.02380952425301075, "then": { + "operation": "boost", + "score": -0.023854410275816917 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04037795588374138 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 178.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 729.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1549.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3480.5, + "then": { + "operation": "boost", + "score": 0.042773108929395676 + }, + "else": { + "operation": "boost", + "score": 0.12337666749954224 + } + }, + "else": { + "operation": "boost", + "score": -0.2986131012439728 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 365.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.16912853717803955 + }, + "else": { + "operation": "boost", + "score": 0.03006824478507042 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 219.0, + "then": { + "operation": "boost", + "score": -0.10125704109668732 + }, + "else": { + "operation": "boost", + "score": 0.16579711437225342 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.040245942771434784 + } + }, + "else": { + "operation": "boost", + "score": 0.1771744042634964 + } + }, + "else": { + "operation": "boost", + "score": -0.11804169416427612 + } }, "else": { - "operation": "boost", - "score": -0.18699730932712555 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1585.5, + "then": { + "operation": "boost", + "score": -0.019258154556155205 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1102.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1302.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1438.5, + "then": { + "operation": "boost", + "score": 0.19504515826702118 + }, + "else": { + "operation": "boost", + "score": -0.1402643322944641 + } + }, + "else": { + "operation": "boost", + "score": 0.10733944177627563 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1032.0, + "then": { + "operation": "boost", + "score": -0.9011546969413757 + }, + "else": { + "operation": "boost", + "score": 0.08076095581054688 + } + } + } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": 0.09016178548336029 + }, + "else": { + "operation": "boost", + "score": -0.016475439071655273 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.006311174016445875 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.010866246186196804 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.016386142000555992 + "score": 0.0771169438958168 + }, + "else": { + "operation": "boost", + "score": -0.18406878411769867 + } + }, + "else": { + "operation": "boost", + "score": -0.009550091810524464 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.05285480618476868 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "boost", + "score": 0.07120689749717712 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2153846174478531, + "then": { + "operation": "boost", + "score": -0.2538992464542389 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1678321659564972, + "then": { + "operation": "boost", + "score": 0.2578906714916229 + }, + "else": { + "operation": "boost", + "score": -0.1719723492860794 + } + } + }, + "else": { + "operation": "boost", + "score": 0.031575415283441544 + } + } + } }, "else": { "operation": "boost", - "score": 0.08967249095439911 + "score": 0.07402250170707703 } }, "else": { "operation": "boost", - "score": -0.033642515540122986 + "score": 0.0027213534340262413 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" + "ClassScope", + "FunctionScope", + "GlobalScope" ], "then": { - "operation": "boost", - "score": 0.08280761539936066 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.19090908765792847, + "then": { + "operation": "boost", + "score": -0.07064452767372131 + }, + "else": { + "operation": "boost", + "score": 0.0954703614115715 + } + }, + "else": { + "operation": "boost", + "score": 0.022819215431809425 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.08671228587627411 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "boost", + "score": 0.00786390621215105 + }, + "else": { + "operation": "boost", + "score": 0.08091912418603897 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.1011577770113945 + }, + "else": { + "operation": "boost", + "score": -0.02129954844713211 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.25833332538604736, + "then": { + "operation": "boost", + "score": 0.014212153851985931 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.006734130904078484 + }, + "else": { + "operation": "boost", + "score": -0.08410437405109406 + } + } + } }, "else": { - "operation": "boost", - "score": -0.26963353157043457 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.013419484719634056 + }, + "else": { + "operation": "boost", + "score": -0.2824150323867798 + } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, "then": { - "operation": "boost", - "score": 0.1255979686975479 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.09739644080400467 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.5196470618247986 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, + "then": { + "operation": "boost", + "score": 0.031172320246696472 + }, + "else": { + "operation": "boost", + "score": 0.06027568504214287 + } + } }, "else": { - "operation": "boost", - "score": -0.3274013102054596 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.00609182845801115 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": 0.02416215091943741 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.18290702998638153 + }, + "else": { + "operation": "boost", + "score": 0.17941200733184814 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.10515424609184265 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.016135310754179955 + }, + "else": { + "operation": "boost", + "score": 0.09654080867767334 + } + } + } + } + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.2588683068752289 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.012848610989749432 }, "else": { "operation": "boost", - "score": -0.40926867723464966 + "score": 0.007525093853473663 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.06255032867193222 }, "else": { "operation": "boost", - "score": -0.06391981989145279 + "score": -0.000749573518987745 } } + }, + "else": { + "operation": "boost", + "score": 0.004157901741564274 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Function", + "Macro", + "Unknown", + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.11763054877519608 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.00794640090316534 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12934.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12997.5, + "then": { + "operation": "boost", + "score": 0.049631934612989426 + }, + "else": { + "operation": "boost", + "score": 0.12626834213733673 + } + }, + "else": { + "operation": "boost", + "score": 0.011487902142107487 + } + } }, "else": { "operation": "boost", - "score": -0.25438231229782104 + "score": -0.09908746927976608 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11245.0, "then": { + "operation": "boost", + "score": 0.08141900599002838 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.39230769872665405, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.30136480927467346 + "score": 0.024914102628827095 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.1366138607263565 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { + "operation": "boost", + "score": 0.013875874690711498 + }, + "else": { + "operation": "boost", + "score": 0.12330986559391022 + } }, "else": { "operation": "boost", - "score": 0.05423160269856453 + "score": 0.047345831990242004 } } }, "else": { "operation": "boost", - "score": 0.015202966518700123 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.21954023838043213 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.08835957944393158 - }, - "else": { - "operation": "boost", - "score": -0.003556353272870183 - } + "score": -0.017665443941950798 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 13823.0, "then": { - "operation": "boost", - "score": 0.023426571860909462 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09238967299461365 - }, - "else": { - "operation": "boost", - "score": 0.10778338462114334 - } - }, - "else": { - "operation": "boost", - "score": 0.05557025969028473 - } + "operation": "boost", + "score": -0.3091064393520355 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.07400637120008469 - }, - "else": { - "operation": "boost", - "score": -0.0066936686635017395 - } + "operation": "boost", + "score": -0.0713181421160698 } + }, + "else": { + "operation": "boost", + "score": 0.0049867648631334305 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.07025980949401855 - }, - "else": { - "operation": "boost", - "score": 0.026580005884170532 - } + "operation": "boost", + "score": -0.004249603021889925 } } }, "else": { - "operation": "boost", - "score": 0.006579677574336529 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0004911479772999883 + }, + "else": { + "operation": "boost", + "score": -0.002238690387457609 + } } } } @@ -357144,2605 +395308,2428 @@ { "operation": "if_greater", "feature": "NumReferences", - "threshold": 43.5, + "threshold": 2396.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 2397.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.03759480267763138 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 58.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 549.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 716.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2759.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2928.5, - "then": { - "operation": "boost", - "score": 0.043974872678518295 - }, - "else": { - "operation": "boost", - "score": 0.12465312331914902 - } - }, - "else": { - "operation": "boost", - "score": -0.09291550517082214 - } - }, - "else": { - "operation": "boost", - "score": 0.12309571355581284 - } - }, - "else": { - "operation": "boost", - "score": 0.05426182225346565 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12587890028953552 - }, - "else": { - "operation": "boost", - "score": -0.0833214819431305 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.004379970952868462 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.11943908780813217 - }, - "else": { - "operation": "boost", - "score": -0.007685762830078602 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 8200.0, "then": { - "operation": "boost", - "score": 0.041300948709249496 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4311.5, + "threshold": 8292.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12997.5, - "then": { - "operation": "boost", - "score": 0.018617823719978333 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6623.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6956.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10094.0, - "then": { - "operation": "boost", - "score": 0.1699139028787613 - }, - "else": { - "operation": "boost", - "score": 0.06104579567909241 - } - }, - "else": { - "operation": "boost", - "score": 0.1247696653008461 - } - }, - "else": { - "operation": "boost", - "score": 0.0356840081512928 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, + "threshold": 241916.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.010520048439502716 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 269251.0, + "then": { + "operation": "boost", + "score": 0.023905357345938683 + }, + "else": { + "operation": "boost", + "score": -0.49215441942214966 + } }, "else": { "operation": "boost", - "score": -0.08319052308797836 + "score": -0.010008485987782478 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 616.0, + "threshold": 234850.0, "then": { "operation": "boost", - "score": 0.09463086724281311 + "score": 0.03827682510018349 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 220295.0, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "NumNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.09380321204662323 + "score": 0.09494727104902267 }, "else": { "operation": "boost", - "score": 0.010320114903151989 + "score": -0.21192941069602966 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.08859140425920486 - }, - "else": { - "operation": "boost", - "score": -0.3078831136226654 - } - }, - "else": { - "operation": "boost", - "score": -0.4144437909126282 - } + "operation": "boost", + "score": -0.1677309274673462 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148.5, + "threshold": 8347.5, "then": { - "operation": "boost", - "score": -0.015980374068021774 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9853.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 142.5, + "threshold": 84795.5, "then": { - "operation": "boost", - "score": 0.10727618634700775 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "boost", + "score": 0.027123363688588142 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.011113401502370834 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 95.5, + "threshold": 106632.0, "then": { "operation": "boost", - "score": 0.011872630566358566 + "score": 0.003862885059788823 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 88.5, + "threshold": 104857.0, "then": { "operation": "boost", - "score": 0.11583667248487473 + "score": -1.3605698347091675 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1905660480260849 + }, + "else": { + "operation": "boost", + "score": -0.02191457524895668 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44011.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45617.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46972.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49656.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58557.5, "then": { "operation": "boost", - "score": -0.04760150983929634 + "score": -0.015273950062692165 }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04963690787553787 + }, + "else": { + "operation": "boost", + "score": -0.045288845896720886 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1608573943376541 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.05633223056793213 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.11061357706785202 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.12195166200399399 - }, - "else": { - "operation": "boost", - "score": -0.11826609820127487 - } - } + "operation": "boost", + "score": -0.04961320012807846 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.08235250413417816 + "score": 0.09920187294483185 }, "else": { "operation": "boost", - "score": 0.12767459452152252 + "score": -0.0469905249774456 } } - }, - "else": { - "operation": "boost", - "score": 0.06414943188428879 } + }, + "else": { + "operation": "boost", + "score": 0.02812497317790985 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46338.5, + "then": { + "operation": "boost", + "score": 0.06500621140003204 + }, + "else": { + "operation": "boost", + "score": -0.1668405681848526 } } } }, "else": { "operation": "boost", - "score": -0.13615921139717102 + "score": -0.14278589189052582 } }, "else": { - "operation": "boost", - "score": 0.10879827290773392 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34626.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35883.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38668.0, + "then": { + "operation": "boost", + "score": 0.03111938387155533 + }, + "else": { + "operation": "boost", + "score": -0.16824868321418762 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.11288860440254211 + }, + "else": { + "operation": "boost", + "score": 0.06238013878464699 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.15384957194328308 + }, + "else": { + "operation": "boost", + "score": 0.01238479558378458 + } + } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 9542.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.04529581964015961 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9787.0, + "then": { + "operation": "boost", + "score": -0.045203059911727905 + }, + "else": { + "operation": "boost", + "score": 0.2001359462738037 + } }, "else": { - "operation": "boost", - "score": 0.09638898819684982 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.18665342032909393 + }, + "else": { + "operation": "boost", + "score": 0.01409200020134449 + } } }, "else": { - "operation": "boost", - "score": -0.1886570304632187 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.008884456939995289 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9261.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": -0.09202835708856583 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10530094802379608 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.1676507145166397 + }, + "else": { + "operation": "boost", + "score": 0.17723728716373444 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10499357432126999 + } + }, + "else": { + "operation": "boost", + "score": 0.09508862346410751 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8573.5, + "then": { + "operation": "boost", + "score": -0.10369367152452469 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.15849409997463226 + }, + "else": { + "operation": "boost", + "score": 0.09932303428649902 + } + } + } + } } } - } - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.5050637722015381 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.021434737369418144 - }, - "else": { - "operation": "boost", - "score": 0.10533293336629868 - } - }, - "else": { - "operation": "boost", - "score": -0.11036514490842819 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1649.5, - "then": { - "operation": "boost", - "score": -0.009090682491660118 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 222.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 223.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.03175930306315422 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10367385298013687 - }, - "else": { - "operation": "boost", - "score": 0.1122707650065422 - } }, "else": { "operation": "boost", - "score": 0.07514990121126175 + "score": -0.18368320167064667 } - }, - "else": { - "operation": "boost", - "score": 0.03284112364053726 } - }, - "else": { - "operation": "boost", - "score": 0.028168847784399986 } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.1250436156988144 + "score": 0.2226387858390808 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.0, "then": { "operation": "boost", - "score": 3.0883753299713135 + "score": -0.11548933386802673 }, "else": { - "operation": "boost", - "score": -0.10249660164117813 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8246.5, + "then": { + "operation": "boost", + "score": -0.10912522673606873 + }, + "else": { + "operation": "boost", + "score": 0.15641610324382782 + } } } } }, "else": { "operation": "boost", - "score": 0.024988213554024696 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1574.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1597.0, - "then": { - "operation": "boost", - "score": 0.01478119008243084 - }, - "else": { - "operation": "boost", - "score": 0.1065712422132492 + "score": -0.0022441952023655176 } }, "else": { "operation": "boost", - "score": -0.04709358513355255 + "score": 0.10897723585367203 } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76.0, + "threshold": 4972.0, "then": { "operation": "boost", - "score": 0.06019216403365135 + "score": -0.0020825418177992105 }, "else": { - "operation": "boost", - "score": 0.1004827693104744 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 81.5, + "threshold": 4917.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11957315355539322 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10692090541124344 - }, - "else": { - "operation": "boost", - "score": 0.06809946149587631 - } + "operation": "boost", + "score": 0.1347561627626419 }, "else": { "operation": "boost", - "score": -0.000826087431050837 + "score": 0.12260854244232178 } + }, + "else": { + "operation": "boost", + "score": 0.10991588979959488 } }, "else": { - "operation": "boost", - "score": 0.1332920640707016 - } - }, - "else": { - "operation": "boost", - "score": -0.0841573178768158 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0014009708538651466 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 182.5, - "then": { - "operation": "boost", - "score": -0.0312344990670681 - }, - "else": { - "operation": "boost", - "score": -0.43834787607192993 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 163.5, - "then": { - "operation": "boost", - "score": 0.09483952075242996 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 114.0, + "threshold": 4601.5, "then": { - "operation": "boost", - "score": -0.013833433389663696 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.058476462960243225 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.12578043341636658 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4794.0, + "then": { + "operation": "boost", + "score": 0.11177250742912292 + }, + "else": { + "operation": "boost", + "score": 0.01650853455066681 + } + } + }, + "else": { + "operation": "boost", + "score": 0.27360421419143677 + } }, "else": { - "operation": "boost", - "score": 0.09437920153141022 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.110075443983078 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12773491442203522 + }, + "else": { + "operation": "boost", + "score": 0.11353539675474167 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06627727299928665 + } } - } - }, - "else": { - "operation": "boost", - "score": -0.08841422945261002 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "boost", - "score": 0.10630036145448685 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, - "then": { - "operation": "boost", - "score": -0.07029896229505539 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 60.5, + "threshold": 2535.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4525.5, "then": { "operation": "boost", - "score": 0.16225554049015045 + "score": 0.10079101473093033 }, "else": { "operation": "boost", - "score": 0.08864784240722656 + "score": 0.027319665998220444 } }, "else": { "operation": "boost", - "score": -0.010173331014811993 + "score": 0.15096576511859894 } }, "else": { - "operation": "boost", - "score": 0.09139709174633026 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50.5, + "threshold": 2481.0, "then": { "operation": "boost", - "score": 0.10915199667215347 + "score": 0.1254696398973465 }, "else": { "operation": "boost", - "score": -0.3950292766094208 + "score": -0.022149287164211273 } - }, - "else": { - "operation": "boost", - "score": -0.2737055718898773 } + }, + "else": { + "operation": "boost", + "score": 0.012891126796603203 } } - }, - "else": { - "operation": "boost", - "score": -0.036611005663871765 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "boost", - "score": 0.10689855366945267 - }, - "else": { - "operation": "boost", - "score": -0.16940733790397644 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 267.0, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.10312318801879883 + "score": 0.00523970415815711 }, "else": { - "operation": "boost", - "score": -0.012966156005859375 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110.5, + "threshold": 8851.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 111.5, + "threshold": 749331.5, "then": { + "operation": "boost", + "score": 0.018654311075806618 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 133.5, + "threshold": 432212.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, - "then": { - "operation": "boost", - "score": 0.09516891837120056 - }, - "else": { - "operation": "boost", - "score": 0.009515030309557915 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "boost", - "score": 0.056885603815317154 + "score": -0.010871430858969688 }, "else": { "operation": "boost", - "score": 0.10612775385379791 + "score": 0.08590350300073624 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.0, "then": { "operation": "boost", - "score": 0.020692288875579834 + "score": -0.552549421787262 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.0711483433842659, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.6644459962844849 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.02234531007707119 + "score": 0.05436436086893082 }, "else": { "operation": "boost", - "score": 0.11986090242862701 + "score": -0.23354637622833252 } - }, - "else": { - "operation": "boost", - "score": 0.014163524843752384 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.10571538656949997 }, "else": { "operation": "boost", - "score": 0.10965141654014587 + "score": -0.03107127919793129 } } }, "else": { - "operation": "boost", - "score": -0.031893737614154816 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 8831.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09224028140306473 - }, - "else": { - "operation": "boost", - "score": -0.20117832720279694 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.12704749405384064 + "score": 0.17776896059513092 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.11931413412094116 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.23273968696594238 + }, + "else": { + "operation": "boost", + "score": 0.14251470565795898 + } + }, + "else": { + "operation": "boost", + "score": -0.11033426225185394 + } }, "else": { "operation": "boost", - "score": -0.02957492507994175 + "score": -0.1451665312051773 } } - } - }, - "else": { - "operation": "boost", - "score": 0.0059743463061749935 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, - "then": { - "operation": "boost", - "score": -0.15220382809638977 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, - "then": { - "operation": "boost", - "score": 0.11813758313655853 - }, - "else": { - "operation": "boost", - "score": -0.07399626076221466 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92.0, - "then": { - "operation": "boost", - "score": 0.11472474783658981 - }, - "else": { - "operation": "boost", - "score": -0.1370045244693756 - } - }, - "else": { - "operation": "boost", - "score": 0.018469203263521194 - } - }, - "else": { - "operation": "boost", - "score": 0.011158653534948826 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.007698480971157551 - }, - "else": { - "operation": "boost", - "score": 0.11291202902793884 - } - }, - "else": { - "operation": "boost", - "score": 0.04086155816912651 - } - }, - "else": { - "operation": "boost", - "score": -0.08911667764186859 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "boost", - "score": -0.2296466827392578 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.4414885640144348 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2433.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3587.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7867.5, + "then": { + "operation": "boost", + "score": -0.12955358624458313 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.019558610394597054 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3620.0, + "then": { + "operation": "boost", + "score": 0.07516475766897202 + }, + "else": { + "operation": "boost", + "score": 0.11801634728908539 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07318396121263504 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.07045062631368637 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2422.0, + "then": { + "operation": "boost", + "score": 0.15108948945999146 + }, + "else": { + "operation": "boost", + "score": 0.10539853572845459 + } + } + } }, "else": { "operation": "boost", - "score": 0.11546877026557922 + "score": -0.04221327602863312 } }, "else": { "operation": "boost", - "score": 0.13516798615455627 + "score": -0.029283693060278893 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2477.5, + "then": { + "operation": "boost", + "score": -0.009966242127120495 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2474.0, + "then": { + "operation": "boost", + "score": 0.11258555203676224 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11940986663103104 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.13811521232128143 - }, - "else": { - "operation": "boost", - "score": 0.12120804190635681 - } - } - }, - "else": { - "operation": "boost", - "score": -0.12811101973056793 - } + "operation": "boost", + "score": 0.09302167594432831 }, "else": { "operation": "boost", - "score": -0.025562645867466927 + "score": 0.12268704175949097 } } + }, + "else": { + "operation": "boost", + "score": 0.06708860397338867 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.08375032991170883 + }, + "else": { + "operation": "boost", + "score": 0.11655398458242416 + } + }, + "else": { + "operation": "boost", + "score": -0.1296103447675705 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.10574854165315628 }, "else": { "operation": "boost", - "score": 0.0028706334996968508 + "score": 0.0052376133389770985 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2433.0, + "then": { + "operation": "boost", + "score": 0.020696060732007027 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2413.0, + "then": { + "operation": "boost", + "score": 0.23673371970653534 + }, + "else": { + "operation": "boost", + "score": -0.04628428444266319 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.04161196947097778 + }, + "else": { + "operation": "boost", + "score": -0.058846160769462585 + } } } } }, "else": { - "operation": "boost", - "score": -0.00041070388397201896 - } - }, - { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2368.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05448847636580467 + }, + "else": { + "operation": "boost", + "score": 0.1148170605301857 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FractionNameInContext", + "threshold": 0.07948167622089386, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.01443571224808693 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.10207352787256241 - }, - "else": { - "operation": "boost", - "score": -0.1017247810959816 - } - } + "operation": "boost", + "score": -0.07547356933355331 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.022168787196278572 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, - "then": { - "operation": "boost", - "score": -0.05850684270262718 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 122.0, - "then": { - "operation": "boost", - "score": 0.12649790942668915 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01500410120934248 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07440101355314255 - }, - "else": { - "operation": "boost", - "score": 0.03878089040517807 - } - }, - "else": { - "operation": "boost", - "score": 0.07787970453500748 - } - }, - "else": { - "operation": "boost", - "score": 0.01501394435763359 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02570560947060585 - } - } - } - } + "operation": "boost", + "score": -1.7412958145141602 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110939.5, + "threshold": 2376.0, "then": { "operation": "boost", - "score": 0.07266800105571747 + "score": -0.2866320013999939 }, "else": { "operation": "boost", - "score": 0.0052414159290492535 + "score": 0.11853805929422379 } } }, + "else": { + "operation": "boost", + "score": -0.08009068667888641 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2360.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2366.0, + "then": { + "operation": "boost", + "score": -0.11890516430139542 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 2363.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "boost", - "score": 0.11490827798843384 + "score": 0.049389176070690155 }, "else": { "operation": "boost", - "score": -0.000640469545032829 + "score": 0.1333216279745102 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1439.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.1072305291891098 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06196935102343559 + "score": -0.21107201278209686 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.06803147494792938 + "score": 0.20263274013996124 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09578870981931686 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.10663352906703949 - }, - "else": { - "operation": "boost", - "score": 0.12468820065259933 - } - } + "operation": "boost", + "score": -0.25448375940322876 } }, "else": { - "operation": "boost", - "score": 0.013027466833591461 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.02745954506099224 + }, + "else": { + "operation": "boost", + "score": 0.1226196140050888 + } } } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10100223124027252 + }, + "else": { + "operation": "boost", + "score": -0.43217960000038147 + } } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 2329.5, + "then": { + "operation": "boost", + "score": -0.06746812164783478 + }, + "else": { + "operation": "boost", + "score": -0.0001065232718246989 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 400.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12837475538253784 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 520.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11912.0, + "threshold": 1729.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12036.5, + "threshold": 1739.5, "then": { "operation": "boost", - "score": 0.020366154611110687 + "score": 0.0008853296749293804 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, "then": { - "operation": "boost", - "score": 0.0375695638358593 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.13641153275966644 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1735.5, + "then": { + "operation": "boost", + "score": 0.13004910945892334 + }, + "else": { + "operation": "boost", + "score": -0.16222655773162842 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.1331801861524582 + "score": 0.04977458342909813 }, "else": { "operation": "boost", - "score": -0.10746349394321442 + "score": -0.6737316250801086 } } + }, + "else": { + "operation": "boost", + "score": 0.1862826645374298 } } }, "else": { - "operation": "boost", - "score": 0.009383467957377434 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1720.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 1725.0, "then": { "operation": "boost", - "score": -0.030331268906593323 + "score": -0.03302855044603348 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.10856659710407257 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.4104191064834595 - }, - "else": { - "operation": "boost", - "score": 0.11741691827774048 - } - } + "operation": "boost", + "score": -0.1440725177526474 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0905766636133194 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06842679530382156 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09670330584049225 - }, - "else": { - "operation": "boost", - "score": 0.11955961585044861 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03334978595376015 - } + "operation": "boost", + "score": -0.6841866970062256 } } }, "else": { - "operation": "boost", - "score": 0.12002699077129364 - } - }, - "else": { - "operation": "boost", - "score": 0.018805084750056267 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0012712248135358095 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3835.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3953.0, + "threshold": 773.5, "then": { "operation": "boost", - "score": 0.07783288508653641 + "score": 0.023642759770154953 }, "else": { - "operation": "boost", - "score": 0.11765507608652115 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 708.0, + "then": { + "operation": "boost", + "score": 0.11952941119670868 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.08877469599246979 + }, + "else": { + "operation": "boost", + "score": -0.3363729417324066 + } + }, + "else": { + "operation": "boost", + "score": 0.104281485080719 + } + } } }, - "else": { - "operation": "boost", - "score": 0.020607220008969307 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.009672742336988449 - }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.10114482790231705 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 557.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.004537058062851429 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": 0.04781821742653847 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.10966214537620544 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08546347171068192 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.1249484121799469 - }, - "else": { - "operation": "boost", - "score": 0.10541979223489761 - } - } - } + "operation": "boost", + "score": -0.10556032508611679 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.07156551629304886 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.16110585629940033 - }, - "else": { - "operation": "boost", - "score": 0.11509627848863602 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04866684228181839 - } + "operation": "boost", + "score": 0.12477510422468185 } - }, - "else": { - "operation": "boost", - "score": 0.08443323522806168 } + }, + "else": { + "operation": "boost", + "score": 0.023806890472769737 } }, "else": { - "operation": "boost", - "score": -0.002004520036280155 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10047905892133713 + }, + "else": { + "operation": "boost", + "score": -0.14479847252368927 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.02560274302959442 - }, - "else": { - "operation": "boost", - "score": 0.07806071639060974 - } + "operation": "boost", + "score": -0.03812374919652939 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 1673.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.02443879283964634 + "score": -0.0639258399605751 }, "else": { "operation": "boost", - "score": 0.08192253112792969 + "score": -0.8385810852050781 } }, "else": { "operation": "boost", - "score": 0.06442292034626007 + "score": 0.04401693493127823 } }, "else": { - "operation": "boost", - "score": 0.01437500398606062 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6941.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7434.5, - "then": { - "operation": "boost", - "score": 0.04425974562764168 - }, - "else": { - "operation": "boost", - "score": 0.11004376411437988 - } - }, - "else": { - "operation": "boost", - "score": -0.03117164969444275 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.03194443881511688 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.009994595311582088 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10179953277111053 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03545296564698219 - }, - "else": { - "operation": "boost", - "score": 0.08740795403718948 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 925.5, "then": { "operation": "boost", - "score": -0.009527924470603466 + "score": 0.10826091468334198 }, "else": { "operation": "boost", - "score": 0.05739439278841019 + "score": 0.10715515911579132 } }, "else": { "operation": "boost", - "score": 0.02187078446149826 + "score": -0.04713503643870354 } + }, + "else": { + "operation": "boost", + "score": 0.0520903654396534 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04399266466498375 }, "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.10286998748779297 + "score": 0.08937860280275345 }, "else": { "operation": "boost", - "score": -0.10135441273450851 + "score": -0.1783074587583542 } }, "else": { "operation": "boost", - "score": -0.13233156502246857 + "score": 0.06149536743760109 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1354.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1488.5, + "then": { + "operation": "boost", + "score": -0.26196372509002686 + }, + "else": { + "operation": "boost", + "score": 0.120048888027668 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1032.0, + "then": { + "operation": "boost", + "score": -0.3551044762134552 + }, + "else": { + "operation": "boost", + "score": -0.10422463715076447 + } } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 849.0, + "then": { + "operation": "boost", + "score": 0.1351213902235031 }, "else": { "operation": "boost", - "score": 0.032526761293411255 + "score": 0.11499398201704025 } + }, + "else": { + "operation": "boost", + "score": 0.06431320309638977 } + }, + "else": { + "operation": "boost", + "score": 0.09008995443582535 } + }, + "else": { + "operation": "boost", + "score": -0.008608760312199593 } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.02680942602455616 + }, + "else": { + "operation": "boost", + "score": -0.18533658981323242 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "boost", + "score": -0.01235773041844368 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 515.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.016651274636387825 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, + "then": { + "operation": "boost", + "score": 1.3732354640960693 + }, + "else": { + "operation": "boost", + "score": -0.11122173815965652 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.12372361123561859 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": 0.04390859231352806 + }, + "else": { + "operation": "boost", + "score": 0.11245977133512497 + } + } + } + } + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type", - "Namespace" + "CCC_Statement", + "CCC_TopLevel" ], "then": { + "operation": "boost", + "score": 0.18032318353652954 + }, + "else": { + "operation": "boost", + "score": -0.012609558179974556 + } + } + }, + "else": { + "operation": "boost", + "score": 0.050010599195957184 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.3348950445652008 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.2997075319290161 + }, + "else": { + "operation": "boost", + "score": 0.09103676676750183 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 509.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 512.0, + "then": { + "operation": "boost", + "score": 0.05087195336818695 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, + "then": { + "operation": "boost", + "score": 0.13900914788246155 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.024843985214829445 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.11767552047967911 - }, - "else": { - "operation": "boost", - "score": 0.013619810342788696 - } - } + "operation": "boost", + "score": 0.008547209203243256 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.04475861042737961 - }, - "else": { - "operation": "boost", - "score": 0.10431259870529175 - } + "operation": "boost", + "score": 0.34508296847343445 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 463.5, + "then": { + "operation": "boost", + "score": 0.13487206399440765 }, "else": { "operation": "boost", - "score": -0.10020677000284195 + "score": 0.016392644494771957 } }, "else": { "operation": "boost", - "score": -0.061696361750364304 + "score": 0.049396611750125885 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 29.5, "then": { + "operation": "boost", + "score": 0.22740663588047028 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15904514491558075 + }, + "else": { + "operation": "boost", + "score": 0.009609909728169441 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 460.0, "then": { "operation": "boost", - "score": -0.1197030246257782 + "score": -0.3137515187263489 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, + "feature": "NumReferences", + "threshold": 450.0, "then": { "operation": "boost", - "score": -0.10089657455682755 + "score": 0.3232956826686859 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.10101009905338287, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.132518008351326 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.10012048482894897 - }, - "else": { - "operation": "boost", - "score": 0.09794830530881882 - } - }, - "else": { - "operation": "boost", - "score": -0.11837286502122879 - } - } + "operation": "boost", + "score": 0.29359865188598633 }, "else": { "operation": "boost", - "score": 0.13668292760849 + "score": -0.2597801685333252 } } } }, "else": { "operation": "boost", - "score": 0.013632889837026596 + "score": 0.03782613202929497 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 402.5, "then": { - "operation": "boost", - "score": -0.11048706620931625 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 413.5, "then": { + "operation": "boost", + "score": 0.007525804452598095 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 407.5, "then": { "operation": "boost", - "score": 0.030460244044661522 + "score": 0.637587308883667 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.06810175627470016 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.06455749273300171 - }, - "else": { - "operation": "boost", - "score": 0.11314165592193604 - } - }, - "else": { - "operation": "boost", - "score": 0.08379708230495453 - } - } + "operation": "boost", + "score": 0.026734132319688797 } - }, - "else": { - "operation": "boost", - "score": 0.11329077929258347 } }, - "else": { - "operation": "boost", - "score": 0.05716373771429062 - } - }, - "else": { - "operation": "boost", - "score": 0.05378985032439232 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.020080694928765297 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04762644320726395 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.0016945742536336184 - }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 448.0, "then": { "operation": "boost", - "score": -0.10135223716497421 + "score": -0.10079535096883774 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 410.5, "then": { "operation": "boost", - "score": 0.07014783471822739 + "score": 0.8630414605140686 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.08468686789274216 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.0942540392279625 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.03290094435214996 - }, - "else": { - "operation": "boost", - "score": 0.08599992841482162 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07151814550161362 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.08023722469806671 - }, - "else": { - "operation": "boost", - "score": 0.08223174512386322 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.06718258559703827 - }, - "else": { - "operation": "boost", - "score": 0.0775982066988945 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13138209283351898 - } - } + "operation": "boost", + "score": -0.10029690712690353 } } } }, "else": { "operation": "boost", - "score": 0.04647967219352722 + "score": 0.027380799874663353 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1140.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1149.5, + "threshold": 401.5, "then": { "operation": "boost", - "score": 0.050924111157655716 + "score": 0.10420448333024979 }, "else": { "operation": "boost", - "score": 0.18161848187446594 + "score": -0.10076640546321869 } - }, - "else": { - "operation": "boost", - "score": 0.012434015981853008 } + }, + "else": { + "operation": "boost", + "score": -0.000949656474404037 } - }, - "else": { - "operation": "boost", - "score": 0.002162389224395156 } } } } - }, - "else": { - "operation": "boost", - "score": -0.003956463187932968 } - }, - "else": { - "operation": "boost", - "score": -0.005926317069679499 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 402.5, "then": { - "operation": "boost", - "score": -0.016226043924689293 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 425.5, "then": { "operation": "boost", - "score": 0.007476980332285166 + "score": 0.006160333286970854 }, "else": { - "operation": "boost", - "score": 5.004979175282642e-05 - } - } - }, - "else": { - "operation": "boost", - "score": -0.029486989602446556 - } - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.042712029069662094 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.18796013295650482 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 423.5, "then": { - "operation": "boost", - "score": -0.10085843503475189 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, "then": { "operation": "boost", - "score": 0.47757571935653687 + "score": 0.3872886002063751 }, "else": { - "operation": "boost", - "score": -0.1363552361726761 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.1520233154296875 + }, + "else": { + "operation": "boost", + "score": 0.11700215190649033 + } + }, + "else": { + "operation": "boost", + "score": -0.025980817154049873 + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 1.5666284561157227 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08711404353380203 + }, + "else": { + "operation": "boost", + "score": 0.17850558459758759 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.1550350934267044 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 420.5, + "then": { + "operation": "boost", + "score": 0.010423921048641205 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, + "then": { + "operation": "boost", + "score": 0.11806301027536392 + }, + "else": { + "operation": "boost", + "score": 0.08208002150058746 + } + } }, "else": { "operation": "boost", - "score": -0.46267056465148926 + "score": -0.22486236691474915 } }, - "else": { - "operation": "boost", - "score": 0.7834787964820862 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.06853631883859634 - }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 2.178177833557129 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.09660042077302933 + }, + "else": { + "operation": "boost", + "score": -0.29416176676750183 + } }, "else": { - "operation": "boost", - "score": -0.10560537129640579 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2916666865348816, + "then": { + "operation": "boost", + "score": -0.4024444818496704 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 412.0, + "then": { + "operation": "boost", + "score": 0.08883938193321228 + }, + "else": { + "operation": "boost", + "score": 0.22048388421535492 + } + }, + "else": { + "operation": "boost", + "score": 0.0045706890523433685 + } + }, + "else": { + "operation": "boost", + "score": -0.009299448691308498 + } + } } } } @@ -359750,606 +397737,373 @@ }, "else": { "operation": "boost", - "score": 0.10667290538549423 + "score": -0.33670252561569214 } } }, "else": { - "operation": "boost", - "score": 0.021403390914201736 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08571428805589676, + "then": { + "operation": "boost", + "score": 0.13121704757213593 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.06739600747823715 + }, + "else": { + "operation": "boost", + "score": 0.10938768088817596 + } + } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 350.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 371.5, "then": { - "operation": "boost", - "score": -0.0005170971853658557 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1269841343164444, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.05957870930433273 + }, + "else": { + "operation": "boost", + "score": 0.12246347218751907 + } + }, + "else": { + "operation": "boost", + "score": 0.037004999816417694 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 394.5, + "then": { + "operation": "boost", + "score": 0.0337512232363224 + }, + "else": { + "operation": "boost", + "score": 0.11556971818208694 + } + } }, "else": { - "operation": "boost", - "score": -0.1088654100894928 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 365.0, + "then": { + "operation": "boost", + "score": -0.3220646381378174 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 362.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12964874505996704 + }, + "else": { + "operation": "boost", + "score": 0.014549179002642632 + } + }, + "else": { + "operation": "boost", + "score": -0.14869514107704163 + } + }, + "else": { + "operation": "boost", + "score": 0.10061187297105789 + } + } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function", - "Namespace" + "CCC_Type" ], "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, + "then": { + "operation": "boost", + "score": 0.01888960972428322 + }, + "else": { + "operation": "boost", + "score": 0.1413698047399521 + } + }, + "else": { + "operation": "boost", + "score": 0.022142842411994934 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 378.0, + "then": { + "operation": "boost", + "score": 0.1182633638381958 + }, + "else": { + "operation": "boost", + "score": 0.018631037324666977 + } + } + }, + "else": { + "operation": "boost", + "score": -0.023937955498695374 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 349.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.11665608733892441 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.009088727645576 + "score": 1.12201726436615 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.019787432625889778 - }, - "else": { - "operation": "boost", - "score": 0.10062868893146515 - } - }, - "else": { - "operation": "boost", - "score": 0.03417575731873512 - } + "operation": "boost", + "score": -0.10172344744205475 } }, "else": { "operation": "boost", - "score": 0.006406643893569708 + "score": 0.11506832391023636 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { + "operation": "boost", + "score": -0.0032907375134527683 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess", - "CCC_Symbol", - "CCC_DotMemberAccess" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06394296139478683 - }, - "else": { - "operation": "boost", - "score": 0.13828223943710327 - } - }, - "else": { - "operation": "boost", - "score": 0.001122408895753324 - } - }, - "else": { - "operation": "boost", - "score": 0.18864630162715912 - } - }, - "else": { - "operation": "boost", - "score": -0.07610895484685898 - } - }, - "else": { - "operation": "boost", - "score": 0.04339172691106796 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -2.006385326385498 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.13337358832359314 - }, - "else": { - "operation": "boost", - "score": 0.039903730154037476 - } - }, - "else": { - "operation": "boost", - "score": 0.003505914006382227 - } - }, - "else": { - "operation": "boost", - "score": 0.0181468166410923 - } - } - }, - "else": { - "operation": "boost", - "score": 0.055292241275310516 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05072060972452164 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.09497156739234924 - }, - "else": { - "operation": "boost", - "score": 0.049940235912799835 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38396.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, - "then": { - "operation": "boost", - "score": -0.0011127329198643565 - }, - "else": { - "operation": "boost", - "score": 0.06546005606651306 - } - }, - "else": { - "operation": "boost", - "score": 0.005698068533092737 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.001963825663551688 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.08332086354494095 - }, - "else": { - "operation": "boost", - "score": 0.10023397207260132 - } - }, - "else": { - "operation": "boost", - "score": -0.15363731980323792 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7746.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9368.5, - "then": { - "operation": "boost", - "score": -0.17985674738883972 - }, - "else": { - "operation": "boost", - "score": 0.13185074925422668 - } - }, - "else": { - "operation": "boost", - "score": 0.03722105547785759 - } - }, - "else": { - "operation": "boost", - "score": 0.0400882251560688 - } - }, - "else": { - "operation": "boost", - "score": -0.03550180047750473 - } - } - } + "operation": "boost", + "score": 0.38737550377845764 }, "else": { + "operation": "boost", + "score": -0.013839487917721272 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00010970543371513486 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281926.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.031295426189899445 + }, + "else": { + "operation": "boost", + "score": -0.004507748410105705 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.07417582720518112, + "then": { + "operation": "boost", + "score": 0.06873972713947296 + }, + "else": { + "operation": "boost", + "score": -0.10432043671607971 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10739953070878983 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02697301283478737 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": -0.1019558236002922 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13385838270187378 - }, - "else": { - "operation": "boost", - "score": 0.09015171229839325 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07158965617418289 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12237437069416046 - }, - "else": { - "operation": "boost", - "score": -0.01789100095629692 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.013058406300842762 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0046228691935539246 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10544226318597794 - }, - "else": { - "operation": "boost", - "score": 0.06773559004068375 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.08002417534589767 - }, - "else": { - "operation": "boost", - "score": -0.10865511745214462 - } - }, - "else": { - "operation": "boost", - "score": 0.09297607839107513 - } - }, - "else": { - "operation": "boost", - "score": -0.015569481067359447 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07965286076068878 - }, - "else": { - "operation": "boost", - "score": 0.1120477020740509 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02877935767173767 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00397774251177907 - } - }, - "else": { - "operation": "boost", - "score": 0.01636177860200405 - } - } + "operation": "boost", + "score": -0.5421934127807617 }, "else": { "operation": "boost", - "score": 0.029455194249749184 + "score": -0.1783163845539093 } + }, + "else": { + "operation": "boost", + "score": -0.09621774405241013 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.00508407736197114 + "score": 0.08476655185222626 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.005886073689907789 - }, - "else": { - "operation": "boost", - "score": -0.012186783365905285 - } + "operation": "boost", + "score": -0.053283508867025375 } } } @@ -360362,2876 +398116,2653 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": -0.024100830778479576 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.07075265794992447 + }, + "else": { + "operation": "boost", + "score": -0.6528893113136292 + } + }, + "else": { + "operation": "boost", + "score": 0.11076274514198303 + } + }, + "else": { + "operation": "boost", + "score": 0.06495919078588486 + } }, "else": { "operation": "boost", - "score": -0.03458790108561516 + "score": -0.324260413646698 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Type" + "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", - "score": 0.007765098940581083 + "score": 0.13269709050655365 }, "else": { - "operation": "boost", - "score": 0.000738635309971869 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.0359698086977005 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.09859632700681686 + }, + "else": { + "operation": "boost", + "score": -0.014151029288768768 + } + } } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 288840.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { + "operation": "boost", + "score": -0.014831248670816422 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.1679435521364212 + }, + "else": { + "operation": "boost", + "score": 0.09432502090930939 + } + }, + "else": { + "operation": "boost", + "score": -0.06945838034152985 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistanceCost", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63355.5, - "then": { - "operation": "boost", - "score": 0.09357163310050964 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27971.5, - "then": { - "operation": "boost", - "score": -0.07023199647665024 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 140.0, - "then": { - "operation": "boost", - "score": 0.011084908619523048 - }, - "else": { - "operation": "boost", - "score": -0.33402907848358154 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 636.5, - "then": { - "operation": "boost", - "score": -0.18632927536964417 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 564.5, - "then": { - "operation": "boost", - "score": 0.11514178663492203 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 270.0, - "then": { - "operation": "boost", - "score": -0.08988867700099945 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, - "then": { - "operation": "boost", - "score": 0.13445919752120972 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141.5, - "then": { - "operation": "boost", - "score": -0.022458795458078384 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, - "then": { - "operation": "boost", - "score": 0.116038016974926 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.11929811537265778 - }, - "else": { - "operation": "boost", - "score": -0.11567626148462296 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.011179433204233646 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": 0.10416959226131439 - }, - "else": { - "operation": "boost", - "score": -0.07303221523761749 - } - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10091779381036758 - }, - "else": { - "operation": "boost", - "score": 0.07044129818677902 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.5, - "then": { - "operation": "boost", - "score": 0.026089457795023918 - }, - "else": { - "operation": "boost", - "score": -0.29788702726364136 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09356073290109634 - } - }, - "else": { - "operation": "boost", - "score": 0.11053037643432617 - } - } - }, - "else": { - "operation": "boost", - "score": -0.012062741443514824 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.16247455775737762 - }, - "else": { - "operation": "boost", - "score": 0.11318834871053696 - } - }, - "else": { - "operation": "boost", - "score": -0.6969040036201477 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11516313254833221 - }, - "else": { - "operation": "boost", - "score": 0.15763022005558014 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.1511070877313614 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.06595123559236526 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1224369928240776 - }, - "else": { - "operation": "boost", - "score": 0.11405625939369202 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02439621277153492 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.09903234243392944 - }, - "else": { - "operation": "boost", - "score": -0.15150600671768188 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.13148722052574158 - }, - "else": { - "operation": "boost", - "score": 0.07827883958816528 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.015282108448445797 - } - } - } - } - } - } + "operation": "boost", + "score": 0.12767192721366882 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42922.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.02111985720694065 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71608.5, - "then": { - "operation": "boost", - "score": 0.12311321496963501 - }, - "else": { - "operation": "boost", - "score": 0.08305090665817261 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01100369542837143 - } - }, - "else": { - "operation": "boost", - "score": -0.011889494955539703 - } + "operation": "boost", + "score": -0.31268030405044556 } }, "else": { "operation": "boost", - "score": 0.02072897180914879 + "score": -1.51956045627594 } }, "else": { "operation": "boost", - "score": 0.01862248219549656 + "score": 0.07043451070785522 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "boost", + "score": 0.058304499834775925 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.01339950505644083 + "score": 0.0015706701669842005 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.10063745081424713 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08089202642440796 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 259656.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.033884335309267044 + "score": 0.07166694849729538 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.12915624678134918 - }, - "else": { - "operation": "boost", - "score": 0.11399044096469879 - } + "operation": "boost", + "score": 0.02574242278933525 } }, "else": { "operation": "boost", - "score": 0.1723327338695526 + "score": -0.050369199365377426 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.13869446516036987 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.18601109087467194 + }, + "else": { + "operation": "boost", + "score": -0.11369666457176208 + } } } + }, + "else": { + "operation": "boost", + "score": -0.08496607840061188 } - }, - "else": { - "operation": "boost", - "score": -0.0006640683277510107 } }, "else": { - "operation": "boost", - "score": -0.012700523249804974 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 391.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.35709208250045776 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.10190942138433456 + "score": -0.005505293142050505 }, "else": { + "operation": "boost", + "score": -0.3139163553714752 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.058893438428640366, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 459.5, + "feature": "FractionNameInContext", + "threshold": 0.06904762238264084, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 461.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.06888514012098312 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 558.0, - "then": { - "operation": "boost", - "score": 0.020402971655130386 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 524.0, - "then": { - "operation": "boost", - "score": 0.15011011064052582 - }, - "else": { - "operation": "boost", - "score": 0.09206531196832657 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 499.5, - "then": { - "operation": "boost", - "score": -0.0019108009291812778 - }, - "else": { - "operation": "boost", - "score": -1.365025281906128 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 473.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 320998.0, - "then": { - "operation": "boost", - "score": 0.09269475936889648 - }, - "else": { - "operation": "boost", - "score": -0.018412631005048752 - } - }, - "else": { - "operation": "boost", - "score": 0.015019840560853481 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1462.0, - "then": { - "operation": "boost", - "score": 0.02009027823805809 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1453.0, - "then": { - "operation": "boost", - "score": 0.11654186993837357 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 903.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 966.5, - "then": { - "operation": "boost", - "score": 0.0017575661186128855 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.05195186287164688 - }, - "else": { - "operation": "boost", - "score": 0.16641341149806976 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.11444789171218872 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1182.5, - "then": { - "operation": "boost", - "score": 0.10735326260328293 - }, - "else": { - "operation": "boost", - "score": -0.23863543570041656 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 580.5, - "then": { - "operation": "boost", - "score": 0.018843382596969604 - }, - "else": { - "operation": "boost", - "score": 0.08510316908359528 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 562.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 803.5, - "then": { - "operation": "boost", - "score": -0.12104400992393494 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 760.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.15287430584430695 - }, - "else": { - "operation": "boost", - "score": 0.04289800673723221 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 612.0, - "then": { - "operation": "boost", - "score": -0.11564911156892776 - }, - "else": { - "operation": "boost", - "score": 0.1342683583498001 - } - }, - "else": { - "operation": "boost", - "score": -0.13492989540100098 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.09806487709283829 - }, - "else": { - "operation": "boost", - "score": 0.07911912351846695 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.15548548102378845 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10213784873485565 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0885762944817543 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1157.5, - "then": { - "operation": "boost", - "score": 0.1328626275062561 - }, - "else": { - "operation": "boost", - "score": -0.07927755266427994 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.023913446813821793 - }, - "else": { - "operation": "boost", - "score": 0.1090681254863739 - } - }, - "else": { - "operation": "boost", - "score": -0.08832657337188721 - } - } - } - } - } - } - } - }, - "else": { + "operation": "boost", + "score": -0.1426474004983902 + }, + "else": { + "operation": "boost", + "score": -0.014854884706437588 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207505.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_TopLevel" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 471.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.09317020326852798 + "score": 0.14986813068389893 }, "else": { "operation": "boost", - "score": 0.0057714395225048065 + "score": 0.0798070877790451 } + }, + "else": { + "operation": "boost", + "score": 0.06301087141036987 } + }, + "else": { + "operation": "boost", + "score": -0.1064625084400177 } }, "else": { - "operation": "boost", - "score": 0.10593020170927048 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 432.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0944669172167778 + "score": 0.02370517887175083 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 425.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.7961204648017883 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11456799507141113 + }, + "else": { + "operation": "boost", + "score": 0.054198555648326874 + } }, "else": { "operation": "boost", - "score": 0.08282921463251114 + "score": 0.12906064093112946 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.006369562353938818 + }, + "else": { + "operation": "boost", + "score": -0.020782532170414925 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.063362255692482 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.04538167268037796 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 444.0, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.914707601070404 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.05256890133023262 + }, + "else": { + "operation": "boost", + "score": -0.053720466792583466 + } }, "else": { "operation": "boost", - "score": -0.12760530412197113 + "score": 0.09107688814401627 } + }, + "else": { + "operation": "boost", + "score": -0.062398891896009445 } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08588682115077972 + }, + "else": { + "operation": "boost", + "score": -0.2284064143896103 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.17195433378219604 + }, + "else": { + "operation": "boost", + "score": 7.649235158169176e-06 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, + "then": { + "operation": "boost", + "score": -0.1624746173620224 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 395.5, + "threshold": 167779.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 168474.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": -0.0017174313543364406 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 426.0, + "threshold": 174936.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 182813.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.07741034030914307 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.11676454544067383 + }, + "else": { + "operation": "boost", + "score": 0.19685117900371552 + } }, "else": { - "operation": "boost", - "score": -0.2202959656715393 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.11105549335479736 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.23320621252059937 + }, + "else": { + "operation": "boost", + "score": -0.006898452993482351 + } + } } }, "else": { "operation": "boost", - "score": -0.04443231597542763 + "score": 0.09944237023591995 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.09803476184606552 - }, - "else": { - "operation": "boost", - "score": -0.02286510355770588 - } + "operation": "boost", + "score": -0.14222627878189087 } + }, + "else": { + "operation": "boost", + "score": -0.1631610095500946 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1851.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6299.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "boost", - "score": -0.21954381465911865 + "score": -0.26550793647766113 }, "else": { + "operation": "boost", + "score": 0.03316781297326088 + } + }, + "else": { + "operation": "boost", + "score": 0.08199143409729004 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { "operation": "boost", - "score": 0.1379278302192688 + "score": 0.1309027373790741 }, "else": { "operation": "boost", - "score": -0.507710874080658 + "score": 0.13557124137878418 } + }, + "else": { + "operation": "boost", + "score": 0.12248382717370987 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07668347656726837 + }, + "else": { + "operation": "boost", + "score": -0.024576162919402122 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12873734533786774 }, "else": { "operation": "boost", - "score": -0.554100751876831 + "score": 0.20148178935050964 } }, "else": { "operation": "boost", - "score": 0.056265901774168015 + "score": -0.04299873113632202 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01054875273257494 + }, + "else": { + "operation": "boost", + "score": 0.1198827251791954 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6067.0, + "operation": "boost", + "score": -0.013960087671875954 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 154962.0, + "then": { + "operation": "boost", + "score": -0.1535951793193817 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104028.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 118314.0, "then": { + "operation": "boost", + "score": -0.01746280863881111 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", + "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.06854967772960663 + "score": 0.07534519582986832 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10529.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.11491239070892334 - }, - "else": { - "operation": "boost", - "score": 0.07308447360992432 - } - }, - "else": { - "operation": "boost", - "score": 0.10220542550086975 - } + "operation": "boost", + "score": 0.13032416999340057 } }, "else": { "operation": "boost", - "score": -0.2925182580947876 + "score": 0.03892025724053383 } - }, - "else": { - "operation": "boost", - "score": -0.12488272786140442 } }, "else": { - "operation": "boost", - "score": -0.15526048839092255 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 621.5, + "threshold": 118067.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3366.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7560.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8751.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.03801605477929115 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10614.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.013853252865374088 + "score": 0.11581224203109741 }, "else": { "operation": "boost", - "score": 0.07263099402189255 + "score": -0.12088847160339355 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.02259795181453228 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.018165621906518936 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 123453.5, "then": { "operation": "boost", - "score": 0.13476526737213135 + "score": -0.020606009289622307 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8573.5, - "then": { - "operation": "boost", - "score": 0.10409124195575714 - }, - "else": { - "operation": "boost", - "score": 0.04856889694929123 - } + "operation": "boost", + "score": -0.14130137860774994 }, "else": { + "operation": "boost", + "score": 0.0880635604262352 + } + } + }, + "else": { + "operation": "boost", + "score": 0.007915705442428589 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12122160196304321 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111169.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.08939948678016663 + "score": 0.1003953292965889 }, "else": { "operation": "boost", - "score": -0.003018096787855029 + "score": -0.07616501301527023 } + }, + "else": { + "operation": "boost", + "score": 0.1067977100610733 } + }, + "else": { + "operation": "boost", + "score": 0.03239225223660469 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.15169639885425568 }, "else": { - "operation": "boost", - "score": -0.028635285794734955 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.009848738089203835 + }, + "else": { + "operation": "boost", + "score": -0.21622911095619202 + } } } }, "else": { + "operation": "boost", + "score": -0.05488481745123863 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3200.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3259.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.08588362485170364 + "score": -0.25641778111457825 }, "else": { "operation": "boost", - "score": 0.10907955467700958 + "score": -0.030925245955586433 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.8031365275382996 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 796.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08879651874303818 - }, - "else": { - "operation": "boost", - "score": -0.33466246724128723 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1355.5, - "then": { - "operation": "boost", - "score": -0.11985193938016891 - }, - "else": { - "operation": "boost", - "score": 0.10095422714948654 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 750.0, - "then": { - "operation": "boost", - "score": 0.0893397405743599 - }, - "else": { - "operation": "boost", - "score": 0.06308086961507797 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.0881437212228775 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1199006512761116 - }, - "else": { - "operation": "boost", - "score": -0.035651061683893204 - } - } - } + "operation": "boost", + "score": 0.0704089030623436 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 761.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 808.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1560.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1647.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.02092980593442917 - }, - "else": { - "operation": "boost", - "score": 0.14615598320960999 - } - }, - "else": { - "operation": "boost", - "score": -0.016875866800546646 - } - }, - "else": { - "operation": "boost", - "score": -0.06223641708493233 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.15810033679008484 - }, - "else": { - "operation": "boost", - "score": -0.10638564079999924 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.008763240650296211 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.07125187665224075 - }, - "else": { - "operation": "boost", - "score": -0.6032833456993103 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 780.5, - "then": { - "operation": "boost", - "score": 0.11037324368953705 - }, - "else": { - "operation": "boost", - "score": -0.10469823330640793 - } - } - }, - "else": { - "operation": "boost", - "score": -0.17456009984016418 - } + "operation": "boost", + "score": 0.032139670103788376 } + }, + "else": { + "operation": "boost", + "score": -0.035577695816755295 } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.07810285687446594 + }, + "else": { + "operation": "boost", + "score": -0.1623714119195938 + } } }, "else": { "operation": "boost", - "score": 0.09388293325901031 + "score": -0.0953838974237442 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10369117558002472 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 615.5, - "then": { - "operation": "boost", - "score": -0.9000018239021301 - }, - "else": { - "operation": "boost", - "score": -0.26651790738105774 - } - }, - "else": { - "operation": "boost", - "score": -0.02207343839108944 - } - } + "operation": "boost", + "score": 0.08789926022291183 }, "else": { "operation": "boost", - "score": -0.45641398429870605 + "score": -0.07054077833890915 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94712.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 424.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.004134549759328365 + "score": -0.2329026460647583 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": -0.136236771941185 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93746.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.029482614248991013 + "score": -0.15768857300281525 }, "else": { "operation": "boost", - "score": 0.11058391630649567 + "score": 0.06903241574764252 } }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16390511393547058 + }, + "else": { + "operation": "boost", + "score": 0.0763019397854805 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.04701351001858711 + }, "else": { "operation": "boost", - "score": -0.018154608085751534 + "score": -0.17759619653224945 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92754.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3005571961402893 + }, + "else": { + "operation": "boost", + "score": -0.14650864899158478 } }, "else": { "operation": "boost", - "score": -0.029527295380830765 + "score": -2.647299515956547e-05 } } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.3021254241466522 - }, - "else": { - "operation": "boost", - "score": 0.10776519775390625 - } } } - }, - "else": { - "operation": "boost", - "score": -0.0002560199936851859 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 23.0, "then": { "operation": "boost", - "score": 0.07786449044942856 + "score": 0.0015429881168529391 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1121.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.010373012162744999 + "score": -0.09331991523504257 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 370.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 756.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10397736728191376 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.0614035464823246 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.0722745954990387 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 844.5, - "then": { - "operation": "boost", - "score": 0.11957701295614243 - }, - "else": { - "operation": "boost", - "score": 0.11284732073545456 - } - } - } - } + "operation": "boost", + "score": 0.5174714922904968 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 509.5, - "then": { - "operation": "boost", - "score": 0.005361767020076513 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.1341540813446045 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 414.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07378876209259033 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 447.0, - "then": { - "operation": "boost", - "score": 0.0007531600422225893 - }, - "else": { - "operation": "boost", - "score": 0.10615319758653641 - } - }, - "else": { - "operation": "boost", - "score": 0.11019165813922882 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011412503197789192 - } - } - } + "operation": "boost", + "score": 0.17738579213619232 + } + }, + "else": { + "operation": "boost", + "score": 0.12061329931020737 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.034857574850320816 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.040212482213974 + }, + "else": { + "operation": "boost", + "score": 0.23276428878307343 } }, "else": { "operation": "boost", - "score": -0.09474875777959824 + "score": -0.06694477051496506 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06474091857671738 - }, - "else": { - "operation": "boost", - "score": -0.028485801070928574 - } } } }, "else": { - "operation": "boost", - "score": 0.00735994940623641 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00031202565878629684 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 391.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 395.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3926.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 164679.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 189920.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4456.5, - "then": { - "operation": "boost", - "score": 0.03688452020287514 - }, - "else": { - "operation": "boost", - "score": -0.4270537793636322 - } + "operation": "boost", + "score": 0.0209259781986475 }, "else": { "operation": "boost", - "score": -0.05724320188164711 + "score": 0.20942412316799164 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "boost", + "score": 0.0005075083463452756 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15402.5, - "then": { - "operation": "boost", - "score": 0.0401856005191803 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6692.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8623.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12121.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.139249786734581 - }, - "else": { - "operation": "boost", - "score": 0.7541830539703369 - } - }, - "else": { - "operation": "boost", - "score": -0.07987646758556366 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12244711816310883 - }, - "else": { - "operation": "boost", - "score": -0.06507992744445801 - } - } - }, - "else": { - "operation": "boost", - "score": -0.060661930590867996 - } - } + "operation": "boost", + "score": -0.009831731207668781 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5174.0, + "threshold": 126.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5235.0, + "threshold": 130.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22741.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.006068825721740723 + "score": -0.05902503803372383 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8573.5, + "threshold": 321.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8751.0, + "threshold": 918.0, "then": { + "operation": "boost", + "score": 0.02484084852039814 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, "then": { "operation": "boost", - "score": 0.07863756269216537 + "score": 0.1065666526556015 }, "else": { - "operation": "boost", - "score": 0.11197619885206223 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.22499999403953552, + "then": { + "operation": "boost", + "score": 0.21867568790912628 + }, + "else": { + "operation": "boost", + "score": 0.11879018694162369 + } } }, "else": { "operation": "boost", - "score": -0.14517387747764587 + "score": 0.08938392996788025 } - }, - "else": { - "operation": "boost", - "score": 0.10199764370918274 } }, "else": { "operation": "boost", - "score": -0.05821837857365608 + "score": 0.1298217475414276 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.03292534500360489 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20414.5, + "threshold": 138.5, "then": { + "operation": "boost", + "score": -0.11959526687860489 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "FractionNameInContext", + "threshold": 0.4166666865348816, "then": { "operation": "boost", - "score": -0.10535013675689697 + "score": 0.1992049217224121 }, "else": { "operation": "boost", - "score": 0.11398537456989288 + "score": -0.12167645245790482 } - }, - "else": { - "operation": "boost", - "score": -0.06297680735588074 } + }, + "else": { + "operation": "boost", + "score": 0.09640556573867798 } } } }, "else": { + "operation": "boost", + "score": 0.16964471340179443 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7749999761581421, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 38.5, "then": { - "operation": "boost", - "score": -0.8215135931968689 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108.0, + "then": { + "operation": "boost", + "score": -0.10042856633663177 + }, + "else": { + "operation": "boost", + "score": 0.16991069912910461 + } + }, + "else": { + "operation": "boost", + "score": -0.060394518077373505 + } }, "else": { "operation": "boost", - "score": 0.10876250267028809 + "score": 0.34869569540023804 } + }, + "else": { + "operation": "boost", + "score": 0.05327622964978218 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19049.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20297.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105656.5, + "then": { + "operation": "boost", + "score": 0.060098662972450256 + }, + "else": { + "operation": "boost", + "score": -0.1760711967945099 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.035810958594083786 + "score": 0.029374822974205017 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.07674729079008102 + "score": 0.09138517081737518 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.10577821731567383 + "score": 0.14248086512088776 }, "else": { "operation": "boost", - "score": -0.7449407577514648 + "score": 0.08672924339771271 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 304083.5, + "threshold": 681.5, "then": { - "operation": "boost", - "score": -0.027184071019291878 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.007917309179902077 + }, + "else": { + "operation": "boost", + "score": -0.09934641420841217 + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 503.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 517.0, "then": { - "operation": "boost", - "score": 0.1000613197684288 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53063.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { + "operation": "boost", + "score": -0.011962625198066235 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.013052895665168762 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 582.0, + "then": { + "operation": "boost", + "score": 0.3205339014530182 + }, + "else": { + "operation": "boost", + "score": 0.14653199911117554 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 673.5, "then": { "operation": "boost", - "score": 0.10060176253318787 + "score": 0.21089406311511993 }, "else": { "operation": "boost", - "score": 0.007093564607203007 + "score": -0.12227217853069305 } } - }, - "else": { - "operation": "boost", - "score": 0.09127653390169144 } + }, + "else": { + "operation": "boost", + "score": 0.2386646270751953 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123460.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.03511384129524231 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 191.5, "then": { - "operation": "boost", - "score": 0.09853420406579971 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.1650196760892868 + }, + "else": { + "operation": "boost", + "score": 0.013813690282404423 + } }, "else": { "operation": "boost", - "score": 0.01615307852625847 + "score": 0.011716785840690136 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 264.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 273.0, "then": { - "operation": "boost", - "score": 1.2266260385513306 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.040708281099796295 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 416.0, + "then": { + "operation": "boost", + "score": -0.12471283227205276 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 301.5, + "then": { + "operation": "boost", + "score": 0.17573629319667816 + }, + "else": { + "operation": "boost", + "score": -0.09325316548347473 + } + } }, "else": { "operation": "boost", - "score": 0.053106147795915604 + "score": 0.06127307564020157 } + }, + "else": { + "operation": "boost", + "score": 0.16471584141254425 } + }, + "else": { + "operation": "boost", + "score": 0.03519279137253761 } - }, - "else": { - "operation": "boost", - "score": 0.01035374216735363 } } } - }, - "else": { - "operation": "boost", - "score": -0.03918677195906639 } } + }, + "else": { + "operation": "boost", + "score": -0.02406109869480133 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 619.5, + "threshold": 84495.0, "then": { + "operation": "boost", + "score": -0.11358609795570374 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 620.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": -0.009935219772160053 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6604.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 709.0, + "threshold": 10529.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1248.5, + "threshold": 23209.0, + "then": { + "operation": "boost", + "score": 0.1048809289932251 + }, + "else": { + "operation": "boost", + "score": 0.09703059494495392 + } + }, + "else": { + "operation": "boost", + "score": 0.10875492542982101 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7182.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1268.5, + "threshold": 42248.5, "then": { + "operation": "boost", + "score": -0.1955985277891159 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1568.0, + "threshold": 11465.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 11645.5, "then": { "operation": "boost", - "score": 0.034753475338220596 + "score": 0.06158895790576935 }, "else": { "operation": "boost", - "score": 0.17474548518657684 + "score": 0.1118076741695404 } }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10938.5, + "then": { + "operation": "boost", + "score": -0.8431922793388367 + }, + "else": { + "operation": "boost", + "score": -0.23536594212055206 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74740.0, + "then": { + "operation": "boost", + "score": 0.07161418348550797 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10726.0, + "then": { "operation": "boost", - "score": -0.07241597026586533 + "score": -0.04163006320595741 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10513.0, + "then": { + "operation": "boost", + "score": 0.17442716658115387 + }, + "else": { + "operation": "boost", + "score": 0.04501963034272194 + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09166666865348816, + "then": { + "operation": "boost", + "score": 0.13501079380512238 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0924689769744873 }, "else": { "operation": "boost", - "score": 0.09647692739963531 + "score": -0.016072113066911697 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1666666716337204, + "then": { + "operation": "boost", + "score": -0.9428240656852722 }, "else": { "operation": "boost", - "score": -0.13467158377170563 + "score": -0.1082424744963646 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.11787456274032593 + "score": 0.085993193089962 }, "else": { "operation": "boost", - "score": -0.012004882097244263 + "score": -0.14085322618484497 } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08638889342546463 - }, - "else": { - "operation": "boost", - "score": -0.22911109030246735 - } + "operation": "boost", + "score": -0.026773614808917046 } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2019.0, + "then": { + "operation": "boost", + "score": -0.09730472415685654 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 328.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 382.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_Namespace" - ], + "operation": "boost", + "score": 0.11840621381998062 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 348.5, "then": { "operation": "boost", - "score": 0.10422050207853317 + "score": 0.1361626237630844 }, "else": { + "operation": "boost", + "score": 0.12257234007120132 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 285.0, + "then": { + "operation": "boost", + "score": -0.4552386999130249 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 785.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.12379911541938782 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2442.5, + "threshold": 75.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 127.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10456854850053787 - }, - "else": { - "operation": "boost", - "score": 0.10725852847099304 - } - }, - "else": { - "operation": "boost", - "score": 0.03704938665032387 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2590.0, + "threshold": 147.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 182.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 234.0, "then": { "operation": "boost", - "score": -0.10203531384468079 + "score": 0.07170310616493225 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3426.0, - "then": { - "operation": "boost", - "score": -0.28054389357566833 - }, - "else": { - "operation": "boost", - "score": 0.10749383270740509 - } + "operation": "boost", + "score": 0.20990408957004547 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3169.0, + "threshold": 220.5, "then": { - "operation": "boost", - "score": 0.09845355898141861 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224.5, + "then": { + "operation": "boost", + "score": 0.11395042389631271 + }, + "else": { + "operation": "boost", + "score": 0.18363142013549805 + } }, "else": { "operation": "boost", - "score": 0.11715209484100342 + "score": -0.13970310986042023 } } } }, "else": { - "operation": "boost", - "score": -0.022660180926322937 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.2525129020214081 + }, + "else": { + "operation": "boost", + "score": 0.10010304301977158 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 142.5, "then": { "operation": "boost", - "score": -0.02897805906832218 + "score": 0.14137662947177887 }, "else": { "operation": "boost", - "score": 0.1054188460111618 + "score": 0.0854564756155014 } } + }, + "else": { + "operation": "boost", + "score": -0.03335162252187729 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2027.5, + "threshold": 70.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.0625, "then": { "operation": "boost", - "score": 0.075968436896801 + "score": 0.2901301383972168 }, "else": { "operation": "boost", - "score": -0.2211223691701889 + "score": 0.16155420243740082 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 942.5, + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07287029176950455 + }, + "else": { + "operation": "boost", + "score": 0.1650341898202896 + } + }, + "else": { + "operation": "boost", + "score": 0.10337836295366287 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1801603138446808 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07175672799348831 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0313531793653965 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.14740298688411713 + }, + "else": { + "operation": "boost", + "score": 0.09386081248521805 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.006773913279175758 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, + "then": { + "operation": "boost", + "score": -0.015082494355738163 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "boost", + "score": -0.002633839612826705 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": -0.05038004741072655 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 954.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1031.0, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1817.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1823.5, - "then": { - "operation": "boost", - "score": 0.020875919610261917 - }, - "else": { - "operation": "boost", - "score": 0.3126637935638428 - } + "operation": "boost", + "score": 0.145061656832695 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1761.5, - "then": { - "operation": "boost", - "score": -1.50899338722229 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.03322002664208412 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1203.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1340.5, - "then": { - "operation": "boost", - "score": 0.10302131623029709 - }, - "else": { - "operation": "boost", - "score": 0.09964964538812637 - } - }, - "else": { - "operation": "boost", - "score": -0.0640546903014183 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.037017155438661575 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.20183517038822174 - }, - "else": { - "operation": "boost", - "score": 0.08520802110433578 - } - } - } - } + "operation": "boost", + "score": 0.21068528294563293 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.03571275994181633 + "score": 0.2282976508140564 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 995.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1004.5, - "then": { - "operation": "boost", - "score": 0.10819090902805328 - }, - "else": { - "operation": "boost", - "score": 0.009332239627838135 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.014302672818303108 - }, - "else": { - "operation": "boost", - "score": 0.12204813212156296 - } - } + "operation": "boost", + "score": -0.10020150989294052 } } }, "else": { "operation": "boost", - "score": 0.12354796379804611 + "score": 0.1981084793806076 } }, "else": { "operation": "boost", - "score": -0.059421345591545105 + "score": -0.018175886943936348 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0027054008096456528 - }, - "else": { - "operation": "boost", - "score": -0.49843624234199524 - } + "operation": "boost", + "score": 0.18287205696105957 } + }, + "else": { + "operation": "boost", + "score": -0.10041482746601105 } + }, + "else": { + "operation": "boost", + "score": 0.1590823531150818 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 777.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.15737693011760712 + }, + "else": { + "operation": "boost", + "score": 0.08494766801595688 + } + }, + "else": { + "operation": "boost", + "score": -0.1410246342420578 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10942725092172623 + } + } + }, + "else": { + "operation": "boost", + "score": 0.007488412316888571 + } + } + }, + "else": { + "operation": "boost", + "score": -0.013184066861867905 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.1045546755194664 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0878027006983757 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.18485905230045319 + }, + "else": { + "operation": "boost", + "score": 0.06251801550388336 + } + }, + "else": { + "operation": "boost", + "score": 0.004768875427544117 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00017877877689898014 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1555.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1579.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1744.5, + "then": { + "operation": "boost", + "score": 0.008687877096235752 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1722.5, + "then": { + "operation": "boost", + "score": -0.14188867807388306 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.12125390022993088 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1687.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.09846266359090805 - }, - "else": { - "operation": "boost", - "score": 0.09349852800369263 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 701.5, + "threshold": 1692.5, "then": { "operation": "boost", - "score": -0.061663318425416946 + "score": 0.1314937323331833 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 698.0, + "feature": "FractionNameInContext", + "threshold": 0.0555555559694767, "then": { "operation": "boost", - "score": 0.11148838698863983 + "score": 0.04433638975024223 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 676.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.27748537063598633 + "score": 0.13178347051143646 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.05314777418971062 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10131309181451797 - }, - "else": { - "operation": "boost", - "score": 0.11452538520097733 - } - } - }, - "else": { - "operation": "boost", - "score": -0.006084693595767021 - } + "operation": "boost", + "score": 0.16385358572006226 } } } + }, + "else": { + "operation": "boost", + "score": -0.14816270768642426 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 893.5, - "then": { - "operation": "boost", - "score": 0.11539904028177261 }, "else": { "operation": "boost", - "score": 0.10621892660856247 + "score": -0.03968014195561409 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.11418169736862183 + "score": -1.2697627544403076 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 766.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1546.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.18594631552696228 - }, - "else": { - "operation": "boost", - "score": 0.10708440095186234 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1152.5, - "then": { - "operation": "boost", - "score": 0.15548968315124512 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 974.0, - "then": { - "operation": "boost", - "score": -0.1421108841896057 - }, - "else": { - "operation": "boost", - "score": 0.10514377802610397 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.3167036175727844 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1265.0, - "then": { - "operation": "boost", - "score": 0.10524153709411621 - }, - "else": { - "operation": "boost", - "score": -0.1473608762025833 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.9456624388694763 - }, - "else": { - "operation": "boost", - "score": 0.0846262276172638 - } - } - }, - "else": { - "operation": "boost", - "score": -0.18744848668575287 - } - } + "operation": "boost", + "score": -0.06129513308405876 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3278.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11117827147245407 - }, - "else": { - "operation": "boost", - "score": -0.10564660280942917 - } + "operation": "boost", + "score": 0.1290973573923111 }, "else": { "operation": "boost", - "score": -0.12186361849308014 + "score": 0.08162941038608551 } } } - }, - "else": { - "operation": "boost", - "score": 0.10134243965148926 } }, "else": { + "operation": "boost", + "score": 0.10384159535169601 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 452.5, + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, "then": { - "operation": "boost", - "score": -0.07278098911046982 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": -0.15349651873111725 + "score": -2.905709981918335 }, "else": { "operation": "boost", - "score": 0.06136306747794151 + "score": -0.036420900374650955 } + }, + "else": { + "operation": "boost", + "score": 0.19629232585430145 } + }, + "else": { + "operation": "boost", + "score": 0.0012767926091328263 } } }, @@ -363239,244 +400770,288 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.09920252859592438 - }, - "else": { - "operation": "boost", - "score": -0.40184375643730164 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0036472519859671593 - } - }, - "else": { - "operation": "boost", - "score": -0.0002326584217371419 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.07338003814220428 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1121.5, - "then": { - "operation": "boost", - "score": 0.006078975275158882 + "score": 0.003961900249123573 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 8851.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 756.5, + "threshold": 18715.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 19362.0, "then": { - "operation": "boost", - "score": -0.08607739955186844 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.057397544384002686 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16466939449310303 + }, + "else": { + "operation": "boost", + "score": -0.02256106026470661 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.07052841782569885 + "score": 0.08878932148218155 + }, + "else": { + "operation": "boost", + "score": 0.00663079833611846 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19203.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19307.0, + "then": { + "operation": "boost", + "score": 0.09143432974815369 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.11592287570238113 + }, + "else": { + "operation": "boost", + "score": 0.1683274507522583 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18885.0, + "then": { + "operation": "boost", + "score": -0.17445337772369385 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.10947050899267197 + }, + "else": { + "operation": "boost", + "score": -0.00015714671462774277 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.10245569795370102 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19203.5, + "then": { + "operation": "boost", + "score": 0.06501589715480804 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19035.0, + "then": { + "operation": "boost", + "score": 0.5199753046035767 + }, + "else": { + "operation": "boost", + "score": -0.13683603703975677 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12370771914720535 + } + } }, "else": { "operation": "boost", - "score": 0.11452153325080872 + "score": -0.0021875486709177494 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 509.5, + "feature": "FractionNameInContext", + "threshold": 0.3095238208770752, "then": { - "operation": "boost", - "score": 0.004721513018012047 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.1130913496017456 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13858.0, + "then": { + "operation": "boost", + "score": -0.47954511642456055 + }, + "else": { + "operation": "boost", + "score": -0.06975921243429184 + } + } }, "else": { "operation": "boost", - "score": 0.06410686671733856 + "score": -0.06259691715240479 } } }, - "else": { - "operation": "boost", - "score": -0.08519589900970459 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06265883147716522 - }, - "else": { - "operation": "boost", - "score": -0.029541384428739548 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.00732892332598567 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0003101542533840984 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 391.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7059.5, - "then": { - "operation": "boost", - "score": 0.0037214960902929306 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6975.5, - "then": { - "operation": "boost", - "score": 0.10914259403944016 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.09975786507129669 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6592.0, + "threshold": 8831.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6676.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.018570873886346817 + "score": 0.16864913702011108 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.14248716831207275 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.06603001803159714 + "score": 0.25085654854774475 }, "else": { "operation": "boost", - "score": 0.10045457631349564 + "score": 0.13712479174137115 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.12059376388788223 }, "else": { "operation": "boost", - "score": -0.28168749809265137 + "score": -0.10974394530057907 } + }, + "else": { + "operation": "boost", + "score": -0.1423344612121582 } } }, @@ -363484,516 +401059,223 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_TopLevel", + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", "CCC_Namespace", - "CCC_Symbol", - "CCC_Type" + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 636.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 806.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { + "operation": "boost", + "score": 0.023149913176894188 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1593.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6320.5, + "threshold": 6106.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 6801.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6811.5, "then": { "operation": "boost", - "score": -0.3018433749675751 + "score": 0.08134081959724426 }, "else": { "operation": "boost", - "score": -1.217344045639038 + "score": 0.15200358629226685 } }, "else": { "operation": "boost", - "score": -0.013022946193814278 + "score": -0.13215693831443787 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.02779659815132618 - }, - "else": { - "operation": "boost", - "score": -0.02186264656484127 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 951.5, + "threshold": 6080.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.0850372314453125, "then": { + "operation": "boost", + "score": 0.12847425043582916 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.10120803117752075 + "score": 0.1387777030467987 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09809103608131409 - }, - "else": { - "operation": "boost", - "score": -0.046445202082395554 - } + "operation": "boost", + "score": -0.10490213334560394 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1480.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2336.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.14660537242889404 - }, - "else": { - "operation": "boost", - "score": 0.08601412922143936 - } - }, - "else": { - "operation": "boost", - "score": -0.15441571176052094 - } - }, - "else": { - "operation": "boost", - "score": -0.1571582853794098 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1166.0, - "then": { - "operation": "boost", - "score": 0.12898553907871246 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.1545955240726471 - }, - "else": { - "operation": "boost", - "score": 0.0837307870388031 - } - } - } + "operation": "boost", + "score": 0.35684776306152344 } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + } + }, + "else": { + "operation": "boost", + "score": -0.10225098580121994 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4457.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4837.0, "then": { "operation": "boost", - "score": 0.17005771398544312 + "score": -0.18516993522644043 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1154.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.17224536836147308 + "score": -0.10155461728572845 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 4776.0, "then": { "operation": "boost", - "score": 0.8177352547645569 + "score": -1.0065890550613403 }, "else": { "operation": "boost", - "score": -0.12012318521738052 + "score": -0.38295623660087585 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.01711219735443592 - } - }, - "else": { - "operation": "boost", - "score": -0.2005741447210312 - } - }, - "else": { - "operation": "boost", - "score": -0.34481531381607056 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 777.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 783.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.48110005259513855 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 789.5, - "then": { - "operation": "boost", - "score": 0.10868088901042938 - }, - "else": { - "operation": "boost", - "score": -0.037148136645555496 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1013672798871994 - }, - "else": { - "operation": "boost", - "score": 0.09831973165273666 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 715.0, - "then": { - "operation": "boost", - "score": -0.08907788246870041 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 706.5, - "then": { - "operation": "boost", - "score": 0.12714150547981262 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.014685327187180519 }, "else": { "operation": "boost", - "score": 0.08599825948476791 + "score": 0.0029164047446101904 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 673.0, + "threshold": 5826.0, "then": { "operation": "boost", - "score": -0.2363768219947815 + "score": -0.11170349270105362 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 5786.5, "then": { - "operation": "boost", - "score": 0.09638265520334244 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.060486361384391785 + }, + "else": { + "operation": "boost", + "score": 0.3289269506931305 + } }, "else": { - "operation": "boost", - "score": 0.029001938179135323 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5618.5, + "then": { + "operation": "boost", + "score": -0.07750601321458817 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4794.0, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "boost", + "score": 0.17904675006866455 + }, + "else": { + "operation": "boost", + "score": 0.08662839233875275 + } + }, + "else": { + "operation": "boost", + "score": 0.037621211260557175 + } + } } } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.9662525057792664 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 557.0, - "then": { - "operation": "boost", - "score": -0.14462575316429138 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 522.5, - "then": { - "operation": "boost", - "score": 0.15036581456661224 - }, - "else": { - "operation": "boost", - "score": 0.07902505993843079 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 427.0, - "then": { - "operation": "boost", - "score": -0.2874946892261505 - }, - "else": { - "operation": "boost", - "score": 0.110667385160923 - } - } }, "else": { "operation": "boost", - "score": -0.035955414175987244 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 486.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1022.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1065.5, - "then": { - "operation": "boost", - "score": 0.03779331594705582 - }, - "else": { - "operation": "boost", - "score": 0.10560819506645203 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.04243375360965729 - }, - "else": { - "operation": "boost", - "score": -0.12367873638868332 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 458.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.07454726845026016 - }, - "else": { - "operation": "boost", - "score": 0.09685694426298141 - } - }, - "else": { - "operation": "boost", - "score": -0.113828644156456 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.09447276592254639 - }, - "else": { - "operation": "boost", - "score": 0.06531007587909698 - } - }, - "else": { - "operation": "boost", - "score": -0.17104382812976837 - } + "score": 0.43086761236190796 } } }, "else": { "operation": "boost", - "score": -0.00044029977289028466 + "score": -0.03133752942085266 } + }, + "else": { + "operation": "boost", + "score": -0.025448402389883995 } } } @@ -364001,1279 +401283,1009 @@ } }, "else": { - "operation": "boost", - "score": -0.0007236163364723325 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 395.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3612.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42558.5, - "then": { - "operation": "boost", - "score": 0.10304208844900131 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33637.0, - "then": { - "operation": "boost", - "score": -1.1913989782333374 - }, - "else": { - "operation": "boost", - "score": -0.054677367210388184 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2421.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.11054517328739166 - }, - "else": { - "operation": "boost", - "score": 0.050350889563560486 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 604.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.03337981924414635 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.056976884603500366 - }, - "else": { - "operation": "boost", - "score": 0.10109201818704605 - } - } - }, - "else": { - "operation": "boost", - "score": -0.21788667142391205 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 594.0, - "then": { - "operation": "boost", - "score": 0.10499070584774017 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 546.0, - "then": { - "operation": "boost", - "score": 0.11034126579761505 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 440.0, - "then": { - "operation": "boost", - "score": 0.025807388126850128 - }, - "else": { - "operation": "boost", - "score": 0.10247643291950226 - } - }, - "else": { - "operation": "boost", - "score": -0.12513430416584015 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.023109493777155876 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.09166263788938522 - }, - "else": { - "operation": "boost", - "score": -0.10540840029716492 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 509.5, + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_TopLevel" ], "then": { - "operation": "boost", - "score": 0.10423307120800018 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03812247887253761 + }, + "else": { + "operation": "boost", + "score": 0.19464711844921112 + } }, "else": { + "operation": "boost", + "score": 0.06791478395462036 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5856.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.10109678655862808 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.11345526576042175 + }, + "else": { + "operation": "boost", + "score": -0.17925776541233063 + } }, "else": { + "operation": "boost", + "score": 0.0033309566788375378 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 756.5, + "threshold": 5077.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 877.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 5124.0, "then": { - "operation": "boost", - "score": -0.26587679982185364 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5708.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "boost", - "score": 0.10275864601135254 + "score": 0.1868683099746704 }, "else": { "operation": "boost", - "score": -0.028209418058395386 + "score": 0.0889933854341507 } + }, + "else": { + "operation": "boost", + "score": 0.183158740401268 + } + }, + "else": { + "operation": "boost", + "score": -0.057568080723285675 + } + }, + "else": { + "operation": "boost", + "score": -0.1349417120218277 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1969.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3748.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.1387716829776764 + }, + "else": { + "operation": "boost", + "score": -0.17042304575443268 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1656.0, + "threshold": 3540.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 3678.0, "then": { "operation": "boost", - "score": -0.059140171855688095 + "score": 0.10681584477424622 }, "else": { + "operation": "boost", + "score": 0.24124786257743835 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2690.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3782.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.06849242001771927 + "score": -0.014840011484920979 }, "else": { "operation": "boost", - "score": 0.10809610784053802 + "score": 0.10833698511123657 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 988.0, - "then": { - "operation": "boost", - "score": -0.2852354943752289 }, "else": { "operation": "boost", - "score": 0.10036862641572952 + "score": 0.0835951417684555 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.014332742430269718 - }, - "else": { - "operation": "boost", - "score": 0.11237639933824539 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 657.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09106671810150146 + "score": 0.07893172651529312 }, "else": { "operation": "boost", - "score": 0.01697167195379734 + "score": -0.08674836158752441 } - }, - "else": { - "operation": "boost", - "score": -0.052326750010252 } } + }, + "else": { + "operation": "boost", + "score": 0.01739048957824707 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0068029314279556274 + }, + "else": { + "operation": "boost", + "score": -0.027305129915475845 + } }, "else": { "operation": "boost", - "score": -0.028748370707035065 + "score": -0.03673269972205162 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1566.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 498.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.10571198910474777 + "score": 0.13215899467468262 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 414.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.09115895628929138 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.026648813858628273 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 427.0, + "threshold": 1568.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.03439278155565262 + }, + "else": { + "operation": "boost", + "score": 0.1558781862258911 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.1132078468799591 + "score": -0.1007649153470993 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "boost", - "score": -0.2835056483745575 + "score": 0.13288740813732147 }, "else": { - "operation": "boost", - "score": 0.07983754575252533 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10030864924192429 + }, + "else": { + "operation": "boost", + "score": 0.13299186527729034 + } } } - }, - "else": { - "operation": "boost", - "score": 0.09292998909950256 } + }, + "else": { + "operation": "boost", + "score": 0.0460042729973793 } + }, + "else": { + "operation": "boost", + "score": 0.3869872987270355 } }, "else": { "operation": "boost", - "score": -0.04358537867665291 + "score": -0.15220601856708527 } } + }, + "else": { + "operation": "boost", + "score": -0.1751904934644699 } }, + "else": { + "operation": "boost", + "score": -0.02157590351998806 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.006084270775318146 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 1611.0, "then": { + "operation": "boost", + "score": 0.03930741548538208 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12898777425289154 + "score": 0.11895234137773514 + }, + "else": { + "operation": "boost", + "score": 0.13932304084300995 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.03284883126616478 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8334.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09526800364255905 + }, + "else": { + "operation": "boost", + "score": 0.15098170936107635 + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4719.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "boost", - "score": 0.05660704895853996 - }, - "else": { - "operation": "boost", - "score": 0.0020276394207030535 - } + "operation": "boost", + "score": -0.2438717633485794 }, "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.154104545712471 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.08870281279087067 - }, - "else": { - "operation": "boost", - "score": 0.15408658981323242 - } - }, - "else": { - "operation": "boost", - "score": -0.1308351308107376 - } - } + "operation": "boost", + "score": 0.10596461594104767 }, "else": { "operation": "boost", - "score": 0.01672496646642685 + "score": -0.07216344773769379 } } } }, "else": { + "operation": "boost", + "score": -0.06192656606435776 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1512.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1521.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1523.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 501.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 729.0, - "then": { - "operation": "boost", - "score": 0.08200542628765106 - }, - "else": { - "operation": "boost", - "score": 0.1133754700422287 - } - }, - "else": { - "operation": "boost", - "score": -0.22909773886203766 - } + "operation": "boost", + "score": 0.03485521674156189 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": -0.24916715919971466 + "score": 0.14583592116832733 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 446.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 566.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 961.0, - "then": { - "operation": "boost", - "score": 0.09117726236581802 - }, - "else": { - "operation": "boost", - "score": -0.13594281673431396 - } - }, - "else": { - "operation": "boost", - "score": 0.11441770195960999 - } - }, - "else": { - "operation": "boost", - "score": -0.1049758791923523 - } + "operation": "boost", + "score": 0.025046277791261673 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 685.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 878.5, - "then": { - "operation": "boost", - "score": 0.05841011181473732 - }, - "else": { - "operation": "boost", - "score": 0.1001439169049263 - } - }, - "else": { - "operation": "boost", - "score": -0.2406335175037384 - } - }, - "else": { - "operation": "boost", - "score": -0.010776110924780369 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.12960867583751678 - }, - "else": { - "operation": "boost", - "score": 0.05231141299009323 - } - } + "operation": "boost", + "score": -0.04492493346333504 + } + }, + "else": { + "operation": "boost", + "score": -0.13184572756290436 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.10507338494062424 + }, + "else": { + "operation": "boost", + "score": 0.448640912771225 } + }, + "else": { + "operation": "boost", + "score": -0.001876489957794547 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess" - ], + "operation": "boost", + "score": -0.14357411861419678 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1481.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1482.5, "then": { "operation": "boost", - "score": 0.004421899560838938 + "score": 0.03954660892486572 }, "else": { - "operation": "boost", - "score": -0.11580107361078262 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.15499138832092285 + }, + "else": { + "operation": "boost", + "score": 0.09926671534776688 + } } + }, + "else": { + "operation": "boost", + "score": -0.00010643956193234771 } } - }, - "else": { - "operation": "boost", - "score": -0.000293208344373852 } }, { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -1.2111814612580929e-05 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.1268998086452484 + }, + "else": { + "operation": "boost", + "score": -1.0331112146377563 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73.5, + "threshold": 288.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 636.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 814.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 816.0, + "threshold": 336.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 827.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 946.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 961.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, - "then": { - "operation": "boost", - "score": -0.25632941722869873 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": 0.0026158231776207685 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04714198410511017 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.13360120356082916 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10791032761335373 - }, - "else": { - "operation": "boost", - "score": 0.03691338747739792 - } - }, - "else": { - "operation": "boost", - "score": 0.09835419058799744 - } - }, - "else": { - "operation": "boost", - "score": 0.07338724285364151 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68531.5, - "then": { - "operation": "boost", - "score": -0.6127010583877563 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49723.5, - "then": { - "operation": "boost", - "score": -0.06027071177959442 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25461.0, - "then": { - "operation": "boost", - "score": 0.034993983805179596 - }, - "else": { - "operation": "boost", - "score": 0.007808004040271044 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.47748181223869324 - } - }, - "else": { - "operation": "boost", - "score": 0.09970507770776749 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.0597112812101841 - }, - "else": { - "operation": "boost", - "score": 0.11375366896390915 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13924144208431244 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": -0.12967830896377563 - }, - "else": { - "operation": "boost", - "score": 0.15179823338985443 - } - }, - "else": { - "operation": "boost", - "score": -0.13074567914009094 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7021.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7089.0, - "then": { - "operation": "boost", - "score": -0.006799082737416029 - }, - "else": { - "operation": "boost", - "score": 0.11110108345746994 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 852.5, - "then": { - "operation": "boost", - "score": -0.09313010424375534 - }, - "else": { - "operation": "boost", - "score": 0.0987725630402565 - } - } - } + "operation": "boost", + "score": 0.07753023505210876 }, "else": { "operation": "boost", - "score": 0.08472920209169388 + "score": -0.3779848515987396 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": -1.3035396337509155 - }, - "else": { - "operation": "boost", - "score": -0.13375425338745117 - } - }, - "else": { "operation": "boost", - "score": -0.07722406834363937 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 630.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.126892551779747 - }, - "else": { - "operation": "boost", - "score": 0.10048885643482208 - } + "score": -0.009385636076331139 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 51239.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.09649910032749176 + "score": 0.06449019908905029 }, "else": { "operation": "boost", - "score": 0.10914114862680435 + "score": -0.08541536331176758 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 257.5, + "threshold": 40237.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 491.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 499.5, - "then": { - "operation": "boost", - "score": 0.03728087246417999 - }, - "else": { - "operation": "boost", - "score": 0.08070552349090576 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0376657173037529 - }, - "else": { - "operation": "boost", - "score": -0.08701593428850174 - } - }, - "else": { - "operation": "boost", - "score": -0.14398494362831116 - } - } + "operation": "boost", + "score": 0.07886287569999695 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 252.0, + "threshold": 25182.5, "then": { "operation": "boost", - "score": 0.10914907604455948 + "score": -0.09790457785129547 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 116.5, + "threshold": 20931.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 22489.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.13569827377796173 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23486.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.06638634204864502 + }, + "else": { + "operation": "boost", + "score": 0.11061322689056396 + } + }, + "else": { + "operation": "boost", + "score": 0.07829564809799194 + } }, "else": { "operation": "boost", - "score": 0.12532341480255127 + "score": 0.004128854721784592 } }, "else": { + "operation": "boost", + "score": 0.11142141371965408 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 181.5, + "threshold": 2764.5, "then": { + "operation": "boost", + "score": 0.00044169023749418557 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 2694.0, "then": { + "operation": "boost", + "score": 0.1404479295015335 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 236.5, + "threshold": 544.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 239.5, - "then": { - "operation": "boost", - "score": -0.11091241985559464 - }, - "else": { - "operation": "boost", - "score": 0.10889805108308792 - } + "operation": "boost", + "score": 0.0660799965262413 }, "else": { "operation": "boost", - "score": -0.15675204992294312 + "score": -0.25998497009277344 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 2481.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.10044564306735992 - }, - "else": { - "operation": "boost", - "score": 0.16564035415649414 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 189.0, + "threshold": 2586.5, "then": { "operation": "boost", - "score": -0.028953013941645622 + "score": -0.056465648114681244 }, "else": { "operation": "boost", - "score": 0.11328506469726562 + "score": 0.12255379557609558 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0019793843384832144 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1043190136551857 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 177.5, - "then": { - "operation": "boost", - "score": -0.1597525030374527 - }, - "else": { - "operation": "boost", - "score": 0.20706842839717865 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.09155721217393875 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.3105246126651764 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.12823888659477234 }, "else": { "operation": "boost", - "score": -0.10342882573604584 + "score": 0.0748426541686058 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03189234063029289 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 130.5, - "then": { - "operation": "boost", - "score": 0.1072971299290657 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121.0, - "then": { - "operation": "boost", - "score": 0.21200445294380188 - }, - "else": { - "operation": "boost", - "score": -0.12270668148994446 - } - }, - "else": { - "operation": "boost", - "score": 0.05229447782039642 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.040564537048339844 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10290754586458206 + } }, "else": { + "operation": "boost", + "score": -0.04230573773384094 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 79.5, + "threshold": 5676.5, "then": { "operation": "boost", - "score": 0.07481014728546143 + "score": 0.007184337358921766 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 398.0, "then": { - "operation": "boost", - "score": 0.12216120958328247 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 413.5, "then": { - "operation": "boost", - "score": -0.375501811504364 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 4846.0, "then": { - "operation": "boost", - "score": 0.12376817315816879 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5588.0, + "then": { + "operation": "boost", + "score": 0.1504121571779251 + }, + "else": { + "operation": "boost", + "score": 0.1271512508392334 + } }, "else": { - "operation": "boost", - "score": -0.1644829362630844 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1610.0, + "then": { + "operation": "boost", + "score": -0.0075683495961129665 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": 0.165486678481102 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 474.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 735.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 801.5, + "then": { + "operation": "boost", + "score": 0.07922881841659546 + }, + "else": { + "operation": "boost", + "score": 0.09665475785732269 + } + }, + "else": { + "operation": "boost", + "score": -0.12684877216815948 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 469.5, + "then": { + "operation": "boost", + "score": 0.15219949185848236 + }, + "else": { + "operation": "boost", + "score": -0.10066668689250946 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 587.5, + "then": { + "operation": "boost", + "score": -0.12310443818569183 + }, + "else": { + "operation": "boost", + "score": 0.15812022984027863 + } + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.16281571984291077 } + }, + "else": { + "operation": "boost", + "score": -0.11996226012706757 } } + }, + "else": { + "operation": "boost", + "score": 0.0346715934574604 } - }, - "else": { - "operation": "boost", - "score": -0.09178753942251205 } } } @@ -365282,121 +402294,93 @@ }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 6049.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 222.5, + "threshold": 17887.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 223.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02314002998173237 + "score": -0.10160122811794281 }, "else": { - "operation": "boost", - "score": 0.12823866307735443 - } - }, - "else": { - "operation": "boost", - "score": -0.027201607823371887 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 25182.5, "then": { - "operation": "boost", - "score": 0.025963537395000458 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 307.0, + "threshold": 26674.5, "then": { - "operation": "boost", - "score": 0.10602972656488419 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31025.5, + "then": { + "operation": "boost", + "score": -0.005454115103930235 + }, + "else": { + "operation": "boost", + "score": -0.726635754108429 + } + }, + "else": { + "operation": "boost", + "score": 0.012451714836061 + } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.08191868662834167 + "score": -0.06815849244594574 }, "else": { - "operation": "boost", - "score": -0.08876724541187286 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.11735693365335464 + }, + "else": { + "operation": "boost", + "score": -0.9530847668647766 + } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0582372285425663 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 21679.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 227.0, + "threshold": 23210.5, "then": { "operation": "boost", - "score": 0.11055203527212143 + "score": -0.14458610117435455 }, "else": { "operation": "boost", - "score": -0.13296951353549957 + "score": -0.22291678190231323 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.15921558439731598 - }, - "else": { - "operation": "boost", - "score": -0.879972517490387 - } + "operation": "boost", + "score": 0.00394959282130003 } } } @@ -365404,1287 +402388,1013 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 77.5, + "threshold": 16658.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.10185706615447998 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.10184939950704575 + "score": 0.1283947229385376 }, "else": { - "operation": "boost", - "score": 0.10066276043653488 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.12702807784080505 + }, + "else": { + "operation": "boost", + "score": 0.12864433228969574 + } } + }, + "else": { + "operation": "boost", + "score": -0.11280521750450134 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 12410.5, "then": { + "operation": "boost", + "score": -0.03348054736852646 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 12012.5, "then": { - "operation": "boost", - "score": -0.10972587019205093 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.12065654247999191 + }, + "else": { + "operation": "boost", + "score": -0.10743768513202667 + } }, "else": { "operation": "boost", - "score": 0.25906750559806824 + "score": 0.036025553941726685 } - }, - "else": { - "operation": "boost", - "score": -1.0605086088180542 } } } + }, + "else": { + "operation": "boost", + "score": -0.10074985027313232 } } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.0009520204039290547 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 200.5, + "threshold": 269.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.9602012038230896 - }, - "else": { - "operation": "boost", - "score": -0.15047450363636017 - } + "operation": "boost", + "score": 0.16448372602462769 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 188.5, + "threshold": 257.5, "then": { "operation": "boost", - "score": 0.1321702003479004 + "score": -0.292710542678833 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.08436799049377441 + "score": 0.22632081806659698 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.10803738981485367 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, - "then": { - "operation": "boost", - "score": 0.13757175207138062 - }, - "else": { - "operation": "boost", - "score": -0.7015922665596008 - } - } + "operation": "boost", + "score": -0.10185285657644272 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 610.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.11646075546741486 + "score": -0.027746008709073067 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 271.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.8257911801338196 - }, - "else": { - "operation": "boost", - "score": 0.040497925132513046 - } + "operation": "boost", + "score": -0.048667456954717636 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 81.5, + "threshold": 266.5, "then": { - "operation": "boost", - "score": 0.43126416206359863 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0666932687163353 + }, + "else": { + "operation": "boost", + "score": 0.12669359147548676 + } }, "else": { - "operation": "boost", - "score": 0.12618765234947205 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 253.5, + "then": { + "operation": "boost", + "score": 0.054748326539993286 + }, + "else": { + "operation": "boost", + "score": 0.10953360795974731 + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 75.5, + "threshold": 253.5, "then": { "operation": "boost", - "score": -0.0010256090899929404 + "score": 0.1628420650959015 }, "else": { "operation": "boost", - "score": 0.14267420768737793 + "score": 0.1413295418024063 } } } }, "else": { + "operation": "boost", + "score": -0.07736653089523315 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.2410362958908081 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.002970025409013033 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.1573547124862671 + }, + "else": { + "operation": "boost", + "score": 0.15805412828922272 + } + }, + "else": { + "operation": "boost", + "score": 0.17964449524879456 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 280.5, + "then": { + "operation": "boost", + "score": -0.3233964145183563 + }, + "else": { + "operation": "boost", + "score": 0.021879706531763077 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 243.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 276.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": -0.08354903012514114 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 216.5, + "threshold": 277.5, "then": { "operation": "boost", - "score": 0.15435722470283508 + "score": 0.41839155554771423 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 260.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148.5, + "threshold": 263.0, "then": { "operation": "boost", - "score": 0.11294630169868469 + "score": 0.07223904877901077 }, "else": { "operation": "boost", - "score": -0.07524048537015915 + "score": 0.12597782909870148 } }, + "else": { + "operation": "boost", + "score": -0.04171483963727951 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 246.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 276.5, + "then": { + "operation": "boost", + "score": -0.16721279919147491 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 274.5, "then": { - "operation": "boost", - "score": -0.005552884191274643 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.5199325680732727 + }, + "else": { + "operation": "boost", + "score": -0.10507597774267197 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.07770140469074249 + "score": 0.045807845890522 }, "else": { "operation": "boost", - "score": 0.1387208253145218 + "score": 0.17115117609500885 } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245.5, + "then": { + "operation": "boost", + "score": 1.127785563468933 + }, + "else": { + "operation": "boost", + "score": -0.2880023717880249 + } } } }, "else": { "operation": "boost", - "score": 0.05730368196964264 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.7690717577934265 - }, - "else": { - "operation": "boost", - "score": 0.044115811586380005 + "score": 0.14871732890605927 } } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.007049051579087973 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0653035044670105 - }, - "else": { - "operation": "boost", - "score": 0.056249864399433136 - } - }, - "else": { - "operation": "boost", - "score": 0.009207721799612045 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.25199639797210693 - }, - "else": { - "operation": "boost", - "score": -0.013504080474376678 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08998598903417587 }, "else": { "operation": "boost", - "score": -0.0018059361027553678 + "score": -0.0021898173727095127 } }, "else": { "operation": "boost", - "score": -0.10510219633579254 + "score": -0.05333375930786133 } } }, "else": { - "operation": "boost", - "score": -0.025843998417258263 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09608727693557739 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6044.0, - "then": { - "operation": "boost", - "score": -0.11739646643400192 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1536.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1647.0, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1065576896071434 - }, - "else": { - "operation": "boost", - "score": 0.012312822043895721 - } + "operation": "boost", + "score": -0.010210234671831131 }, "else": { - "operation": "boost", - "score": 0.15802070498466492 - } - }, - "else": { - "operation": "boost", - "score": 0.1360553652048111 - } - }, - "else": { - "operation": "boost", - "score": -0.004306808114051819 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00027685044915415347 - } - }, - { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04460381343960762 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.006200931500643492 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Constructor", - "Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3889.0, + "feature": "FractionNameInContext", + "threshold": 0.8333333730697632, "then": { + "operation": "boost", + "score": 0.12048441171646118 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3928.0, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.041705306619405746 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19014.5, - "then": { - "operation": "boost", - "score": 0.0844651535153389 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5577.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": 0.11286123096942902 - }, - "else": { - "operation": "boost", - "score": 0.09019777178764343 - } - }, - "else": { - "operation": "boost", - "score": -0.2022964507341385 - } - } - } + "operation": "boost", + "score": 0.16683749854564667 }, "else": { "operation": "boost", - "score": -0.053474050015211105 + "score": 0.030186593532562256 } }, "else": { - "operation": "boost", - "score": 0.1058933436870575 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.007838794961571693 + }, + "else": { + "operation": "boost", + "score": -0.47610563039779663 + } } - }, - "else": { - "operation": "boost", - "score": -0.021888338029384613 } }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.10109958797693253 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 269.5, "then": { + "operation": "boost", + "score": -0.0015039937570691109 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 261.5, "then": { - "operation": "boost", - "score": -0.07853634655475616 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.01828927733004093 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11758437007665634 - }, - "else": { - "operation": "boost", - "score": 0.09904742985963821 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.0223728995770216 - }, - "else": { - "operation": "boost", - "score": 0.06866560131311417 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 264.5, "then": { "operation": "boost", - "score": -0.06387076526880264 + "score": 0.15595921874046326 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.07266387343406677 - }, - "else": { - "operation": "boost", - "score": 0.013566164299845695 - } + "operation": "boost", + "score": -0.1001751720905304 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.0456383153796196 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 264.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.0013987226411700249 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09920220822095871 - }, - "else": { - "operation": "boost", - "score": 0.08863648772239685 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08277402818202972 - }, - "else": { - "operation": "boost", - "score": 0.12907689809799194 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1517508327960968 - }, - "else": { - "operation": "boost", - "score": 0.12150898575782776 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.17715948820114136 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09688523411750793 - }, - "else": { - "operation": "boost", - "score": 0.0806875005364418 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04266922548413277 - } - }, - "else": { - "operation": "boost", - "score": 0.002056750236079097 - } - } + "operation": "boost", + "score": -0.08346358686685562 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.043197132647037506 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.011310802772641182 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10961548238992691 - }, - "else": { - "operation": "boost", - "score": 0.08593548834323883 - } - }, - "else": { - "operation": "boost", - "score": -0.0016361649613827467 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.046408649533987045 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.09935874491930008 - }, - "else": { - "operation": "boost", - "score": 0.08503039926290512 - } - } - } - } - } + "operation": "boost", + "score": 0.2664181888103485 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.012018010020256042 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.024487411603331566 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08967353403568268 - }, - "else": { - "operation": "boost", - "score": 0.08544675260782242 - } - }, - "else": { - "operation": "boost", - "score": 0.027157247066497803 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.06612168252468109 - }, - "else": { - "operation": "boost", - "score": 0.036479294300079346 - } - } - } - } + "operation": "boost", + "score": 0.048389602452516556 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.2747901678085327 }, "else": { "operation": "boost", - "score": -0.011126159690320492 + "score": -0.13398104906082153 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.028771312907338142 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.020525451749563217 + "score": -0.0624324306845665 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ClassStructUnion", + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08720005303621292 - }, - "else": { - "operation": "boost", - "score": 0.0755922868847847 - } + "operation": "boost", + "score": 0.1163058653473854 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.006963761989027262 - }, - "else": { - "operation": "boost", - "score": 0.05291450023651123 - } + "operation": "boost", + "score": 0.08223658800125122 } }, "else": { "operation": "boost", - "score": 0.05034222826361656 + "score": 0.03304189071059227 } } } + }, + "else": { + "operation": "boost", + "score": -0.03910832479596138 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.06020186096429825 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10659874975681305 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02818628028035164 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 242.5, "then": { - "operation": "boost", - "score": 0.05545240640640259 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.02543638087809086 + "score": 0.06852363049983978 }, "else": { + "operation": "boost", + "score": -0.4223736822605133 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 286.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": -0.08933385461568832 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1202089786529541 - }, - "else": { - "operation": "boost", - "score": -0.31973445415496826 - } + "operation": "boost", + "score": 0.07622405886650085 + }, + "else": { + "operation": "boost", + "score": 0.24437279999256134 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 278.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 279.5, + "then": { + "operation": "boost", + "score": 0.025092054158449173 }, "else": { "operation": "boost", - "score": 0.08840020000934601 + "score": -0.48539435863494873 } }, "else": { "operation": "boost", - "score": 0.09765497595071793 + "score": 0.06253645569086075 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.07639884948730469 - }, - "else": { - "operation": "boost", - "score": -0.00813473854213953 - } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15445604920387268 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": -0.020505497232079506 }, "else": { - "operation": "boost", - "score": 0.024586116895079613 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.3750714361667633 + }, + "else": { + "operation": "boost", + "score": -0.14295485615730286 + } } } - }, - "else": { - "operation": "boost", - "score": 0.10876227915287018 } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015830520540475845 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1122.5, + "then": { + "operation": "boost", + "score": 0.026329917833209038 + }, + "else": { + "operation": "boost", + "score": 0.1316874772310257 + } + }, + "else": { + "operation": "boost", + "score": -0.0045789810828864574 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008290800265967846 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0001333508116658777 + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.01598377153277397 - }, - "else": { - "operation": "boost", - "score": 0.14863519370555878 - } + "operation": "boost", + "score": -0.06888487935066223 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.09330374747514725 + "score": -0.10015922039747238 }, "else": { "operation": "boost", - "score": -0.15785697102546692 + "score": 0.14464855194091797 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "boost", - "score": -0.03974998742341995 + "score": -0.12604033946990967 }, "else": { - "operation": "boost", - "score": 0.023344721645116806 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "boost", + "score": 0.07231831550598145 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.013260139152407646 + }, + "else": { + "operation": "boost", + "score": -0.10281042009592056 + } + } } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12950974702835083 }, "else": { - "operation": "boost", - "score": 0.02488834224641323 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 319.0, + "then": { + "operation": "boost", + "score": -0.16782313585281372 + }, + "else": { + "operation": "boost", + "score": 0.18392427265644073 + } } }, "else": { "operation": "boost", - "score": 0.0064758858643472195 + "score": -0.08790931850671768 } }, "else": { "operation": "boost", - "score": 0.001141635701060295 + "score": -0.12284376472234726 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.013433392159640789 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": -0.19928662478923798 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3603896200656891, + "then": { + "operation": "boost", + "score": 0.04606055095791817 + }, + "else": { + "operation": "boost", + "score": -0.15946657955646515 + } + }, + "else": { + "operation": "boost", + "score": 0.004829882178455591 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11912.0, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12036.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.020419107750058174 + "score": -0.412372887134552 }, "else": { + "operation": "boost", + "score": -0.05329744517803192 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.055555764585733414 + "score": -0.09839562326669693 + }, + "else": { + "operation": "boost", + "score": 0.03690030798316002 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.08012820780277252, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "boost", + "score": -0.2598670721054077 + }, + "else": { + "operation": "boost", + "score": -0.037206169217824936 + } + }, + "else": { + "operation": "boost", + "score": 0.0011574423406273127 + } + }, + "else": { + "operation": "boost", + "score": -0.04297032952308655 + } }, "else": { "operation": "boost", - "score": 0.12657904624938965 + "score": 0.0024300136137753725 } } - }, - "else": { - "operation": "boost", - "score": 0.013889669440686703 } } }, @@ -366692,1330 +403402,1704 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.06574668735265732 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.017043383792042732 + "score": -0.01897972822189331 }, "else": { + "operation": "boost", + "score": 0.024850964546203613 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 248.0, + "then": { + "operation": "boost", + "score": 0.08151387423276901 + }, + "else": { + "operation": "boost", + "score": -0.08062668144702911 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1339285671710968, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.09101632982492447 + "score": 0.10599195957183838 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.12081696093082428 - }, - "else": { - "operation": "boost", - "score": 0.11395778506994247 - } + "operation": "boost", + "score": 0.0030060666613280773 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08109308034181595 - }, - "else": { - "operation": "boost", - "score": -0.21107839047908783 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.02777777798473835, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, "then": { "operation": "boost", - "score": 0.0662200003862381 + "score": -0.14996013045310974 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.09376700967550278 + "score": -0.0012803322169929743 }, "else": { "operation": "boost", - "score": 0.11547673493623734 + "score": 0.07789546996355057 } } }, "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.034827493131160736 + }, + "else": { + "operation": "boost", + "score": -0.4255882799625397 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, + "then": { "operation": "boost", - "score": 0.05994492024183273 + "score": 0.0264888983219862 + }, + "else": { + "operation": "boost", + "score": 0.07872215658426285 } } } } }, "else": { - "operation": "boost", - "score": 0.08762554079294205 - } - }, - "else": { - "operation": "boost", - "score": 0.017559293657541275 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.003245669649913907 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.2428571581840515, "then": { "operation": "boost", - "score": -0.06193391978740692 + "score": 0.06314531713724136 }, "else": { - "operation": "boost", - "score": 0.11808845400810242 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.02415599673986435 + }, + "else": { + "operation": "boost", + "score": -0.14642837643623352 + } } }, "else": { "operation": "boost", - "score": 0.050532400608062744 + "score": -0.004256896208971739 } - }, - "else": { - "operation": "boost", - "score": 0.046095412224531174 } - }, - "else": { - "operation": "boost", - "score": 0.10353568941354752 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": -0.13580410182476044 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 25.5, "then": { + "operation": "boost", + "score": 0.12406844645738602 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FileProximityDistanceCost", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.18404386937618256 - }, - "else": { - "operation": "boost", - "score": 0.12056254595518112 - } + "operation": "boost", + "score": -0.0027422751300036907 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.010730862617492676 - }, - "else": { - "operation": "boost", - "score": 0.13868224620819092 - } + "operation": "boost", + "score": 0.03196221590042114 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 46.5, "then": { - "operation": "boost", - "score": 0.0003498863079585135 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 543.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1782.5, + "then": { + "operation": "boost", + "score": -0.05936073511838913 + }, + "else": { + "operation": "boost", + "score": 0.10892301052808762 + } + }, + "else": { + "operation": "boost", + "score": -0.13757385313510895 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "boost", + "score": 0.08157094568014145 + }, + "else": { + "operation": "boost", + "score": -0.08400536328554153 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1025359183549881 + } }, "else": { + "operation": "boost", + "score": -0.06379066407680511 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 10.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "boost", - "score": 0.06273659318685532 + "score": 0.04571031406521797 }, "else": { "operation": "boost", - "score": 0.09739222377538681 + "score": 0.09970009326934814 } }, "else": { "operation": "boost", - "score": 0.06416144967079163 + "score": -0.12227557599544525 } + }, + "else": { + "operation": "boost", + "score": -0.002143238903954625 } - }, - "else": { - "operation": "boost", - "score": 0.03274885565042496 } } }, "else": { "operation": "boost", - "score": 0.07844597101211548 + "score": 0.004356464371085167 } - }, - "else": { - "operation": "boost", - "score": 0.0011279820464551449 } } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 159.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.09945957362651825 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FractionNameInContext", + "threshold": 0.10795454680919647, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.1254620999097824 - }, - "else": { - "operation": "boost", - "score": -0.28885096311569214 - } + "operation": "boost", + "score": 0.1275872141122818 }, "else": { "operation": "boost", - "score": 0.11011804640293121 + "score": 0.05958041176199913 } }, "else": { - "operation": "boost", - "score": 0.061350543051958084 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.041157979518175125 + }, + "else": { + "operation": "boost", + "score": 0.10866162925958633 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.04941990226507187 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" ], "then": { "operation": "boost", - "score": 0.14382237195968628 + "score": 0.004966969136148691 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.08833912760019302 - }, - "else": { - "operation": "boost", - "score": 0.013917871750891209 - } + "operation": "boost", + "score": -0.24387513101100922 } } - }, - "else": { - "operation": "boost", - "score": 0.02793486788868904 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.05218067765235901 + "score": 0.10357282310724258 }, "else": { - "operation": "boost", - "score": -0.020967500284314156 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13908299803733826 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, + "then": { + "operation": "boost", + "score": -0.2124442160129547 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09286628663539886 + }, + "else": { + "operation": "boost", + "score": -0.15983733534812927 + } + } + } } } }, "else": { - "operation": "boost", - "score": -0.000159332063049078 - } - }, - "else": { - "operation": "boost", - "score": 0.0037766355089843273 - } - }, - "else": { - "operation": "boost", - "score": -0.027640795335173607 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.025560559704899788 - }, - "else": { - "operation": "boost", - "score": 0.015237560495734215 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.1399676650762558 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "boost", + "score": -0.06103752553462982 + }, + "else": { + "operation": "boost", + "score": 0.02692571096122265 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12138301879167557 + }, + "else": { + "operation": "boost", + "score": -0.11986231058835983 + } + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199.5, + "feature": "FractionNameInContext", + "threshold": 0.16025641560554504, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.10842527449131012 + "score": -0.24469687044620514 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 277.5, + "operation": "boost", + "score": 0.0212522204965353 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.01566111482679844 + "score": -0.16640357673168182 }, "else": { "operation": "boost", - "score": 0.09657605737447739 + "score": -0.4900897741317749 } + }, + "else": { + "operation": "boost", + "score": 0.19877974689006805 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006718114018440247 + }, + "else": { + "operation": "boost", + "score": 0.07268214225769043 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.16593162715435028 }, "else": { "operation": "boost", - "score": 0.025860393419861794 + "score": -0.031039318069815636 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 895.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, - "then": { - "operation": "boost", - "score": -0.09562452137470245 - }, - "else": { - "operation": "boost", - "score": 0.11329237371683121 - } + "operation": "boost", + "score": -0.31623375415802 }, "else": { "operation": "boost", - "score": -0.1564009189605713 + "score": -0.08202369511127472 } } + } + }, + "else": { + "operation": "boost", + "score": 0.040157873183488846 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0009456570842303336 + }, + "else": { + "operation": "boost", + "score": -0.11964227259159088 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { + "operation": "boost", + "score": 0.03401276469230652 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.008826185017824173 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "boost", + "score": 0.11546450853347778 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 181.0, - "then": { - "operation": "boost", - "score": 0.12743543088436127 - }, - "else": { - "operation": "boost", - "score": -0.009193282574415207 - } + "operation": "boost", + "score": 0.12598270177841187 } - }, - "else": { - "operation": "boost", - "score": -0.0064896452240645885 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.006255114916712046 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.0041308170184493065 + "score": 0.002296584425494075 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, + "operation": "boost", + "score": 0.052596356719732285 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2072.0, "then": { "operation": "boost", - "score": -0.006598532199859619 + "score": -0.17331591248512268 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 331.5, "then": { - "operation": "boost", - "score": 0.06837449967861176 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 382.0, "then": { - "operation": "boost", - "score": 0.12193107604980469 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 490.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 680.5, + "then": { + "operation": "boost", + "score": 0.07848618179559708 + }, + "else": { + "operation": "boost", + "score": 0.21124474704265594 + } + }, + "else": { + "operation": "boost", + "score": -0.20709648728370667 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.00967510137706995 + "score": 0.13585598766803741 }, "else": { "operation": "boost", - "score": 0.15823817253112793 + "score": 0.11072345823049545 } } + }, + "else": { + "operation": "boost", + "score": 0.06942299008369446 + } + } + }, + "else": { + "operation": "boost", + "score": -0.019381839781999588 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 379.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 380.5, + "then": { + "operation": "boost", + "score": -0.0007738377316854894 + }, + "else": { + "operation": "boost", + "score": 0.09569630771875381 } + }, + "else": { + "operation": "boost", + "score": -0.026622993871569633 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": -0.059417497366666794 + "score": 0.19724884629249573 }, "else": { + "operation": "boost", + "score": 0.017575297504663467 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 82.5, + "threshold": 143.5, "then": { - "operation": "boost", - "score": 0.1183377355337143 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.025119217112660408 + }, + "else": { + "operation": "boost", + "score": -0.10451851785182953 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { + "operation": "boost", + "score": 0.129031240940094 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 97.0, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function" + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.08268345147371292 + "score": 0.1348273605108261 }, "else": { "operation": "boost", - "score": -0.44273510575294495 + "score": -0.05648605525493622 } }, "else": { + "operation": "boost", + "score": 0.1294974386692047 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77.0, + "feature": "FractionNameInContext", + "threshold": 0.3166666626930237, "then": { "operation": "boost", - "score": 0.108941949903965 + "score": 0.12174160778522491 }, "else": { "operation": "boost", - "score": -0.1380675584077835 + "score": 0.13712915778160095 } + }, + "else": { + "operation": "boost", + "score": -0.1260802000761032 } }, "else": { "operation": "boost", - "score": -0.2635612189769745 + "score": -0.038465678691864014 } + }, + "else": { + "operation": "boost", + "score": -0.0941653847694397 } } - }, - "else": { - "operation": "boost", - "score": -0.06694120913743973 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.014477663673460484 - }, - "else": { - "operation": "boost", - "score": 0.11460692435503006 - } } - }, - "else": { + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.10002081841230392 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.002562563633546233 + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 154.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10440223664045334 - }, - "else": { - "operation": "boost", - "score": 0.0791323259472847 - } + "operation": "boost", + "score": -0.11335763335227966 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": -0.00047307030763477087 - }, - "else": { - "operation": "boost", - "score": -0.1038866713643074 - } + "operation": "boost", + "score": 0.11350394040346146 } + }, + "else": { + "operation": "boost", + "score": -0.4684627950191498 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10257120430469513 + }, + "else": { + "operation": "boost", + "score": 0.006174413487315178 } } } - }, - "else": { - "operation": "boost", - "score": -0.0024592748377472162 } } }, + "else": { + "operation": "boost", + "score": -0.0002726625825744122 + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.003941553179174662 + }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_TopLevel" + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.03637566417455673, "then": { + "operation": "boost", + "score": 0.0009560154867358506 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.5, - "then": { - "operation": "boost", - "score": -0.04121294245123863 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 163.5, - "then": { - "operation": "boost", - "score": 0.08528076857328415 - }, - "else": { - "operation": "boost", - "score": 0.021087199449539185 - } - } + "operation": "boost", + "score": 0.122661292552948 }, "else": { + "operation": "boost", + "score": -0.10013674944639206 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4833333492279053, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.10426879674196243 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.5634920597076416, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": -0.06082620844244957 + "score": 0.10657462477684021 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "operation": "boost", + "score": -0.015596055425703526 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.16581952571868896 + "score": -0.018798330798745155 }, "else": { "operation": "boost", - "score": 0.08273269981145859 + "score": 0.05428960919380188 } }, "else": { "operation": "boost", - "score": 0.003019560594111681 + "score": 0.03360579162836075 } }, "else": { "operation": "boost", - "score": 0.08964934200048447 + "score": 0.01686001569032669 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { + "operation": "boost", + "score": 0.008437363430857658 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10758465528488159 + "score": 0.07032222300767899 }, "else": { - "operation": "boost", - "score": -0.4019053280353546 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02264241874217987 + }, + "else": { + "operation": "boost", + "score": -0.32188138365745544 + } } - }, - "else": { - "operation": "boost", - "score": -0.24486178159713745 } } + }, + "else": { + "operation": "boost", + "score": -0.5574516654014587 } - }, - "else": { - "operation": "boost", - "score": -0.025194693356752396 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "boost", - "score": 0.10467150807380676 - }, - "else": { - "operation": "boost", - "score": -0.16276311874389648 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 267.0, - "then": { - "operation": "boost", - "score": 0.1011209487915039 - }, - "else": { - "operation": "boost", - "score": 0.0077407206408679485 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, - "then": { - "operation": "boost", - "score": 0.09378720819950104 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, + "feature": "FractionNameInContext", + "threshold": 0.6794872283935547, "then": { + "operation": "boost", + "score": -0.0445987731218338 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, + "feature": "FractionNameInContext", + "threshold": 0.6515151262283325, "then": { - "operation": "boost", - "score": 0.006253836676478386 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.12573713064193726 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.045900896191596985 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10399049520492554 + }, + "else": { + "operation": "boost", + "score": 0.04542931169271469 + } }, "else": { "operation": "boost", - "score": 0.10771477222442627 + "score": 0.014974238350987434 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Macro", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.13106408715248108 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.056612495332956314 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.09676487743854523 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.07436706125736237 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.11127707362174988 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.14460939168930054 + }, + "else": { + "operation": "boost", + "score": -0.2363811433315277 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.3350526988506317 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5773809552192688, + "then": { + "operation": "boost", + "score": -0.10365808755159378 + }, + "else": { + "operation": "boost", + "score": 0.14336660504341125 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.38530778884887695 + }, + "else": { + "operation": "boost", + "score": -0.06617436558008194 + } + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.1130017638206482 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.13012631237506866 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.054554253816604614 + }, + "else": { + "operation": "boost", + "score": -0.3498709499835968 + } }, "else": { "operation": "boost", - "score": 0.1159411147236824 + "score": 0.04850633069872856 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09529133886098862 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.06556855142116547 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.1129242479801178 + }, + "else": { + "operation": "boost", + "score": -0.24034520983695984 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.11859754472970963 }, "else": { "operation": "boost", - "score": 0.13226905465126038 + "score": 0.2757861018180847 } } } + }, + "else": { + "operation": "boost", + "score": -0.014042364433407784 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.26030850410461426 - }, - "else": { - "operation": "boost", - "score": 0.107771135866642 - } } }, "else": { - "operation": "boost", - "score": -0.02642485685646534 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08894715458154678 - }, - "else": { - "operation": "boost", - "score": -0.18709465861320496 - } + "operation": "boost", + "score": 0.08687737584114075 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12371478229761124 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.14928047358989716 + }, + "else": { + "operation": "boost", + "score": -0.021406371146440506 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.5227272510528564, "then": { - "operation": "boost", - "score": 0.09815295785665512 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6515151262283325, + "then": { + "operation": "boost", + "score": -0.2622244656085968 + }, + "else": { + "operation": "boost", + "score": -0.023147866129875183 + } }, "else": { "operation": "boost", - "score": -0.039548151195049286 + "score": -0.37846654653549194 } } } - }, - "else": { - "operation": "boost", - "score": 0.009126214310526848 } } + }, + "else": { + "operation": "boost", + "score": -0.00980293657630682 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.08530192822217941 + }, + "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.05345524474978447 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11959268152713776 + }, + "else": { + "operation": "boost", + "score": 0.017297251150012016 + } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.25647881627082825 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, + "feature": "FractionNameInContext", + "threshold": 0.75, "then": { "operation": "boost", - "score": 0.016914140433073044 + "score": 0.1588035225868225 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": -0.05624571442604065 + "score": 0.09516482055187225 }, "else": { "operation": "boost", - "score": 0.10590590536594391 + "score": -0.16854827105998993 } } - }, - "else": { - "operation": "boost", - "score": -0.004038703162223101 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.0, - "then": { - "operation": "boost", - "score": 0.11081799119710922 - }, - "else": { - "operation": "boost", - "score": -0.131337508559227 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.035451166331768036 - }, - "else": { - "operation": "boost", - "score": -0.39031797647476196 - } - } - }, - "else": { - "operation": "boost", - "score": 0.016176914796233177 - } + "operation": "boost", + "score": 0.0048643131740391254 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4226190447807312, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Variable" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 289.0, + "threshold": 10.5, "then": { + "operation": "boost", + "score": 0.1689758002758026 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 311.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Type" + "FileScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.057889629155397415 + "score": 0.001933225430548191 }, "else": { - "operation": "boost", - "score": -0.09571971744298935 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.020680274814367294 + "score": -0.13502995669841766 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 501.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 900.5, - "then": { - "operation": "boost", - "score": 0.09847649931907654 - }, - "else": { - "operation": "boost", - "score": 0.11229591071605682 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.107404924929142 - }, - "else": { - "operation": "boost", - "score": 0.10957035422325134 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.055432237684726715 - } - } - }, - "else": { - "operation": "boost", - "score": 0.010422907769680023 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.12016530334949493 - }, - "else": { - "operation": "boost", - "score": 0.08723147213459015 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.036308594048023224 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.5, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.01294466108083725 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.09312333166599274 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.10376816987991333 + }, + "else": { + "operation": "boost", + "score": 0.09949798136949539 + } }, "else": { "operation": "boost", - "score": -0.18046027421951294 + "score": 0.014941644854843616 } }, "else": { @@ -368023,840 +405107,632 @@ "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.04760312661528587 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.0, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.08927181363105774 + "score": 0.09995020180940628 }, "else": { "operation": "boost", - "score": 0.11408285796642303 + "score": 0.024017345160245895 } + }, + "else": { + "operation": "boost", + "score": -0.08677633106708527 } } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13762104511260986 + }, + "else": { + "operation": "boost", + "score": 0.10291269421577454 + } } - }, - "else": { - "operation": "boost", - "score": -0.03568573296070099 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 23.0, "then": { "operation": "boost", - "score": 0.12629280984401703 + "score": 0.0639403834939003 }, "else": { "operation": "boost", - "score": -0.27685439586639404 + "score": 0.11706038564443588 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Keyword", + "Constructor", "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", "Operator", - "Unknown", - "Constructor", - "Function" + "Type", + "Unknown" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "boost", - "score": 0.012968306429684162 - }, - "else": { - "operation": "boost", - "score": 0.12016778439283371 - } + "operation": "boost", + "score": 0.09152018278837204 + }, + "else": { + "operation": "boost", + "score": -0.13695178925991058 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11172333359718323 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.021739741787314415 }, "else": { "operation": "boost", - "score": -0.03838469460606575 + "score": -0.1981862485408783 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4580419659614563, + "then": { + "operation": "boost", + "score": 0.09466083347797394 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, + "feature": "FractionNameInContext", + "threshold": 0.44949495792388916, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.09166199713945389 - }, - "else": { - "operation": "boost", - "score": 0.057397905737161636 - } + "operation": "boost", + "score": 0.10160890966653824 }, "else": { "operation": "boost", - "score": -0.0709809884428978 + "score": 0.03994712978601456 } }, "else": { "operation": "boost", - "score": -0.1859954446554184 + "score": -0.026482488960027695 } }, "else": { "operation": "boost", - "score": -0.11289287358522415 + "score": 0.012290822342038155 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11232214421033859 - }, - "else": { - "operation": "boost", - "score": 0.12269030511379242 - } + "operation": "boost", + "score": -0.052060581743717194 }, "else": { - "operation": "boost", - "score": -0.12095960974693298 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.1065715029835701 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.03869011253118515 + }, + "else": { + "operation": "boost", + "score": 0.09087934345006943 + } }, "else": { - "operation": "boost", - "score": 0.07084105908870697 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.1115230992436409 + }, + "else": { + "operation": "boost", + "score": 0.025073692202568054 + } } - }, - "else": { - "operation": "boost", - "score": -0.06550656259059906 } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.003781162900850177 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 275.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown" + ], "then": { "operation": "boost", - "score": 0.039345528930425644 + "score": -0.018440399318933487 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 156.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11379610747098923 + "score": -0.12415684014558792 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.0, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.08770938217639923 + "score": -0.1253291219472885 }, "else": { - "operation": "boost", - "score": 0.15728843212127686 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.11188769340515137 + }, + "else": { + "operation": "boost", + "score": -0.21630682051181793 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.2455744594335556 } - }, - "else": { - "operation": "boost", - "score": -0.1440250426530838 } - }, - "else": { - "operation": "boost", - "score": -0.037391871213912964 } }, "else": { - "operation": "boost", - "score": -0.014811288565397263 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.29158496856689453 - }, - "else": { - "operation": "boost", - "score": 0.11096359044313431 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "feature": "FileProximityDistanceCost", + "threshold": 23.5, "then": { - "operation": "boost", - "score": 0.1297018676996231 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": -0.03676316514611244 + }, + "else": { + "operation": "boost", + "score": 0.09211702644824982 + } }, "else": { - "operation": "boost", - "score": 0.03750964626669884 - } - } - }, - "else": { - "operation": "boost", - "score": -0.02655639313161373 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0004134258779231459 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 391.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.10082046687602997 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 449.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 453.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 501.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 678.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7089.0, + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.04187364876270294 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7108.5, + "feature": "FileProximityDistanceCost", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.014366996474564075 + "score": 0.060570862144231796 }, "else": { "operation": "boost", - "score": 0.11247412115335464 + "score": 0.11721126735210419 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.17133170366287231 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.19566388428211212 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3661.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.04515538364648819 - }, - "else": { - "operation": "boost", - "score": -0.10208377987146378 - } + "operation": "boost", + "score": -0.06481478363275528 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3505.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02087404392659664 - }, - "else": { - "operation": "boost", - "score": 0.12017494440078735 - } + "operation": "boost", + "score": -0.1553007960319519 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3034.5, - "then": { - "operation": "boost", - "score": 0.10415805876255035 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.13905680179595947 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1241.0, - "then": { - "operation": "boost", - "score": 0.09736252576112747 - }, - "else": { - "operation": "boost", - "score": -0.028492985293269157 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0037791819777339697 - } + "operation": "boost", + "score": 0.1278047412633896 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 669.0, - "then": { - "operation": "boost", - "score": 0.11915798485279083 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 556.5, + "feature": "FileProximityDistanceCost", + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11021605879068375 - }, - "else": { - "operation": "boost", - "score": -0.17158547043800354 - } + "operation": "boost", + "score": 0.08640354126691818 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1551373451948166 - }, - "else": { - "operation": "boost", - "score": 0.04340744763612747 - } + "operation": "boost", + "score": -0.3609648644924164 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.07509146630764008 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08631705492734909 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.017832353711128235 - }, - "else": { - "operation": "boost", - "score": 0.0983564555644989 - } - } - } + "operation": "boost", + "score": -0.05860811099410057 } } } - }, - "else": { - "operation": "boost", - "score": -0.26529887318611145 } - }, - "else": { - "operation": "boost", - "score": 0.086934894323349 } }, "else": { - "operation": "boost", - "score": -0.17878711223602295 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.09595518559217453 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.21557879447937012 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.0020179220009595156 + }, + "else": { + "operation": "boost", + "score": 0.06720230728387833 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.4365079402923584, + "then": { + "operation": "boost", + "score": -0.03920721262693405 + }, + "else": { + "operation": "boost", + "score": 0.05710090696811676 + } + } + } }, "else": { "operation": "boost", - "score": -0.020894482731819153 + "score": 0.06733213365077972 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 473.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], + "then": { + "operation": "boost", + "score": -0.03305497765541077 + }, + "else": { + "operation": "boost", + "score": -0.8282231688499451 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 657.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4211.5, + "threshold": 4.5, "then": { + "operation": "boost", + "score": -0.1604834645986557 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5251.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28045.0, - "then": { - "operation": "boost", - "score": 0.07224563509225845 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15930.0, - "then": { - "operation": "boost", - "score": -0.11194998770952225 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11143.0, - "then": { - "operation": "boost", - "score": 0.1084408164024353 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11252646893262863 - }, - "else": { - "operation": "boost", - "score": -0.07351113855838776 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.5618304014205933 - } - } + "operation": "boost", + "score": 0.13638263940811157 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16816.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34373.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.00901057105511427 - }, - "else": { - "operation": "boost", - "score": -0.5044015645980835 - } - }, - "else": { - "operation": "boost", - "score": 0.08981620520353317 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.560341477394104 - }, - "else": { - "operation": "boost", - "score": 0.0017612994415685534 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09912408143281937 - }, - "else": { - "operation": "boost", - "score": -0.08687996864318848 - } - } + "operation": "boost", + "score": 0.008401981554925442 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5107.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.10675318539142609 + "score": -0.000935611838940531 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.11986664682626724 + "score": 0.11623165011405945 }, "else": { - "operation": "boost", - "score": -0.2668737471103668 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.24621346592903137 + }, + "else": { + "operation": "boost", + "score": 0.10959303379058838 + } } } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1037.5, - "then": { - "operation": "boost", - "score": 0.025587575510144234 - }, - "else": { - "operation": "boost", - "score": 0.0878203809261322 - } - }, - "else": { - "operation": "boost", - "score": -0.03942946344614029 - } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 630.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.11301405727863312 + "score": 0.14019875228405 }, "else": { "operation": "boost", - "score": 0.00991644524037838 + "score": 0.09731168299913406 } } }, "else": { - "operation": "boost", - "score": -0.08960284292697906 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77890.0, - "then": { - "operation": "boost", - "score": -1.7902312278747559 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16257.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.0719214677810669 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.05866634100675583 + }, + "else": { + "operation": "boost", + "score": 0.12349960952997208 + } }, "else": { "operation": "boost", - "score": -0.31147778034210205 + "score": 0.00531875342130661 } }, "else": { "operation": "boost", - "score": 0.0813322439789772 + "score": -0.1550494283437729 } } } @@ -368864,1929 +405740,2652 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 460.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.0991806909441948 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.03226972743868828 + }, + "else": { + "operation": "boost", + "score": -0.2640877664089203 + } }, "else": { "operation": "boost", - "score": -0.16580475866794586 + "score": -0.012654001824557781 } } } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": -0.0006625697133131325 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.000307429232634604 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1650.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1658.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1729.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1739.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0019597213249653578 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2792207896709442, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistanceCost", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1462.0, + "threshold": 1914.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63566.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16290.5, + "operation": "boost", + "score": 0.00636221282184124 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350855.0, - "then": { - "operation": "boost", - "score": 0.09163392335176468 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.4178772568702698 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50363.0, - "then": { - "operation": "boost", - "score": 0.050878025591373444 - }, - "else": { - "operation": "boost", - "score": -0.16909213364124298 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02945922128856182 - } + "operation": "boost", + "score": -0.08751855045557022 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2110.0, + "threshold": 5189.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2713.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7105.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.023473143577575684 - }, - "else": { - "operation": "boost", - "score": 0.0916372537612915 - } - }, - "else": { - "operation": "boost", - "score": 0.022564779967069626 - } + "operation": "boost", + "score": -0.6234965324401855 }, "else": { "operation": "boost", - "score": 0.1097777709364891 + "score": -0.18824368715286255 } }, "else": { "operation": "boost", - "score": -0.27944415807724 + "score": -0.06745928525924683 } } - }, - "else": { - "operation": "boost", - "score": 0.014544793404638767 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1392.0, + "threshold": 1871.0, + "then": { + "operation": "boost", + "score": 0.1608896404504776 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1763.5, + "then": { + "operation": "boost", + "score": -0.18207405507564545 + }, + "else": { + "operation": "boost", + "score": 0.10647767782211304 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08236657828092575 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33610.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 291408.0, "then": { "operation": "boost", - "score": 0.10413013398647308 + "score": -0.08404858410358429 }, "else": { + "operation": "boost", + "score": -0.03387778252363205 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_TopLevel", - "CCC_Type" + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 693.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0195704847574234 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 86511.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 112200.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 789.5, + "threshold": 361524.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 968.0, - "then": { - "operation": "boost", - "score": 0.12289079278707504 - }, - "else": { - "operation": "boost", - "score": 0.2920297682285309 - } + "operation": "boost", + "score": 0.10843934863805771 }, "else": { "operation": "boost", - "score": 0.04449556767940521 + "score": -0.053235385566949844 } }, "else": { "operation": "boost", - "score": 0.1156134083867073 + "score": 0.24763749539852142 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1456785649061203 - }, - "else": { - "operation": "boost", - "score": -0.10116846114397049 - } + "operation": "boost", + "score": -0.07657524198293686 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.019418912008404732 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 426.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.027171533554792404 + "score": -0.7315252423286438 }, "else": { "operation": "boost", - "score": 0.22299738228321075 + "score": -0.06026005744934082 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.07463329285383224 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 903.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1035.5, - "then": { - "operation": "boost", - "score": 0.011242326349020004 - }, - "else": { - "operation": "boost", - "score": 0.09610350430011749 - } + "operation": "boost", + "score": 0.15513156354427338 }, "else": { "operation": "boost", - "score": -0.12064561992883682 + "score": 0.12157131731510162 } + }, + "else": { + "operation": "boost", + "score": 0.047436103224754333 } + }, + "else": { + "operation": "boost", + "score": -0.035311974585056305 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30061.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 524.5, + "threshold": 30388.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19201.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.07674149423837662 + "score": 0.004088114481419325 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10027.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", + "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", + "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "CCC_PreprocessorExpression", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.03224997967481613 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10501693934202194 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10723216086626053 + }, + "else": { + "operation": "boost", + "score": -0.013845370151102543 + } + }, + "else": { + "operation": "boost", + "score": 0.08451903611421585 + } + } }, "else": { "operation": "boost", - "score": -0.9408723711967468 + "score": -0.1382000595331192 } }, "else": { - "operation": "boost", - "score": -0.005213716067373753 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 492.5, - "then": { - "operation": "boost", - "score": 0.09740510582923889 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 445.5, + "threshold": 32960.5, "then": { "operation": "boost", - "score": 0.10846338421106339 + "score": 0.18958355486392975 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 415.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.3642145097255707 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.17455394566059113 + }, + "else": { + "operation": "boost", + "score": 0.0031348983757197857 + } }, "else": { "operation": "boost", - "score": 0.11305121332406998 + "score": -0.056298062205314636 } } - }, - "else": { - "operation": "boost", - "score": -0.43039628863334656 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1179.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1246.0, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, - "then": { - "operation": "boost", - "score": -3.1118528842926025 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16929.0, - "then": { - "operation": "boost", - "score": 0.0880889743566513 - }, - "else": { - "operation": "boost", - "score": -0.015515612438321114 - } - } + "operation": "boost", + "score": 0.13393740355968475 }, "else": { "operation": "boost", - "score": 0.09595560282468796 + "score": -0.26250189542770386 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0012201581848785281 }, "else": { "operation": "boost", - "score": -0.1930975764989853 + "score": -0.02735687792301178 } } } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1735.5, + "then": { + "operation": "boost", + "score": 0.12402799725532532 + }, + "else": { + "operation": "boost", + "score": -0.15542860329151154 + } + }, + "else": { + "operation": "boost", + "score": 0.04703996703028679 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.2099180668592453 + }, + "else": { + "operation": "boost", + "score": -0.042353902012109756 + } + } + }, + "else": { + "operation": "boost", + "score": -0.4232894778251648 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 395.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.004652274306863546 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1722.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.13476771116256714 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.13083557784557343 + }, + "else": { + "operation": "boost", + "score": -0.17897403240203857 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01463487558066845 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 1664.5, "then": { - "operation": "boost", - "score": -0.19465714693069458 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.1704103797674179 + }, + "else": { + "operation": "boost", + "score": -0.5163357853889465 + } + }, + "else": { + "operation": "boost", + "score": -0.055958375334739685 + } + }, + "else": { + "operation": "boost", + "score": -0.11858794093132019 + } }, "else": { "operation": "boost", - "score": 0.10597789287567139 + "score": 0.08533132821321487 } } } }, "else": { - "operation": "boost", - "score": 0.00018143832858186215 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1688.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 509.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 1805.0, "then": { - "operation": "boost", - "score": 0.09493547677993774 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 756.5, + "threshold": 2357.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 868.0, + "threshold": 3177.0, "then": { + "operation": "boost", + "score": 0.01509677991271019 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 3102.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 3131.0, "then": { "operation": "boost", - "score": 0.08308116346597672 + "score": 0.10930158942937851 }, "else": { "operation": "boost", - "score": -0.2376917004585266 + "score": 0.11989159137010574 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1656.0, + "threshold": 2785.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, + "feature": "FractionNameInContext", + "threshold": 0.08116883039474487, "then": { "operation": "boost", - "score": -0.07813651859760284 + "score": 0.1457548588514328 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "boost", + "score": -0.10849710553884506 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2570.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2678.0, "then": { "operation": "boost", - "score": 0.0960947722196579 + "score": 0.14378581941127777 }, "else": { - "operation": "boost", - "score": -0.19563470780849457 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.030658887699246407 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2632.0, + "then": { + "operation": "boost", + "score": 0.11359670013189316 + }, + "else": { + "operation": "boost", + "score": 0.08304157853126526 + } + } } + }, + "else": { + "operation": "boost", + "score": 0.05037395656108856 } - }, - "else": { - "operation": "boost", - "score": -0.00011701409675879404 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04679858684539795 - }, - "else": { - "operation": "boost", - "score": 0.10649380832910538 - } } }, "else": { "operation": "boost", - "score": -0.011429209262132645 + "score": -0.05872928351163864 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1758.5, + "then": { + "operation": "boost", + "score": 0.10070246458053589 + }, + "else": { + "operation": "boost", + "score": -0.1110176369547844 } } }, "else": { - "operation": "boost", - "score": -0.024533092975616455 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.007267303299158812 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1909.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.15767456591129303 + }, + "else": { + "operation": "boost", + "score": 0.02351256273686886 + } + }, + "else": { + "operation": "boost", + "score": -0.18376129865646362 + } + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 498.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.10256737470626831 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1691.5, + "then": { + "operation": "boost", + "score": 0.008313553407788277 + }, + "else": { + "operation": "boost", + "score": -0.15382680296897888 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 412.5, + "threshold": 1753.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2781.0, "then": { - "operation": "boost", - "score": 0.08616013079881668 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.18333333730697632, + "then": { + "operation": "boost", + "score": 0.04837379604578018 + }, + "else": { + "operation": "boost", + "score": -0.18352262675762177 + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.02451709657907486 + "score": -0.004777395166456699 }, "else": { "operation": "boost", - "score": 0.07133546471595764 + "score": 0.10654772073030472 } } }, "else": { "operation": "boost", - "score": -0.04650748893618584 + "score": -1.6892927885055542 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 1683.0, "then": { "operation": "boost", - "score": 0.012081116437911987 + "score": 0.15075752139091492 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1663.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.24772214889526367 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 501.5, + "threshold": 1666.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 729.0, - "then": { - "operation": "boost", - "score": 0.08430742472410202 - }, - "else": { - "operation": "boost", - "score": 0.10963127017021179 - } - }, - "else": { "operation": "boost", - "score": -0.20437796413898468 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 922.5, - "then": { - "operation": "boost", - "score": 0.08705134689807892 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 521.5, - "then": { - "operation": "boost", - "score": -0.1326747089624405 - }, - "else": { - "operation": "boost", - "score": 0.11264708638191223 - } - } + "score": 0.08996894210577011 }, "else": { "operation": "boost", - "score": -0.0010911333374679089 + "score": 0.10354941338300705 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1204.0, - "then": { - "operation": "boost", - "score": 0.08573022484779358 - }, - "else": { - "operation": "boost", - "score": -0.1308092325925827 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10016925632953644 - }, - "else": { - "operation": "boost", - "score": 0.04811244085431099 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04457610845565796 - } + "operation": "boost", + "score": 0.13379856944084167 }, "else": { "operation": "boost", - "score": -0.05074351653456688 + "score": -0.06404364854097366 } } } } - }, - "else": { - "operation": "boost", - "score": 0.002919575432315469 } + }, + "else": { + "operation": "boost", + "score": 0.15479454398155212 } }, "else": { - "operation": "boost", - "score": -0.0003132911224383861 - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73.5, + "threshold": 1631.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 636.5, + "threshold": 1633.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 1634.5, "then": { "operation": "boost", - "score": -0.10681876540184021 + "score": -0.06895124167203903 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1448.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1002078577876091 + }, + "else": { + "operation": "boost", + "score": -0.11247396469116211 + } + }, + "else": { + "operation": "boost", + "score": 0.1449742466211319 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.10820883512496948 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.38063791394233704 + }, + "else": { + "operation": "boost", + "score": -0.2580929100513458 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.035098522901535034, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.037749290466308594, + "then": { + "operation": "boost", + "score": 0.0005038258386775851 + }, + "else": { + "operation": "boost", + "score": 0.12454614043235779 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "boost", + "score": -0.0032362155616283417 + }, + "else": { + "operation": "boost", + "score": 0.002321674255654216 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3660.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4946.5, + "operation": "boost", + "score": 0.03970589116215706 + }, + "else": { + "operation": "boost", + "score": 0.00782020203769207 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": -0.014623434282839298 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.03968654200434685 + }, + "else": { + "operation": "boost", + "score": 0.015406932681798935 + } }, "else": { - "operation": "boost", - "score": 0.11119701713323593 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02066073566675186 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.013857178390026093 + }, + "else": { + "operation": "boost", + "score": 0.060925569385290146 + } + } } }, "else": { "operation": "boost", - "score": -0.18607006967067719 + "score": 0.0044619617983698845 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00025683673447929323 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.008685861714184284 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1005.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1029.0, + "then": { + "operation": "boost", + "score": 0.05546315759420395 + }, + "else": { + "operation": "boost", + "score": 0.22286051511764526 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.010750741697847843 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13648.0, + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 185.5, "then": { - "operation": "boost", - "score": 0.05192354694008827 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207.0, + "then": { + "operation": "boost", + "score": 0.05559378117322922 + }, + "else": { + "operation": "boost", + "score": 0.2221812754869461 + } }, "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.010855454951524734 + }, + "else": { + "operation": "boost", + "score": 0.0986408144235611 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 7.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14536.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12398608773946762 + "score": -0.15154756605625153 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.10785527527332306 + "score": 0.07881946116685867 }, "else": { "operation": "boost", - "score": -0.1913495510816574 + "score": 0.1415453851222992 } } + }, + "else": { + "operation": "boost", + "score": 0.016259105876088142 } - }, - "else": { - "operation": "boost", - "score": 0.029453538358211517 } + }, + "else": { + "operation": "boost", + "score": -0.039887379854917526 } }, "else": { "operation": "boost", - "score": -0.3475241959095001 + "score": -0.021599426865577698 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01926361210644245 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1583.5, + "then": { + "operation": "boost", + "score": 0.09315266460180283 + }, + "else": { + "operation": "boost", + "score": 0.005980568006634712 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.06539852172136307 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.031332019716501236 + }, + "else": { + "operation": "boost", + "score": -0.03644685447216034 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14918.0, + "threshold": 91.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16649.0, + "threshold": 94.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27487.0, - "then": { - "operation": "boost", - "score": -0.021539997309446335 - }, - "else": { - "operation": "boost", - "score": -1.3280909061431885 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "boost", + "score": 0.055959876626729965 + }, + "else": { + "operation": "boost", + "score": 0.10657303780317307 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.043958213180303574 + }, + "else": { + "operation": "boost", + "score": 0.0186348594725132 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.003792749485000968 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { + "operation": "boost", + "score": 0.031030455604195595 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.01465646829456091 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.11524037271738052 + }, + "else": { + "operation": "boost", + "score": 0.06709620356559753 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32115.5, + "then": { + "operation": "boost", + "score": 0.004720400087535381 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23667.0, + "then": { + "operation": "boost", + "score": -0.044380225241184235 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23608.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.1064373180270195 + }, + "else": { + "operation": "boost", + "score": 0.12562298774719238 + } + }, + "else": { + "operation": "boost", + "score": -0.24430054426193237 + } + }, + "else": { + "operation": "boost", + "score": -0.009582629427313805 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0021668740082532167 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2072.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.30246877670288086 + }, + "else": { + "operation": "boost", + "score": -0.059871431440114975 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 330.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 382.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32342.0, + "threshold": 490.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 78490.0, + "threshold": 499.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 89117.0, + "threshold": 664.5, "then": { - "operation": "boost", - "score": 0.0003374289080966264 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 1053.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 1449.5, "then": { "operation": "boost", - "score": 0.1253245621919632 + "score": 0.12127300351858139 }, "else": { "operation": "boost", - "score": 0.05706724151968956 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.07471296191215515 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, - "then": { - "operation": "boost", - "score": 0.10640160739421844 - }, - "else": { - "operation": "boost", - "score": 0.12338106334209442 - } - }, - "else": { - "operation": "boost", - "score": -0.11634846031665802 - } - }, - "else": { - "operation": "boost", - "score": -0.024689797312021255 - } - }, - "else": { - "operation": "boost", - "score": 0.0955287292599678 - } + "score": 0.11032340675592422 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "boost", - "score": -0.07004256546497345 }, "else": { "operation": "boost", - "score": 0.03260913863778114 + "score": 0.015248280018568039 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40616.0, - "then": { - "operation": "boost", - "score": -0.07098108530044556 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.13651143014431 - }, - "else": { - "operation": "boost", - "score": 0.11892321705818176 - } - }, - "else": { - "operation": "boost", - "score": -0.11226267367601395 - } - } + "operation": "boost", + "score": 0.14379781484603882 } + }, + "else": { + "operation": "boost", + "score": 0.2692658007144928 } }, "else": { + "operation": "boost", + "score": -0.12774084508419037 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 350.5, + "then": { + "operation": "boost", + "score": 0.13177724182605743 + }, + "else": { + "operation": "boost", + "score": 0.11927229166030884 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 285.0, + "then": { + "operation": "boost", + "score": -0.26706916093826294 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28239.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 54.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 122.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31879.0, - "then": { - "operation": "boost", - "score": -0.4676990807056427 - }, - "else": { - "operation": "boost", - "score": 0.07794549316167831 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31239.0, - "then": { - "operation": "boost", - "score": 0.07233966141939163 - }, - "else": { - "operation": "boost", - "score": 0.09741741418838501 - } - }, - "else": { - "operation": "boost", - "score": 0.06643463671207428 - } - } + "operation": "boost", + "score": 0.11428221315145493 }, "else": { "operation": "boost", - "score": 0.01990444026887417 + "score": 0.030217887833714485 } }, "else": { "operation": "boost", - "score": -0.07014243304729462 + "score": 0.15121924877166748 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.41635778546333313 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 70.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19643.0, - "then": { - "operation": "boost", - "score": -0.0376567617058754 - }, - "else": { - "operation": "boost", - "score": 0.120332732796669 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25461.0, + "threshold": 78.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26223.5, + "threshold": 140.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 224.5, "then": { "operation": "boost", - "score": 0.08801015466451645 + "score": -0.10042140632867813 }, "else": { - "operation": "boost", - "score": -0.3354724943637848 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 221.5, + "then": { + "operation": "boost", + "score": 0.2335490584373474 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.14134478569030762 + }, + "else": { + "operation": "boost", + "score": -0.015340505167841911 + } + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06813456118106842 - }, - "else": { - "operation": "boost", - "score": 0.10250832885503769 - } + "operation": "boost", + "score": 0.019264575093984604 } }, "else": { "operation": "boost", - "score": 0.1032504141330719 + "score": 0.04042457044124603 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23639.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -1.1952238082885742 - }, - "else": { - "operation": "boost", - "score": -0.05397212877869606 - } + "operation": "boost", + "score": -0.11110593378543854 }, "else": { "operation": "boost", - "score": -0.0002586705959402025 + "score": 0.26144739985466003 } } + }, + "else": { + "operation": "boost", + "score": 0.04295538738369942 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 272.5, + "then": { + "operation": "boost", + "score": 0.17781947553157806 + }, + "else": { + "operation": "boost", + "score": -0.02187265455722809 + } + }, + "else": { + "operation": "boost", + "score": 0.0988236516714096 } } } + }, + "else": { + "operation": "boost", + "score": -0.11536994576454163 } - }, - "else": { - "operation": "boost", - "score": -0.2263496071100235 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.11719752848148346 - }, - "else": { - "operation": "boost", - "score": -0.3960946500301361 - } + "operation": "boost", + "score": -0.05914588272571564 + } + } + }, + "else": { + "operation": "boost", + "score": -0.027746915817260742 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 155.5, + "then": { + "operation": "boost", + "score": -0.0073180124163627625 + }, + "else": { + "operation": "boost", + "score": 0.12631849944591522 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10008.5, + "threshold": 386.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 481.0, "then": { + "operation": "boost", + "score": 0.029987385496497154 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.03539631515741348 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.12628333270549774 + "score": 0.16583319008350372 }, "else": { "operation": "boost", - "score": 0.13532845675945282 + "score": 0.11973293125629425 } - }, - "else": { - "operation": "boost", - "score": -0.06754998117685318 } - }, - "else": { - "operation": "boost", - "score": -0.08100289851427078 } }, "else": { + "operation": "boost", + "score": 0.002764645731076598 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 392.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8890.0, + "threshold": 407.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8956.0, + "feature": "FractionNameInContext", + "threshold": 0.02500000037252903, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 5077.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, + "feature": "NumReferences", + "threshold": 9132.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.041863422840833664 + "score": -0.2789817154407501 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10475564002990723 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9948.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, - "then": { - "operation": "boost", - "score": -0.1243891716003418 - }, - "else": { - "operation": "boost", - "score": 0.1090879887342453 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9195.0, - "then": { - "operation": "boost", - "score": 0.05868442729115486 - }, - "else": { - "operation": "boost", - "score": 0.09186505526304245 - } - }, - "else": { - "operation": "boost", - "score": -0.1178637146949768 - } - } - } + "operation": "boost", + "score": 0.04138734191656113 } }, "else": { - "operation": "boost", - "score": -0.10560082644224167 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8733.0, + "then": { + "operation": "boost", + "score": 0.1451912373304367 + }, + "else": { + "operation": "boost", + "score": 0.09300302714109421 + } } }, "else": { - "operation": "boost", - "score": -0.015315935015678406 - } - }, - "else": { - "operation": "boost", - "score": 0.10611758381128311 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2745.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3202.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3988.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.02888667583465576 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10218308120965958 + }, + "else": { + "operation": "boost", + "score": 0.11076421290636063 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3851.5, + "feature": "FractionNameInContext", + "threshold": 0.17424243688583374, "then": { "operation": "boost", - "score": 0.10597792267799377 + "score": -0.03910551592707634 }, "else": { "operation": "boost", - "score": 0.011364971287548542 + "score": 0.021170955151319504 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.0030666403472423553 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 425.5, "then": { "operation": "boost", - "score": -0.20153436064720154 + "score": -0.05738130956888199 }, "else": { "operation": "boost", - "score": 0.0843270942568779 + "score": 0.14779603481292725 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06728598475456238 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 405.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.15810289978981018 + }, + "else": { + "operation": "boost", + "score": -0.004677449353039265 + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistanceCost", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.12664629518985748 + "score": 0.11487694829702377 }, "else": { + "operation": "boost", + "score": 0.06181136518716812 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.05409356951713562, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1537.0, + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2235.0, + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, "then": { "operation": "boost", - "score": 0.11216627061367035 + "score": -0.08454762399196625 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.4637068212032318 - }, - "else": { - "operation": "boost", - "score": 0.10294357687234879 - } + "operation": "boost", + "score": -1.0010098218917847 } }, "else": { "operation": "boost", - "score": 0.13048657774925232 + "score": -0.012031342834234238 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.17483390867710114 + }, + "else": { + "operation": "boost", + "score": -0.15846489369869232 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2491.0, + "threshold": 86.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 105.5, "then": { - "operation": "boost", - "score": 0.15533828735351562 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.13814754784107208 + }, + "else": { + "operation": "boost", + "score": 0.031177712604403496 + } + }, + "else": { + "operation": "boost", + "score": -0.1166263073682785 + } }, "else": { - "operation": "boost", - "score": 0.09892742335796356 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104.5, + "then": { + "operation": "boost", + "score": 0.1632101833820343 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.22511735558509827 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.13096722960472107 + }, + "else": { + "operation": "boost", + "score": 0.10514731705188751 + } + }, + "else": { + "operation": "boost", + "score": 0.02146754041314125 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Unknown", + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98.5, + "then": { + "operation": "boost", + "score": 0.17031744122505188 + }, + "else": { + "operation": "boost", + "score": 0.06024286895990372 + } + }, + "else": { + "operation": "boost", + "score": -0.02750856801867485 + } + } } }, "else": { "operation": "boost", - "score": -0.008130716159939766 + "score": -0.025028862059116364 } } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03214314952492714 - } - }, - "else": { - "operation": "boost", - "score": -0.012246442027390003 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 630.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.1135186105966568 - }, - "else": { - "operation": "boost", - "score": 0.09655823558568954 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85.0, - "then": { - "operation": "boost", - "score": 0.0709943026304245 - }, - "else": { - "operation": "boost", - "score": 0.10836495459079742 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 257.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 376.0, - "then": { - "operation": "boost", - "score": 0.12699569761753082 - }, - "else": { - "operation": "boost", - "score": -0.15671876072883606 - } - }, - "else": { - "operation": "boost", - "score": -0.011279995553195477 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 177.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 181.5, + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 248.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "boost", - "score": 0.10306449979543686 + "score": 0.10589097440242767 }, "else": { "operation": "boost", - "score": 0.028625058010220528 + "score": -0.17402121424674988 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 231.0, + "threshold": 100.0, "then": { - "operation": "boost", - "score": 0.11064489185810089 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.08393162488937378 + }, + "else": { + "operation": "boost", + "score": -0.3084180951118469 + } }, "else": { "operation": "boost", - "score": -0.5711079239845276 + "score": -0.043504584580659866 } }, "else": { - "operation": "boost", - "score": 0.14638495445251465 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.10731977224349976 + }, + "else": { + "operation": "boost", + "score": -0.008047064766287804 + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 186.5, + "threshold": 178.0, "then": { "operation": "boost", - "score": -0.053348615765571594 + "score": -0.5685726404190063 }, "else": { - "operation": "boost", - "score": 0.10782270133495331 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83.5, + "then": { + "operation": "boost", + "score": -0.012046139687299728 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.0, + "then": { + "operation": "boost", + "score": -0.5788741111755371 + }, + "else": { + "operation": "boost", + "score": -0.16768556833267212 + } + } } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type", - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 144.5, "then": { - "operation": "boost", - "score": 0.10668914020061493 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.11437908560037613, + "then": { + "operation": "boost", + "score": -0.07271773368120193 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 336.0, + "then": { + "operation": "boost", + "score": -1.5273956060409546 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.051654551178216934 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "boost", + "score": -0.21790462732315063 + }, + "else": { + "operation": "boost", + "score": -0.7003508806228638 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1878638118505478 + } + } }, "else": { - "operation": "boost", - "score": -0.16080453991889954 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 141.5, + "then": { + "operation": "boost", + "score": 0.10383682698011398 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.12111485749483109 + }, + "else": { + "operation": "boost", + "score": -0.6564322710037231 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.05254755914211273 + }, + "else": { + "operation": "boost", + "score": -0.08594613522291183 + } + } + } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245.0, - "then": { - "operation": "boost", - "score": 0.13002042472362518 - }, - "else": { - "operation": "boost", - "score": -0.1299150437116623 - } } }, "else": { "operation": "boost", - "score": 0.13267108798027039 - } - }, - "else": { - "operation": "boost", - "score": 0.028929712250828743 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 222.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 223.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.016367992386221886 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 307.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04450225457549095 - }, - "else": { - "operation": "boost", - "score": 0.11381349712610245 - } - }, - "else": { - "operation": "boost", - "score": -0.011186775751411915 - } + "score": -0.017717301845550537 } - }, - "else": { - "operation": "boost", - "score": 0.1841798573732376 } }, "else": { - "operation": "boost", - "score": -0.01932513527572155 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.0007481181528419256 - }, - "else": { - "operation": "boost", - "score": 0.12400101125240326 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.38592007756233215 - }, - "else": { - "operation": "boost", - "score": -0.1428653597831726 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 178.0, - "then": { - "operation": "boost", - "score": 0.12166319042444229 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": -0.03289482370018959 - }, - "else": { - "operation": "boost", - "score": 0.11207876354455948 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 610.5, - "then": { - "operation": "boost", - "score": 0.11153948307037354 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 177.5, + "feature": "FractionNameInContext", + "threshold": 0.4642857313156128, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 182.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350.5, + "operation": "boost", + "score": 0.11233960092067719 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": -0.10692444443702698 + "score": 0.19080039858818054 }, "else": { + "operation": "boost", + "score": 0.01738603785634041 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 233.0, + "threshold": 143.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.007869178429245949 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 303.0, + "then": { + "operation": "boost", + "score": -0.19370664656162262 + }, + "else": { + "operation": "boost", + "score": -0.8457040786743164 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03171764314174652 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": -0.6376256346702576 + "score": 0.12244383990764618 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { + "operation": "boost", + "score": 0.11563542485237122 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 299.5, + "threshold": 97.5, "then": { "operation": "boost", - "score": 0.39577871561050415 + "score": -0.0444595031440258 }, "else": { "operation": "boost", - "score": -0.10242854058742523 + "score": 0.13970276713371277 } - }, - "else": { - "operation": "boost", - "score": 0.14826257526874542 } } - }, - "else": { - "operation": "boost", - "score": 0.04346504807472229 } - } - }, - "else": { - "operation": "boost", - "score": 0.18700164556503296 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.5, - "then": { - "operation": "boost", - "score": -0.16086989641189575 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, - "then": { - "operation": "boost", - "score": 0.10737130790948868 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 137.5, + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, "then": { - "operation": "boost", - "score": -0.42607197165489197 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1262526959180832 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.0223981142044067 + }, + "else": { + "operation": "boost", + "score": 0.08834526687860489 + } + } + }, + "else": { + "operation": "boost", + "score": -0.038784317672252655 + } }, "else": { "operation": "boost", - "score": 0.07546305656433105 + "score": -0.08434858173131943 } } } } - }, - "else": { - "operation": "boost", - "score": -0.013259944505989552 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, - "then": { - "operation": "boost", - "score": 0.0027867748867720366 - }, - "else": { - "operation": "boost", - "score": 0.12354940921068192 } } } @@ -370795,2479 +408394,2696 @@ } }, "else": { - "operation": "boost", - "score": 0.0018796513322740793 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Unknown" + ], + "then": { + "operation": "boost", + "score": 0.09542221575975418 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.17587308585643768 + }, + "else": { + "operation": "boost", + "score": 0.054817404597997665 + } + }, + "else": { + "operation": "boost", + "score": 0.13219377398490906 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.0044594802893698215 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.12825049459934235 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3353.5, + "then": { + "operation": "boost", + "score": 0.10676737129688263 + }, + "else": { + "operation": "boost", + "score": -0.04646610468626022 + } + } + } + } + } } }, "else": { "operation": "boost", - "score": -0.00027510637301020324 + "score": -0.000162396056111902 } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 21726.0, "then": { - "operation": "boost", - "score": -0.0005379684153012931 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21900.5, + "then": { + "operation": "boost", + "score": 0.015042753890156746 + }, + "else": { + "operation": "boost", + "score": 0.11823438853025436 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Unknown", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20310.0, "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": -0.8019477128982544 + }, + "else": { + "operation": "boost", + "score": -0.1680881679058075 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116639.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FractionNameInContext", + "threshold": 0.6076923608779907, "then": { "operation": "boost", - "score": -0.006540196947753429 + "score": -0.055605534464120865 }, "else": { + "operation": "boost", + "score": 0.017428813502192497 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { - "operation": "boost", - "score": 0.020408596843481064 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.5357142686843872, + "then": { + "operation": "boost", + "score": 0.06751266121864319 + }, + "else": { + "operation": "boost", + "score": -0.12863685190677643 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, "then": { "operation": "boost", - "score": 0.0907929539680481 + "score": 0.10521510988473892 }, "else": { + "operation": "boost", + "score": 0.05811610445380211 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.4023343026638031 + "score": -0.1001800149679184 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10934565216302872 - }, - "else": { - "operation": "boost", - "score": 0.10688968747854233 - } - }, - "else": { - "operation": "boost", - "score": 0.11695220321416855 - } - }, - "else": { - "operation": "boost", - "score": 0.08465901017189026 - } + "operation": "boost", + "score": 0.12346936762332916 } + }, + "else": { + "operation": "boost", + "score": -0.06471586972475052 } + }, + "else": { + "operation": "boost", + "score": -0.14459455013275146 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Macro", + "Namespace", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0026526569854468107 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 325.5, + "feature": "FileProximityDistanceCost", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 6611.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1091.5, + "threshold": 6799.0, + "then": { + "operation": "boost", + "score": -0.09756159037351608 + }, + "else": { + "operation": "boost", + "score": -0.6611794829368591 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1320.5, + "feature": "FractionNameInContext", + "threshold": 0.09307359158992767, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.14642858505249023, "then": { - "operation": "boost", - "score": -0.10021202266216278 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4261.5, + "feature": "FractionNameInContext", + "threshold": 0.16228070855140686, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4290.5, + "feature": "FractionNameInContext", + "threshold": 0.1715686321258545, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6044.5, + "operation": "boost", + "score": -0.0005896731745451689 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6175.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "boost", + "score": 0.0018254911992698908 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.07558123022317886 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9226.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.15019452571868896 + }, + "else": { + "operation": "boost", + "score": -0.10074739158153534 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10337.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14319.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.11132889240980148 + "score": 0.12255699932575226 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13072.0, - "then": { - "operation": "boost", - "score": 0.1140306144952774 - }, - "else": { - "operation": "boost", - "score": -0.027981910854578018 - } + "operation": "boost", + "score": 0.04826255887746811 } }, "else": { "operation": "boost", - "score": 0.12380901724100113 + "score": 0.0232253298163414 } - }, - "else": { - "operation": "boost", - "score": 0.056423626840114594 } + }, + "else": { + "operation": "boost", + "score": 0.011973950080573559 } - }, - "else": { - "operation": "boost", - "score": 0.11443211883306503 - } - }, - "else": { - "operation": "boost", - "score": -0.04215676710009575 - } - }, - "else": { - "operation": "boost", - "score": 0.14519108831882477 - } - }, - "else": { - "operation": "boost", - "score": 0.06175487861037254 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.10880928486585617 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1258.0, - "then": { - "operation": "boost", - "score": -0.1135624572634697 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1219.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.10016652196645737 - }, - "else": { - "operation": "boost", - "score": 0.12147931009531021 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1168.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10190899670124054 + "score": -0.10484608262777328 }, "else": { "operation": "boost", - "score": 0.10739216208457947 + "score": -0.010752484202384949 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1315.0, - "then": { - "operation": "boost", - "score": 0.117310531437397 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1200.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.03494250029325485 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1173.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.13851742446422577 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.109196238219738 + }, + "else": { + "operation": "boost", + "score": 0.31292545795440674 + } }, "else": { "operation": "boost", - "score": -0.10223404318094254 + "score": 0.07975086569786072 } + }, + "else": { + "operation": "boost", + "score": -0.12577423453330994 } }, "else": { - "operation": "boost", - "score": -0.16536463797092438 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11521400511264801 - }, - "else": { - "operation": "boost", - "score": 0.10886148363351822 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 564.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 683.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09642034024000168 + "score": 0.02347460761666298 }, "else": { "operation": "boost", - "score": 0.10107025504112244 + "score": -0.023560497909784317 } - }, - "else": { - "operation": "boost", - "score": -0.1041627749800682 } } }, "else": { - "operation": "boost", - "score": 0.04446323588490486 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 331.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.06677538901567459 - }, - "else": { - "operation": "boost", - "score": 0.05623670667409897 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 330.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15996935963630676 + "score": 0.023125408217310905 }, "else": { - "operation": "boost", - "score": -0.10022664070129395 - } - }, - "else": { - "operation": "boost", - "score": -0.05552729591727257 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 328.5, - "then": { - "operation": "boost", - "score": 0.02000170759856701 - }, - "else": { - "operation": "boost", - "score": 0.26385998725891113 - } - } - }, - "else": { - "operation": "boost", - "score": 0.019620178267359734 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.01639370433986187 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 420.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 485.5, - "then": { - "operation": "boost", - "score": -0.03576888144016266 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 469.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.5063996911048889 - }, - "else": { - "operation": "boost", - "score": 0.08554001152515411 - } - }, - "else": { - "operation": "boost", - "score": 0.02182997763156891 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04402404651045799 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 209.5, - "then": { - "operation": "boost", - "score": -0.4600152373313904 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190.5, - "then": { - "operation": "boost", - "score": 0.11475642770528793 - }, - "else": { - "operation": "boost", - "score": -0.2556565999984741 - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_TopLevel", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 328.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 336.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 807.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12275461107492447 + "score": 0.06131017953157425 }, "else": { "operation": "boost", - "score": -0.026720041409134865 + "score": -0.10267515480518341 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11101.5, + "operation": "boost", + "score": 0.00892975926399231 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1396103948354721, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006884464994072914 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23145.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.0067432476207613945 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": -0.04729185625910759 + "score": 0.12359613925218582 }, "else": { - "operation": "boost", - "score": 0.11503738164901733 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.11532542109489441 + }, + "else": { + "operation": "boost", + "score": 0.04781370609998703 + } + }, + "else": { + "operation": "boost", + "score": 0.031373415142297745 + } } + }, + "else": { + "operation": "boost", + "score": 0.03744969144463539 } }, "else": { "operation": "boost", - "score": -0.0605824738740921 + "score": -0.042208172380924225 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3970.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.012716706842184067 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.12132352590560913, + "then": { + "operation": "boost", + "score": 0.17776106297969818 + }, + "else": { + "operation": "boost", + "score": 0.1136232390999794 + } + }, + "else": { + "operation": "boost", + "score": 0.012953737750649452 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3026.0, + "feature": "FractionNameInContext", + "threshold": 0.12916666269302368, "then": { - "operation": "boost", - "score": 0.11362159997224808 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09385515749454498 + "score": -0.11442946642637253 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 524.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.021830523386597633 - }, - "else": { - "operation": "boost", - "score": 0.08844281733036041 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 508.0, - "then": { - "operation": "boost", - "score": 0.11349070817232132 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 373.5, - "then": { - "operation": "boost", - "score": 0.23707441985607147 - }, - "else": { - "operation": "boost", - "score": -0.10067674517631531 - } - }, - "else": { - "operation": "boost", - "score": 0.0569983646273613 - } - } - } + "operation": "boost", + "score": -0.022473420947790146 } + }, + "else": { + "operation": "boost", + "score": -0.015284799970686436 } } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.0624343603849411 - }, - "else": { - "operation": "boost", - "score": -0.15616559982299805 - } } - }, - "else": { - "operation": "boost", - "score": 0.1255251169204712 } }, + "else": { + "operation": "boost", + "score": 0.10574447363615036 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": -0.005086633842438459 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.0005745849339291453 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.04189309477806091 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.01093680877238512 + "score": -0.1002112627029419 }, "else": { "operation": "boost", - "score": 0.09987690299749374 + "score": 0.6840763688087463 } }, "else": { "operation": "boost", - "score": -0.125138059258461 + "score": -0.1035672202706337 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 825.0, - "then": { - "operation": "boost", - "score": 0.1867280900478363 }, "else": { - "operation": "boost", - "score": -0.04712297394871712 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0162455216050148 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.13314348459243774 - }, - "else": { - "operation": "boost", - "score": 0.10790261626243591 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.12260166555643082 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, "then": { "operation": "boost", - "score": -0.11972928792238235 + "score": 0.0035142838023602962 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92.5, + "feature": "FileProximityDistanceCost", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.2008715271949768 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95.5, - "then": { - "operation": "boost", - "score": -0.12538479268550873 - }, - "else": { - "operation": "boost", - "score": 0.11599748581647873 - } - } + "operation": "boost", + "score": -0.028697824105620384 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.07533645629882812 + "score": -0.05850893259048462 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.5, - "then": { - "operation": "boost", - "score": 0.1446443349123001 - }, - "else": { - "operation": "boost", - "score": -0.33114394545555115 - } + "operation": "boost", + "score": 0.05635109171271324 } } - } - }, - "else": { - "operation": "boost", - "score": 0.13443557918071747 + } } - }, - "else": { - "operation": "boost", - "score": 0.0028896171133965254 } } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 911.5, "then": { - "operation": "boost", - "score": 0.004766733385622501 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 7475.5, "then": { "operation": "boost", - "score": 0.09699583053588867 + "score": 0.02327469177544117 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 402.5, + "threshold": 7108.5, "then": { "operation": "boost", - "score": -0.32160428166389465 + "score": -0.1829959899187088 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10720673948526382 - }, - "else": { - "operation": "boost", - "score": 0.07320809364318848 - } + "operation": "boost", + "score": -0.03159508481621742 } } - } - }, - "else": { - "operation": "boost", - "score": -0.10489563643932343 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 267.0, - "then": { - "operation": "boost", - "score": 0.09405358135700226 - }, - "else": { - "operation": "boost", - "score": -0.09704254567623138 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 310.5, + "feature": "FractionNameInContext", + "threshold": 0.17914438247680664, "then": { "operation": "boost", - "score": -0.007049118168652058 + "score": 0.015428273007273674 }, "else": { "operation": "boost", - "score": 0.09001092612743378 + "score": -0.02943468652665615 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 293.5, - "then": { - "operation": "boost", - "score": -0.03966231271624565 - }, - "else": { - "operation": "boost", - "score": 0.09245357662439346 - } + "operation": "boost", + "score": 0.009336247108876705 }, "else": { "operation": "boost", - "score": -0.311857134103775 + "score": -0.009201622568070889 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 163.5, - "then": { - "operation": "boost", - "score": 0.08347970992326736 - }, - "else": { - "operation": "boost", - "score": 0.03505120053887367 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.8027737140655518 - }, - "else": { - "operation": "boost", - "score": 0.10901664942502975 - } - } - }, - "else": { - "operation": "boost", - "score": 0.023166973143815994 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "boost", - "score": -0.001652680803090334 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.10114555060863495 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.19943587481975555 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "threshold": 781.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.1066734567284584 + "score": 0.05644388124346733 }, "else": { "operation": "boost", - "score": -0.03798479214310646 + "score": 0.102462999522686 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73.5, + "threshold": 737.5, "then": { "operation": "boost", - "score": -0.41952845454216003 + "score": -0.16059575974941254 }, "else": { - "operation": "boost", - "score": 0.11611749976873398 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.3226686716079712 - }, - "else": { - "operation": "boost", - "score": 0.04973358288407326 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.003406872507184744 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.8660714626312256, "then": { "operation": "boost", - "score": -0.09665005654096603 + "score": -0.025143345817923546 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, + "feature": "FractionNameInContext", + "threshold": 0.8166666626930237, "then": { - "operation": "boost", - "score": 0.10402515530586243 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.1045817956328392 + }, + "else": { + "operation": "boost", + "score": 0.11890292167663574 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.1088143065571785 + }, + "else": { + "operation": "boost", + "score": -0.007253664080053568 + } + } }, "else": { - "operation": "boost", - "score": -0.17073792219161987 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 393.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 419.5, + "then": { + "operation": "boost", + "score": 0.053612664341926575 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11496259272098541 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.1212826743721962 + }, + "else": { + "operation": "boost", + "score": 0.14084501564502716 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2124060094356537, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2182539701461792, + "then": { + "operation": "boost", + "score": 0.019438592717051506 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.07255212217569351 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.12160718441009521 + }, + "else": { + "operation": "boost", + "score": -0.10149089992046356 + } + }, + "else": { + "operation": "boost", + "score": 0.08774050325155258 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11200828105211258 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.16622856259346008 + }, + "else": { + "operation": "boost", + "score": -0.10972248762845993 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.010405868291854858 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.14835165441036224, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.005966537166386843 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.13023339211940765 + }, + "else": { + "operation": "boost", + "score": 0.08910952508449554 + } + }, + "else": { + "operation": "boost", + "score": 0.007210799492895603 + } + }, + "else": { + "operation": "boost", + "score": 0.017302313819527626 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 140.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 338.5, + "then": { + "operation": "boost", + "score": 0.05218873172998428 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.21111111342906952, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 315.5, + "then": { + "operation": "boost", + "score": -0.8452696800231934 + }, + "else": { + "operation": "boost", + "score": -0.08847478032112122 + } + }, + "else": { + "operation": "boost", + "score": -0.6226409673690796 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007655052468180656 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.34077930450439453 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.06796687096357346 + }, + "else": { + "operation": "boost", + "score": 0.12234776467084885 + } + } + }, + "else": { + "operation": "boost", + "score": -0.035421814769506454 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.0, + "then": { + "operation": "boost", + "score": 0.13039380311965942 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.11050523817539215 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.003906669560819864 + }, + "else": { + "operation": "boost", + "score": 0.17658868432044983 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1000923365354538 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, + "then": { + "operation": "boost", + "score": 0.08995116502046585 + }, + "else": { + "operation": "boost", + "score": 0.010517234914004803 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12034869939088821 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0583641454577446 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.41428571939468384, + "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0063592828810215 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004936794750392437 + }, + "else": { + "operation": "boost", + "score": 0.135545551776886 + } + }, + "else": { + "operation": "boost", + "score": 0.05872517079114914 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0019458995666354895 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.30384618043899536, + "then": { + "operation": "boost", + "score": -0.007265347056090832 + }, + "else": { + "operation": "boost", + "score": 0.001981783425435424 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.48076921701431274, + "then": { + "operation": "boost", + "score": 0.016371915116906166 + }, + "else": { + "operation": "boost", + "score": -0.0019924561493098736 + } + } } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.12331335991621017 - }, - "else": { - "operation": "boost", - "score": 0.07672283053398132 - } } - }, - "else": { - "operation": "boost", - "score": 0.05740176513791084 } - }, - "else": { - "operation": "boost", - "score": 0.04599408060312271 } } }, - "else": { - "operation": "boost", - "score": -0.05049802362918854 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0003758746897801757 - } - }, - { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6089.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": -0.6367723941802979 - }, - "else": { - "operation": "boost", - "score": 0.027011949568986893 - } - }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FractionNameInContext", + "threshold": 0.09307359158992767, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 962.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 1008.5, "then": { "operation": "boost", - "score": -0.18362212181091309 + "score": 0.011524008587002754 }, "else": { - "operation": "boost", - "score": 0.08825422823429108 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.06243206933140755 + }, + "else": { + "operation": "boost", + "score": 0.1233784556388855 + } } }, "else": { - "operation": "boost", - "score": -0.16570794582366943 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "NumReferences", + "threshold": 941.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, + "feature": "FileProximityDistanceCost", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.1076260507106781 + "score": -1.361624836921692 }, "else": { "operation": "boost", - "score": -0.10694114863872528 + "score": -0.2843558192253113 } }, "else": { "operation": "boost", - "score": 0.135552316904068 + "score": -0.002286854898557067 } - }, - "else": { - "operation": "boost", - "score": -0.5523847341537476 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02017456479370594 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2147483648.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0552414134144783 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1220465898513794 - }, - "else": { - "operation": "boost", - "score": 0.09303239732980728 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07504937052726746 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "boost", - "score": 0.0565190315246582 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10094248503446579 - }, - "else": { - "operation": "boost", - "score": 0.10209590941667557 - } + "score": 0.11651585251092911 } - }, - "else": { - "operation": "boost", - "score": 0.0021503656171262264 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.02430008165538311 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.17706002295017242 - }, - "else": { - "operation": "boost", - "score": -0.2396327704191208 } - }, - "else": { - "operation": "boost", - "score": 0.1577499955892563 } - }, - "else": { - "operation": "boost", - "score": 0.013165966607630253 } - }, - "else": { - "operation": "boost", - "score": 0.05120832100510597 } } + } + }, + "else": { + "operation": "boost", + "score": -0.00012720409722533077 + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0031091447453945875 }, "else": { "operation": "boost", - "score": -0.011584019288420677 + "score": 0.0008379556820727885 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistanceCost", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_TopLevel", - "CCC_UnionTag", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression" - ], + "operation": "boost", + "score": -0.0008623418398201466 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "boost", + "score": -0.0051858569495379925 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": -0.006853652652353048 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumNameInContext", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1533.0, "then": { "operation": "boost", - "score": 0.011388398706912994 + "score": -0.23005904257297516 }, "else": { - "operation": "boost", - "score": 0.014450003392994404 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 781.0, + "then": { + "operation": "boost", + "score": 0.12423589825630188 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.12509597837924957 + }, + "else": { + "operation": "boost", + "score": 0.013447285629808903 + } + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.24038460850715637, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 768.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 1239.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumNameInContext", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.11045662313699722 + "score": 0.07497616112232208 }, "else": { "operation": "boost", - "score": 0.11003991961479187 + "score": -0.010659984312951565 } }, "else": { - "operation": "boost", - "score": 0.020545735955238342 - } - }, - "else": { - "operation": "boost", - "score": 0.15181151032447815 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.04957350715994835 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.0, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.11498082429170609 + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.08453667908906937 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.2613636255264282, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 942.0, + "then": { + "operation": "boost", + "score": -1.0109971761703491 + }, + "else": { + "operation": "boost", + "score": -0.31198373436927795 + } + }, + "else": { + "operation": "boost", + "score": -0.07419106364250183 + } + } }, "else": { "operation": "boost", - "score": -0.011203131638467312 + "score": -0.10958750545978546 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 743.5, + "then": { + "operation": "boost", + "score": 0.14949820935726166 }, "else": { "operation": "boost", - "score": 0.11188633739948273 + "score": 0.03723776340484619 } } + }, + "else": { + "operation": "boost", + "score": 0.016401227563619614 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.006651789415627718 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FractionNameInContext", + "threshold": 0.19374999403953552, "then": { "operation": "boost", - "score": -0.019939839839935303 + "score": -0.02554204687476158 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Type", + "Unknown", + "Variable" + ], "then": { - "operation": "boost", - "score": 0.16911838948726654 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 28.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.10011037439107895 + }, + "else": { + "operation": "boost", + "score": 0.11567224562168121 + } + }, + "else": { "operation": "boost", - "score": 0.1407659649848938 + "score": 0.014463216066360474 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.12810271978378296 + }, + "else": { + "operation": "boost", + "score": 0.11024577915668488 + } }, "else": { "operation": "boost", - "score": -0.11597326397895813 + "score": -0.019331078976392746 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.048378899693489075 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.09365657716989517 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.0, + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, "then": { - "operation": "boost", - "score": -0.7921183705329895 + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.1144319400191307 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.1301986128091812 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.675000011920929, + "then": { + "operation": "boost", + "score": -0.10242481529712677 + }, + "else": { + "operation": "boost", + "score": 0.12001464515924454 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.039280012249946594 + } + }, + "else": { + "operation": "boost", + "score": 0.1071215569972992 + } }, "else": { + "operation": "boost", + "score": 0.011755004525184631 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.6333333253860474, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumNameInContext", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.4369247555732727 + "score": -0.20189377665519714 }, "else": { "operation": "boost", - "score": 0.07703229784965515 + "score": 0.06733373552560806 } + }, + "else": { + "operation": "boost", + "score": 0.021910659968852997 } } - }, - "else": { - "operation": "boost", - "score": 0.007292652502655983 } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.2065284699201584 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 11107.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11177556961774826 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.34912800788879395 - }, - "else": { - "operation": "boost", - "score": -0.06327354162931442 - } - } + "operation": "boost", + "score": 0.011617377400398254 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 8167.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 8200.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Type", + "Unknown", + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32774.0, + "threshold": 8506.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33949.0, + "threshold": 8668.5, + "then": { + "operation": "boost", + "score": 0.005215323995798826 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "boost", + "score": 0.11369214951992035 + }, + "else": { + "operation": "boost", + "score": 0.10800489038228989 + } + }, + "else": { + "operation": "boost", + "score": 0.02388383261859417 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12878279387950897 + } + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.10555555671453476, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1547619104385376, "then": { "operation": "boost", - "score": 0.00275589432567358 + "score": -0.14798685908317566 }, "else": { "operation": "boost", - "score": 0.11126405000686646 + "score": -0.5616565942764282 } }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9059.5, + "then": { + "operation": "boost", + "score": -0.13464412093162537 + }, + "else": { + "operation": "boost", + "score": 0.07229112088680267 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.3672906160354614 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6247.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6621.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { "operation": "boost", - "score": -0.048518288880586624 + "score": 0.005767251830548048 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7412.5, + "then": { + "operation": "boost", + "score": 0.1273808628320694 + }, + "else": { + "operation": "boost", + "score": 0.051628630608320236 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FileProximityDistanceCost", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.1099848747253418 + "score": 0.19629091024398804 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6592.0, "then": { + "operation": "boost", + "score": 0.11245620250701904 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.2666666805744171, "then": { + "operation": "boost", + "score": 0.1540624350309372 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 6370.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14.5, + "threshold": 6428.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.0, + "feature": "FileProximityDistanceCost", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.026838945224881172 + "score": -0.017511190846562386 }, "else": { - "operation": "boost", - "score": 0.10381709039211273 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6522.5, + "then": { + "operation": "boost", + "score": 0.13008402287960052 + }, + "else": { + "operation": "boost", + "score": 0.011830820702016354 + } } }, "else": { - "operation": "boost", - "score": -0.2224569022655487 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.13326673209667206 + "score": -0.14206628501415253 }, "else": { "operation": "boost", - "score": 0.06755934655666351 + "score": -0.8547974228858948 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.10359778255224228 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0732160359621048 - }, - "else": { - "operation": "boost", - "score": 0.04061681032180786 - } + "operation": "boost", + "score": 0.05634349212050438 } } - }, - "else": { - "operation": "boost", - "score": -0.17515695095062256 } - }, - "else": { - "operation": "boost", - "score": 0.009993339888751507 } } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3190.5, "then": { + "operation": "boost", + "score": -0.02144465036690235 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 2908.5, "then": { - "operation": "boost", - "score": -0.15436714887619019 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 2983.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": -0.00766731658950448 + "score": 0.11660820245742798 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1045181155204773 - }, - "else": { - "operation": "boost", - "score": 0.0 - } + "operation": "boost", + "score": 0.07634374499320984 } }, "else": { - "operation": "boost", - "score": 0.026235757395625114 - } - }, - "else": { - "operation": "boost", - "score": 0.12794198095798492 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FileProximityDistanceCost", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.05274040251970291 + "score": 0.005822684150189161 }, "else": { "operation": "boost", - "score": 0.1145688146352768 + "score": 0.10860772430896759 } - }, - "else": { - "operation": "boost", - "score": -0.12638165056705475 } }, "else": { "operation": "boost", - "score": 0.10448310524225235 + "score": 0.10414186865091324 } }, "else": { "operation": "boost", - "score": 0.05835979804396629 + "score": 0.0009790739277377725 } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 17.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.13502247631549835 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FractionNameInContext", + "threshold": 0.38749998807907104, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10794111341238022 - }, - "else": { - "operation": "boost", - "score": 0.05008697882294655 - } - }, - "else": { - "operation": "boost", - "score": -0.06366676092147827 - } - }, - "else": { - "operation": "boost", - "score": 0.12733562290668488 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11295817047357559 - }, - "else": { - "operation": "boost", - "score": 0.06299348920583725 - } - } + "operation": "boost", + "score": -0.053706567734479904 }, "else": { "operation": "boost", - "score": 0.019836949184536934 + "score": 0.08005435764789581 } }, + "else": { + "operation": "boost", + "score": -0.07405634969472885 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0 + }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, "then": { "operation": "boost", - "score": 0.10686545073986053 + "score": -0.8184543251991272 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.007504635490477085 - }, - "else": { - "operation": "boost", - "score": 0.07100047171115875 - } + "operation": "boost", + "score": 0.12390480935573578 } }, "else": { - "operation": "boost", - "score": -0.132868230342865 + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -2.226938009262085 + }, + "else": { + "operation": "boost", + "score": -0.6132120490074158 + } } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.060701627284288406 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistanceCost", + "threshold": 16.5, "then": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.07340356707572937 + }, + "else": { + "operation": "boost", + "score": 0.12285080552101135 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumNameInContext", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.12144060432910919 + }, + "else": { + "operation": "boost", + "score": 0.09595001488924026 + } + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Namespace", + "Operator", + "Unknown", + "Variable" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type", - "Namespace" - ], + "operation": "boost", + "score": 0.05072949081659317 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.003367809811607003 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.04985569790005684 + }, + "else": { + "operation": "boost", + "score": 0.06951530277729034 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.10795454680919647, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FractionNameInContext", + "threshold": 0.2361111044883728, "then": { "operation": "boost", - "score": 0.03584323078393936 + "score": -0.5115524530410767 }, "else": { "operation": "boost", - "score": 0.07262790203094482 + "score": 0.07931818068027496 } }, "else": { "operation": "boost", - "score": 0.029170794412493706 + "score": -2.793297529220581 } } }, "else": { - "operation": "boost", - "score": -0.008678650483489037 + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.7083333730697632, + "then": { + "operation": "boost", + "score": 0.07715630531311035 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.550000011920929, + "then": { + "operation": "boost", + "score": -0.19034990668296814 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.028124704957008362 + }, + "else": { + "operation": "boost", + "score": 0.021440409123897552 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.02948167361319065, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.09545454382896423, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.1180555522441864, + "then": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.3541666865348816, + "then": { + "operation": "boost", + "score": -0.016220178455114365 + }, + "else": { + "operation": "if_greater", + "feature": "FractionNameInContext", + "threshold": 0.29285717010498047, + "then": { + "operation": "boost", + "score": 0.10803288966417313 + }, + "else": { + "operation": "boost", + "score": 0.062395840883255005 + } + } + }, + "else": { + "operation": "boost", + "score": -0.49002164602279663 + } + }, + "else": { + "operation": "boost", + "score": 0.13921503722667694 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.8315944671630859 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.0600242018699646 + }, + "else": { + "operation": "boost", + "score": 0.0975385382771492 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.036624472588300705 + } + } + } + } } - }, - "else": { - "operation": "boost", - "score": -0.009807078167796135 } - }, - "else": { - "operation": "boost", - "score": -0.01514025405049324 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Function", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.03132624924182892 + "score": 0.023076321929693222 }, "else": { "operation": "boost", - "score": -0.11501562595367432 + "score": 0.011975952424108982 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 167.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], + "operation": "boost", + "score": -0.014369897544384003 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 27.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.05546329915523529 - }, - "else": { - "operation": "boost", - "score": -0.0013415239518508315 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94.5, "then": { "operation": "boost", - "score": -0.014614921994507313 + "score": 0.543752133846283 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.0008486551814712584 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.14532820880413055 + "score": 0.13541753590106964 }, "else": { "operation": "boost", - "score": -0.025752069428563118 + "score": 0.15266987681388855 } + }, + "else": { + "operation": "boost", + "score": -0.2999655306339264 } } + }, + "else": { + "operation": "boost", + "score": 0.00022243650164455175 } - }, - "else": { - "operation": "boost", - "score": 0.007462368346750736 } } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.02449943497776985 - }, - "else": { - "operation": "boost", - "score": -0.012319260276854038 - } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FractionNameInContext", + "threshold": 0.057189542800188065, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Keyword", - "Variable", - "Destructor", - "Operator", - "Unknown", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.007957075722515583 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": -0.00857355073094368 - }, - "else": { - "operation": "boost", - "score": -0.02991998754441738 - } - } + "operation": "boost", + "score": -0.008180384524166584 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_Statement", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_DotMemberAccess", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistanceCost", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ParenthesizedExpression" ], "then": { + "operation": "boost", + "score": 0.11743475496768951 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5126.0, "then": { - "operation": "boost", - "score": 0.007093135733157396 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.13552619516849518 + }, + "else": { + "operation": "boost", + "score": -0.08404891937971115 + } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": -0.08703737705945969 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.07771000266075134 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.024739732965826988 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_TopLevel", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistanceCost", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.013998414389789104 + "score": 0.007690619211643934 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 22.5, "then": { - "operation": "boost", - "score": -0.12165842950344086 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "boost", + "score": 0.04855829477310181 + }, + "else": { + "operation": "boost", + "score": -0.07003024965524673 + } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.08697892725467682 + "score": 0.12633001804351807 }, "else": { "operation": "boost", - "score": -0.1044471263885498 + "score": 0.09126109629869461 } } } }, "else": { "operation": "boost", - "score": 0.062120962888002396 + "score": -0.021450268104672432 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Function", + "Keyword", + "Macro", + "Operator", + "Type", + "Unknown", + "Variable" + ], + "then": { + "operation": "boost", + "score": -0.028134305030107498 }, "else": { "operation": "boost", - "score": 0.04694046452641487 + "score": -0.14242520928382874 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ArrowMemberAccess", - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression", - "CCC_Other", - "CCC_Expression", - "CCC_DotMemberAccess", - "CCC_Type" - ], + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Destructor", + "Keyword", + "Macro", + "Operator", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02935420349240303 + "score": -0.02768993377685547 }, "else": { "operation": "boost", - "score": -0.05213822424411774 + "score": 0.029052870348095894 } + }, + "else": { + "operation": "boost", + "score": 0.008908073417842388 } }, "else": { - "operation": "boost", - "score": 0.0006883793976157904 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type", + "CCC_TypeQualifiers", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistanceCost", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.006586769595742226 + }, + "else": { + "operation": "boost", + "score": 0.1024707704782486 + } + }, + "else": { + "operation": "boost", + "score": -0.06488648056983948 + } } - }, - "else": { - "operation": "boost", - "score": -0.0038289958611130714 } } } @@ -373275,76 +411091,32 @@ }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Keyword", - "Unknown", - "Constructor", - "Function", - "Namespace" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_Other", + "CCC_ParenthesizedExpression", + "CCC_PreprocessorExpression", + "CCC_Statement", + "CCC_TopLevel", + "CCC_TypeQualifiers", + "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03427647054195404 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8384.0, - "then": { - "operation": "boost", - "score": -0.2107551097869873 - }, - "else": { - "operation": "boost", - "score": 0.0703975260257721 - } - } - }, - "else": { - "operation": "boost", - "score": 0.004396921955049038 - } - }, - "else": { - "operation": "boost", - "score": 0.012510438449680805 - } - }, - "else": { - "operation": "boost", - "score": -0.018641190603375435 - } + "operation": "boost", + "score": 0.0005279325414448977 }, "else": { "operation": "boost", - "score": -0.013474937528371811 + "score": -0.0023861825466156006 } } - }, - "else": { - "operation": "boost", - "score": -9.381832205690444e-05 } } } ] \ No newline at end of file